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
    06-01-2025 19:16

General

  • Target

    JaffaCakes118_35aa868b9edc2ce3a80f966bf60815a4.exe

  • Size

    12.1MB

  • MD5

    35aa868b9edc2ce3a80f966bf60815a4

  • SHA1

    f0d8809ec1d4fcb47277fefc601028b3aa22044e

  • SHA256

    f3563edb147f446d1ce0b58c6254619b17808ff2506c3f2ad32e11ed7910dacd

  • SHA512

    68ff649ff5c186e19e163a44b3f65e52d3e961b2d2a120103d37734355a03c5ab7c25f220dcb11e74d5ec2a6d6fb429ff273e46f3b441fc5ec3f62108165842d

  • SSDEEP

    49152:LN8888888888888888888888888888888888888888888888888888888888888f:

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_35aa868b9edc2ce3a80f966bf60815a4.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_35aa868b9edc2ce3a80f966bf60815a4.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\irklfrqv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5020
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rkykcwyl.exe" C:\Windows\SysWOW64\irklfrqv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2356
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create irklfrqv binPath= "C:\Windows\SysWOW64\irklfrqv\rkykcwyl.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_35aa868b9edc2ce3a80f966bf60815a4.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description irklfrqv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start irklfrqv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1556
    • 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:1348
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 644 -s 664
      2⤵
      • Program crash
      PID:4812
  • C:\Windows\SysWOW64\irklfrqv\rkykcwyl.exe
    C:\Windows\SysWOW64\irklfrqv\rkykcwyl.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_35aa868b9edc2ce3a80f966bf60815a4.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3540
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4372
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3540 -s 516
      2⤵
      • Program crash
      PID:4736
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 644 -ip 644
    1⤵
      PID:4972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 3540 -ip 3540
      1⤵
        PID:2960

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        f9d11c8f8e8847d045273ce1f125108d

        SHA1

        8bc953623911512ce4255893049647ce1dc05308

        SHA256

        a4f10cae3e580dfe2a03d79733fcb5f96f02591c40f871820bcc1ab2ac326940

        SHA512

        a25e59112f3bfe6d7f1e25fea5ed883db48555da25b67e36a533fca516b7faecf44f79ddd165bfe8f057198851dd8884688954c1d81265c954bf75947eb9ba7d

      • memory/644-0-0x00000000030C0000-0x00000000030CD000-memory.dmp

        Filesize

        52KB

      • memory/644-1-0x00000000030D0000-0x00000000030E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/644-7-0x00000000030C0000-0x00000000030CD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        43.0MB

      • memory/644-8-0x00000000030D0000-0x00000000030E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        43.0MB

      • memory/4372-10-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/4372-12-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/4372-13-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB