Analysis

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

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

General

  • Target

    JaffaCakes118_c40a888bf1f2c26adc0edc70965d85648f22ece1f2d41a5095fb72615d954075.exe

  • Size

    337KB

  • MD5

    3fdb21bf344606833d86102e85f00e81

  • SHA1

    ddc935d0e79e800fdd5bc962e19cfdf843d06e3f

  • SHA256

    c40a888bf1f2c26adc0edc70965d85648f22ece1f2d41a5095fb72615d954075

  • SHA512

    4fb3d015992f788df9dc880ada9c81ef83b779b47c448cc57fc40ebe41c5091ef7094b4ce737c3077f0da316873320717bc984725ea80053f9da9c06cd75c158

  • SSDEEP

    6144:dMfq+0R4E+ktkalj8LJUGfTrBOV/1vFQE0B:Ft4otkalj8LnnBOv9QEK

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_c40a888bf1f2c26adc0edc70965d85648f22ece1f2d41a5095fb72615d954075.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c40a888bf1f2c26adc0edc70965d85648f22ece1f2d41a5095fb72615d954075.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hisdvqev\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wjspqvhu.exe" C:\Windows\SysWOW64\hisdvqev\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hisdvqev binPath= "C:\Windows\SysWOW64\hisdvqev\wjspqvhu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c40a888bf1f2c26adc0edc70965d85648f22ece1f2d41a5095fb72615d954075.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hisdvqev "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hisdvqev
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2688
    • 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:2812
  • C:\Windows\SysWOW64\hisdvqev\wjspqvhu.exe
    C:\Windows\SysWOW64\hisdvqev\wjspqvhu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c40a888bf1f2c26adc0edc70965d85648f22ece1f2d41a5095fb72615d954075.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2824
    • 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:3004

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.4MB

    MD5

    48feb1fd4b00c63146eecd0907515f73

    SHA1

    46d34dae7b3405f935493d02a142be97db5b4d40

    SHA256

    005aed68204303886a72a68aa1315dcf550763f79b58cc186302486c1db0204e

    SHA512

    c5b94c2c20c9f20d8d370c33cbbad30a8671ed90e7da0a6e32ba4253f5a6ee01583248476b7721ff5c1af9bf727931b3ce0d6f8d4d2454463ed2c03a6918bb2b

  • memory/2024-7-0x0000000000400000-0x00000000023AB000-memory.dmp

    Filesize

    31.7MB

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

    Filesize

    84KB

  • memory/2024-2-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

  • memory/2024-9-0x0000000002510000-0x0000000002610000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2024-1-0x0000000002510000-0x0000000002610000-memory.dmp

    Filesize

    1024KB

  • memory/2024-8-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

  • memory/2824-16-0x0000000000400000-0x00000000023AB000-memory.dmp

    Filesize

    31.7MB

  • memory/3004-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3004-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/3004-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3004-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB