Analysis

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

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    31-12-2024 13:45

General

  • Target

    JaffaCakes118_1f81a2c3835fcdd7652325ea0eb70326.exe

  • Size

    12.0MB

  • MD5

    1f81a2c3835fcdd7652325ea0eb70326

  • SHA1

    a0297513774b23399b9e1747b68db90bba1a097b

  • SHA256

    024b1ff3808f448395efcc16feb5905a841149f9765a3a247a8437949108fa51

  • SHA512

    ccc3b7dbd4a8cbf01c3a4c1ceee8ded3b6882ce8d98c0059b51fac3249ed860b7ea21d229fcb9f61dcc658322ef393f2ac6c7cc4554fb904da73f573d9db295b

  • SSDEEP

    49152:y/m3UeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeK:y

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_1f81a2c3835fcdd7652325ea0eb70326.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1f81a2c3835fcdd7652325ea0eb70326.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bqjhrjzv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qfgmzked.exe" C:\Windows\SysWOW64\bqjhrjzv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2348
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bqjhrjzv binPath= "C:\Windows\SysWOW64\bqjhrjzv\qfgmzked.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1f81a2c3835fcdd7652325ea0eb70326.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bqjhrjzv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bqjhrjzv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • 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:2816
  • C:\Windows\SysWOW64\bqjhrjzv\qfgmzked.exe
    C:\Windows\SysWOW64\bqjhrjzv\qfgmzked.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1f81a2c3835fcdd7652325ea0eb70326.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2748
    • 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:2728

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.1MB

    MD5

    4d3e24a7a61532737b66fb87c4e5274b

    SHA1

    85fbe58a71839d17961a9b0b570ed8a8125dc139

    SHA256

    d64e6e56fc93bbc067a3a228e9001979cda0166df3bbb4effb392e1138a163a7

    SHA512

    64971a65848c108063a1dd3beb12615a73a30346f4ddaae4c247ce93e7bba848a62b85610f975c6e58998fd28b3f138b3f66f56f937b144de4e35e961c68b0af

  • memory/1540-11-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1540-1-0x0000000001730000-0x0000000001830000-memory.dmp

    Filesize

    1024KB

  • memory/1540-10-0x0000000001730000-0x0000000001830000-memory.dmp

    Filesize

    1024KB

  • memory/1540-8-0x0000000000400000-0x00000000016BC000-memory.dmp

    Filesize

    18.7MB

  • memory/1540-2-0x00000000002A0000-0x00000000002B3000-memory.dmp

    Filesize

    76KB

  • memory/1540-9-0x00000000002A0000-0x00000000002B3000-memory.dmp

    Filesize

    76KB

  • memory/2728-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2728-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2728-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2728-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2748-17-0x0000000000400000-0x00000000016BC000-memory.dmp

    Filesize

    18.7MB