Analysis

  • max time kernel
    149s
  • 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
    07-01-2025 10:35

General

  • Target

    JaffaCakes118_5dfcaf4e5871ac873611bd6f471ef2fc.exe

  • Size

    12.8MB

  • MD5

    5dfcaf4e5871ac873611bd6f471ef2fc

  • SHA1

    4e629c67eea486e000f176945c1432db02ff762d

  • SHA256

    f4cfa45ff195fb3fe470b75d9d3c8b6d8a8d8741a6e1401ba5eb494c27dd4090

  • SHA512

    b949db654cc28ae03a1e83953fe608a3990b5dc37d9145ca011d4ba43f0d1d0bc54c18a7c85f648b141230db65d4168701a0ccd0d151ce71b2d4071b201684cb

  • SSDEEP

    6144:kNvMXNc7x72uNJFeTgkYIvpjkHp2e7z+/uyAmMGwDkqyyyyyyyyyyyyyyyyyyyyi:kNvM9i7fNJFeTgk9BjkHp2Euu1mr

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_5dfcaf4e5871ac873611bd6f471ef2fc.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5dfcaf4e5871ac873611bd6f471ef2fc.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tijqyhtn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2984
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fhbqmiev.exe" C:\Windows\SysWOW64\tijqyhtn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1152
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tijqyhtn binPath= "C:\Windows\SysWOW64\tijqyhtn\fhbqmiev.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5dfcaf4e5871ac873611bd6f471ef2fc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tijqyhtn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tijqyhtn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2880
    • 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:3532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1716 -s 576
      2⤵
      • Program crash
      PID:2220
  • C:\Windows\SysWOW64\tijqyhtn\fhbqmiev.exe
    C:\Windows\SysWOW64\tijqyhtn\fhbqmiev.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5dfcaf4e5871ac873611bd6f471ef2fc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1996
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:224
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1996 -s 516
      2⤵
      • Program crash
      PID:4784
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1716 -ip 1716
    1⤵
      PID:4484
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1996 -ip 1996
      1⤵
        PID:1296

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        5bf8cbde945501a7057445d26c1c06b0

        SHA1

        11f549e7cd6b5d8c1068a154b023b03b64d25aa0

        SHA256

        b579e854114938619db754d196bbcebc4564dbcb724384171e40e4b0acfbe6de

        SHA512

        afec522e07c448863ef4c19ebbc80172a375e1d0ab5e8419df1eae8c2b4fce94abbdec8d6a6d1aa783f9858063fa4d5824652711544b296c0756869c282dfd21

      • memory/224-12-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/224-14-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/224-15-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/1716-2-0x0000000000820000-0x0000000000833000-memory.dmp

        Filesize

        76KB

      • memory/1716-1-0x0000000000850000-0x0000000000950000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1716-9-0x0000000000820000-0x0000000000833000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1716-8-0x0000000000400000-0x0000000000784000-memory.dmp

        Filesize

        3.5MB

      • memory/1996-11-0x0000000000400000-0x0000000000784000-memory.dmp

        Filesize

        3.5MB

      • memory/1996-17-0x0000000000400000-0x0000000000784000-memory.dmp

        Filesize

        3.5MB