Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/09/2024, 00:45

General

  • Target
    e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe
  • Size 12.6MB
  • Sample240916-a365qa1cpm
  • SHA256 16ad57aecbfa943ed105d550c94a348aa013c8dea6b3e9281b317d464d74d9f6
  • MD5 SHA1 SHA512 SSDEEP

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.

  • 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\e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lsyyefqa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nzuryxxl.exe" C:\Windows\SysWOW64\lsyyefqa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lsyyefqa binPath= "C:\Windows\SysWOW64\lsyyefqa\nzuryxxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lsyyefqa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lsyyefqa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2944
    • 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:2368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4444 -s 1236
      2⤵
      • Program crash
      PID:4856
  • C:\Windows\SysWOW64\lsyyefqa\nzuryxxl.exe
    C:\Windows\SysWOW64\lsyyefqa\nzuryxxl.exe /d"C:\Users\Admin\AppData\Local\Temp\e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5104
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5104 -s 532
      2⤵
      • Program crash
      PID:2656
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4444 -ip 4444
    1⤵
      PID:4260
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 5104 -ip 5104
      1⤵
        PID:3552

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            nzuryxxl.exe

            • Path C:\Users\Admin\AppData\Local\Temp\nzuryxxl.exe
            • Size 14.5MB
            • SHA256 c1c977a5511940bbe9d2fa5462d1e0adbf00bceb83d9cd3adbe7ec5f507a8c8e
            • MD5 SHA1 SHA512 SSDEEP

            memory/788-14-0x0000000000760000-0x0000000000775000-memory.dmp

            memory/788-19-0x0000000000760000-0x0000000000775000-memory.dmp

            memory/788-16-0x0000000000760000-0x0000000000775000-memory.dmp

            memory/4444-9-0x0000000000600000-0x0000000000613000-memory.dmp

            memory/4444-10-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/4444-1-0x0000000000630000-0x0000000000730000-memory.dmp

            memory/4444-8-0x0000000000400000-0x00000000004B0000-memory.dmp

            memory/4444-3-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/4444-2-0x0000000000600000-0x0000000000613000-memory.dmp

            memory/5104-13-0x0000000000400000-0x00000000004B0000-memory.dmp

            memory/5104-11-0x0000000000400000-0x00000000004B0000-memory.dmp

            memory/5104-12-0x0000000000400000-0x00000000004B0000-memory.dmp

            memory/5104-18-0x0000000000400000-0x00000000004B0000-memory.dmp