Analysis
- max time kernel
95s - max time network
140s - platform
windows10-2004_x64 - resource
win10v2004-20241007-en - resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system - submitted
24/01/2025, 07:47
Static task
static1
Behavioral task
behavioral1
Sample
RH-098765000.exe
Resource
win7-20240708-en
General
- Target RH-098765000.exe
- Size 745KB
- Sample250124-jmh8dsxnfy
- SHA256 89260b07ae5d0858db8a14a8b7cd9e2c1bcd064f5596e7e0cea1665c7f0c496b
- MD5 d744962b80b75ddd26a4f39a8e8d4356
- SHA1 185520ceb31c021b5d48440b31b09e7dfe6dac22
- SHA512 1ffe6dbf3837d847a976d509d119f6bda0b648e8bb1433c2b91efd19fa56ceb8dc33fdf7e0decf9146311ca6d4cb77d0cfa792e77d7820672c8d2f07646d47bb
- SSDEEP 12288:4hQu7+JZLQ81xkRbunBjtRbnRIA0FL99PvOPivjJj4OD218zVTAzwndztS:d/JZ37yyBpRbn7i9P2Pivjt4KU8VCq5
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
Protocol
ftp
-
Host
ftp.antoniomayol.com
-
Port
21
-
Username
-
Password
cMhKDQUk1{;%
Extracted
-
agenttesla
-
Protocol
ftp
-
Host
ftp://ftp.antoniomayol.com:21
-
Port
21
-
Username
-
Password
cMhKDQUk1{;%
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- Agenttesla family
- 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 1196 powershell.exe 4828 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 RH-098765000.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 20 ip-api.com - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1360 set thread context of 4232 1360 RH-098765000.exe 103 - 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 powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language RH-098765000.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language RH-098765000.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 1344 schtasks.exe - Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 1196 powershell.exe 4828 powershell.exe 1360 RH-098765000.exe 1360 RH-098765000.exe 4232 RH-098765000.exe 4232 RH-098765000.exe 4828 powershell.exe 1196 powershell.exe - Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 4828 powershell.exe Token: SeDebugPrivilege 1196 powershell.exe Token: SeDebugPrivilege 1360 RH-098765000.exe Token: SeDebugPrivilege 4232 RH-098765000.exe - Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 1360 wrote to memory of 1196 1360 RH-098765000.exe 96 PID 1360 wrote to memory of 1196 1360 RH-098765000.exe 96 PID 1360 wrote to memory of 1196 1360 RH-098765000.exe 96 PID 1360 wrote to memory of 4828 1360 RH-098765000.exe 98 PID 1360 wrote to memory of 4828 1360 RH-098765000.exe 98 PID 1360 wrote to memory of 4828 1360 RH-098765000.exe 98 PID 1360 wrote to memory of 1344 1360 RH-098765000.exe 100 PID 1360 wrote to memory of 1344 1360 RH-098765000.exe 100 PID 1360 wrote to memory of 1344 1360 RH-098765000.exe 100 PID 1360 wrote to memory of 2788 1360 RH-098765000.exe 102 PID 1360 wrote to memory of 2788 1360 RH-098765000.exe 102 PID 1360 wrote to memory of 2788 1360 RH-098765000.exe 102 PID 1360 wrote to memory of 4232 1360 RH-098765000.exe 103 PID 1360 wrote to memory of 4232 1360 RH-098765000.exe 103 PID 1360 wrote to memory of 4232 1360 RH-098765000.exe 103 PID 1360 wrote to memory of 4232 1360 RH-098765000.exe 103 PID 1360 wrote to memory of 4232 1360 RH-098765000.exe 103 PID 1360 wrote to memory of 4232 1360 RH-098765000.exe 103 PID 1360 wrote to memory of 4232 1360 RH-098765000.exe 103 PID 1360 wrote to memory of 4232 1360 RH-098765000.exe 103
Processes
-
C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1360 -
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\RH-098765000.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1196
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\YUNDEs.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4828
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\YUNDEs" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4AE.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:1344
-
-
C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"2⤵PID:2788
-
-
C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"2⤵
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4232
-
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 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
- MD5 968cb9309758126772781b83adb8a28f
- SHA1 8da30e71accf186b2ba11da1797cf67f8f78b47c
- SHA512 4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 18KB
- SHA256 6d62cf1efafea1167d24d4aef2385f5382522800ae7f15938befa30689a66df1
- MD5 ddcdb911070a8956fe87b2ce6b04d64c
- SHA1 655ce800613b5087814c560011a1dcefb2599cbc
- SHA512 d928fe3432d100b355b679d3806865a92b56d64d8e57b0840e787810196675f9ae4d423191ac50736232f50612629e5c4cd348575fab9e900cc08fab845b5a11
- SSDEEP 384:ssf+Bh9i+i5ByRBizJkotgo9o2TsK6seYLME/Xt03SoZmfYSgojEDkaQ0gdwtkKF:JfD5Aoek1o2TsNgrmShW2ED3CS3
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_bokn2han.lbl.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmp4AE.tmp
- Size 1KB
- SHA256 7c96f638a5d4e49cee09767d32fb0d4c747633d9a6bcb69c51a49b5c8fc0806a
- MD5 ce667076e799332867a8306b94a1f4e1
- SHA1 d955fbff371f5e02ba9847d6fa0b82efaa89ed28
- SHA512 23475639918a2d1b6f8063b10a0582880c1a4b0be143ca64dc5cbf1e167e18128e4a572b308e7e40cf0af2cd74d6cbc0cbad2df050a57716a2ecd34c1058f86f
- MD5 SHA1 SHA512