Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-11-2024 06:43

General

  • Target

    ab5a722cf23e04a0b52b8c5ade4f0b59_JaffaCakes118.exe

  • Size

    13.6MB

  • MD5

    ab5a722cf23e04a0b52b8c5ade4f0b59

  • SHA1

    bb0d8e54b0ce1da9fd8a5a3ed672e1c9c6482679

  • SHA256

    a26f7652947374e349cb26848289669160c25d05ae4aa32f7246d06602f5b01f

  • SHA512

    8bbc4d4a05167247dced49de5a8ca4eecd7e579e9812dfa3245d38916e1fcdf28b4cd6fe7cffa7dc8975222424f342cc37924d822fc6a699a8f8b8d40fb3740f

  • SSDEEP

    3072:mQA1TtRdQBPuEcbBNu28bMEqfCxn2kuIPe7epgDnESZ25jnE26nnipm0ul4p7fLu:mQA1BRCu93f8bMEoFkYUlUUsap8foX

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.

  • 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\ab5a722cf23e04a0b52b8c5ade4f0b59_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ab5a722cf23e04a0b52b8c5ade4f0b59_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxdywhlg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wzsayais.exe" C:\Windows\SysWOW64\sxdywhlg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sxdywhlg binPath= "C:\Windows\SysWOW64\sxdywhlg\wzsayais.exe /d\"C:\Users\Admin\AppData\Local\Temp\ab5a722cf23e04a0b52b8c5ade4f0b59_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sxdywhlg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sxdywhlg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4512
    • 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:4336
  • C:\Windows\SysWOW64\sxdywhlg\wzsayais.exe
    C:\Windows\SysWOW64\sxdywhlg\wzsayais.exe /d"C:\Users\Admin\AppData\Local\Temp\ab5a722cf23e04a0b52b8c5ade4f0b59_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1528
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1588

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    5fc2bdaa9a33521a1d60c6c9c94dc212

    SHA1

    6d8326e7109cb994b944f706dd7a57138be6563b

    SHA256

    570e2372f6ec98ffe2f11ff79a539c78ed0627a4215f089bd39c4ec67bc44d56

    SHA512

    f578ceeacbf553ec26268f6bbb27ed3dff16d1b44b7e08127adf7918fd22b8322e07e22bb3719d775d25ff7135ffbe78f64c986553f27438a04d047020096835

  • memory/1528-13-0x0000000000400000-0x000000000044C000-memory.dmp

    Filesize

    304KB

  • memory/1528-12-0x0000000000400000-0x000000000044C000-memory.dmp

    Filesize

    304KB

  • memory/1528-11-0x0000000000400000-0x000000000044C000-memory.dmp

    Filesize

    304KB

  • memory/1528-17-0x0000000000400000-0x000000000044C000-memory.dmp

    Filesize

    304KB

  • memory/1588-14-0x0000000000140000-0x0000000000155000-memory.dmp

    Filesize

    84KB

  • memory/1588-18-0x0000000000140000-0x0000000000155000-memory.dmp

    Filesize

    84KB

  • memory/1588-19-0x0000000000140000-0x0000000000155000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2544-1-0x0000000000460000-0x0000000000560000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2544-9-0x00000000008A0000-0x00000000008B3000-memory.dmp

    Filesize

    76KB

  • memory/2544-8-0x0000000000400000-0x000000000044C000-memory.dmp

    Filesize

    304KB

  • memory/2544-2-0x00000000008A0000-0x00000000008B3000-memory.dmp

    Filesize

    76KB