Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    29-12-2024 04:49

General

  • Target

    JaffaCakes118_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe

  • Size

    291KB

  • MD5

    75e6c2aff85d117e67665bbdb65135c2

  • SHA1

    18a7e734c143851fe75be433ed801e0f723a069e

  • SHA256

    ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a

  • SHA512

    5c4966f063af976a7c844b1c161bca833737d2ef8bf5608e899ef774652f92e922097dda0a5713e37b8be37cf6b0ca238117c99b8e37fecab1bd6f2a91472ab4

  • SSDEEP

    3072:f3fyrBNQ0SXhndx/y8rpdb0Pecqb04kFr+D7VYg0lg/y+3+N1LnBmFMRzGNtn7ff:vqQPFhxcqb044r65YZS7+vBs0w1CeoG

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_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\onhrwmpg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2528
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rwgwkp.exe" C:\Windows\SysWOW64\onhrwmpg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create onhrwmpg binPath= "C:\Windows\SysWOW64\onhrwmpg\rwgwkp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description onhrwmpg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start onhrwmpg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2980
    • 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:1916
  • C:\Windows\SysWOW64\onhrwmpg\rwgwkp.exe
    C:\Windows\SysWOW64\onhrwmpg\rwgwkp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2852
    • 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:536

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    d951f8602fbfad6b596fa61a308d19bd

    SHA1

    9f8d75f707e3e4331aacf72c3b4bde656e063910

    SHA256

    0c273bd21707b8455aed7a7747a66d5d19855ef00682725815e0204362dcca2d

    SHA512

    3c4119913235a65ab775ab227640fc18af48fedebcb810b7028abc27bffc415a1f0a0af8a117559b8d66ca70bf2436bf68f4722ff347d655099b34957a6f1349

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

    Filesize

    4KB

  • memory/536-11-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/536-14-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/536-16-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/536-18-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1996-7-0x0000000000400000-0x00000000008ED000-memory.dmp

    Filesize

    4.9MB

  • memory/1996-1-0x00000000009E0000-0x0000000000AE0000-memory.dmp

    Filesize

    1024KB

  • memory/2852-17-0x0000000000400000-0x00000000008ED000-memory.dmp

    Filesize

    4.9MB