Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-01-2025 04:07

General

  • Target

    JaffaCakes118_46912015f4e217c84f81982305c8c6d5.exe

  • Size

    13.5MB

  • MD5

    46912015f4e217c84f81982305c8c6d5

  • SHA1

    ba7ccd3f4668126eed2a609eb6ac489e9893b78a

  • SHA256

    29b0f91a35ae86daabb6e62bde864cf514549d1d3e9f0fa453521fccd389d51e

  • SHA512

    83900686d98969d7a00a1b78a3e1f7aeba2b95d8f931f412787a03fd32d87dfbfeb1d0506b2a2190254b0fa88e235264e58374b353d0a5c68f0c299f7782b17e

  • SSDEEP

    49152:fyzapZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZx:fC

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_46912015f4e217c84f81982305c8c6d5.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_46912015f4e217c84f81982305c8c6d5.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:232
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jttswwtf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1264
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kdrdvpre.exe" C:\Windows\SysWOW64\jttswwtf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jttswwtf binPath= "C:\Windows\SysWOW64\jttswwtf\kdrdvpre.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_46912015f4e217c84f81982305c8c6d5.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jttswwtf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jttswwtf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1084
    • 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:2600
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 232 -s 1040
      2⤵
      • Program crash
      PID:8
  • C:\Windows\SysWOW64\jttswwtf\kdrdvpre.exe
    C:\Windows\SysWOW64\jttswwtf\kdrdvpre.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_46912015f4e217c84f81982305c8c6d5.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3656
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1880
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3656 -s 532
      2⤵
      • Program crash
      PID:3404
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 232 -ip 232
    1⤵
      PID:3308
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3656 -ip 3656
      1⤵
        PID:3252

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        a47892cdad6c0390283df7552c338ad7

        SHA1

        e44e629339cf67c159343a923e8e173c8e5d14de

        SHA256

        c087debbc76b92ad32d5954cf40b1f4620b7eba48a32d6b25b860b331be7fa7b

        SHA512

        f9749ceb646cf7e8d980605efef6334211edc741ae74cfc275addc2ef47c0b56db4cc3cf320a2c084725997be0ba0e431e159a4904853ca0afb32ab89e3e0646

      • memory/232-1-0x0000000001850000-0x0000000001950000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/232-8-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1880-11-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/1880-13-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/1880-15-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/3656-14-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB

      • memory/3656-17-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB