Analysis

  • max time kernel
    149s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/09/2024, 09:16

General

  • Target
    f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js
  • Size 553KB
  • Sample240922-k8lfbascjd
  • SHA256 abce6b27c63269c3b77de0434f8a864aaa69938d57f6fb14476a7ac4bf689731
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • wshrat

C2
  • http://trabajovalle2019.duckdns.org:2034

Signatures

  • WSHRAT

    WSHRAT is a variant of Houdini worm and has vbs and js variants.

  • Blocklisted process makes network request 23 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 2 IoCs
  • Adds Run key to start application 2 TTPs 4 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Modifies registry class 2 IoCs
  • Runs .reg file with regedit 2 IoCs
  • Script User-Agent 22 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious use of WriteProcessMemory 6 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:3388
    • C:\Windows\regedit.exe
      "regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"
      2⤵
      • Runs .reg file with regedit
      PID:2836
    • C:\Windows\System32\wscript.exe
      "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js"
      2⤵
      • Blocklisted process makes network request
      • Checks computer location settings
      • Drops startup file
      • Adds Run key to start application
      • Modifies registry class
      • Suspicious use of WriteProcessMemory
      PID:5060
      • C:\Windows\regedit.exe
        "regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"
        3⤵
        • Runs .reg file with regedit
        PID:2684

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        ebgeaegdbdecaedfebace.reg

        • Path C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg
        • Size 143B
        • SHA256 cb68d50df5817e51ec5b2f72893dc4c749bf3504519107e0a78dda84d55f09e2
        • MD5 SHA1 SHA512

        f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js

        • Path C:\Users\Admin\AppData\Roaming\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js
        • Size 553KB
        • SHA256 abce6b27c63269c3b77de0434f8a864aaa69938d57f6fb14476a7ac4bf689731
        • MD5 SHA1 SHA512 SSDEEP