Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    25-12-2024 20:49

General

  • Target

    JaffaCakes118_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe

  • Size

    286KB

  • MD5

    35222c2852fe3d8ed50c8820b4aa10fb

  • SHA1

    47664e419c4357857bac4257a317c282e36c0009

  • SHA256

    8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043

  • SHA512

    5233c53cfb2aea7450076be4dee889048621a005b39b69330393bb041dc97ad7240e5ce1bc6a7ac6fc0f9d121b2e20765b96d9a57d499233ef8518a98013d92d

  • SSDEEP

    3072:Kkt7EEcdxTVtTjv6z7lKBFRqHXu0ay/McZWKYZYU/Gx9II9PtcLHTbuJt3nnLBbi:K47QPVtTjv4lKb8HhtY0vIAKzinLBw

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_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2308
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bnmazpsq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\svtoipzj.exe" C:\Windows\SysWOW64\bnmazpsq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bnmazpsq binPath= "C:\Windows\SysWOW64\bnmazpsq\svtoipzj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bnmazpsq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bnmazpsq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2908
    • 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:2360
  • C:\Windows\SysWOW64\bnmazpsq\svtoipzj.exe
    C:\Windows\SysWOW64\bnmazpsq\svtoipzj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2372
    • 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:2868

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.6MB

    MD5

    b7b60fb8e1216f958312e2c7a333029e

    SHA1

    7a7c15ee4fc4a0c015b659b36c2933761680b1d2

    SHA256

    5e14a806051dc04d9f90f9b87392d002cb4b493b0e94e21970ecdc06bd9b0c3c

    SHA512

    cd0cbc9cd1b6af76110b14a73b1fcdd8a97b5a36e3a27dcffb0becb1bee1a0afeef1520d58d6c92027fb8db011f91883384be37634e375a80cabf9291dc25f66

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2308-8-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/2308-1-0x0000000002C20000-0x0000000002D20000-memory.dmp

    Filesize

    1024KB

  • memory/2372-16-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/2868-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2868-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2868-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2868-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB