Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-01-2025 18:01

General

  • Target

    JaffaCakes118_6e734800376974cd4fbe0fbc91e0a138.exe

  • Size

    14.6MB

  • MD5

    6e734800376974cd4fbe0fbc91e0a138

  • SHA1

    7711d0bc3c0e82526029b67473cc5ee222933497

  • SHA256

    52d959c6afd889d69fe66d351a34769888c62ce16a140cac88b1303bd772dc5e

  • SHA512

    911b78fc44b16cd3e3337a320513081dd65f0dd671b1847c35187e3b7ea9603f0f16d869fb355cecffc6f22d02b4b1212a9fa3151bdc361b790cd648cd374c86

  • SSDEEP

    98304:8wfDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDr:8w

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_6e734800376974cd4fbe0fbc91e0a138.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6e734800376974cd4fbe0fbc91e0a138.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xuzejmer\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zgjhiiym.exe" C:\Windows\SysWOW64\xuzejmer\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xuzejmer binPath= "C:\Windows\SysWOW64\xuzejmer\zgjhiiym.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6e734800376974cd4fbe0fbc91e0a138.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xuzejmer "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xuzejmer
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1676
    • 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:2396
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3780 -s 672
      2⤵
      • Program crash
      PID:3080
  • C:\Windows\SysWOW64\xuzejmer\zgjhiiym.exe
    C:\Windows\SysWOW64\xuzejmer\zgjhiiym.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6e734800376974cd4fbe0fbc91e0a138.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3288
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3288 -s 556
      2⤵
      • Program crash
      PID:1424
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3780 -ip 3780
    1⤵
      PID:4688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3288 -ip 3288
      1⤵
        PID:1460

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        fc186ed3e0eff98ad73d572a8284b130

        SHA1

        e7081e89aced95e24b09b9022af0a53a1bea51ef

        SHA256

        e874208fcf4365b5b465d1455841fb707a4aafc0c6ef96b38f959b210b6bbad7

        SHA512

        42a3c2065650ac05141845861e7bdb8d2fa836c5871f823864f7fefc12e0ad17f25e4571c13a79ce73cf25fa18014211e66e21028d71bcc9764dcd61e0896316

      • memory/1596-14-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/1596-17-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/1596-16-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/3288-13-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/3288-12-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/3288-11-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/3288-18-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3780-1-0x0000000000450000-0x0000000000550000-memory.dmp

        Filesize

        1024KB

      • memory/3780-8-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

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

        Filesize

        84KB

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

        Filesize

        76KB