Analysis

  • max time kernel
    149s
  • max time network
    152s
  • 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 22:04

General

  • Target

    JaffaCakes118_d3758575fd9f846d85b214009243fd7a.exe

  • Size

    12.9MB

  • MD5

    d3758575fd9f846d85b214009243fd7a

  • SHA1

    91c5274faaa9c810fa7ba8f546cfe8ea7a3b4465

  • SHA256

    6063cdcff6aef2676a221bd82b052bc15a8ae10f4eec04dade0a454220c7a732

  • SHA512

    7bbbbbb36646bd75f84d9d0cdc79fc920004902c4601789fcf5330266a2ed3f7397b148875ebb851fb868188ce5831dcf7be5cca34ac68f9fbe55617c05e2c3c

  • SSDEEP

    49152:67G000000000000000000000000000000000000000000000000000000000000c:

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_d3758575fd9f846d85b214009243fd7a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d3758575fd9f846d85b214009243fd7a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rfoxxxch\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ngugysuh.exe" C:\Windows\SysWOW64\rfoxxxch\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rfoxxxch binPath= "C:\Windows\SysWOW64\rfoxxxch\ngugysuh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d3758575fd9f846d85b214009243fd7a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rfoxxxch "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rfoxxxch
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:856
    • 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:1492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4564 -s 1044
      2⤵
      • Program crash
      PID:1636
  • C:\Windows\SysWOW64\rfoxxxch\ngugysuh.exe
    C:\Windows\SysWOW64\rfoxxxch\ngugysuh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d3758575fd9f846d85b214009243fd7a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2104
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2104 -s 512
      2⤵
      • Program crash
      PID:1624
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4564 -ip 4564
    1⤵
      PID:3344
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 2104 -ip 2104
      1⤵
        PID:4120

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.6MB

        MD5

        9e59ea2228bf95ff06e0f2ebf06b3d43

        SHA1

        0e2d3dd65e34f1556c5e0f44dd41fb045256d4bc

        SHA256

        5895ab0b69a968c3f4d0992e651f371e53fdf39206721a185d2a2b2f51131989

        SHA512

        2de6597d368166ee297c77efe63fc8dd69cc407346fb1d587e96d49e997c70ae795a125774f398feac4e48978942b9e8284f94d8034f487b03893de7aa9d1b9d

      • memory/2104-15-0x0000000000400000-0x0000000002DA4000-memory.dmp

        Filesize

        41.6MB

      • memory/4564-1-0x0000000002DC0000-0x0000000002EC0000-memory.dmp

        Filesize

        1024KB

      • memory/4564-2-0x00000000049B0000-0x00000000049C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4564-9-0x00000000049B0000-0x00000000049C3000-memory.dmp

        Filesize

        76KB

      • memory/4564-8-0x0000000000400000-0x0000000002DA4000-memory.dmp

        Filesize

        41.6MB

      • memory/4624-11-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/4624-13-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/4624-14-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB