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 00:48

General

  • Target

    JaffaCakes118_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe

  • Size

    289KB

  • MD5

    fc3b7de2e1349e3132fbbc37ff6c265d

  • SHA1

    acd8bb57f4297c422a531a13172ae0a89637d4ec

  • SHA256

    21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d

  • SHA512

    95c7c767abc7383c67fdb6c84a05c5b6baabe74f71c13c1cd0b4c11bf62c6157fdff1a3867d49162d89ef6a30c20dae1b76781ba2897ccf2f93a1a70ecd16422

  • SSDEEP

    6144:eRpABz+P8behNzsXqJL6F6EkOOhxxdeTr/ekI:DBz+U0xL6Fdizxd6L

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_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aihztbqq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kwdxcivd.exe" C:\Windows\SysWOW64\aihztbqq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2492
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aihztbqq binPath= "C:\Windows\SysWOW64\aihztbqq\kwdxcivd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aihztbqq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aihztbqq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2732
    • 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:2832
  • C:\Windows\SysWOW64\aihztbqq\kwdxcivd.exe
    C:\Windows\SysWOW64\aihztbqq\kwdxcivd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2872
    • 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:2608

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    322e88507540b53def74ab7adf187dab

    SHA1

    ab8857b54e4223b2cc3f2e4cea0732869f87947a

    SHA256

    b0a0c184f55178aa3c236484ab8aeda40cb5760a0b35fe181e407d5bb62c655c

    SHA512

    f38d340c845dac2bb0f3a0818bee037c47a9657dae449d2c201114d4fbfcc831ff6ac9a528827bba6f7fac080501fc98d303df4fbdac514787b27b70698de91f

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    340KB

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

    Filesize

    84KB

  • memory/2500-1-0x0000000000250000-0x0000000000350000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2872-15-0x0000000000400000-0x0000000000455000-memory.dmp

    Filesize

    340KB