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
    02-01-2025 06:38

General

  • Target

    JaffaCakes118_6347b209373638144cf0ad83f9f6d2e3.exe

  • Size

    11.7MB

  • MD5

    6347b209373638144cf0ad83f9f6d2e3

  • SHA1

    93ec12b673de5d7a7245d226750c105aae3cac6e

  • SHA256

    c56c665284628c1928a4951dd94214549570d48f5ae553fb90a67d2a132ac643

  • SHA512

    16cf949c45ad07c94b66e22e7bcb9e3c3c947fb150fd411bdf6c98d034145c47910c36be52aa895f012c378a33bc134ac50c766adfadd284333d52d37c7951f4

  • SSDEEP

    6144:I72USLqCfuAKEfkqsGUemWik5nkFp7xkvCd6skSwG8QUsc:kMqCfFfbsGZhikA7xkaYSwG81

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_6347b209373638144cf0ad83f9f6d2e3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6347b209373638144cf0ad83f9f6d2e3.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fwfwkyra\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cwfpcfkw.exe" C:\Windows\SysWOW64\fwfwkyra\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fwfwkyra binPath= "C:\Windows\SysWOW64\fwfwkyra\cwfpcfkw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6347b209373638144cf0ad83f9f6d2e3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fwfwkyra "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fwfwkyra
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2884
    • 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:3000
  • C:\Windows\SysWOW64\fwfwkyra\cwfpcfkw.exe
    C:\Windows\SysWOW64\fwfwkyra\cwfpcfkw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6347b209373638144cf0ad83f9f6d2e3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2880
    • 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:1720

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.6MB

    MD5

    1820776a46332fbda33964e693284a5e

    SHA1

    b5a9943d3e15ecbcf4326fa5b04af58c5dee00eb

    SHA256

    6a3c0fb8d61e7db91a17a9c865f148a5c429a99395daac605db7d51694d85ad3

    SHA512

    8b0b3b659ddc397cf4980fd41633cedc52aa311130252c294c70ade11a5e5bc117ed1ea02a54beb5a9a546503c797e58ca41238fab1ab5c081316a667677dbe1

  • memory/1720-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/1720-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1720-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1720-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1720-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2376-1-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

  • memory/2376-11-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2376-10-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2376-8-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    76KB

  • memory/2880-18-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB