Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    25-11-2024 06:22

General

  • Target

    99bd790593bc23873774f48cb8b6f631_JaffaCakes118.exe

  • Size

    12.4MB

  • MD5

    99bd790593bc23873774f48cb8b6f631

  • SHA1

    c50de27c7e448042bfdf7b127799bc7e2938ad63

  • SHA256

    a86bd033111762b870d19d8093efe3e70a4383b2167b5943c90a85a350d264b4

  • SHA512

    c70e97c269ee79d43a83bde7578cfa0904812f42f61e166f99ff98ff2f641dffda01cfb7acc6be44fb2dfbfb04cc217bae749f083906030285550c5e2a44c4f7

  • SSDEEP

    3072:iQA1TtRdQBPuEcbBNu28bMEqfCxn2kuIPe7epgDnESZ25jnE26nnipm0ul4p7fLO:iQA1BRCu93f8bMEoFkYUlUUsap8foX

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\99bd790593bc23873774f48cb8b6f631_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\99bd790593bc23873774f48cb8b6f631_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xhqaekzt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pernzyrd.exe" C:\Windows\SysWOW64\xhqaekzt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xhqaekzt binPath= "C:\Windows\SysWOW64\xhqaekzt\pernzyrd.exe /d\"C:\Users\Admin\AppData\Local\Temp\99bd790593bc23873774f48cb8b6f631_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xhqaekzt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xhqaekzt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2504
    • 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:2768
  • C:\Windows\SysWOW64\xhqaekzt\pernzyrd.exe
    C:\Windows\SysWOW64\xhqaekzt\pernzyrd.exe /d"C:\Users\Admin\AppData\Local\Temp\99bd790593bc23873774f48cb8b6f631_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2620
    • 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:3004

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.5MB

    MD5

    c4c699fda3168092b91a41d55b2cfa18

    SHA1

    04d7eddbab6b90d46e206ba9d0e1ec2ddae2b999

    SHA256

    29f36863c39cb714ed213439d56044b62f87f5c360fab7d7199982b51e44b006

    SHA512

    dafff41dc2a15ddad0c967016c1d3a9a265868b722d2a82f604f7301096b27ade2fd295a92337f374a83851a39f98db1ac4eac01a87a8af65c4ab34d36397f24

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

    Filesize

    304KB

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

    Filesize

    84KB

  • memory/2152-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2152-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2152-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    304KB

  • memory/3004-11-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/3004-14-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/3004-16-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/3004-18-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB