Analysis

  • max time kernel
    150s
  • max time network
    144s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    25-12-2024 14:58

General

  • Target

    JaffaCakes118_ff133f96c330a714e7fa30fa0744529db63e650fe9bad172f6d3e032ec2121c2.exe

  • Size

    138KB

  • MD5

    223b4026fb997a4de0d42991a3629e85

  • SHA1

    0d03685aeae7b4e49068e3e84bc154be5fc1f8b6

  • SHA256

    ff133f96c330a714e7fa30fa0744529db63e650fe9bad172f6d3e032ec2121c2

  • SHA512

    28b9e376420562d2354b995d834cf25611c787aceaea0ec22a6f736ee6fe54717e98bfb031012130f254d0d599fc134c48eba824d42ef02ca6c51a97a0812429

  • SSDEEP

    1536:QtZPAC2DLRaPLmePIWdy38y9Pk9HDQ21XNk+fMk5NjIOhY0U+j0n:XumeAD8vjnZPMk5mj0e

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_ff133f96c330a714e7fa30fa0744529db63e650fe9bad172f6d3e032ec2121c2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ff133f96c330a714e7fa30fa0744529db63e650fe9bad172f6d3e032ec2121c2.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wemlzxzm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ndddsjph.exe" C:\Windows\SysWOW64\wemlzxzm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wemlzxzm binPath= "C:\Windows\SysWOW64\wemlzxzm\ndddsjph.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ff133f96c330a714e7fa30fa0744529db63e650fe9bad172f6d3e032ec2121c2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wemlzxzm "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 wemlzxzm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2784
    • 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:2176
  • C:\Windows\SysWOW64\wemlzxzm\ndddsjph.exe
    C:\Windows\SysWOW64\wemlzxzm\ndddsjph.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ff133f96c330a714e7fa30fa0744529db63e650fe9bad172f6d3e032ec2121c2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2892
    • 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:2680

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.0MB

    MD5

    a4053ee05bbf9f3785c1f7f07b8e06a7

    SHA1

    1d7a7f76f9ff91cfcb86ae318f9672109abb2858

    SHA256

    5e1ebcc8dc8d786611b09180c0d76ca42ea8575acf88dfd15bde0df5b6c00d8d

    SHA512

    1202d2f64e2fb8d24ed29bd6304e7975f71c45f6a950657a0908479fba013a8cabed74b1a37880b090772913b5803eab0f892503075a5757881b02c5b4ede40a

  • memory/1056-8-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/1056-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/1056-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1056-10-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/1056-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1056-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

  • memory/2680-11-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2680-16-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2680-14-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2680-18-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2892-17-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB