Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    24-12-2024 00:32

General

  • Target

    JaffaCakes118_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe

  • Size

    286KB

  • MD5

    c8db952495476598e4a9e817faa66bd3

  • SHA1

    bf87819d97967eb84812028e724acccbecc308c6

  • SHA256

    9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3

  • SHA512

    1ba0653a1489761d66042f8732532d028a51dd50734d2188eeb54157cde4498e4ac5322067e75b768176f060f04cc65c4178c3bb06447192133e9be54510f427

  • SSDEEP

    6144:yK8kEQgA+ApiK1eO0CICsClp+TV6T0YeMx:WQbH3/ICsClp+wQY

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_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hprfdezd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\schubwvk.exe" C:\Windows\SysWOW64\hprfdezd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hprfdezd binPath= "C:\Windows\SysWOW64\hprfdezd\schubwvk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hprfdezd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hprfdezd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • 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:2768
  • C:\Windows\SysWOW64\hprfdezd\schubwvk.exe
    C:\Windows\SysWOW64\hprfdezd\schubwvk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2628
    • 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:2620

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.0MB

    MD5

    d7a7d64a853c63c10fa6dc97c9f6631e

    SHA1

    9a7a7d81e00ad9aac7fde8ad7901cff4ca136d02

    SHA256

    b276f6ba83645d391e13de058bf10878a101d4c399851e9def7b5059d7db9a15

    SHA512

    895f07e451a60f1a029f7f2b7780af9844d09f0d90426b568523a06b78aceee20192dc0ddb10be71d7d562bf6b9ea02fb08efcfbca033a833bf824113383180a

  • memory/2620-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2620-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2620-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2620-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2620-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2628-15-0x0000000000400000-0x0000000002B40000-memory.dmp

    Filesize

    39.2MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2788-7-0x0000000000400000-0x0000000002B40000-memory.dmp

    Filesize

    39.2MB

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

    Filesize

    76KB

  • memory/2788-1-0x0000000002C50000-0x0000000002D50000-memory.dmp

    Filesize

    1024KB