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

  • MD5

    bebb7261224b5a20938c5b0ece1e973e

  • SHA1

    7ad65629b20caaaac52b7a161c8be6b5ebb9e278

  • SHA256

    85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c

  • SHA512

    04a30bf78488ecba0bff67c44540649b2021177950fd21c88589b9da76e05b38740d3bb34f47a1120ccf0de7925637549860022121bc2aaaf854858e90556bc3

  • SSDEEP

    1536:qeqxR3RFiK5t/+2Z20xYssK3Qk5Fh5dQt5U6EPkQcTeV8qMXKQcTeDwxAiPvcYnS:Y7A977i8YnIvf

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

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TBTX00392.js

      Filesize

      1011KB

      MD5

      bebb7261224b5a20938c5b0ece1e973e

      SHA1

      7ad65629b20caaaac52b7a161c8be6b5ebb9e278

      SHA256

      85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c

      SHA512

      04a30bf78488ecba0bff67c44540649b2021177950fd21c88589b9da76e05b38740d3bb34f47a1120ccf0de7925637549860022121bc2aaaf854858e90556bc3

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TBTX00392.js

      Filesize

      1011KB

      MD5

      bebb7261224b5a20938c5b0ece1e973e

      SHA1

      7ad65629b20caaaac52b7a161c8be6b5ebb9e278

      SHA256

      85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c

      SHA512

      04a30bf78488ecba0bff67c44540649b2021177950fd21c88589b9da76e05b38740d3bb34f47a1120ccf0de7925637549860022121bc2aaaf854858e90556bc3

    • C:\Users\Admin\AppData\Roaming\TBTX00392.js

      Filesize

      1011KB

      MD5

      bebb7261224b5a20938c5b0ece1e973e

      SHA1

      7ad65629b20caaaac52b7a161c8be6b5ebb9e278

      SHA256

      85682ad2261aa1d7d9f56f3e7dfb963cb2e15fdecbd8bcf4c6c2443aa470108c

      SHA512

      04a30bf78488ecba0bff67c44540649b2021177950fd21c88589b9da76e05b38740d3bb34f47a1120ccf0de7925637549860022121bc2aaaf854858e90556bc3

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

      Filesize

      64KB

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

      Filesize

      64KB

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

      Filesize

      4KB

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

      Filesize

      4KB

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

      Filesize

      4KB

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

      Filesize

      4KB