Analysis

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

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

General

  • Target

    JaffaCakes118_852603995775096c3faa3134eb1fa8ed.exe

  • Size

    12.8MB

  • MD5

    852603995775096c3faa3134eb1fa8ed

  • SHA1

    5a2954c23b57c72da533bdc66f6eb3d08b11e2b3

  • SHA256

    cdef47f8b918fee5ff8a3ca635beac2b775340a49cb7a3c16d1da1d36cc220fd

  • SHA512

    8e1ce66ec7bbc3d09c0259ebc950adf5aaa6d41bb16da49ba5b89bb1891a8a4d1e0502c463bf6ba0f5802c3ac65d7f3df508e08991625f17274ccc54418ee810

  • SSDEEP

    49152:cN8888888888888888888888888888888888888888888888888888888888888X:

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_852603995775096c3faa3134eb1fa8ed.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_852603995775096c3faa3134eb1fa8ed.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zokgrony\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dwkwoikx.exe" C:\Windows\SysWOW64\zokgrony\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zokgrony binPath= "C:\Windows\SysWOW64\zokgrony\dwkwoikx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_852603995775096c3faa3134eb1fa8ed.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zokgrony "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zokgrony
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4264
    • 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:3496
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2896 -s 1040
      2⤵
      • Program crash
      PID:2400
  • C:\Windows\SysWOW64\zokgrony\dwkwoikx.exe
    C:\Windows\SysWOW64\zokgrony\dwkwoikx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_852603995775096c3faa3134eb1fa8ed.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2436
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2436 -s 512
      2⤵
      • Program crash
      PID:3656
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2896 -ip 2896
    1⤵
      PID:808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2436 -ip 2436
      1⤵
        PID:4648

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        984eab0451c614ac5a942009b9792485

        SHA1

        453ba735a2491d4d1973ecfa984d65bdabafffce

        SHA256

        8647231f1270d6fe4b8e497d9c239365be9b0546518b1e69595e76d465956f67

        SHA512

        a3732cea242e22b139dee5b316e3b4bde0d6070ce2a305533f70bde11544975f4fbc2906deb0ad6633954f7922a1a4dc47cfc8c7f4829941cbff8b87a76d9eb0

      • memory/1788-10-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/1788-12-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/1788-13-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/2436-14-0x0000000000400000-0x0000000002F05000-memory.dmp

        Filesize

        43.0MB

      • memory/2896-0-0x0000000002FE0000-0x0000000002FED000-memory.dmp

        Filesize

        52KB

      • memory/2896-1-0x0000000002FF0000-0x0000000003003000-memory.dmp

        Filesize

        76KB

      • memory/2896-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2896-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2896-8-0x0000000002FF0000-0x0000000003003000-memory.dmp

        Filesize

        76KB

      • memory/2896-7-0x0000000002FE0000-0x0000000002FED000-memory.dmp

        Filesize

        52KB

      • memory/2896-6-0x0000000000400000-0x0000000002F05000-memory.dmp

        Filesize

        43.0MB