Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/12/2024, 17:24

General

  • Target

    JaffaCakes118_bc99ac81a45cc17560a54197c8adab537c44666a9893daa7a3b74190ee4c4dee.exe

  • Size

    166KB

  • MD5

    91700c48e05518ccbc4794aae5cecda0

  • SHA1

    1ca861daee99f49db51ec616c0e9189d5b9a6a19

  • SHA256

    bc99ac81a45cc17560a54197c8adab537c44666a9893daa7a3b74190ee4c4dee

  • SHA512

    270b780534727744ee92e1bf1cad19eeddb0c36dd57e72c0b1b3cbe690ea69acd7fbe2a9d5e2fe82b8aa10609d700ee06daca6a126d6dba7c0aab02498d3107a

  • SSDEEP

    3072:mclL4ayATSh/zfcPnZ6MMr80mTG/5euKG/FaX:3YA+NfOZ6nr80Yzu

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_bc99ac81a45cc17560a54197c8adab537c44666a9893daa7a3b74190ee4c4dee.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bc99ac81a45cc17560a54197c8adab537c44666a9893daa7a3b74190ee4c4dee.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hfwouxse\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2416
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ndykequm.exe" C:\Windows\SysWOW64\hfwouxse\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hfwouxse binPath= "C:\Windows\SysWOW64\hfwouxse\ndykequm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bc99ac81a45cc17560a54197c8adab537c44666a9893daa7a3b74190ee4c4dee.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3160
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hfwouxse "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hfwouxse
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4252
    • 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:2336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1608 -s 1320
      2⤵
      • Program crash
      PID:1288
  • C:\Windows\SysWOW64\hfwouxse\ndykequm.exe
    C:\Windows\SysWOW64\hfwouxse\ndykequm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bc99ac81a45cc17560a54197c8adab537c44666a9893daa7a3b74190ee4c4dee.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4752
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4752 -s 512
      2⤵
      • Program crash
      PID:3952
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 1608 -ip 1608
    1⤵
      PID:892
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4752 -ip 4752
      1⤵
        PID:3544

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              10.6MB

              MD5

              230c0eb966c8ccc6290f6139f0b1e06f

              SHA1

              2f1d1d901099e126b0db36c08fa9644853822c1c

              SHA256

              64354f64803f3efcc85c74a66c04e9c0e4750717bed7784e7d40bfbe713a28ae

              SHA512

              2acb1f28978afbdfdf4c8e6f52c1ba5d54f443619eb7cccee0c8ed39f8cdf76a9ec6b78f0918a3f54a87d065a93de764d9eb90cd48496456d3b997dba64bf524

            • memory/1608-9-0x0000000000770000-0x0000000000783000-memory.dmp

              Filesize

              76KB

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

              Filesize

              84KB

            • memory/1608-2-0x0000000000770000-0x0000000000783000-memory.dmp

              Filesize

              76KB

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

              Filesize

              704KB

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

              Filesize

              84KB

            • memory/1608-1-0x0000000000850000-0x0000000000950000-memory.dmp

              Filesize

              1024KB

            • memory/2536-14-0x0000000000580000-0x0000000000595000-memory.dmp

              Filesize

              84KB

            • memory/2536-16-0x0000000000580000-0x0000000000595000-memory.dmp

              Filesize

              84KB

            • memory/2536-17-0x0000000000580000-0x0000000000595000-memory.dmp

              Filesize

              84KB

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

              Filesize

              704KB

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

              Filesize

              704KB

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

              Filesize

              704KB

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

              Filesize

              704KB