Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-12-2024 15:53

General

  • Target

    JaffaCakes118_264bdfcfec718b431507ff0c45ad120c.exe

  • Size

    11.0MB

  • MD5

    264bdfcfec718b431507ff0c45ad120c

  • SHA1

    6d6ad95b2da78b4d5bfa5a2342856fb1ee40480e

  • SHA256

    e83add0c94144cc987e72f1e5b6ff8fcacb141e181345b513a5d126b7b4cd8ab

  • SHA512

    c15528e0bedf2b5599504f1ffdf07612711009035dc805d4279860a7783772a03a8e9b281246d97f2d2c839fa89ba253f9132519feeb9fcdf7d5355d51ec07bd

  • SSDEEP

    98304:NvCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCL:N

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_264bdfcfec718b431507ff0c45ad120c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_264bdfcfec718b431507ff0c45ad120c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rlwoahqk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lfbhscua.exe" C:\Windows\SysWOW64\rlwoahqk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rlwoahqk binPath= "C:\Windows\SysWOW64\rlwoahqk\lfbhscua.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_264bdfcfec718b431507ff0c45ad120c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rlwoahqk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4080
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rlwoahqk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1776
    • 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:3824
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1056 -s 648
      2⤵
      • Program crash
      PID:2088
  • C:\Windows\SysWOW64\rlwoahqk\lfbhscua.exe
    C:\Windows\SysWOW64\rlwoahqk\lfbhscua.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_264bdfcfec718b431507ff0c45ad120c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4188
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4188 -s 508
      2⤵
      • Program crash
      PID:1152
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1056 -ip 1056
    1⤵
      PID:1076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4188 -ip 4188
      1⤵
        PID:5020

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        ee67a1bf01f4be8a293b6b453028325a

        SHA1

        bd1c1a329e14ed0203707f0fe47f4501980fd4d9

        SHA256

        7466286e417553c7d165748d3ae02cf8a48a5003baeed8f1e85caf40793cb191

        SHA512

        bcf050a0ad335b2c7e43f4e274f7ccabc53dee894a848ffc53da9d7d88330b20debd3562cfde62bdc18ca6e30c27e7a7d69b9947fc823a05d3f8d6be8a6b10ac

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1056-1-0x00000000004B0000-0x00000000005B0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

      • memory/1056-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        76KB

      • memory/4188-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4188-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4188-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4188-18-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4564-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/4564-16-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/4564-17-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB