Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    24-12-2024 21:32

General

  • Target

    JaffaCakes118_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe

  • Size

    270KB

  • MD5

    4572e49963d2e5a2f834c3f66647c313

  • SHA1

    5133ea013005b1867d964c1c7b68ae9919c11a60

  • SHA256

    c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531

  • SHA512

    f200d03c74068ef8afdb4d69b8e145806c4dcab3c46ebef9f101ee4cf15faafde8107d302033e71ec785e21e47c9a407f68d89bc3aefdd8135ac02e6150c4d38

  • SSDEEP

    6144:VlKUqyUmgpzhSMzmZqIPFphSn0zl19pDJH:fwyUmyAKn0B19b

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_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tcphlceq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jdmwjmrd.exe" C:\Windows\SysWOW64\tcphlceq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tcphlceq binPath= "C:\Windows\SysWOW64\tcphlceq\jdmwjmrd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tcphlceq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tcphlceq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • 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:2988
  • C:\Windows\SysWOW64\tcphlceq\jdmwjmrd.exe
    C:\Windows\SysWOW64\tcphlceq\jdmwjmrd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2896
    • 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:2936

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.7MB

    MD5

    2e41eb1e079806883560ec7717c0e5c6

    SHA1

    ea84b2db843d027625ff270d66e62690e3b56fe3

    SHA256

    a2d014eaa668803bd395b37bba77420ad91af35fca0442cc424ff70bcb45d8ee

    SHA512

    86c1e242e2e6edb193587d6e80e11d2e96ce50656c1ea3faa2bfd7916ac9a53cf37d4ee70be5cb06e4fb36a60a3ab44c04d7b54a8fa8a8572e9b819858d611ff

  • memory/1724-8-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

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

    Filesize

    76KB

  • memory/1724-1-0x0000000000600000-0x0000000000700000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2896-15-0x0000000000400000-0x0000000000450000-memory.dmp

    Filesize

    320KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB