Analysis

  • max time kernel
    144s
  • max time network
    148s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29-12-2024 03:35

General

  • Target

    JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe

  • Size

    242KB

  • MD5

    c52fdb82480e2d859a00faf94cd47285

  • SHA1

    40e7989b436fbdf67367a8885ba9cf953793ea4a

  • SHA256

    ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52

  • SHA512

    d010316fbfb076cd514183d70885b9af495a5ec8721afab4de1e6dcac371d4a12dd7684ba60a46215dee91c7205c3aa6e64d55c90bdd69122ae249dbd1c1e2b1

  • SSDEEP

    6144:dLZQVtYziDZnv76PE7QQvRdLta6R36k4igVx:BZtziDZnvmxQv/JPR36k4i

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aqpvayzt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\psqlfmwg.exe" C:\Windows\SysWOW64\aqpvayzt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aqpvayzt binPath= "C:\Windows\SysWOW64\aqpvayzt\psqlfmwg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aqpvayzt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aqpvayzt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • 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:2580
  • C:\Windows\SysWOW64\aqpvayzt\psqlfmwg.exe
    C:\Windows\SysWOW64\aqpvayzt\psqlfmwg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2732
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2096

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.1MB

    MD5

    e7fc2b70886e49e038fea8b8cb99e63c

    SHA1

    fac9ef42fa9ece96665479bf0a606f1133435463

    SHA256

    8a74a88a12058b612a0c56e73f5a74e2b12493d5c429176ad3bc7aa05014d75a

    SHA512

    b8e24771f7244c77700babd4841e63d6df747485103d0427322f2675ef5b7f0f4bb5134fa4313954010d51743573a40b3c30e2386af67be73d75acdb68ea5579

  • memory/2096-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2096-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2096-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2096-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2096-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2148-1-0x0000000000270000-0x0000000000370000-memory.dmp

    Filesize

    1024KB

  • memory/2148-3-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

  • memory/2148-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2148-9-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB

  • memory/2732-16-0x0000000000400000-0x000000000044D000-memory.dmp

    Filesize

    308KB