Analysis

  • max time kernel
    148s
  • max time network
    157s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230703-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230703-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/07/2023, 12:54

General

  • Target
    TBTX00392.js
  • Size 1011KB
  • Sample230719-p476qsff9w
  • SHA256 85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • wshrat

C2
  • http://45.90.222.131:7121

Signatures

  • WSHRAT

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

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

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

  • Drops startup file 2 IoCs
  • Adds Run key to start application 2 TTPs 8 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 29 IoCs

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

  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 2 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\TBTX00392.js
    1⤵
    • Blocklisted process makes network request
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of WriteProcessMemory
    PID:3096
    • C:\Windows\System32\wscript.exe
      "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\TBTX00392.js"
      2⤵
      • Blocklisted process makes network request
      • Drops startup file
      • Adds Run key to start application
      PID:3292
  • C:\Windows\system32\rundll32.exe
    "C:\Windows\system32\rundll32.exe" "C:\Windows\SYSTEM32\EDGEHTML.dll",#141 Microsoft.VCLibs.140.00_8wekyb3d8bbwe
    1⤵
      PID:4928
    • C:\Windows\System32\svchost.exe
      C:\Windows\System32\svchost.exe -k UnistackSvcGroup
      1⤵
      • Suspicious use of AdjustPrivilegeToken
      PID:1392

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          TBTX00392.js

          • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TBTX00392.js
          • Size 1011KB
          • SHA256 85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c
          • MD5 SHA1 SHA512 SSDEEP

          TBTX00392.js

          • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TBTX00392.js
          • Size 1011KB
          • SHA256 85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c
          • MD5 SHA1 SHA512 SSDEEP

          TBTX00392.js

          • Path C:\Users\Admin\AppData\Roaming\TBTX00392.js
          • Size 1011KB
          • SHA256 85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c
          • MD5 SHA1 SHA512 SSDEEP

          memory/1392-162-0x000001C079640000-0x000001C079650000-memory.dmp

          memory/1392-178-0x000001C079740000-0x000001C079750000-memory.dmp

          memory/1392-194-0x000001C07DA70000-0x000001C07DA71000-memory.dmp

          memory/1392-196-0x000001C07DAA0000-0x000001C07DAA1000-memory.dmp

          memory/1392-197-0x000001C07DAA0000-0x000001C07DAA1000-memory.dmp

          memory/1392-198-0x000001C07DBB0000-0x000001C07DBB1000-memory.dmp