Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09-01-2025 00:13

General

  • Target

    JaffaCakes118_b460616088a594b836f543781bdc3a8b.exe

  • Size

    13.3MB

  • MD5

    b460616088a594b836f543781bdc3a8b

  • SHA1

    d92a604e9fed031bd726c2fa161ffce3e25bb385

  • SHA256

    2bbd19cdc916f6515245ccd581791d15090f06204179e934f05a92c1bff87625

  • SHA512

    e09aede42b84304d8ba1cd2e33d6adeccdd85cc24d215cc092d000f5abddb434573a63d42abdf928451aaeb9f386d60e993097dd8dab261b96ccdd660d64cc3a

  • SSDEEP

    49152:f1m333333333333333333333333333333333333333333333333333333333333n:

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_b460616088a594b836f543781bdc3a8b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b460616088a594b836f543781bdc3a8b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\grymccny\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bdxmiear.exe" C:\Windows\SysWOW64\grymccny\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create grymccny binPath= "C:\Windows\SysWOW64\grymccny\bdxmiear.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b460616088a594b836f543781bdc3a8b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description grymccny "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start grymccny
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1312
    • 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:4840
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3496 -s 1224
      2⤵
      • Program crash
      PID:4124
  • C:\Windows\SysWOW64\grymccny\bdxmiear.exe
    C:\Windows\SysWOW64\grymccny\bdxmiear.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b460616088a594b836f543781bdc3a8b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1660
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1660 -s 524
      2⤵
      • Program crash
      PID:2016
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3496 -ip 3496
    1⤵
      PID:2876
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 1660 -ip 1660
      1⤵
        PID:624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        22eb74262bf2404a65ee1c584348ce65

        SHA1

        accf1d75b0f3437ce503dd3ded0a18ccf7e66cc4

        SHA256

        a33859a20a90bd5e9346ee8a2ac8902d29ebd6b4b08780b59347dc4cb49040ea

        SHA512

        f444205281c1ee9a1dd64606cab9a93694fb2d86d8e85fbce31a1e3e57a09222ee41264e8851919c12f8071ea21d446338f23800f81576cf514df38e3388ee15

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

        Filesize

        18.7MB

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

        Filesize

        18.7MB

      • memory/1936-11-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/1936-13-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/1936-15-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/3496-1-0x0000000001900000-0x0000000001A00000-memory.dmp

        Filesize

        1024KB

      • memory/3496-2-0x0000000001860000-0x0000000001873000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3496-9-0x0000000001860000-0x0000000001873000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        18.7MB