Analysis

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

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    01-01-2025 03:18

General

  • Target

    JaffaCakes118_45458daf16a9f56222038e23cd8665f9.exe

  • Size

    13.3MB

  • MD5

    45458daf16a9f56222038e23cd8665f9

  • SHA1

    c0880db345e5f94e5408707e7b495ab00ff6dc8c

  • SHA256

    dd74a7e347d234599ba9a11fbd4d16a26a8f433c386cd30979938c8c039c4cfa

  • SHA512

    f0154db0bca16aae19094f7f0236d91b4d49824b1a56c60bea75a19b9633490a578279eb290254c78ecbffa720c6dcdac191af34d1a2e6db046a95d292715231

  • SSDEEP

    98304:dY3333333333333333333333333333333333333333333333333333333333333H:d

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_45458daf16a9f56222038e23cd8665f9.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_45458daf16a9f56222038e23cd8665f9.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\bsdeibta\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cwsyjtlr.exe" C:\Windows\SysWOW64\bsdeibta\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bsdeibta binPath= "C:\Windows\SysWOW64\bsdeibta\cwsyjtlr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_45458daf16a9f56222038e23cd8665f9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bsdeibta "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bsdeibta
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • 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:2724
  • C:\Windows\SysWOW64\bsdeibta\cwsyjtlr.exe
    C:\Windows\SysWOW64\bsdeibta\cwsyjtlr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_45458daf16a9f56222038e23cd8665f9.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:2772

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.0MB

    MD5

    490cfb9238421f7f487e33df54b78ea5

    SHA1

    5e22ee4cd01b116146f9be720d2485e634ec11a2

    SHA256

    e18233c597caece2261468ebebd3036547a8684d3e9eaf00713e4df04a3d78e4

    SHA512

    ca5cd86d6c5a1dac2616e260f92a233ffa4f36a8a1238149b6f160fbf02d9549fb6eee9648fc4a126a6ce71f6472e4eacecddac0dbac3194a044dde2c8643cc2

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

    Filesize

    288KB

  • 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-0x0000000000270000-0x0000000000370000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2896-17-0x0000000000400000-0x0000000000448000-memory.dmp

    Filesize

    288KB