Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-04-2024 14:35

General

  • Target

    f8343265b127e4851667e1b6c1f577b8_JaffaCakes118.exe

  • Size

    4.4MB

  • MD5

    f8343265b127e4851667e1b6c1f577b8

  • SHA1

    6f2b4077b3d4410e6ebb3a6ada451ff02d7d4787

  • SHA256

    1bf37ce1ec0b4c02ee0d2fff1ac24d34627c754eab070dbcdf49e667b721a674

  • SHA512

    7c6d0612dd595abbd14047b5e356fdecbd78cd4d62d7fdfa5ccfa922bab36c43f8e58d4ab6d442b9c680da614077619ee09772faa8881ab0188328323fde5cf9

  • SSDEEP

    98304:NQRSIsImTBBBwJEBNJS5d3YbyIQvDEezarUzJevCfGZcEvCg3:NQRln2yOBrEYIepvCqlvZ3

Malware Config

Extracted

Family

metasploit

Version

windows/single_exec

Signatures

  • Glupteba

    Glupteba is a modular loader written in Golang with various components.

  • Glupteba payload 22 IoCs
  • MetaSploit

    Detected malicious payload which is part of the Metasploit Framework, likely generated with msfvenom or similar.

  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Manipulates WinMonFS driver. 1 IoCs

    Roottkits write to WinMonFS to hide directories/files from being detected.

  • Checks for VirtualBox DLLs, possible anti-VM trick 1 TTPs 1 IoCs

    Certain files are specific to VirtualBox VMs and can be used to detect execution in a VM.

  • Drops file in Windows directory 2 IoCs
  • Program crash 1 IoCs
  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • GoLang User-Agent 3 IoCs

    Uses default user-agent string defined by GoLang HTTP packages.

  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies system certificate store 2 TTPs 3 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 9 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\f8343265b127e4851667e1b6c1f577b8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f8343265b127e4851667e1b6c1f577b8_JaffaCakes118.exe"
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:3204
    • C:\Users\Admin\AppData\Local\Temp\f8343265b127e4851667e1b6c1f577b8_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\f8343265b127e4851667e1b6c1f577b8_JaffaCakes118.exe"
      2⤵
      • Adds Run key to start application
      • Checks for VirtualBox DLLs, possible anti-VM trick
      • Drops file in Windows directory
      • Modifies data under HKEY_USERS
      • Modifies system certificate store
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1152
      • C:\Windows\system32\cmd.exe
        C:\Windows\Sysnative\cmd.exe /C "netsh advfirewall firewall add rule name="csrss" dir=in action=allow program="C:\Windows\rss\csrss.exe" enable=yes"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2076
        • C:\Windows\system32\netsh.exe
          netsh advfirewall firewall add rule name="csrss" dir=in action=allow program="C:\Windows\rss\csrss.exe" enable=yes
          4⤵
          • Modifies Windows Firewall
          PID:3332
      • C:\Windows\rss\csrss.exe
        C:\Windows\rss\csrss.exe /51-51
        3⤵
        • Executes dropped EXE
        • Manipulates WinMonFS driver.
        • Modifies data under HKEY_USERS
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3064
        • C:\Windows\SYSTEM32\schtasks.exe
          schtasks /CREATE /SC ONLOGON /RL HIGHEST /TR "C:\Windows\rss\csrss.exe" /TN csrss /F
          4⤵
          • Creates scheduled task(s)
          PID:5080
        • C:\Users\Admin\AppData\Local\Temp\csrss\injector\injector.exe
          C:\Users\Admin\AppData\Local\Temp\csrss\injector\injector.exe taskmgr.exe C:\Users\Admin\AppData\Local\Temp\csrss\injector\NtQuerySystemInformationHook.dll
          4⤵
          • Executes dropped EXE
          • Suspicious behavior: EnumeratesProcesses
          PID:2992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3204 -s 896
      2⤵
      • Program crash
      PID:1400
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3204 -ip 3204
    1⤵
      PID:2176

    Network

    MITRE ATT&CK Matrix ATT&CK v13

    Execution

    Scheduled Task/Job

    1
    T1053

    Persistence

    Create or Modify System Process

    1
    T1543

    Windows Service

    1
    T1543.003

    Boot or Logon Autostart Execution

    1
    T1547

    Registry Run Keys / Startup Folder

    1
    T1547.001

    Scheduled Task/Job

    1
    T1053

    Privilege Escalation

    Create or Modify System Process

    1
    T1543

    Windows Service

    1
    T1543.003

    Boot or Logon Autostart Execution

    1
    T1547

    Registry Run Keys / Startup Folder

    1
    T1547.001

    Scheduled Task/Job

    1
    T1053

    Defense Evasion

    Impair Defenses

    1
    T1562

    Disable or Modify System Firewall

    1
    T1562.004

    Modify Registry

    2
    T1112

    Subvert Trust Controls

    1
    T1553

    Install Root Certificate

    1
    T1553.004

    Discovery

    Query Registry

    2
    T1012

    System Information Discovery

    1
    T1082

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\csrss\injector\injector.exe
      Filesize

      281KB

      MD5

      d98e33b66343e7c96158444127a117f6

      SHA1

      bb716c5509a2bf345c6c1152f6e3e1452d39d50d

      SHA256

      5de4e2b07a26102fe527606ce5da1d5a4b938967c9d380a3c5fe86e2e34aaaf1

      SHA512

      705275e4a1ba8205eb799a8cf1737bc8ba686925e52c9198a6060a7abeee65552a85b814ac494a4b975d496a63be285f19a6265550585f2fc85824c42d7efab5

    • C:\Windows\rss\csrss.exe
      Filesize

      4.4MB

      MD5

      f8343265b127e4851667e1b6c1f577b8

      SHA1

      6f2b4077b3d4410e6ebb3a6ada451ff02d7d4787

      SHA256

      1bf37ce1ec0b4c02ee0d2fff1ac24d34627c754eab070dbcdf49e667b721a674

      SHA512

      7c6d0612dd595abbd14047b5e356fdecbd78cd4d62d7fdfa5ccfa922bab36c43f8e58d4ab6d442b9c680da614077619ee09772faa8881ab0188328323fde5cf9

    • memory/1152-9-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/1152-10-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/1152-7-0x0000000004C50000-0x000000000508F000-memory.dmp
      Filesize

      4.2MB

    • memory/1152-14-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/1152-8-0x0000000005190000-0x0000000005AB6000-memory.dmp
      Filesize

      9.1MB

    • memory/3064-19-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-37-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-35-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-26-0x0000000005200000-0x0000000005700000-memory.dmp
      Filesize

      5.0MB

    • memory/3064-17-0x0000000005200000-0x0000000005700000-memory.dmp
      Filesize

      5.0MB

    • memory/3064-18-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-33-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-36-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-34-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-25-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-27-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-28-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-29-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-30-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-31-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3064-32-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3204-3-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3204-6-0x0000000005180000-0x0000000005AA6000-memory.dmp
      Filesize

      9.1MB

    • memory/3204-5-0x0000000000400000-0x000000000309C000-memory.dmp
      Filesize

      44.6MB

    • memory/3204-1-0x0000000004D30000-0x0000000005172000-memory.dmp
      Filesize

      4.3MB

    • memory/3204-2-0x0000000005180000-0x0000000005AA6000-memory.dmp
      Filesize

      9.1MB