Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-10-2024 16:08

General

  • Target

    7a5c5be60e0b6cf8fdc5d487a56cc60b_JaffaCakes118.exe

  • Size

    239KB

  • MD5

    7a5c5be60e0b6cf8fdc5d487a56cc60b

  • SHA1

    bbc32678132d14ae7453c2617f399136123f3dcb

  • SHA256

    77cc13b69823c588274c5c567081f0d0cc02aca078dc0ad0040eee5ec9385395

  • SHA512

    e72d45cc7660f44e3ca931edb475a60700d653f87b3a33f81f12d16a14c6697b5cf1b1b3462471197c91927bdd8e28649d7eaaeffb3957b4fb76f705710cd559

  • SSDEEP

    3072:1NoWIXVg044YmyJc/rY/2Woct6Mz+7L00vyLf9nQLWLIMcesvKeHTQzIaH/q99Q4:1NoWwy0jYBkE/vocLz+2QSLIBee8q9N

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
  • 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\7a5c5be60e0b6cf8fdc5d487a56cc60b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7a5c5be60e0b6cf8fdc5d487a56cc60b_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4120
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pkfrbyuh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gnzmvijd.exe" C:\Windows\SysWOW64\pkfrbyuh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pkfrbyuh binPath= "C:\Windows\SysWOW64\pkfrbyuh\gnzmvijd.exe /d\"C:\Users\Admin\AppData\Local\Temp\7a5c5be60e0b6cf8fdc5d487a56cc60b_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pkfrbyuh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1648
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pkfrbyuh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4524
    • 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:2120
  • C:\Windows\SysWOW64\pkfrbyuh\gnzmvijd.exe
    C:\Windows\SysWOW64\pkfrbyuh\gnzmvijd.exe /d"C:\Users\Admin\AppData\Local\Temp\7a5c5be60e0b6cf8fdc5d487a56cc60b_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4676
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2588

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    b99e02fb50b55a31310cde6bb730888d

    SHA1

    7dd8ab6f9d4ba5f78a119c3691668f799c81f480

    SHA256

    47b16d69d7aeaa2478067e5f7a4889973faa9304c3206e1caaafaf6044413536

    SHA512

    c54111239c48bba1692a66ab094dc04fa238883e66b0d8798ee18f6029773faf9a21d23652bda4f58d7b8fd49866de0fe37044e3af32f41ef1cec9f5b6aebffd

  • memory/2588-12-0x0000000000860000-0x0000000000875000-memory.dmp

    Filesize

    84KB

  • memory/2588-18-0x0000000000860000-0x0000000000875000-memory.dmp

    Filesize

    84KB

  • memory/2588-16-0x0000000000860000-0x0000000000875000-memory.dmp

    Filesize

    84KB

  • memory/2588-17-0x0000000000860000-0x0000000000875000-memory.dmp

    Filesize

    84KB

  • memory/4120-8-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/4120-1-0x0000000000940000-0x0000000000A40000-memory.dmp

    Filesize

    1024KB

  • memory/4120-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/4120-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

    Filesize

    76KB

  • memory/4676-11-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/4676-15-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/4676-14-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB