Analysis

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

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

General

  • Target

    JaffaCakes118_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe

  • Size

    292KB

  • MD5

    14936120ec4dd7c433d5af318a2ef8a6

  • SHA1

    a177abb559dc1d6d4e7ddc248c8214aae17d4c8c

  • SHA256

    0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735

  • SHA512

    0de81ca627fcbe7d6f6934c313ae8891db862c45807cc9752a0d768d1637f6351414814f6cedf0328f6c120608984f399add1fa068a9b53ea18ee5d94328e7b5

  • SSDEEP

    6144:yh9vzdC7naJt5JfbrSXuZet0yobwPN2VEyLvo:2zI7Gt55fSXuZet0yobwgEyk

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_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2648
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qwslfmbp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wlmsfqkj.exe" C:\Windows\SysWOW64\qwslfmbp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qwslfmbp binPath= "C:\Windows\SysWOW64\qwslfmbp\wlmsfqkj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qwslfmbp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qwslfmbp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • 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:2556
  • C:\Windows\SysWOW64\qwslfmbp\wlmsfqkj.exe
    C:\Windows\SysWOW64\qwslfmbp\wlmsfqkj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2608
    • 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:2148

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.9MB

    MD5

    9fb0ff209a856d406e0dfdcfa5dcf8ca

    SHA1

    2391b41fa92c658ce0fe3271f747e374c27a379e

    SHA256

    5c9f1e3d4d2e3c8bc7fb59775351737223dd0b82e1850cfe54c8c1ccc8245638

    SHA512

    d7b5ebc42663d28e0bf690fb41054d8f16f6a8ec375852fa583ee5071e4463b572e0be75906dad8dcc391ec04642dcfe5314e256a13596e3adc97c1845387fcb

  • memory/2148-15-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2148-17-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2148-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2148-12-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2148-19-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2608-18-0x0000000000400000-0x0000000002B41000-memory.dmp

    Filesize

    39.3MB

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

    Filesize

    84KB

  • memory/2648-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2648-7-0x0000000000400000-0x0000000002B41000-memory.dmp

    Filesize

    39.3MB

  • memory/2648-9-0x0000000002C10000-0x0000000002D10000-memory.dmp

    Filesize

    1024KB

  • memory/2648-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2648-1-0x0000000002C10000-0x0000000002D10000-memory.dmp

    Filesize

    1024KB