Analysis

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

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

General

  • Target

    JaffaCakes118_7add49d3f94626db3bfd88652c55403b.exe

  • Size

    10.3MB

  • MD5

    7add49d3f94626db3bfd88652c55403b

  • SHA1

    c99c8680050272cade3963627fa87e697b4ee564

  • SHA256

    d15dc4c9f5cc18798572b527797678adedd953ae755a9efadbeaf76353cc199f

  • SHA512

    19edd3367327213abc11f3d696b46cdd4184a74e6653e43b0283aebcd0de135f43e92b69a1906328c318a5e7a3c06806665a015cbe70e5ee9e13e91e7654ca4f

  • SSDEEP

    196608:9I+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++G:9

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.

  • Program crash 2 IoCs
  • 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_7add49d3f94626db3bfd88652c55403b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7add49d3f94626db3bfd88652c55403b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5096
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tovfnpin\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4368
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rpzxxnwm.exe" C:\Windows\SysWOW64\tovfnpin\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tovfnpin binPath= "C:\Windows\SysWOW64\tovfnpin\rpzxxnwm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7add49d3f94626db3bfd88652c55403b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2236
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tovfnpin "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tovfnpin
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3584
    • 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:4500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5096 -s 1252
      2⤵
      • Program crash
      PID:1164
  • C:\Windows\SysWOW64\tovfnpin\rpzxxnwm.exe
    C:\Windows\SysWOW64\tovfnpin\rpzxxnwm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7add49d3f94626db3bfd88652c55403b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3816
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3816 -s 532
      2⤵
      • Program crash
      PID:4796
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 5096 -ip 5096
    1⤵
      PID:4424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 3816 -ip 3816
      1⤵
        PID:2424

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        ce813103d404ba5250434fb0c1cee95e

        SHA1

        332593c3260cce44d5c50c8201f1b45a4d8341b4

        SHA256

        66fbc67f14a517175d8d7d7aa0dfb20873f8a4500336eeb3f23250b55194ad77

        SHA512

        9929ca431a782e722805e4b76f4687f863cd8f42916d44e6cbd2f73492dae362e326b0f2a1a4de0f12163b3ccb5dc1e1d328f9f807f989858862ce7115da3696

      • memory/392-14-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB

      • memory/392-12-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB

      • memory/392-17-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB

      • memory/3816-11-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/3816-15-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/3816-16-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/5096-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/5096-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/5096-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/5096-1-0x0000000000AB0000-0x0000000000BB0000-memory.dmp

        Filesize

        1024KB