Analysis

  • max time kernel
    147s
  • max time network
    141s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 00:26

General

  • Target

    JaffaCakes118_8f174ea90273feb2f39e1c72f9f56a3c9a1b90ff2cbeb235817a0fb454bb8875.exe

  • Size

    154KB

  • MD5

    07d39bc6ccb9cdea500fd8d175b74c67

  • SHA1

    b2e40b713608cce63c15b581feff213dc87954bb

  • SHA256

    8f174ea90273feb2f39e1c72f9f56a3c9a1b90ff2cbeb235817a0fb454bb8875

  • SHA512

    907fa8db9a50c94deb74fc221743bb3c781cc8b9bb9128d15ed789776a93fa345ec60d1a1edc6567d4a569eb3dd6879fcbbeb64babe587d2e2b280d6c78945f9

  • SSDEEP

    3072:KzamdKU4X+INwWgwLZMtUo5iOCuNNV00OHz:KzldKT+KwWgwl+7VN/OT

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f174ea90273feb2f39e1c72f9f56a3c9a1b90ff2cbeb235817a0fb454bb8875.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f174ea90273feb2f39e1c72f9f56a3c9a1b90ff2cbeb235817a0fb454bb8875.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2360
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wmnvsruk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfaxeddr.exe" C:\Windows\SysWOW64\wmnvsruk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wmnvsruk binPath= "C:\Windows\SysWOW64\wmnvsruk\tfaxeddr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f174ea90273feb2f39e1c72f9f56a3c9a1b90ff2cbeb235817a0fb454bb8875.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wmnvsruk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wmnvsruk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5016
    • 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:3176
  • C:\Windows\SysWOW64\wmnvsruk\tfaxeddr.exe
    C:\Windows\SysWOW64\wmnvsruk\tfaxeddr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f174ea90273feb2f39e1c72f9f56a3c9a1b90ff2cbeb235817a0fb454bb8875.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4116
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3244

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.5MB

    MD5

    7698200fc294f9131253e5f38d65705d

    SHA1

    f62c42663cce11345cbd4787935497098359b3d2

    SHA256

    338f81e1d0e6eda71c63da89811ec81a0d428403ca6d2b288ab26625e5ad44e6

    SHA512

    fb673de7d7e28cecdcc812f21ab29775c2b939ba10b2eaef5cdb148e884dd8642303a16ed71bfe3b2ecac9c0457acdde835a32a4b0e8961425b5168d2c176a08

  • memory/2360-8-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

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

    Filesize

    84KB

  • memory/2360-2-0x0000000000710000-0x0000000000723000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2360-9-0x0000000000710000-0x0000000000723000-memory.dmp

    Filesize

    76KB

  • memory/2360-1-0x0000000000760000-0x0000000000860000-memory.dmp

    Filesize

    1024KB

  • memory/3244-14-0x0000000000E20000-0x0000000000E35000-memory.dmp

    Filesize

    84KB

  • memory/3244-16-0x0000000000E20000-0x0000000000E35000-memory.dmp

    Filesize

    84KB

  • memory/3244-19-0x0000000000E20000-0x0000000000E35000-memory.dmp

    Filesize

    84KB

  • memory/4116-12-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/4116-11-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/4116-13-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/4116-18-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB