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
    05-01-2025 05:39

General

  • Target

    JaffaCakes118_8f0c7ed7dee073b4d77ebc9ae3e91730.exe

  • Size

    10.0MB

  • MD5

    8f0c7ed7dee073b4d77ebc9ae3e91730

  • SHA1

    9859b88ddf30f3ad0275f1af5595cc175aa72808

  • SHA256

    a766c56d729f2d60d7420c27cc346dd2b360e2b620061ceccd86c3efaafa3d21

  • SHA512

    d55db62d314bb0f1fbfba9e33345098877c4985a1a139159422fb2fdcf70b1cbef271748fd13a2f467b3c42423c90c386ccccc0ced0e1bf63044a04bf4397cfd

  • SSDEEP

    49152:cvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqS:c

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_8f0c7ed7dee073b4d77ebc9ae3e91730.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f0c7ed7dee073b4d77ebc9ae3e91730.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mfurhtxi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\chgeuajy.exe" C:\Windows\SysWOW64\mfurhtxi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mfurhtxi binPath= "C:\Windows\SysWOW64\mfurhtxi\chgeuajy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f0c7ed7dee073b4d77ebc9ae3e91730.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mfurhtxi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mfurhtxi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3544
    • 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:3524
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2944 -s 656
      2⤵
      • Program crash
      PID:4520
  • C:\Windows\SysWOW64\mfurhtxi\chgeuajy.exe
    C:\Windows\SysWOW64\mfurhtxi\chgeuajy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f0c7ed7dee073b4d77ebc9ae3e91730.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2300
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2300 -s 524
      2⤵
      • Program crash
      PID:840
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2944 -ip 2944
    1⤵
      PID:3276
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2300 -ip 2300
      1⤵
        PID:216

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        1aec4107d86cd0c5cccd8435a55a5e19

        SHA1

        484e25f8eae0c5d943aa7571abb386de216a75d8

        SHA256

        5d38e8902c25dce5340fe6b6f7a0a2762e90765967d59fb31545ec23d8b6399d

        SHA512

        94cb1c58361fcc70227ceab7661ef4527d7f1773d701077f3022d07e4e5b4ccb4e6f8c915933dd87e47d2178fa0c6907efec1187b78054bc5db0cf7029a78d82

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

        Filesize

        18.7MB

      • memory/2300-16-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/2944-1-0x0000000001870000-0x0000000001970000-memory.dmp

        Filesize

        1024KB

      • memory/2944-2-0x0000000003410000-0x0000000003423000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2944-9-0x0000000003410000-0x0000000003423000-memory.dmp

        Filesize

        76KB

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

        Filesize

        18.7MB

      • memory/5000-11-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/5000-13-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/5000-15-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB