Analysis

  • max time kernel
    149s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 20:58

General

  • Target

    JaffaCakes118_e63d10ca0b11dcead0cbe59e6ffc0f697045cc855ccdfed26e09cf8fd31bea44.exe

  • Size

    187KB

  • MD5

    1f11ea2297bb82debf1add03f5efcc09

  • SHA1

    42b2004c178bf4d019d2042eacaf72071e685594

  • SHA256

    e63d10ca0b11dcead0cbe59e6ffc0f697045cc855ccdfed26e09cf8fd31bea44

  • SHA512

    909d8bd8a7981c5197b417b0b4c283e92b32efa34eb22c1bd328f1a9bf4bf2b9b0c5fa896eb3e55229b796e1d23744e2ebc2551f6ddc4e6a6720d44b99240e70

  • SSDEEP

    3072:EC7e/jDuFi2WiN38n69XJz7AdTiraSuzIFzmpZa9uD6Vdyhkk:ELLDuFi2WiN3BrXmwVf

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e63d10ca0b11dcead0cbe59e6ffc0f697045cc855ccdfed26e09cf8fd31bea44.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e63d10ca0b11dcead0cbe59e6ffc0f697045cc855ccdfed26e09cf8fd31bea44.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gxrocsk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgqguz.exe" C:\Windows\SysWOW64\gxrocsk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4980
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gxrocsk binPath= "C:\Windows\SysWOW64\gxrocsk\bgqguz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e63d10ca0b11dcead0cbe59e6ffc0f697045cc855ccdfed26e09cf8fd31bea44.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gxrocsk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3656
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gxrocsk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3636
    • 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:2684
  • C:\Windows\SysWOW64\gxrocsk\bgqguz.exe
    C:\Windows\SysWOW64\gxrocsk\bgqguz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e63d10ca0b11dcead0cbe59e6ffc0f697045cc855ccdfed26e09cf8fd31bea44.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2044
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2328

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.4MB

    MD5

    5f78d8dc5c7773166e53d6dd02ea6466

    SHA1

    78e44c14d7317710d05bf63dd86bd5b8fff4d8cb

    SHA256

    cab69ad595abab2c278c8fc6107618f98a2eb5f60f47379630c33932dc7227a9

    SHA512

    12efa35df5ab6330ca62f1f8f8638fc8c47c92596018e47c46b36eeea562519920cbcd7417eb360dd1da21a01b23ccaf6edae56db58b49a40cff6cf75d2b70a9

  • memory/2044-12-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2044-10-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2044-11-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2044-17-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2328-15-0x0000000001280000-0x0000000001295000-memory.dmp

    Filesize

    84KB

  • memory/2328-13-0x0000000001280000-0x0000000001295000-memory.dmp

    Filesize

    84KB

  • memory/2328-18-0x0000000001280000-0x0000000001295000-memory.dmp

    Filesize

    84KB

  • memory/4560-7-0x00000000005D0000-0x00000000005DD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    224KB

  • memory/4560-8-0x00000000005E0000-0x00000000005F3000-memory.dmp

    Filesize

    76KB

  • memory/4560-0-0x00000000005D0000-0x00000000005DD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/4560-1-0x00000000005E0000-0x00000000005F3000-memory.dmp

    Filesize

    76KB