Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29-12-2024 09:00

General

  • Target

    JaffaCakes118_9ce8b01c8cfe2020ab11819ff80c747a040698f83613d6dc43b71e09b984961c.exe

  • Size

    186KB

  • MD5

    166c6ac61a149f3d397c5b54cdf611b0

  • SHA1

    51ac25392072ea5bd9af9d6d227c0c13a5c7cfdc

  • SHA256

    9ce8b01c8cfe2020ab11819ff80c747a040698f83613d6dc43b71e09b984961c

  • SHA512

    06d93630a7cf01e119c2cecf9c28de3f8e88b55f0afde93f2d6b8c536efd1ada9e9678aac34cb20c75911a3254ca3de174420a9ff45dbf2b4192c17d2b6ccfba

  • SSDEEP

    3072:L7ojA4DTPi7C4QCDla6Iv0vdJxfez43Valiy1wC3pZa9uD6Vdyhk9:+A4DTPi7C4QBVviXVIQC3wVf

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_9ce8b01c8cfe2020ab11819ff80c747a040698f83613d6dc43b71e09b984961c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9ce8b01c8cfe2020ab11819ff80c747a040698f83613d6dc43b71e09b984961c.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tkjgxky\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\spafdnkh.exe" C:\Windows\SysWOW64\tkjgxky\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tkjgxky binPath= "C:\Windows\SysWOW64\tkjgxky\spafdnkh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9ce8b01c8cfe2020ab11819ff80c747a040698f83613d6dc43b71e09b984961c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tkjgxky "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tkjgxky
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • 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:2844
  • C:\Windows\SysWOW64\tkjgxky\spafdnkh.exe
    C:\Windows\SysWOW64\tkjgxky\spafdnkh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9ce8b01c8cfe2020ab11819ff80c747a040698f83613d6dc43b71e09b984961c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2824
    • 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:488

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.1MB

    MD5

    f479280466baf5da4001fe597d83c279

    SHA1

    d2150523cd2f6c5900245305d26be77dc2697038

    SHA256

    16b1f9a382da8d7448db4d56c30974dc0213c49a7ba9d2c7bd751daf2891fe91

    SHA512

    931928413144f32b15b04a6c69b5c0e9cfe19dfd8dedbe6c9a503fb32f83469b41ea68f907cff70d3d5abd267b1471523302a619747639106af141e901eeea21

  • memory/488-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/488-13-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/488-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/488-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1800-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1800-0-0x00000000003B0000-0x00000000003BD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/1800-8-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB

  • memory/1800-7-0x00000000003B0000-0x00000000003BD000-memory.dmp

    Filesize

    52KB

  • memory/1800-6-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/1800-1-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB

  • memory/2824-15-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB