Analysis

  • max time kernel
    150s
  • 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
    06-01-2025 17:50

General

  • Target

    JaffaCakes118_31ccc97297cfafca0b922f0534f07167.exe

  • Size

    13.9MB

  • MD5

    31ccc97297cfafca0b922f0534f07167

  • SHA1

    ebb2566ce3e3ea890fb952c0662b8804ade52f99

  • SHA256

    963ab9d7bad967865b6abba6e970be5016ddf917238984a1a6fdc4e68d459358

  • SHA512

    c2d8c81d7eafdd67967c594075c296f1269411ecfb0d94ab3755d8fb67d867d41fee6882a159375402461c0f38cad1d47c5e7963c4c78d5c63a53856af8c088b

  • SSDEEP

    49152:1zPOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO:1

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_31ccc97297cfafca0b922f0534f07167.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31ccc97297cfafca0b922f0534f07167.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wcgmqnjk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mrqoekti.exe" C:\Windows\SysWOW64\wcgmqnjk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4248
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wcgmqnjk binPath= "C:\Windows\SysWOW64\wcgmqnjk\mrqoekti.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31ccc97297cfafca0b922f0534f07167.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wcgmqnjk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wcgmqnjk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3624
    • 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:1900
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1056 -s 1188
      2⤵
      • Program crash
      PID:4316
  • C:\Windows\SysWOW64\wcgmqnjk\mrqoekti.exe
    C:\Windows\SysWOW64\wcgmqnjk\mrqoekti.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31ccc97297cfafca0b922f0534f07167.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1076
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1076 -s 536
      2⤵
      • Program crash
      PID:4880
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1056 -ip 1056
    1⤵
      PID:2876
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1076 -ip 1076
      1⤵
        PID:1592

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        d8156732fad0f783e2b6733750117b2c

        SHA1

        d6a55939f6508543796a5c60c88aec287e3af5cf

        SHA256

        c91b93a354ad35c385ed6b7daf00254bb2334c1756a966021916427847f07318

        SHA512

        b65e549351c2212ee20c0c741bc4a6cfd92f8679e5ae20d97f42d6df8beb3818ee3190ff7a28b09eeeaf8669cf8036adfd4b10e33fe1a4a7b39e124ff1c273b5

      • memory/1056-1-0x0000000001830000-0x0000000001930000-memory.dmp

        Filesize

        1024KB

      • memory/1056-2-0x0000000003400000-0x0000000003413000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1056-9-0x0000000003400000-0x0000000003413000-memory.dmp

        Filesize

        76KB

      • memory/1056-8-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/1076-14-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/1076-17-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/2812-11-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/2812-13-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/2812-15-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB