Analysis

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

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

General

  • Target

    JaffaCakes118_f97ac5a687cc94db960df62fb910a74a.exe

  • Size

    11.6MB

  • MD5

    f97ac5a687cc94db960df62fb910a74a

  • SHA1

    24b5c7775506327081ea3ed0093c62d938dd50e4

  • SHA256

    00423b5dc446d975260c85ace9a92f27398430fd56bbb3d42e190d281de8d954

  • SHA512

    ab81fd40d42ad8dd102b48906d5fba078360001cb300743b8e90849bc38d22f40302b6e26ee5d45f0b6bf1bd082e0293adee78ed3e21668c3c55b014d9746c0b

  • SSDEEP

    196608:QPHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHn:Q

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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_f97ac5a687cc94db960df62fb910a74a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f97ac5a687cc94db960df62fb910a74a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xzgnblzk\
      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\jmkfzgqa.exe" C:\Windows\SysWOW64\xzgnblzk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xzgnblzk binPath= "C:\Windows\SysWOW64\xzgnblzk\jmkfzgqa.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f97ac5a687cc94db960df62fb910a74a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xzgnblzk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xzgnblzk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4820
    • 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:4216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4792 -s 1044
      2⤵
      • Program crash
      PID:3364
  • C:\Windows\SysWOW64\xzgnblzk\jmkfzgqa.exe
    C:\Windows\SysWOW64\xzgnblzk\jmkfzgqa.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f97ac5a687cc94db960df62fb910a74a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1324
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1324 -s 516
      2⤵
      • Program crash
      PID:4776
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4792 -ip 4792
    1⤵
      PID:876
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 1324 -ip 1324
      1⤵
        PID:1932

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        a1bfedfc42d94d8376cf91b42bd26fde

        SHA1

        5c9bd9ba26da7d2158024405191be8a715f21bb3

        SHA256

        487990ee8103e43f9babb043773dd5add5ef91bb9d67ebef7abb5009a1eb5c06

        SHA512

        23667529a8dfe8aa2e3d52ae0c02e3a921a25e646522028a41460dbb5009d7c09066cbd90ef956031827434e60a4350bbc5bce2564f69e7d9d38c5a7a94ff547

      • memory/1324-11-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/1324-16-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/1324-15-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2432-14-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB

      • memory/2432-12-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB

      • memory/2432-17-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB

      • memory/4792-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4792-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/4792-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4792-1-0x0000000000870000-0x0000000000970000-memory.dmp

        Filesize

        1024KB