Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/05/2023, 13:32

General

  • Target
    Purchase Invoice.js
  • Size 1013KB
  • Sample230519-qs8tkaeb26
  • SHA256 ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Family
  • wshrat

C2
  • http://harold.2waky.com:3609

Signatures

  • WSHRAT

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

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

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

  • Drops startup file 2 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.

  • Enumerates physical storage devices 1 TTPs

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

  • Script User-Agent 16 IoCs

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

  • Suspicious use of WriteProcessMemory 2 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe "C:\Users\Admin\AppData\Local\Temp\Purchase Invoice.js"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Suspicious use of WriteProcessMemory
    PID:4504
    • C:\Windows\System32\wscript.exe
      "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Purchase Invoice.js"
      2⤵
      • Blocklisted process makes network request
      • Drops startup file
      PID:4148

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        Purchase Invoice.js

        • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Purchase Invoice.js
        • Size 1013KB
        • SHA256 ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
        • MD5 SHA1 SHA512 SSDEEP

        Purchase Invoice.js

        • Path C:\Users\Admin\AppData\Roaming\Purchase Invoice.js
        • Size 1013KB
        • SHA256 ae401add3e6d11019f5bb30c106b7a8fa4d1a93bce47208e4e736e09d1faebdd
        • MD5 SHA1 SHA512 SSDEEP