Analysis

  • max time kernel
    144s
  • max time network
    144s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    22-12-2024 04:43

General

  • Target

    JaffaCakes118_6aeeabc242e4fe99aeef23cedf0444ce06d7ef74a592d7942d6798d4a5978e3c.exe

  • Size

    285KB

  • MD5

    5abd029a5ad6a47b553bd7cbc48c0d77

  • SHA1

    c1a7a3fcfb197c1f7bb03e642c84d1208c111b6e

  • SHA256

    6aeeabc242e4fe99aeef23cedf0444ce06d7ef74a592d7942d6798d4a5978e3c

  • SHA512

    22d8116dc12a7dd2be6cbf8cd8d0482723e9f68b4ba03050e7c5995dd639c4acf7e534ea8c408b5075a239d29ee2690e88f624a93d17aab714f0677c890069f8

  • SSDEEP

    3072:d1nOYAZsDFRRvGyphu1eB9jyb1H2Ab20AyilOvXjWZ1HWiSwgrXHfN8lLJ9w12ks:d1ORZsh21ePWxH2nWqZ1HAHl8lLJ9w/

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_6aeeabc242e4fe99aeef23cedf0444ce06d7ef74a592d7942d6798d4a5978e3c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6aeeabc242e4fe99aeef23cedf0444ce06d7ef74a592d7942d6798d4a5978e3c.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bjbhkrup\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfrzzkzh.exe" C:\Windows\SysWOW64\bjbhkrup\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bjbhkrup binPath= "C:\Windows\SysWOW64\bjbhkrup\tfrzzkzh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6aeeabc242e4fe99aeef23cedf0444ce06d7ef74a592d7942d6798d4a5978e3c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bjbhkrup "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2652
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bjbhkrup
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2604
    • 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:1912
  • C:\Windows\SysWOW64\bjbhkrup\tfrzzkzh.exe
    C:\Windows\SysWOW64\bjbhkrup\tfrzzkzh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6aeeabc242e4fe99aeef23cedf0444ce06d7ef74a592d7942d6798d4a5978e3c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2672
    • 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:264

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.2MB

    MD5

    53429d178d50b234440b9c040e96109f

    SHA1

    d537dd7ccb3ef97d66978a56ff2f4ad2357ae1f2

    SHA256

    0a2fda351718db5bb158b45d6b9b72f65b66791e0389d040f118f57dd4dbcf1d

    SHA512

    4713308ba29f9487be47cd7d88e1fff83103fb9a4a97a0e529b7dc19d38cde44b6505b9679751e0feaa2ff729d5c670a07696037a6b51b645f4473dcc7edbaa6

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2672-16-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2824-8-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

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

    Filesize

    76KB

  • memory/2824-1-0x0000000002D60000-0x0000000002E60000-memory.dmp

    Filesize

    1024KB