Analysis

  • max time kernel
    148s
  • max time network
    149s
  • 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 23:00

General

  • Target

    JaffaCakes118_00671df357ed0592f04e4d33c3703604.exe

  • Size

    333KB

  • MD5

    00671df357ed0592f04e4d33c3703604

  • SHA1

    38dbdb0fd9f8b6d4bcf0639604f25fd7e513c69f

  • SHA256

    fd3dc0471381c2c032b31d76bccf7e126526dd9448066ca9d35e1e62e1a188b3

  • SHA512

    fbc9bc3aa3e5781033ae1c06d0862e7fde17cd9ed47e1451fc2bc4ef96b7d2936b1e7ba9cb464d846dd7146fd3d7613f2bd94cd892e08ceb118d2c7b6d487a93

  • SSDEEP

    6144:xOYmVlRyNQpj0ViCx2xKxc9Sh/KXl/wLWlWC8RzZap6:xW7Rw2j0VmKqgJKXlwGeVZ

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_00671df357ed0592f04e4d33c3703604.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_00671df357ed0592f04e4d33c3703604.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ejrdftpz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hniluddy.exe" C:\Windows\SysWOW64\ejrdftpz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ejrdftpz binPath= "C:\Windows\SysWOW64\ejrdftpz\hniluddy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_00671df357ed0592f04e4d33c3703604.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ejrdftpz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ejrdftpz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:448
    • 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:4136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4300 -s 668
      2⤵
      • Program crash
      PID:3516
  • C:\Windows\SysWOW64\ejrdftpz\hniluddy.exe
    C:\Windows\SysWOW64\ejrdftpz\hniluddy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_00671df357ed0592f04e4d33c3703604.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1360
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1360 -s 516
      2⤵
      • Program crash
      PID:1420
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1360 -ip 1360
    1⤵
      PID:3384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4300 -ip 4300
      1⤵
        PID:3524

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        63de65a4b8858e1be9326c4a2ac9c7ec

        SHA1

        3ad5d17baf17d4a4658763d2a8cc96ee34fca53a

        SHA256

        c4ee671ecd07fb5db5ad8bb0b0a257b82622c2bd2b28f1cd059452524c4feee3

        SHA512

        d158a873b2efeffd9b23842d34cf9125f4b75234d00badbd578e485e844c15e351a4cf19e60dc894803ed3b2391e76e5d50308210842d7ce6cc781f0991bb23f

      • memory/1360-8-0x0000000000400000-0x0000000000882000-memory.dmp

        Filesize

        4.5MB

      • memory/1360-15-0x0000000000400000-0x0000000000882000-memory.dmp

        Filesize

        4.5MB

      • memory/1360-9-0x0000000000400000-0x0000000000882000-memory.dmp

        Filesize

        4.5MB

      • memory/2424-10-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/2424-13-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/2424-19-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/2424-20-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/2424-21-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/4300-2-0x0000000000900000-0x0000000000913000-memory.dmp

        Filesize

        76KB

      • memory/4300-1-0x0000000000950000-0x0000000000A50000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4300-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4300-17-0x0000000000900000-0x0000000000913000-memory.dmp

        Filesize

        76KB

      • memory/4300-16-0x0000000000400000-0x0000000000882000-memory.dmp

        Filesize

        4.5MB