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
    23-12-2024 20:06

General

  • Target

    JaffaCakes118_e71b8af014065f8c886c55d96b0227f78a68a5aa8c48419d5e448c880ab68296.exe

  • Size

    167KB

  • MD5

    0cb3adec3ce1faebbab29888915f9636

  • SHA1

    b623842bf207b9b44bb61340ee9cae53f3b4ad3c

  • SHA256

    e71b8af014065f8c886c55d96b0227f78a68a5aa8c48419d5e448c880ab68296

  • SHA512

    11ae399105d1a097dc502e138dfbfac854e61c2ad5db28777dee1dea9697aab0a26a2f5c80d4c081d9fc35e41716e1d7d36f510e465c885f9317f15e60aa9321

  • SSDEEP

    3072:VcaRIAtq6Fvn49EZ8kwu25gnvju1WIasBW/S9H6dY3:21Atq6a9sv3/Ead

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_e71b8af014065f8c886c55d96b0227f78a68a5aa8c48419d5e448c880ab68296.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e71b8af014065f8c886c55d96b0227f78a68a5aa8c48419d5e448c880ab68296.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kuzkgtxc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1256
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qtmusucm.exe" C:\Windows\SysWOW64\kuzkgtxc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kuzkgtxc binPath= "C:\Windows\SysWOW64\kuzkgtxc\qtmusucm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e71b8af014065f8c886c55d96b0227f78a68a5aa8c48419d5e448c880ab68296.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kuzkgtxc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kuzkgtxc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1660
    • 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:972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2760 -s 1348
      2⤵
      • Program crash
      PID:2228
  • C:\Windows\SysWOW64\kuzkgtxc\qtmusucm.exe
    C:\Windows\SysWOW64\kuzkgtxc\qtmusucm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e71b8af014065f8c886c55d96b0227f78a68a5aa8c48419d5e448c880ab68296.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4336
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4336 -s 528
      2⤵
      • Program crash
      PID:2316
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2760 -ip 2760
    1⤵
      PID:3932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4336 -ip 4336
      1⤵
        PID:5020

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        51cf5d393be1b214184998e23770e4eb

        SHA1

        b2e7f4cec7c110b185caee883e5fad4d7140c214

        SHA256

        27b8da51d42eecf01842fa66a2e94d2c502471e93e66a9f341a3eeab1cfd2f00

        SHA512

        c5c84da84a3d7488ef37411e16818905958b15b4369d95d26699ab10ca9b7180bad268f6c28878760c5c13454a58b316653bd1cfe0ca30e0c6867878a3265c69

      • memory/2760-9-0x0000000000750000-0x0000000000763000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2760-2-0x0000000000750000-0x0000000000763000-memory.dmp

        Filesize

        76KB

      • memory/2760-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/2760-1-0x0000000000780000-0x0000000000880000-memory.dmp

        Filesize

        1024KB

      • memory/4228-14-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/4228-16-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/4228-17-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/4336-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4336-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4336-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4336-18-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB