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
    29-12-2024 07:53

General

  • Target

    JaffaCakes118_eb23d0babff0e507c1dcf8ba4c6763626972fbcd7a3d18d6408a57063ff841ad.exe

  • Size

    147KB

  • MD5

    8c9037ef39252b830c9f423eb5893543

  • SHA1

    080ad0e6b966ff4a1eac5ff53bcd9f6204b2c75e

  • SHA256

    eb23d0babff0e507c1dcf8ba4c6763626972fbcd7a3d18d6408a57063ff841ad

  • SHA512

    9652f12291b3604f2202f8436ed0de6faa746cfb0bfb01500a749d337b3c950dd71aa828e45458e1b07737b8547a6aad10507b33bb0bc3a94dfdc7e7000c6162

  • SSDEEP

    3072:3b60anGsBzXDU0eSPafOWI5DnrcPI1ZeNPDEZYz:3bvantBrDUdJfZIcPI10Dea

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_eb23d0babff0e507c1dcf8ba4c6763626972fbcd7a3d18d6408a57063ff841ad.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_eb23d0babff0e507c1dcf8ba4c6763626972fbcd7a3d18d6408a57063ff841ad.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2648
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lwhsdtwf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\igvhbxiy.exe" C:\Windows\SysWOW64\lwhsdtwf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lwhsdtwf binPath= "C:\Windows\SysWOW64\lwhsdtwf\igvhbxiy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_eb23d0babff0e507c1dcf8ba4c6763626972fbcd7a3d18d6408a57063ff841ad.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lwhsdtwf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lwhsdtwf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • 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:2568
  • C:\Windows\SysWOW64\lwhsdtwf\igvhbxiy.exe
    C:\Windows\SysWOW64\lwhsdtwf\igvhbxiy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_eb23d0babff0e507c1dcf8ba4c6763626972fbcd7a3d18d6408a57063ff841ad.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2792
    • 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:1752

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.4MB

    MD5

    b940383d9e0f4710592e2a3ff8491534

    SHA1

    5c82890e72cf1721632af567595bc1e922092229

    SHA256

    ad7df49ed12fbb52ab4c0ae47b9039689799d81f111bd5aed6c8d24292603a49

    SHA512

    ebeb0741512ccc70fbab60437727c0686c06e47e4e0c2422b8684a934f9585e9ff6cbcab6a918ec8cb9944fbed49ba8a1815410e31fc6b0166b80205a3a74466

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2648-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

    Filesize

    1024KB

  • memory/2648-8-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB

  • memory/2648-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2648-10-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2648-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2792-16-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB