Analysis

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

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

General

  • Target

    JaffaCakes118_5a9ef809fc37070083a115aa190ef1f1.exe

  • Size

    10.0MB

  • MD5

    5a9ef809fc37070083a115aa190ef1f1

  • SHA1

    521c99511375bf9e2e2895885426fc61ead1dd1a

  • SHA256

    725942837d07ecacfd205166ae30d8286620d8f3ccbcc9a76b03c32ec0db9e51

  • SHA512

    155c9dd52fd34d2d54661ab6c8094dbe4ea2022dbb582ec7c4032950c5b07c446a3cde4169ea66d5c38bd8876a3d71577c54cffbb14dfe324568c437f92548cc

  • SSDEEP

    12288:XExmZ6o10cbFU5tFU5tFU5tFU5tFU5tFU5tFU5tFU5tFU5tFU5tFU5tFU5tFU5ts:XEx27

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 1 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_5a9ef809fc37070083a115aa190ef1f1.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5a9ef809fc37070083a115aa190ef1f1.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3860
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ejqyabqs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cfygegoy.exe" C:\Windows\SysWOW64\ejqyabqs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ejqyabqs binPath= "C:\Windows\SysWOW64\ejqyabqs\cfygegoy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5a9ef809fc37070083a115aa190ef1f1.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ejqyabqs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ejqyabqs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4188
    • 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:2060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3860 -s 596
      2⤵
      • Program crash
      PID:3272
  • C:\Windows\SysWOW64\ejqyabqs\cfygegoy.exe
    C:\Windows\SysWOW64\ejqyabqs\cfygegoy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5a9ef809fc37070083a115aa190ef1f1.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4656
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2944
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3860 -ip 3860
    1⤵
      PID:4280

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      13.0MB

      MD5

      bdf2a5e518cdf16cf0d8ab7716a2df5a

      SHA1

      66bd85093f0c79fe48158fd050f66e132f46d627

      SHA256

      0fda833e6b6ad2f58356624d367252cadbd3d2dfcf11f140b6c5a2a9950e41cc

      SHA512

      333b85b3a9db30769a0fd3068c1635ac8fddd9d0476862a11536ee6e965d59f3f5a8e3e2e91e6398e3a5f2e39a4a89069b0a13dcd472ce052b3d2c352cf99090

    • memory/2944-11-0x0000000000D70000-0x0000000000D85000-memory.dmp

      Filesize

      84KB

    • memory/2944-14-0x0000000000D70000-0x0000000000D85000-memory.dmp

      Filesize

      84KB

    • memory/2944-15-0x0000000000D70000-0x0000000000D85000-memory.dmp

      Filesize

      84KB

    • memory/3860-1-0x0000000002DB0000-0x0000000002EB0000-memory.dmp

      Filesize

      1024KB

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

      Filesize

      76KB

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

      Filesize

      84KB

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

      Filesize

      84KB

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

      Filesize

      76KB

    • memory/3860-8-0x0000000000400000-0x0000000002B75000-memory.dmp

      Filesize

      39.5MB

    • memory/4656-12-0x0000000000400000-0x0000000002B75000-memory.dmp

      Filesize

      39.5MB