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
    07-01-2025 21:53

General

  • Target

    JaffaCakes118_7b59084371e878c62a6b09ccf4bd82ff.exe

  • Size

    14.1MB

  • MD5

    7b59084371e878c62a6b09ccf4bd82ff

  • SHA1

    57f2a5f62fde2b607d43de19d84958b6935a814a

  • SHA256

    12e184a9efc0897d7bec4c00b64355a5364faac11514f5fb6d2a8e3c2851c1b5

  • SHA512

    811b9ae6bea68ed73fd0251dcc756fffd95c0e891310978cd262f08667ae04ed811ee3b5f140a260b3b109770cea713b1d0907e43252c8af631dbc3033897309

  • SSDEEP

    98304:6wfDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDj:6w

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.

  • 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_7b59084371e878c62a6b09ccf4bd82ff.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7b59084371e878c62a6b09ccf4bd82ff.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bmwlmrdw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\otphfiu.exe" C:\Windows\SysWOW64\bmwlmrdw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bmwlmrdw binPath= "C:\Windows\SysWOW64\bmwlmrdw\otphfiu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7b59084371e878c62a6b09ccf4bd82ff.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bmwlmrdw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bmwlmrdw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • 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:2728
  • C:\Windows\SysWOW64\bmwlmrdw\otphfiu.exe
    C:\Windows\SysWOW64\bmwlmrdw\otphfiu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7b59084371e878c62a6b09ccf4bd82ff.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3032
    • 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:2632

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.7MB

    MD5

    f749e77428e18912e97ed19d47c6791f

    SHA1

    d908cfcf3c17a937f211c5cca2b2e1c3cd95b553

    SHA256

    79b16e3392c495183f4969aaf7ab0ecb86d56738fd56bd9ab4dc176046a17b7d

    SHA512

    462ac950de2b6e8c5ac52205e9674391e55c4229d14bdd645cfb994a1681e80db073bc431e123ffeb6794c5c24f2939174924312722f2014a7def052765c41f7

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2632-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2632-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2632-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3032-17-0x0000000000400000-0x0000000000446000-memory.dmp

    Filesize

    280KB

  • memory/3064-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/3064-8-0x0000000000400000-0x0000000000446000-memory.dmp

    Filesize

    280KB

  • memory/3064-1-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB