Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    05-12-2024 13:20

General

  • Target

    c7e3c29a30cffbdc9a1c8b20f8d49ba0_JaffaCakes118.exe

  • Size

    13.4MB

  • MD5

    c7e3c29a30cffbdc9a1c8b20f8d49ba0

  • SHA1

    196e02f66bd9281f79e364bd553926dff2a36559

  • SHA256

    53334a426525497e8cb6ffff44e8b29cbfda8b1e6bfa3041604b272211b2f6e5

  • SHA512

    5483e6be0c230aea680abfbeb2751e529fb77f82e7507ab9e8c56a13ce859df18f7f2b2686a3314728fb5eb6b2e9f81306b4fb8cce4bf4f4d12c27baed0024d3

  • SSDEEP

    24576:sE2llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllB:sE

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\c7e3c29a30cffbdc9a1c8b20f8d49ba0_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c7e3c29a30cffbdc9a1c8b20f8d49ba0_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2360
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hclkheb\
      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\ywlxrnyo.exe" C:\Windows\SysWOW64\hclkheb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2208
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hclkheb binPath= "C:\Windows\SysWOW64\hclkheb\ywlxrnyo.exe /d\"C:\Users\Admin\AppData\Local\Temp\c7e3c29a30cffbdc9a1c8b20f8d49ba0_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hclkheb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hclkheb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2776
    • 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\hclkheb\ywlxrnyo.exe
    C:\Windows\SysWOW64\hclkheb\ywlxrnyo.exe /d"C:\Users\Admin\AppData\Local\Temp\c7e3c29a30cffbdc9a1c8b20f8d49ba0_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2856
    • 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:2796

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.4MB

    MD5

    0d42998805befacee120d5d90eeb7732

    SHA1

    27b09cec333bd488956c55411b043f1997cf59f8

    SHA256

    a990ed23d9b53a3b9a6fa48153a5ffec95d7a2764d93e24b600a3f30ad0680b0

    SHA512

    c51ccdd4aa9a204fde7457c0b6ebeff7f6270a284cbfab1c07d36fbdb81b984387ba1423c9f3852f6b6aeb246be305f12896b12bf7f28c79ee091b369fb41583

  • memory/2360-8-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    84KB

  • memory/2360-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2360-9-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2796-17-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2856-15-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB