Analysis

  • max time kernel
    145s
  • max time network
    145s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    04-12-2024 03:21

General

  • Target

    c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe

  • Size

    10.5MB

  • MD5

    c09354355fb07d6facea3c22adda2229

  • SHA1

    73720603323de6932680de01f1ca5f71db192281

  • SHA256

    4a1faed551556efe2e1e3e4f1c333f78adeb905ebffc84e4575da1da95f2a3ad

  • SHA512

    cedcec999ca8c1d81733a5ecf1edeaa68a2a20fe124373a22276beb376148e4fa34be8ea5c52f13ffce0a45f44129a10d271a471084ba2b3f8ebbf422500782e

  • SSDEEP

    6144:mrZQVnJzxj5nP76vk7wQ6udJm1lzvGCUWlnpj:iZ2zxj5nPmRQ6QgjzOCnl

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\c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2296
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xptkhkpo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hoanwjke.exe" C:\Windows\SysWOW64\xptkhkpo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xptkhkpo binPath= "C:\Windows\SysWOW64\xptkhkpo\hoanwjke.exe /d\"C:\Users\Admin\AppData\Local\Temp\c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xptkhkpo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xptkhkpo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2928
    • 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:2716
  • C:\Windows\SysWOW64\xptkhkpo\hoanwjke.exe
    C:\Windows\SysWOW64\xptkhkpo\hoanwjke.exe /d"C:\Users\Admin\AppData\Local\Temp\c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2932
    • 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:2944

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.0MB

    MD5

    3299a82c5a0fff322bb3cfe5604ab293

    SHA1

    3db0ab06fa0e86d91d8dd7eddfb59ef9f60e6afa

    SHA256

    e4d4b3cd3947cb94fa4a0e2bae41d354db98cb367bb753ffaa9cfeb5cd455770

    SHA512

    389941571c10a262221a31fb0efd390599c19d818478e11981b2b9c74f85ea9403eb38730a86114ac4e66c69ac87578394abdc9dc2bf7892e4be13c475f3dbdf

  • memory/2296-8-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

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

    Filesize

    84KB

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

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/2932-16-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB