Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 17:06

General

  • Target

    JaffaCakes118_e984c03bb1dd8c4784ade42bb3640c37.exe

  • Size

    10.4MB

  • MD5

    e984c03bb1dd8c4784ade42bb3640c37

  • SHA1

    0c43f3df0d87535e8b3ba81344dab7a707a43adc

  • SHA256

    d16f81bd79a1f5205caf07572c804995e43d377ba1fe66e921152373c9dddefe

  • SHA512

    aab9304285cf63541f5f42e530ad24ddadee41054f9186ee8caa9470cae9f0b94df9f9c957b82999d4ead68d9254aff4ad986b04f24679c383dc7c69100500bb

  • SSDEEP

    196608:Exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxp:

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_e984c03bb1dd8c4784ade42bb3640c37.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e984c03bb1dd8c4784ade42bb3640c37.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\blpjnwnu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ydndrw.exe" C:\Windows\SysWOW64\blpjnwnu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create blpjnwnu binPath= "C:\Windows\SysWOW64\blpjnwnu\ydndrw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e984c03bb1dd8c4784ade42bb3640c37.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description blpjnwnu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start blpjnwnu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4732
    • 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:1940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4024 -s 1160
      2⤵
      • Program crash
      PID:2976
  • C:\Windows\SysWOW64\blpjnwnu\ydndrw.exe
    C:\Windows\SysWOW64\blpjnwnu\ydndrw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e984c03bb1dd8c4784ade42bb3640c37.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2996
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2996 -s 516
      2⤵
      • Program crash
      PID:4724
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4024 -ip 4024
    1⤵
      PID:3756
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 2996 -ip 2996
      1⤵
        PID:4728

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        737f42345dcc07bc4871872a91d74ac2

        SHA1

        f435b60040beecce68ec67fa15f090e42480be89

        SHA256

        e635c32ca4eac539585882a20c545fa29c1717ac479adeec2b57300acfb66679

        SHA512

        ca200d00e4cecaf29cfad243fab90a57bfc779bd52dcb4836bf6ee6d44c75ff27b6f467ab16cfe189781243376d30674564a90aadedb3ee3e6d22286b9ca3db4

      • memory/2996-14-0x0000000000400000-0x0000000002F06000-memory.dmp

        Filesize

        43.0MB

      • memory/3384-10-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/3384-12-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/3384-13-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/4024-0-0x0000000004C50000-0x0000000004C5D000-memory.dmp

        Filesize

        52KB

      • memory/4024-1-0x0000000004C60000-0x0000000004C73000-memory.dmp

        Filesize

        76KB

      • memory/4024-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4024-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4024-8-0x0000000004C60000-0x0000000004C73000-memory.dmp

        Filesize

        76KB

      • memory/4024-7-0x0000000004C50000-0x0000000004C5D000-memory.dmp

        Filesize

        52KB

      • memory/4024-6-0x0000000000400000-0x0000000002F06000-memory.dmp

        Filesize

        43.0MB