Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09-01-2025 14:24

General

  • Target

    JaffaCakes118_ca7622c3853a5ee886d5808b4eea1a7e.exe

  • Size

    10.3MB

  • MD5

    ca7622c3853a5ee886d5808b4eea1a7e

  • SHA1

    91727c20f51736a8cfca7405cb5ebf257f53243d

  • SHA256

    bf3e87a6467a8aa94b20b0c87eb32114b7249585913ef625d65009f313c247fa

  • SHA512

    5c1c177cabfd7388e06fa9813c250445f678effb56b1ed61ef6ba87070770f31aa9a83c6ec4d68607fbb8df2c4b7ee3fa1f50e8305af66f5812e88aef5e25197

  • SSDEEP

    12288:oZq+cdlGKSEdlGfxl5V/ZAMbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb:ok9dVcl5V/Z

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_ca7622c3853a5ee886d5808b4eea1a7e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca7622c3853a5ee886d5808b4eea1a7e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\peeywqc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4708
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\glhzxam.exe" C:\Windows\SysWOW64\peeywqc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create peeywqc binPath= "C:\Windows\SysWOW64\peeywqc\glhzxam.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca7622c3853a5ee886d5808b4eea1a7e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description peeywqc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start peeywqc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4944
    • 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:4756
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4052 -s 1156
      2⤵
      • Program crash
      PID:1740
  • C:\Windows\SysWOW64\peeywqc\glhzxam.exe
    C:\Windows\SysWOW64\peeywqc\glhzxam.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca7622c3853a5ee886d5808b4eea1a7e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1900
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1900 -s 512
      2⤵
      • Program crash
      PID:2528
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4052 -ip 4052
    1⤵
      PID:2284
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 1900 -ip 1900
      1⤵
        PID:1684

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        96b2e6c175558d44dbf3678c5c4b7406

        SHA1

        5cbffdfb4ed065d3a9ce11ec36150b1ba1542a71

        SHA256

        8156547b6053695730ec1a2343a58acc29bb76c6673aec7a5efa9a46193b3b49

        SHA512

        f1e0c4c3c1d905597d60a7564a48b050c440b228f52e07b0d18147bca9f3ded9ec260058b1e2c35c4070e03d1a438a2bff6d7c1417aaf757908cdc9b4606b17a

      • memory/1900-13-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1900-12-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1900-11-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1900-18-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/3772-14-0x0000000000CE0000-0x0000000000CF5000-memory.dmp

        Filesize

        84KB

      • memory/3772-16-0x0000000000CE0000-0x0000000000CF5000-memory.dmp

        Filesize

        84KB

      • memory/3772-17-0x0000000000CE0000-0x0000000000CF5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4052-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4052-9-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/4052-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/4052-1-0x0000000000730000-0x0000000000830000-memory.dmp

        Filesize

        1024KB