Analysis
- max time kernel
149s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20241007-en - resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system - submitted
14/10/2024, 14:26
Static task
static1
Behavioral task
behavioral1
Sample
New Purchase Order_2225678392ON.bat.exe
Resource
win7-20240903-en
General
- Target New Purchase Order_2225678392ON.bat.exe
- Size 860KB
- Sample241014-rrt5fstdrm
- SHA256 94f98b239d0b82e134302c53455418fdcc7ed9ff19b9d8e9b079a7961c03068a
- MD5 b9d4f01d734884fd549006f1dc65c0d5
- SHA1 74838e0c088e8a7e33dc1533f40dea2f650f951c
- SHA512 d7c4794866e972a26db03182732e6f86f1c5c717a1fa6d0b66fdd5707709bdb50ec142ea6e5c792e6412077a134d8531cdee3432a4416f7a838101238a9010ef
- SSDEEP 12288:fdN59USeSFzpxlmya4j+P980+Zsfqr6lTIRaPgtEPXijCVFKU3P+l9vth7pdA9mv:lxeSbxYy/Q98KCuly6batxo9mCP2
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
Protocol
smtp
-
Host
mail.zqamcx.com
-
Port
587
-
Username
-
Password
Anambraeast@
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.zqamcx.com
-
Port
587
-
Username
-
Password
Anambraeast@
-
Email to
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 4208 powershell.exe 5008 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-3227495264-2217614367-4027411560-1000\Control Panel\International\Geo\Nation New Purchase Order_2225678392ON.bat.exe - 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 3 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 25 ip-api.com - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1844 set thread context of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95 - 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 New Purchase Order_2225678392ON.bat.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language New Purchase Order_2225678392ON.bat.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe - Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 3348 schtasks.exe - Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 4208 powershell.exe 5008 powershell.exe 5008 powershell.exe 2980 New Purchase Order_2225678392ON.bat.exe 2980 New Purchase Order_2225678392ON.bat.exe 4208 powershell.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 4208 powershell.exe Token: SeDebugPrivilege 5008 powershell.exe Token: SeDebugPrivilege 2980 New Purchase Order_2225678392ON.bat.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2980 New Purchase Order_2225678392ON.bat.exe - Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 1844 wrote to memory of 4208 1844 New Purchase Order_2225678392ON.bat.exe 89 PID 1844 wrote to memory of 4208 1844 New Purchase Order_2225678392ON.bat.exe 89 PID 1844 wrote to memory of 4208 1844 New Purchase Order_2225678392ON.bat.exe 89 PID 1844 wrote to memory of 5008 1844 New Purchase Order_2225678392ON.bat.exe 91 PID 1844 wrote to memory of 5008 1844 New Purchase Order_2225678392ON.bat.exe 91 PID 1844 wrote to memory of 5008 1844 New Purchase Order_2225678392ON.bat.exe 91 PID 1844 wrote to memory of 3348 1844 New Purchase Order_2225678392ON.bat.exe 93 PID 1844 wrote to memory of 3348 1844 New Purchase Order_2225678392ON.bat.exe 93 PID 1844 wrote to memory of 3348 1844 New Purchase Order_2225678392ON.bat.exe 93 PID 1844 wrote to memory of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95 PID 1844 wrote to memory of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95 PID 1844 wrote to memory of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95 PID 1844 wrote to memory of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95 PID 1844 wrote to memory of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95 PID 1844 wrote to memory of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95 PID 1844 wrote to memory of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95 PID 1844 wrote to memory of 2980 1844 New Purchase Order_2225678392ON.bat.exe 95
Processes
-
C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe"C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1844 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4208
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\RGEBfoKEzBVAO.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5008
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\RGEBfoKEzBVAO" /XML "C:\Users\Admin\AppData\Local\Temp\tmp117F.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:3348
-
-
C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe"C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe"2⤵
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
PID:2980
-
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
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\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
- MD5 3d086a433708053f9bf9523e1d87a4e8
- SHA1 b3ab5d4f282a4c8fe8c3005b8a557ed5a0e37f28
- SHA512 931ae42b4c68a4507ff2342332b08eb407050d47cf4176137ea022d0f6e513c689e998445a04c6d18d4877391705c586bfce0234632b898d41aaed0957996dfd
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 18KB
- SHA256 0f7af736c3a19f18fa1d12cd1b24b18f9c5e0613726ea4e8b28b7482143ecca4
- MD5 4abef4f3c3ff984ecb47c3a5ba8f86d9
- SHA1 1b789918072ad8aaa06cc3c61c7df5623f88ab9f
- SHA512 e85e85e02127cf7535f0c1a55dfb42a54190b682179cbe093f2ed193718d7f3ac8b581e664943288e62395fcd0c390745eb8b51dc9ebab2a91a019d876d8a10b
- SSDEEP 384:2sf+BC9i+n9wxZNsBizckxfo9o2TVK6seYLME/B03SoZyfYSgojEDkSQ0gdMtkKF:Tfz9SEorxwo2TVNgrqSVW2ED/Cm3
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_rnqjvsni.edw.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmp117F.tmp
- Size 1KB
- SHA256 c359219567f1b379d65e2e7bf1d0d78a3493db3e569d35782f7fb23ef9ce4b19
- MD5 7439c501939e600c476869ba99f05dbd
- SHA1 9b82b79c1f13bfc15e05cad701b566c36ba66eac
- SHA512 8489825d1bcd576ad20ac999ce93e897a3ee906cbbd309405ffcac87a335a98c1833c5def4c550796eb101ec1fb58703e7ea499fbb5fe3d69f6ed31deda1f8d8
- MD5 SHA1 SHA512