Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-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
  • 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_e63d10ca0b11dcead0cbe59e6ffc0f697045cc855ccdfed26e09cf8fd31bea44.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e63d10ca0b11dcead0cbe59e6ffc0f697045cc855ccdfed26e09cf8fd31bea44.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sgosnpz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tmameyan.exe" C:\Windows\SysWOW64\sgosnpz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2128
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sgosnpz binPath= "C:\Windows\SysWOW64\sgosnpz\tmameyan.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:2608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sgosnpz "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 sgosnpz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3068
    • 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:2764
  • C:\Windows\SysWOW64\sgosnpz\tmameyan.exe
    C:\Windows\SysWOW64\sgosnpz\tmameyan.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:2788
    • 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:2672

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    e0506306968cf9487820e486cf0cb212

    SHA1

    9d6cf14ad3b602dfa4d243d02d83d75248af8104

    SHA256

    f1a574074dbd305020fe81597437502db7c86e2ca4f3aa8a73155a7dc370662a

    SHA512

    44ac7fff2e6025ec752ef501e0f86ab0b226bf196d8a8b7ff4c1693fdff963ef182a2e4a807185f6bcac4f4e8df7d348146e5981a8ad8f9dccda84007389d3a3

  • memory/1044-7-0x00000000001B0000-0x00000000001BD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/1044-1-0x00000000001C0000-0x00000000001D3000-memory.dmp

    Filesize

    76KB

  • memory/1044-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1044-0-0x00000000001B0000-0x00000000001BD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    224KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2788-16-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB