Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    28-10-2024 11:51

General

  • Target

    797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe

  • Size

    15.0MB

  • MD5

    797d18fdc2257084b4ef1d72567da313

  • SHA1

    d54a0fb342bb5ab844b86b922a8c7a5a8724168a

  • SHA256

    8c63222a0b3b7fc5f95f5e2210af53321011e5907a1b2400cf7a8eb35a935d59

  • SHA512

    c91cb7cf345e15897669aa0903974beaad66ee3e3b70ee50c523ea026fd6687720530ca5834b896e9fe1694171faec6c58b2709e2ac31a947d170e187eca90e7

  • SSDEEP

    393216:lLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLP:

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\797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\czqsegjq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\amyggrgo.exe" C:\Windows\SysWOW64\czqsegjq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create czqsegjq binPath= "C:\Windows\SysWOW64\czqsegjq\amyggrgo.exe /d\"C:\Users\Admin\AppData\Local\Temp\797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description czqsegjq "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 czqsegjq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2876
    • 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:3032
  • C:\Windows\SysWOW64\czqsegjq\amyggrgo.exe
    C:\Windows\SysWOW64\czqsegjq\amyggrgo.exe /d"C:\Users\Admin\AppData\Local\Temp\797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3036
    • 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:2692

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    0188921a5770e44e6292d666fe6818cb

    SHA1

    0289988998648e7a2970f43e8ca6230483c7d014

    SHA256

    a95e2f8d3d5830dbb398f6097525d5adef68492d271e6d2415ae209324ac4c65

    SHA512

    e392dd6724084775493bd155feb6db4ba1d4903054f2aa6151e5f8fe6833d80b31372aee4e12448dfa3ef9faad52fba16537ad8f602013510816e061edce8735

  • memory/2376-8-0x0000000000400000-0x0000000000455000-memory.dmp

    Filesize

    340KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2376-1-0x0000000000520000-0x0000000000620000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2692-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3036-17-0x0000000000400000-0x0000000000455000-memory.dmp

    Filesize

    340KB