Analysis

  • max time kernel
    147s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    30-12-2024 18:15

General

  • Target

    JaffaCakes118_ba34518dee7609ea2c21e2f7ff7a7f486ff2fadc8a16bbba0b1df035f4ae4a72.exe

  • Size

    240KB

  • MD5

    e18f55416688875bd059aa78bad93fc5

  • SHA1

    4b3c98a0eede1f6d9c3641f41ad5bcdef901430f

  • SHA256

    ba34518dee7609ea2c21e2f7ff7a7f486ff2fadc8a16bbba0b1df035f4ae4a72

  • SHA512

    6eda58d760b9cf68dc61441899bf3a7427c3eda588d18db1b27fba90536d69c0b3b19c66221a43c2097b6bb58bfd5a8a3bce695d62dfee5f76f5ad588b89a6a7

  • SSDEEP

    3072:kItj9qmR1YGra4etPzs+0aIC7yKzbaBwNrrFpxf8cd/J5obromE9QsPB:kgJFYGrTwzsyKwhFpxfLFH9rP

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_ba34518dee7609ea2c21e2f7ff7a7f486ff2fadc8a16bbba0b1df035f4ae4a72.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ba34518dee7609ea2c21e2f7ff7a7f486ff2fadc8a16bbba0b1df035f4ae4a72.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hwytriuu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nhdjuewc.exe" C:\Windows\SysWOW64\hwytriuu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2340
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hwytriuu binPath= "C:\Windows\SysWOW64\hwytriuu\nhdjuewc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ba34518dee7609ea2c21e2f7ff7a7f486ff2fadc8a16bbba0b1df035f4ae4a72.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hwytriuu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hwytriuu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2828
    • 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:2616
  • C:\Windows\SysWOW64\hwytriuu\nhdjuewc.exe
    C:\Windows\SysWOW64\hwytriuu\nhdjuewc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ba34518dee7609ea2c21e2f7ff7a7f486ff2fadc8a16bbba0b1df035f4ae4a72.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2736
    • 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:2156

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.3MB

    MD5

    3b83e695cfa93bb3cc57333e70742a1f

    SHA1

    cf279a904cf4b48ee4455ca4ec338a1e1cc31ab4

    SHA256

    1fbb8a90bbbea65db047f5ed9650a5ae487d39c05508d612b2529cca2817df10

    SHA512

    81b9500d74f4076a3503064a282136cc523260110cefdd9f68e0ba027f05d8ba53af03183817559a5097cb55bfbefd0a7340d8d9fef945b3b1fe607979036082

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2156-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2260-8-0x0000000000400000-0x000000000086C000-memory.dmp

    Filesize

    4.4MB

  • memory/2260-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2260-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2260-1-0x0000000000A30000-0x0000000000B30000-memory.dmp

    Filesize

    1024KB

  • memory/2736-15-0x0000000000400000-0x000000000086C000-memory.dmp

    Filesize

    4.4MB