Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 21:57

General

  • Target

    JaffaCakes118_e207052ca4cc6e6eb1399833bbaabe19196ed6da4630b6d2bf6921de6b2414de.exe

  • Size

    211KB

  • MD5

    bc894bba00f2e0828016e6f50f15225f

  • SHA1

    924afecad4084572d6a1ee0d605b371870340fc6

  • SHA256

    e207052ca4cc6e6eb1399833bbaabe19196ed6da4630b6d2bf6921de6b2414de

  • SHA512

    3706ca03998a2d0927410993b6adb9e45376fbec6df4dd927c1fd38413a43324f99d3005dc271902cc67bd83789c8ae0ab679a83d613df2544093490ac7380bb

  • SSDEEP

    3072:wSmTyA3g9f0qZxL81oIZJ1Xy0frj0LspfmeXPnr+bZPwrSx1sIb8G0dnuhgC:wSmhgbZxLkJE0fX0QZSbkSx1sIum

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.

  • Program crash 1 IoCs
  • 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_e207052ca4cc6e6eb1399833bbaabe19196ed6da4630b6d2bf6921de6b2414de.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e207052ca4cc6e6eb1399833bbaabe19196ed6da4630b6d2bf6921de6b2414de.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\urypihuh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3232
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tivrdcvh.exe" C:\Windows\SysWOW64\urypihuh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create urypihuh binPath= "C:\Windows\SysWOW64\urypihuh\tivrdcvh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e207052ca4cc6e6eb1399833bbaabe19196ed6da4630b6d2bf6921de6b2414de.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description urypihuh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start urypihuh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3780
    • 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:1896
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4304 -s 1040
      2⤵
      • Program crash
      PID:4488
  • C:\Windows\SysWOW64\urypihuh\tivrdcvh.exe
    C:\Windows\SysWOW64\urypihuh\tivrdcvh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e207052ca4cc6e6eb1399833bbaabe19196ed6da4630b6d2bf6921de6b2414de.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4468
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2988
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4304 -ip 4304
    1⤵
      PID:4172

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      14.0MB

      MD5

      a8c79bc7072da447bf5d0c99175d1b71

      SHA1

      80e2b97976d4c0e05febc20c6ba1582d283df292

      SHA256

      7dc5fb73500a9765236cbf09bc731a4c3aa6efbc55a736b8ed630d9b7e3136cf

      SHA512

      2bd5d3ce68c6f293e40ca2caf4c6c7453acbf6f9e5efe5afa1839103f2523dfc9f79a3826be1d28fcec84d1ab7d524df587952eee9b3814511f2c2fd6445c06e

    • memory/2988-11-0x0000000000D40000-0x0000000000D55000-memory.dmp

      Filesize

      84KB

    • memory/2988-14-0x0000000000D40000-0x0000000000D55000-memory.dmp

      Filesize

      84KB

    • memory/2988-15-0x0000000000D40000-0x0000000000D55000-memory.dmp

      Filesize

      84KB

    • memory/4304-1-0x0000000002CB0000-0x0000000002DB0000-memory.dmp

      Filesize

      1024KB

    • memory/4304-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

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

      Filesize

      84KB

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

      Filesize

      84KB

    • memory/4304-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

    • memory/4304-8-0x0000000000400000-0x0000000002B74000-memory.dmp

      Filesize

      39.5MB

    • memory/4468-12-0x0000000000400000-0x0000000002B74000-memory.dmp

      Filesize

      39.5MB