Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    30-12-2024 18:36

General

  • Target

    JaffaCakes118_4ce348146e4449af121aa2029454a02728bb79671576c754465e17e7bbc7aa92.exe

  • Size

    284KB

  • MD5

    39aef8a60db843b86b52e8cc53fdcf30

  • SHA1

    87d7ae95420b166e35aad755f8068d124ca25fb2

  • SHA256

    4ce348146e4449af121aa2029454a02728bb79671576c754465e17e7bbc7aa92

  • SHA512

    c1416ddabb1564c9d4592a0902c41be83de01d9011cc46773d945c3b43585b7ee089f1804df18397e3425109fe9d3c0afae6894a81d63e4e6e273abb0ab9d430

  • SSDEEP

    6144:uKFbjAXNxyhYZtc5/Tuzbgwu6L7ITsqSigaTwVf:JbjiyCZe5runnn7s

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_4ce348146e4449af121aa2029454a02728bb79671576c754465e17e7bbc7aa92.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4ce348146e4449af121aa2029454a02728bb79671576c754465e17e7bbc7aa92.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zhrwgfvm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\glvlze.exe" C:\Windows\SysWOW64\zhrwgfvm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zhrwgfvm binPath= "C:\Windows\SysWOW64\zhrwgfvm\glvlze.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4ce348146e4449af121aa2029454a02728bb79671576c754465e17e7bbc7aa92.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zhrwgfvm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zhrwgfvm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2808
    • 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:2708
  • C:\Windows\SysWOW64\zhrwgfvm\glvlze.exe
    C:\Windows\SysWOW64\zhrwgfvm\glvlze.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4ce348146e4449af121aa2029454a02728bb79671576c754465e17e7bbc7aa92.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2840
    • 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\glvlze.exe

    Filesize

    11.0MB

    MD5

    44bfb137ff0a08b9f399e95b7dc7e14c

    SHA1

    829cb1e426f28ac1baca6a4d61871d360ea7a58f

    SHA256

    ffc71dacffa4cf0c1c8773737455a83777f69d47e6a6e67fc217f1c93a5d82d4

    SHA512

    be0eed8e06ecd4f72df0803e593e3c1895552a54d43351550e784a69528e64e5f25c990e6685e3cdc75a7fde83467f15276add98bb678ab61353554090f046de

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

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/2380-1-0x0000000000260000-0x0000000000273000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2380-8-0x0000000000260000-0x0000000000273000-memory.dmp

    Filesize

    76KB

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

    Filesize

    52KB

  • memory/2380-6-0x0000000000400000-0x0000000000451000-memory.dmp

    Filesize

    324KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2840-14-0x0000000000400000-0x0000000000451000-memory.dmp

    Filesize

    324KB