Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    23-12-2024 12:57

General

  • Target

    JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe

  • Size

    243KB

  • MD5

    0951fa631d9b9f6c0b62c55fa8ff1c18

  • SHA1

    1e5b62640051bb5a70aabd3189e3a09c0864e1c7

  • SHA256

    e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc

  • SHA512

    906bf4be6512c22ed1307fa00feed1590a3e34ba32251640211bbbcc49af33c995f32fb27dcd51fdce525b91fdd1afe1b0a22b6a912f12a521afb29d9e05488c

  • SSDEEP

    6144:TEZQ/ISjbrjw8vNivYFigPcYTzJ8CUlB1NCUw2lqc8:AZMjXjw8vEpgPTPJR2l9

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • 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 9 IoCs

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2524
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\daamdzi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hbkuhkpb.exe" C:\Windows\SysWOW64\daamdzi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1956
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create daamdzi binPath= "C:\Windows\SysWOW64\daamdzi\hbkuhkpb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description daamdzi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start daamdzi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2608
  • C:\Windows\SysWOW64\daamdzi\hbkuhkpb.exe
    C:\Windows\SysWOW64\daamdzi\hbkuhkpb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3004
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2764

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\hbkuhkpb.exe

    Filesize

    10.8MB

    MD5

    9337018ef5503db3f0d212bb31da3051

    SHA1

    4d9503cae803b83138cc26132684088a2149f49d

    SHA256

    1aa824bd9afb38f2a982c7da55eb98a23046c10b8ba93a6509afa81f3bb2c6bd

    SHA512

    fa34e2235416ff788e3c8eb6f3ab57419717484c4badb6e6c4b843eec42d6031f5bbeaf3c0c7b446e917d6b65d0b4dd299ddf1db5fed2563cf2f17077c7528e4

  • memory/2524-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

  • memory/2524-3-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

  • memory/2524-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2524-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2524-9-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

  • memory/2764-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2764-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2764-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2764-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2764-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/3004-17-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB