Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-10-2024 11:56

General

  • Target

    47ab1157f295d159245789ec8e945d02_JaffaCakes118.exe

  • Size

    11.2MB

  • MD5

    47ab1157f295d159245789ec8e945d02

  • SHA1

    5dd4dca6de70ba725c6628d84894b86419e3495b

  • SHA256

    50ba0727ff40b4e5d7e6199aff7bd359b5c85754b62ae2e8ffaacf5f74ea28f2

  • SHA512

    e402015c0bba748df4c7d6c40df080a1be30e670185fff4da2e73157b070d37a5bb9beed47172a5caefe44a2edffbc039e2146aa976562058e962e34833b6a2f

  • SSDEEP

    24576:7erU5sWbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbn:7sW

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.

  • 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.

  • 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\47ab1157f295d159245789ec8e945d02_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\47ab1157f295d159245789ec8e945d02_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2092
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zhnbrvfq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pygexzcc.exe" C:\Windows\SysWOW64\zhnbrvfq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zhnbrvfq binPath= "C:\Windows\SysWOW64\zhnbrvfq\pygexzcc.exe /d\"C:\Users\Admin\AppData\Local\Temp\47ab1157f295d159245789ec8e945d02_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zhnbrvfq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zhnbrvfq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:408
    • 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:2980
  • C:\Windows\SysWOW64\zhnbrvfq\pygexzcc.exe
    C:\Windows\SysWOW64\zhnbrvfq\pygexzcc.exe /d"C:\Users\Admin\AppData\Local\Temp\47ab1157f295d159245789ec8e945d02_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1292
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • System Location Discovery: System Language Discovery
      PID:1216

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.6MB

    MD5

    7840ef7adeb76feae1b2d3890a023070

    SHA1

    bce92f28c129eb869b7440f6e41bd8de0284a7c4

    SHA256

    57df19b5e3ff36e1a1e8b313a2bc9ee3aadd7b6119b91ab948dca9f9468dda0a

    SHA512

    7ee8fb7ef57570b3f1d4c7d359e91fb3b58d824b0f7d5ceffb0f0a48aca8cb412bd6d88ece91b47d071e4b2a745a7351551e34a88daddc4052b641ef1ba06118

  • memory/1216-10-0x0000000000430000-0x0000000000445000-memory.dmp

    Filesize

    84KB

  • memory/1216-18-0x0000000000430000-0x0000000000445000-memory.dmp

    Filesize

    84KB

  • memory/1216-19-0x0000000000430000-0x0000000000445000-memory.dmp

    Filesize

    84KB

  • memory/1292-8-0x0000000000400000-0x000000000046D000-memory.dmp

    Filesize

    436KB

  • memory/1292-9-0x0000000000400000-0x000000000046D000-memory.dmp

    Filesize

    436KB

  • memory/1292-16-0x0000000000400000-0x000000000046D000-memory.dmp

    Filesize

    436KB

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

    Filesize

    84KB

  • memory/2092-1-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB

  • memory/2092-2-0x0000000002080000-0x0000000002093000-memory.dmp

    Filesize

    76KB

  • memory/2092-12-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB

  • memory/2092-13-0x0000000002080000-0x0000000002093000-memory.dmp

    Filesize

    76KB

  • memory/2092-14-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2092-15-0x0000000000400000-0x000000000046D000-memory.dmp

    Filesize

    436KB