Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-01-2025 16:02

General

  • Target

    JaffaCakes118_5b71eafbe78dfb0cfe34d51e78f4b646.exe

  • Size

    10.9MB

  • MD5

    5b71eafbe78dfb0cfe34d51e78f4b646

  • SHA1

    4704183ac76b4dfcf6cb8f7f17ec383846ac0b5b

  • SHA256

    94999d1dacca1ec7527f3aca2dc6d6650d71f32a10d141bda8e86d1680372d32

  • SHA512

    c676de991a00ea0c3279bc1a6cdd7a22f84f1ebdd94106b6eac535f1669faf268f291a77c05d814bc7555038f168c379c7c38b872b790b144b779dc643fdaf97

  • SSDEEP

    98304:/C+PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:6

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\JaffaCakes118_5b71eafbe78dfb0cfe34d51e78f4b646.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5b71eafbe78dfb0cfe34d51e78f4b646.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ftlvdun\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2604
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pwiversm.exe" C:\Windows\SysWOW64\ftlvdun\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ftlvdun binPath= "C:\Windows\SysWOW64\ftlvdun\pwiversm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5b71eafbe78dfb0cfe34d51e78f4b646.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ftlvdun "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ftlvdun
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4968
    • 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\ftlvdun\pwiversm.exe
    C:\Windows\SysWOW64\ftlvdun\pwiversm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5b71eafbe78dfb0cfe34d51e78f4b646.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:720
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4460

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.1MB

    MD5

    b6062d5e3b59c915e07663fe791a27ff

    SHA1

    a386a12ac2f807ee6ab0fb1738590f8b08442a01

    SHA256

    efa86b09c8a448ce92d49b4eb013e20de317d3038991079aeedd379d4dc10b26

    SHA512

    fd97404a9651e2668b14f2db8fb4725d8f615122bfa5e45a075c04cb63a9e24f8eab85cb772034abb928e2870d092bd9625221a8d69fb48efaaaf657129b686e

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/536-8-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

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

    Filesize

    84KB

  • memory/536-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

    Filesize

    1024KB

  • memory/720-12-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/720-11-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/720-13-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/720-18-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/4460-16-0x0000000000930000-0x0000000000945000-memory.dmp

    Filesize

    84KB

  • memory/4460-19-0x0000000000930000-0x0000000000945000-memory.dmp

    Filesize

    84KB

  • memory/4460-14-0x0000000000930000-0x0000000000945000-memory.dmp

    Filesize

    84KB