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
    25-12-2024 13:10

General

  • Target

    JaffaCakes118_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe

  • Size

    284KB

  • MD5

    ebc386c5e58be126d9e8317f518bde8a

  • SHA1

    d1e5459b19c9b4d8cec638a9730b38d33a57ec29

  • SHA256

    65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0

  • SHA512

    9a824af4e2c3e1b5040162360a191488b311475bdf742ad9ae23cfdff158b59dad1768ccb73a2a86f77c402d6719793b7fa88d3c74a9500afca641e6cf634239

  • SSDEEP

    3072:2QWV+ioVH8ycDJdRc1/Q3RNyqUy39S20keU8/W8JMu2YaqK6nq1P93Y:VWVZ8yDJk1/QBNfP9Pu2YaqKua

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_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\txaihyko\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kavhbnrj.exe" C:\Windows\SysWOW64\txaihyko\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create txaihyko binPath= "C:\Windows\SysWOW64\txaihyko\kavhbnrj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description txaihyko "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start txaihyko
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • 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:2900
  • C:\Windows\SysWOW64\txaihyko\kavhbnrj.exe
    C:\Windows\SysWOW64\txaihyko\kavhbnrj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2828
    • 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:2628

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.0MB

    MD5

    4cb0efbb951850908315e087669508e0

    SHA1

    5dedebc252936651374a466a13476d01f006a2e9

    SHA256

    e1a2c03c2f3d24dcf11e30af6ab60fad57e2611827cba9c683f055b3f244bf8e

    SHA512

    c79ac395ff22600d603d76a8a1216d7f8894606324dbfd121ec94ff4d038c051980b8d033ed36383f2a926c840b43943ef0cc48443e69096857fc6f756161308

  • memory/2388-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

    Filesize

    39.6MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2388-1-0x0000000002CB0000-0x0000000002DB0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2828-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

    Filesize

    39.6MB