Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    10-09-2024 20:30

General

  • Target

    d8fee716b4673dbe2860a3cefb3ccf03_JaffaCakes118.exe

  • Size

    11.5MB

  • MD5

    d8fee716b4673dbe2860a3cefb3ccf03

  • SHA1

    1649c17a2b4c0d816aeba0b6759afa73b7b4a6d9

  • SHA256

    aab32afff9386da5026e13907bc9b3449ca79216b3bdf027a4f54a399dde7576

  • SHA512

    c8d20e8b80ea466e7ebf3a4b8303f27d9566bacd3614f6b36bca683dc5e54d5aca97aa66897bb70f50072f5d97de27c4702d57764d344399f1bee5e3ba6359b9

  • SSDEEP

    3072:/oiqjV0QCeV75zMwb2EfDXTBrt0c5f+Z7ApWt+0krytpObPUfAGM4H1M4CjiJNx4:/oiqjWHeV9zthDjBrmA+VkDbSAgQiTx

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.

  • 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\d8fee716b4673dbe2860a3cefb3ccf03_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\d8fee716b4673dbe2860a3cefb3ccf03_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mglymgfd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\otphfiu.exe" C:\Windows\SysWOW64\mglymgfd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mglymgfd binPath= "C:\Windows\SysWOW64\mglymgfd\otphfiu.exe /d\"C:\Users\Admin\AppData\Local\Temp\d8fee716b4673dbe2860a3cefb3ccf03_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mglymgfd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mglymgfd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2556
    • 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:2632
  • C:\Windows\SysWOW64\mglymgfd\otphfiu.exe
    C:\Windows\SysWOW64\mglymgfd\otphfiu.exe /d"C:\Users\Admin\AppData\Local\Temp\d8fee716b4673dbe2860a3cefb3ccf03_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2600
    • 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\otphfiu.exe

    Filesize

    14.8MB

    MD5

    02757ff99012c97c1ee58ea42baf45df

    SHA1

    bef14729829888a0beda93126d29a543fd556560

    SHA256

    6999c1de3792bd4fd36938cf955c53d745465fc175af411a89a55e09e1ca09bd

    SHA512

    9e88cc28098886bf8ece81226e904051d63c1ea7a55460b0aa83d96e4dd478df5c7e64561016231c3093ad53eb2bdf32a0c2d24c525129c66e1cbef577e429b9

  • memory/536-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/536-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/536-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/536-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2600-17-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/2684-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4.4MB

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

    Filesize

    84KB

  • memory/2684-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2684-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB