Analysis

  • max time kernel
    150s
  • max time network
    143s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    24/12/2024, 09:52

General

  • Target
    JaffaCakes118_269c8f93cb48179cf84532d2808fb3eeca5d1179595a9f4b20de46c8e4c04dd2.exe
  • Size 4.2MB
  • Sample241224-lv2e2strdw
  • SHA256 269c8f93cb48179cf84532d2808fb3eeca5d1179595a9f4b20de46c8e4c04dd2
  • 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 family
  • Glupteba payload 21 IoCs
  • MetaSploit

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

  • Metasploit family
  • Windows security bypass 2 TTPs 10 IoCs
  • Modifies boot configuration data using bcdedit 14 IoCs
  • Drops file in Drivers directory 1 IoCs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Possible attempt to disable PatchGuard 2 TTPs

    Rootkits can use kernel patching to embed themselves in an operating system.

  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 13 IoCs
  • Windows security modification 2 TTPs 10 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 WinMon driver. 1 IoCs

    Roottkits write to WinMon to hide PIDs from being detected.

  • 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 3 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.

  • System Location Discovery: System Language Discovery 1 TTPs 3 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

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

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

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 62 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\JaffaCakes118_269c8f93cb48179cf84532d2808fb3eeca5d1179595a9f4b20de46c8e4c04dd2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_269c8f93cb48179cf84532d2808fb3eeca5d1179595a9f4b20de46c8e4c04dd2.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:1128
    • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_269c8f93cb48179cf84532d2808fb3eeca5d1179595a9f4b20de46c8e4c04dd2.exe
      "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_269c8f93cb48179cf84532d2808fb3eeca5d1179595a9f4b20de46c8e4c04dd2.exe"
      2⤵
      • Windows security bypass
      • Loads dropped DLL
      • Windows security modification
      • Adds Run key to start application
      • Checks for VirtualBox DLLs, possible anti-VM trick
      • Drops file in Windows directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:2924
      • 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:596
        • 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
          • Modifies data under HKEY_USERS
          PID:2644
      • C:\Windows\rss\csrss.exe
        C:\Windows\rss\csrss.exe /301-301
        3⤵
        • Drops file in Drivers directory
        • Executes dropped EXE
        • Loads dropped DLL
        • Manipulates WinMon driver.
        • Manipulates WinMonFS driver.
        • System Location Discovery: System Language Discovery
        • Modifies system certificate store
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2544
        • 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:896
        • C:\Windows\system32\schtasks.exe
          schtasks /delete /tn ScheduledUpdate /f
          4⤵
            PID:2776
          • C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe
            "C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe"
            4⤵
            • Executes dropped EXE
            • Loads dropped DLL
            • Modifies system certificate store
            • Suspicious use of WriteProcessMemory
            PID:1632
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -create {71A3C7FC-F751-4982-AEC1-E958357E6813} -d "Windows Fast Mode" -application OSLOADER
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:1308
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} device partition=C:
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:1320
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} osdevice partition=C:
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:912
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} systemroot \Windows
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:1820
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} path \Windows\system32\osloader.exe
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:612
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} kernel ntkrnlmp.exe
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:2388
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} recoveryenabled 0
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:1804
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} nx OptIn
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:1652
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} nointegritychecks 1
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:2208
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} inherit {bootloadersettings}
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:2248
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -displayorder {71A3C7FC-F751-4982-AEC1-E958357E6813} -addlast
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:2968
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -timeout 0
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:3036
            • C:\Windows\system32\bcdedit.exe
              C:\Windows\system32\bcdedit.exe -default {71A3C7FC-F751-4982-AEC1-E958357E6813}
              5⤵
              • Modifies boot configuration data using bcdedit
              PID:1496
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\Sysnative\bcdedit.exe /v
            4⤵
            • Modifies boot configuration data using bcdedit
            PID:2420
          • C:\Users\Admin\AppData\Local\Temp\csrss\dsefix.exe
            C:\Users\Admin\AppData\Local\Temp\csrss\dsefix.exe
            4⤵
            • Executes dropped EXE
            PID:900
          • 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:2392
    • C:\Windows\system32\makecab.exe
      "C:\Windows\system32\makecab.exe" C:\Windows\Logs\CBS\CbsPersist_20241224095206.log C:\Windows\Logs\CBS\CbsPersist_20241224095206.cab
      1⤵
      • Drops file in Windows directory
      PID:2728

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          download.error

          • Path C:\Users\Admin\AppData\Local\Temp\Symbols\ntkrnlmp.pdb\AAF33CF37E194E98957768CF9C02DE8E2\download.error
          • Size 8.3MB
          • SHA256 3a72dbedc490773f90e241c8b3b839383a63ce36426a4f330a0f754b14b4d23e
          • MD5 SHA1 SHA512 SSDEEP

          download.error

          • Path C:\Users\Admin\AppData\Local\Temp\Symbols\winload_prod.pdb\768283CA443847FB8822F9DB1F36ECC51\download.error
          • Size 492KB
          • SHA256 feb122b7916a1e62a7a6ae8d25ea48a2efc86f6e6384f5526e18ffbfc5f5ff71
          • MD5 SHA1 SHA512 SSDEEP

          dsefix.exe

          • Path C:\Users\Admin\AppData\Local\Temp\csrss\dsefix.exe
          • Size 94KB
          • SHA256 414035cc96d8bcc87ed173852a839ffbb45882a98c7a6f7b821e1668891deef0
          • MD5 SHA1 SHA512 SSDEEP

          ntkrnlmp.exe

          • Path C:\Users\Admin\AppData\Local\Temp\ntkrnlmp.exe
          • Size 5.3MB
          • SHA256 c41acc53cde89b94d55d6932ddd55a212ba910e1fade3da138670bb5b18ae4e1
          • MD5 SHA1 SHA512 SSDEEP

          osloader.exe

          • Path C:\Users\Admin\AppData\Local\Temp\osloader.exe
          • Size 591KB
          • SHA256 b74cd24cef07f0226e7b777f7862943faee4cf288178b423d5344b0769dc15d4
          • MD5 SHA1 SHA512 SSDEEP

          injector.exe

          • Path \Users\Admin\AppData\Local\Temp\csrss\injector\injector.exe
          • Size 281KB
          • SHA256 5de4e2b07a26102fe527606ce5da1d5a4b938967c9d380a3c5fe86e2e34aaaf1
          • MD5 SHA1 SHA512 SSDEEP

          patch.exe

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

          dbghelp.dll

          • Path \Users\Admin\AppData\Local\Temp\dbghelp.dll
          • Size 1.5MB
          • SHA256 6e58fcf4d763022b1f79a3c448eb2ebd8ad1c15df3acf58416893f1cbc699026
          • MD5 SHA1 SHA512 SSDEEP

          symsrv.dll

          • Path \Users\Admin\AppData\Local\Temp\symsrv.dll
          • Size 163KB
          • SHA256 e11e0f7804bfc485b19103a940be3d382f31c1378caca0c63076e27797d7553f
          • MD5 SHA1 SHA512 SSDEEP

          csrss.exe

          • Path \Windows\rss\csrss.exe
          • Size 4.2MB
          • SHA256 269c8f93cb48179cf84532d2808fb3eeca5d1179595a9f4b20de46c8e4c04dd2
          • MD5 SHA1 SHA512 SSDEEP

          memory/1128-5-0x00000000029A0000-0x0000000002DAF000-memory.dmp

          memory/1128-4-0x0000000002DB0000-0x0000000003652000-memory.dmp

          memory/1128-0-0x00000000029A0000-0x0000000002DAF000-memory.dmp

          memory/1128-6-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/1128-2-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/1128-1-0x0000000002DB0000-0x0000000003652000-memory.dmp

          memory/1632-26-0x0000000140000000-0x00000001405E8000-memory.dmp

          memory/1632-40-0x0000000140000000-0x00000001405E8000-memory.dmp

          memory/2544-66-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-108-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-112-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-80-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-111-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-110-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-109-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-102-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-103-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-104-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-105-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-106-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-107-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2544-51-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2924-8-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2924-9-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2924-7-0x0000000000400000-0x0000000000CBD000-memory.dmp

          memory/2924-19-0x0000000000400000-0x0000000000CBD000-memory.dmp