Analysis

  • max time kernel
    178s
  • max time network
    191s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    20/05/2022, 06:17

General

  • Target
    20191207_PO_HCMCJR_URGENT.js
  • Size 116KB
  • Sample220520-g2bezsgfck
  • SHA256 31c763ec4f5801e2127d655f0e84bba0f020ba2af54ee6f48964b096d53d478c
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • wshrat

C2
  • http://unknownsoft.duckdns.org:7744

Signatures

  • WSHRAT

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

  • suricata: ET MALWARE WSHRAT CnC Checkin

    suricata: ET MALWARE WSHRAT CnC Checkin

  • suricata: ET MALWARE Worm.VBS Dunihi/Houdini/H-Worm/WSHRAT Checkin 1

    suricata: ET MALWARE Worm.VBS Dunihi/Houdini/H-Worm/WSHRAT Checkin 1

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

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

  • Drops startup file 4 IoCs
  • Adds Run key to start application 2 TTPs 12 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Script User-Agent 15 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\20191207_PO_HCMCJR_URGENT.js
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of WriteProcessMemory
    PID:4540
    • C:\Windows\System32\wscript.exe
      "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\BCXsIHlrYC.js"
      2⤵
      • Blocklisted process makes network request
      • Drops startup file
      • Adds Run key to start application
      PID:2612
    • C:\Windows\System32\wscript.exe
      "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\20191207_PO_HCMCJR_URGENT.js"
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Adds Run key to start application
      • Suspicious use of WriteProcessMemory
      PID:3380
      • C:\Windows\System32\wscript.exe
        "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\BCXsIHlrYC.js"
        3⤵
          PID:4616

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          20191207_PO_HCMCJR_URGENT.js

          • Path C:\Users\Admin\AppData\Roaming\20191207_PO_HCMCJR_URGENT.js
          • Size 116KB
          • SHA256 31c763ec4f5801e2127d655f0e84bba0f020ba2af54ee6f48964b096d53d478c
          • MD5 SHA1 SHA512 SSDEEP

          BCXsIHlrYC.js

          • Path C:\Users\Admin\AppData\Roaming\BCXsIHlrYC.js
          • Size 43KB
          • SHA256 af6ce76d696bbb473434f7cbb3f8870ca24020e264cd32cbbaa8fdd95edec8c1
          • MD5 SHA1 SHA512 SSDEEP

          20191207_PO_HCMCJR_URGENT.js

          • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\20191207_PO_HCMCJR_URGENT.js
          • Size 116KB
          • SHA256 31c763ec4f5801e2127d655f0e84bba0f020ba2af54ee6f48964b096d53d478c
          • MD5 SHA1 SHA512 SSDEEP