Analysis

  • max time kernel
    146s
  • max time network
    145s
  • 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 06:10

General

  • Target

    JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe

  • Size

    146KB

  • MD5

    23bdb6333269fdd7c286742e9964d04e

  • SHA1

    043b6cea048f3e2bb09c60e6b7a732f7c4522720

  • SHA256

    18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b

  • SHA512

    b16321669cc825afd184394a9693d1c508b317a75af918e7dca507d290f5eb70d3b10fc76c9372463db1afd6b14655e0a5d7f8a2a7a13b943b80f50801fb14a3

  • SSDEEP

    3072:leRcOvgBZ3qPqLigLEoFMHxZnxqfPSAaz:lhOIB0zGEbqfXU

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_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hpviuupx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dknlmmcq.exe" C:\Windows\SysWOW64\hpviuupx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hpviuupx binPath= "C:\Windows\SysWOW64\hpviuupx\dknlmmcq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hpviuupx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hpviuupx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3076
    • 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:3172
  • C:\Windows\SysWOW64\hpviuupx\dknlmmcq.exe
    C:\Windows\SysWOW64\hpviuupx\dknlmmcq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_18dbdf8e5d41919296db9997b52a8292408d5c3d6d8194cc57909ee99338436b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1432
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4468

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.5MB

    MD5

    2f5c51c3f75babd5a3beda41bb59eb06

    SHA1

    bef027a094cd2c435afa2f0c2857b1507a09b52e

    SHA256

    9d20138c6fff97b5ad797cd99d0d29e0cc47146eb46212e2481ec65336824142

    SHA512

    140a408d63c59bc6de124e6be75f08155a59a010af49f06d4830fef728bc3962b2ee6cef9ba42022ae35f01259f0782a0577d4f8986b66dfc3505612dae6cea1

  • memory/1432-13-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/1432-11-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/1432-12-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/1432-18-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

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

    Filesize

    84KB

  • memory/3820-2-0x0000000000600000-0x0000000000613000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/3820-9-0x0000000000600000-0x0000000000613000-memory.dmp

    Filesize

    76KB

  • memory/3820-8-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/3820-1-0x0000000000630000-0x0000000000730000-memory.dmp

    Filesize

    1024KB

  • memory/4468-14-0x0000000000350000-0x0000000000365000-memory.dmp

    Filesize

    84KB

  • memory/4468-16-0x0000000000350000-0x0000000000365000-memory.dmp

    Filesize

    84KB

  • memory/4468-19-0x0000000000350000-0x0000000000365000-memory.dmp

    Filesize

    84KB