Analysis

  • max time kernel
    149s
  • 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
    08-01-2025 13:17

General

  • Target

    JaffaCakes118_a18891ac4c86dc5662155b36d349f1d4.exe

  • Size

    13.1MB

  • MD5

    a18891ac4c86dc5662155b36d349f1d4

  • SHA1

    bead486f2e55ddb197c14cbb8d53c9152ae6442e

  • SHA256

    57505cf98c89236e3365f9c9087630b641f32d69d6e7184fe1e5c12093b3d9c0

  • SHA512

    032785a8ff2dac819839617454e8b10312f00202efb289698eeb2ebf9507429b30923e9414c12abcfd2e8862d9bbd3bf2a97590cc816701e5a8dba3ced08d6dc

  • SSDEEP

    393216:4555555555555555555555555555555555555555555555555555555555555557:45555555555555555555555555555557

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_a18891ac4c86dc5662155b36d349f1d4.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a18891ac4c86dc5662155b36d349f1d4.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4856
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cnyezzjs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\spafdnkh.exe" C:\Windows\SysWOW64\cnyezzjs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cnyezzjs binPath= "C:\Windows\SysWOW64\cnyezzjs\spafdnkh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a18891ac4c86dc5662155b36d349f1d4.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cnyezzjs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cnyezzjs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1524
    • 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:1180
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4856 -s 1044
      2⤵
      • Program crash
      PID:376
  • C:\Windows\SysWOW64\cnyezzjs\spafdnkh.exe
    C:\Windows\SysWOW64\cnyezzjs\spafdnkh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a18891ac4c86dc5662155b36d349f1d4.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1168
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1168 -s 516
      2⤵
      • Program crash
      PID:1508
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4856 -ip 4856
    1⤵
      PID:1440
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1168 -ip 1168
      1⤵
        PID:4996

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        6a5fa1cda940355c489b90619a4a0c4e

        SHA1

        f77e58a1090ce836b93a92ce44db340c70b3d3b6

        SHA256

        66eae4148a9672f3c2d827ff0c4816d185ce64e9ef71c5f15f44d178baa3b880

        SHA512

        36f706a4de596fd03603bebdb6235dedeabf70eab4a8f8a98cf8051ca019394e7b9ae746ae9f88eb99173e40075bf8e2b5583481f94a559380084b69e8dafd94

      • memory/1168-11-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/1168-12-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/1168-13-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/1168-18-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/4800-14-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB

      • memory/4800-16-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB

      • memory/4800-17-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4856-2-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4856-9-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

      • memory/4856-8-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/4856-1-0x0000000000600000-0x0000000000700000-memory.dmp

        Filesize

        1024KB