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
    07-01-2025 22:16

General

  • Target

    JaffaCakes118_7c2a38a540f8fc122b16114bf6d252fa.exe

  • Size

    12.2MB

  • MD5

    7c2a38a540f8fc122b16114bf6d252fa

  • SHA1

    6db7d9c26da4e59d8b32a7e64332b3c00b05d2b8

  • SHA256

    2ee579a9f9ebf574254c0da0f2a45fbff896e7864e3b40f95f826943e6f0213b

  • SHA512

    8dd997262da18500f24b8a3bbe04f62e18dbb2f4d3f74f21542cf01c6f02fe60fd0d779b92d60047cc70750f0f640f0fcae82795d02297955315457b53d4fa9f

  • SSDEEP

    49152:PtRCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCf:V

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_7c2a38a540f8fc122b16114bf6d252fa.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7c2a38a540f8fc122b16114bf6d252fa.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zmchkhup\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qafszuti.exe" C:\Windows\SysWOW64\zmchkhup\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zmchkhup binPath= "C:\Windows\SysWOW64\zmchkhup\qafszuti.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7c2a38a540f8fc122b16114bf6d252fa.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zmchkhup "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:32
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zmchkhup
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1180
    • 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:2376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1940 -s 1152
      2⤵
      • Program crash
      PID:3640
  • C:\Windows\SysWOW64\zmchkhup\qafszuti.exe
    C:\Windows\SysWOW64\zmchkhup\qafszuti.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7c2a38a540f8fc122b16114bf6d252fa.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2524
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2524 -s 520
      2⤵
      • Program crash
      PID:4376
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1940 -ip 1940
    1⤵
      PID:3556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 2524 -ip 2524
      1⤵
        PID:4224

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        242f489f8078be392c382f17ca9a8919

        SHA1

        435d85090b02b798bcd51b0fecafd8b97311aa2d

        SHA256

        3239ac0c59a5cad0da883426d792609f3c897c2276632df60b80fae8954ab540

        SHA512

        41ea99758dda364b5477c6e6c35a81d63e8304898b116fa97737f5c3b785ed692d7d05e9c61eee29b395f31d245af18089f1306ef1f1bff58c7da2ac3dbebd3d

      • memory/400-11-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/400-14-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/400-15-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/1940-1-0x0000000001970000-0x0000000001A70000-memory.dmp

        Filesize

        1024KB

      • memory/1940-2-0x0000000001810000-0x0000000001823000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1940-9-0x0000000001810000-0x0000000001823000-memory.dmp

        Filesize

        76KB

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

        Filesize

        18.7MB

      • memory/2524-12-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

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

        Filesize

        18.7MB