Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    30-11-2024 02:03

General

  • Target

    b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe

  • Size

    11.2MB

  • MD5

    b45db2c776b80d9917734597ec4aaec7

  • SHA1

    9036a908ff16d45a0ce8a281e73665affd118091

  • SHA256

    c04a5f65f05b9b01b6b4c594a5e7a20c5d6a0cc78e92a782fba497dae49f60d9

  • SHA512

    47a66f3b5e22d1045a71216fca4afd843f264f5046f3f7a9483e14964a0d42293b9b06c7baee7e9b09adfa6a98a67ba6073b7b9366169ca4cca7e7d912629365

  • SSDEEP

    6144:CVLzTNrHtNo3azgzs1anrC+ekTXiRpYjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjD:CVL3NrTo3bjLTM

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\b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2568
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ncfyitlf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\szxiniwk.exe" C:\Windows\SysWOW64\ncfyitlf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ncfyitlf binPath= "C:\Windows\SysWOW64\ncfyitlf\szxiniwk.exe /d\"C:\Users\Admin\AppData\Local\Temp\b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ncfyitlf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ncfyitlf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • 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:2880
  • C:\Windows\SysWOW64\ncfyitlf\szxiniwk.exe
    C:\Windows\SysWOW64\ncfyitlf\szxiniwk.exe /d"C:\Users\Admin\AppData\Local\Temp\b45db2c776b80d9917734597ec4aaec7_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2860
    • 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:2756

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    b3c55cc6d814d495632c4c7c9c5c8ea2

    SHA1

    6e657e12c0423dd8ae69824024f47fb4ffffd81f

    SHA256

    a019ad7760a9cd51395847039ff29d3e23693eeee3a81ae2b8dafc116b0f8b3b

    SHA512

    30c961cb0d6f95c48362248a713d564bb9fedea4e40f6ac72ff0ce0e5e0dff6b09039077d067f963bc22103c9c4e6095ef671258cb3fa7d2626a2acca0fd308b

  • memory/2568-8-0x0000000000400000-0x000000000086C000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2568-1-0x0000000000270000-0x0000000000370000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2860-17-0x0000000000400000-0x000000000086C000-memory.dmp

    Filesize

    4.4MB