Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c7e3c29a30cffbdc9a1c8b20f8d49ba0_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c7e3c29a30cffbdc9a1c8b20f8d49ba0_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qbkcmfxp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fdseyufv.exe" C:\Windows\SysWOW64\qbkcmfxp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qbkcmfxp binPath= "C:\Windows\SysWOW64\qbkcmfxp\fdseyufv.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:4692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qbkcmfxp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qbkcmfxp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4108
    • 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:3236
  • C:\Windows\SysWOW64\qbkcmfxp\fdseyufv.exe
    C:\Windows\SysWOW64\qbkcmfxp\fdseyufv.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:1732
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3992

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    ade51ac761d4b703954623e6ae83d7d7

    SHA1

    8945c4178f923472a27b0c0c98fd95b16734c2c0

    SHA256

    612bef0c8974b5ad775215978f407c11f1bf5d48f50334bdd7ce88563223b4dc

    SHA512

    378b6ba397f302eced7c51759c5e7394353120bb79ca3196270f183fe8aa9b0f056b6843eae3de5ee090a2a43f921227e2cd3ff3f3c07abfbba26933abc9fa87

  • memory/1732-11-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/1732-13-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/1732-12-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/1732-17-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    84KB

  • memory/3396-2-0x00000000021F0000-0x0000000002203000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/3396-9-0x00000000021F0000-0x0000000002203000-memory.dmp

    Filesize

    76KB

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

    Filesize

    676KB

  • memory/3396-1-0x0000000000650000-0x0000000000750000-memory.dmp

    Filesize

    1024KB

  • memory/3992-14-0x00000000012A0000-0x00000000012B5000-memory.dmp

    Filesize

    84KB

  • memory/3992-18-0x00000000012A0000-0x00000000012B5000-memory.dmp

    Filesize

    84KB

  • memory/3992-19-0x00000000012A0000-0x00000000012B5000-memory.dmp

    Filesize

    84KB