Analysis
- max time kernel
52s - max time network
51s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
13/06/2024, 02:51
Static task
static1
Behavioral task
behavioral1
Sample
HSBC Payment Advice.img.exe
Resource
win7-20240611-en
General
- Target HSBC Payment Advice.img.exe
- Size 749KB
- Sample240613-dcffvsvhmp
- SHA256 63eac58257e89ae7383cdfcddbf1209d18d9eda53fefe0b5a57de854649499d9
- MD5 29f5ece6140932732a934fb693b77e84
- SHA1 c7420e2c1365e60ab4dff96be2a4619dd5b71da3
- SHA512 e6d119aa2f3b33beaedaa767074f0f5b7b0200907ddb6fab8a7e292edf55f4187642a468ec4f8750991c38dcd554f2b1aa08185c7f1418db57f895e8b0bb92a7
- SSDEEP 12288:1edXtfETVJW54ALLNguUDAsUlQ5KRYvF6t11D1J2inUtGN1qaJru6f5WgR3OrZkR:cd92HZYLNgfDAZl4KAUtrminUg1qYrug
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
cp8nl.hyperhost.ua
-
Port
587
-
Username
-
Password
7213575aceACE@#$
-
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 748 powershell.exe 2880 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-3558294865-3673844354-2255444939-1000\Control Panel\International\Geo\Nation HSBC Payment Advice.img.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 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
- Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5056 set thread context of 464 5056 HSBC Payment Advice.img.exe 92 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 2180 schtasks.exe - Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 748 powershell.exe 2880 powershell.exe 5056 HSBC Payment Advice.img.exe 5056 HSBC Payment Advice.img.exe 464 HSBC Payment Advice.img.exe 464 HSBC Payment Advice.img.exe 748 powershell.exe 2880 powershell.exe - Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 748 powershell.exe Token: SeDebugPrivilege 2880 powershell.exe Token: SeDebugPrivilege 5056 HSBC Payment Advice.img.exe Token: SeDebugPrivilege 464 HSBC Payment Advice.img.exe - Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 5056 wrote to memory of 748 5056 HSBC Payment Advice.img.exe 85 PID 5056 wrote to memory of 748 5056 HSBC Payment Advice.img.exe 85 PID 5056 wrote to memory of 748 5056 HSBC Payment Advice.img.exe 85 PID 5056 wrote to memory of 2880 5056 HSBC Payment Advice.img.exe 87 PID 5056 wrote to memory of 2880 5056 HSBC Payment Advice.img.exe 87 PID 5056 wrote to memory of 2880 5056 HSBC Payment Advice.img.exe 87 PID 5056 wrote to memory of 2180 5056 HSBC Payment Advice.img.exe 89 PID 5056 wrote to memory of 2180 5056 HSBC Payment Advice.img.exe 89 PID 5056 wrote to memory of 2180 5056 HSBC Payment Advice.img.exe 89 PID 5056 wrote to memory of 5076 5056 HSBC Payment Advice.img.exe 91 PID 5056 wrote to memory of 5076 5056 HSBC Payment Advice.img.exe 91 PID 5056 wrote to memory of 5076 5056 HSBC Payment Advice.img.exe 91 PID 5056 wrote to memory of 464 5056 HSBC Payment Advice.img.exe 92 PID 5056 wrote to memory of 464 5056 HSBC Payment Advice.img.exe 92 PID 5056 wrote to memory of 464 5056 HSBC Payment Advice.img.exe 92 PID 5056 wrote to memory of 464 5056 HSBC Payment Advice.img.exe 92 PID 5056 wrote to memory of 464 5056 HSBC Payment Advice.img.exe 92 PID 5056 wrote to memory of 464 5056 HSBC Payment Advice.img.exe 92 PID 5056 wrote to memory of 464 5056 HSBC Payment Advice.img.exe 92 PID 5056 wrote to memory of 464 5056 HSBC Payment Advice.img.exe 92
Processes
-
C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:5056 -
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\HSBC Payment Advice.img.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:748
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\wCyYdqchACnb.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2880
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wCyYdqchACnb" /XML "C:\Users\Admin\AppData\Local\Temp\tmpA325.tmp"2⤵
- Creates scheduled task(s)
PID:2180
-
-
C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"2⤵PID:5076
-
-
C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:464
-
Network
MITRE ATT&CK Enterprise v15
Replay 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 d81013aa1759ca8cac7aad2f038ebdba6b415588fe7fd7c9af67eaf1ab8f441e
- MD5 551aa2cf1036e8ae1c2e64f51a6b4785
- SHA1 5fc1433c0187159dd91eb105f6ba170064b6bdb6
- SHA512 c499a240734052bf739195bdf927dab5cd253bda51c9a3531d1b82dac3f4b68856295e6793b51b2566958022fbb7a9e3e4f3b5043266bf7f3a2158dc5ff626e0
- SSDEEP 384:4i+BO9i+s5jrviQBmTIkMo9ooTj7K6seYLME/h03SoZ2fYSv0jEDked0gdItkKhD:BURj3OxooTj7NgrKSp5KEDyCq3
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xb1dgqsc.o1z.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmpA325.tmp
- Size 1KB
- SHA256 229bf27db22f436ac41ce80398c0eb4abfc78df8c92ad0d4931ed6e8d16153c4
- MD5 2c20d9587598ca5410b4e1ab18aa200a
- SHA1 43900be7024746c1cf646f999072bc21ca010407
- SHA512 8d78d7e18f3b3c79f4c349f92c30bf6c3c7ffeccc20286bf04fb4055e19944008d18bd61ec28e807f5d45375f12782bb68504435be8106e4acda6c993bedff34
- MD5 SHA1 SHA512