Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    27-12-2024 01:04

General

  • Target

    JaffaCakes118_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe

  • Size

    244KB

  • MD5

    ca1b0fab6b22d571f44f4e0b320b0c36

  • SHA1

    36db18567393b5467f562ab9266f7bcd6c08cc81

  • SHA256

    c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847

  • SHA512

    fb0f7c95a00ac0e6894c8ffcbe0de7b4c1430065fb63f7b0241a54521f28387024984070de81778869714c879520ea3df4d0e6a1d388f3815b31ba65be7dee4b

  • SSDEEP

    6144:LTZQCW0TZlWoHtNiVqFYcmW5jpkGk9Rc8:fZzTZlWqtEjcmc1kGr

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_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gddrefow\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\krusttjx.exe" C:\Windows\SysWOW64\gddrefow\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gddrefow binPath= "C:\Windows\SysWOW64\gddrefow\krusttjx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gddrefow "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1956
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gddrefow
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2792
    • 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:2732
  • C:\Windows\SysWOW64\gddrefow\krusttjx.exe
    C:\Windows\SysWOW64\gddrefow\krusttjx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2992
    • 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:2640

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    f60c5b2954774313b7e566ef0f833cf7

    SHA1

    d679fdc41f265f4c8206a03a52c16137062d42c8

    SHA256

    0a0485cf1eadcd59884745a4b30e2c0fc22905d7098d6ff2cb36f8d340f6410b

    SHA512

    bf88f1b67d4c0f0d63e4baec2b89ed64ebacfe54820dd3523b946dcc5f342c6e7929075b743f832152388176d9adabce4c5dcd451a9026a68e087d4786b18ec6

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2992-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    1024KB

  • memory/3044-3-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3044-9-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB