Analysis
- max time kernel
150s - max time network
153s - platform
windows10-2004_x64 - resource
win10v2004-20221111-en - resource tags
arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system - submitted
22/11/2022, 09:32
Static task
static1
Behavioral task
behavioral1
Sample
Halkbank.exe
Resource
win7-20220901-en
14 signatures
150 seconds
Behavioral task
behavioral2
Sample
Halkbank.exe
Resource
win10v2004-20221111-en
14 signatures
150 seconds
General
- Target Halkbank.exe
- Size 943KB
- Sample221122-lhmfcscb9w
- SHA256 b7485129bfd03a3a6be7fd8b30eb70b0f89631bb81ebbfdf6d7ad78fc17fc38e
- MD5 7dd92ca41b283f0d37d3f1f1d17f3565
- SHA1 9a093939b6938b267a5adb94494931f53ff3da73
- SHA512 6d74632d05fc6e00335c9852a5f537302ec358206189418fe7b22c47aefbeb49f155ff18955892782a9e07e50f75750d344da49878dfc74d9a3bc85df3414964
- SSDEEP 24576:MM+L74mBfNUstzoZTJylXqsDHNXnrpA7BrDR3eX7wU6f3r8JN:z9y1qs7N3OdPNuEU6fI
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
agenttesla
C2
-
https://api.telegram.org/bot5792996127:AAEo0wCCYZp60yQsf_X1P7t-T5AAK5KPYXY/
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- 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.
- Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-4246620582-653642754-1174164128-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank.exe Key opened \REGISTRY\USER\S-1-5-21-4246620582-653642754-1174164128-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank.exe Key opened \REGISTRY\USER\S-1-5-21-4246620582-653642754-1174164128-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4246620582-653642754-1174164128-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\regis = "C:\\Users\\Admin\\AppData\\Roaming\\regis\\regis.exe" Halkbank.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 35 api.ipify.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4740 set thread context of 5000 4740 Halkbank.exe 86 - Suspicious behavior: EnumeratesProcesses 5 IoCs
pid Process 4740 Halkbank.exe 4740 Halkbank.exe 5000 Halkbank.exe 5000 Halkbank.exe 5000 Halkbank.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 4740 Halkbank.exe Token: SeDebugPrivilege 5000 Halkbank.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 5000 Halkbank.exe - Suspicious use of WriteProcessMemory 8 IoCs
description pid Process procid_target PID 4740 wrote to memory of 5000 4740 Halkbank.exe 86 PID 4740 wrote to memory of 5000 4740 Halkbank.exe 86 PID 4740 wrote to memory of 5000 4740 Halkbank.exe 86 PID 4740 wrote to memory of 5000 4740 Halkbank.exe 86 PID 4740 wrote to memory of 5000 4740 Halkbank.exe 86 PID 4740 wrote to memory of 5000 4740 Halkbank.exe 86 PID 4740 wrote to memory of 5000 4740 Halkbank.exe 86 PID 4740 wrote to memory of 5000 4740 Halkbank.exe 86 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-4246620582-653642754-1174164128-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-4246620582-653642754-1174164128-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\Halkbank.exe"C:\Users\Admin\AppData\Local\Temp\Halkbank.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4740 -
C:\Users\Admin\AppData\Local\Temp\Halkbank.exe"C:\Users\Admin\AppData\Local\Temp\Halkbank.exe"2⤵
- Accesses Microsoft Outlook profiles
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- outlook_office_path
- outlook_win_path
PID:5000
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Halkbank.exe.log
- Size 1KB
- SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
- MD5 8ec831f3e3a3f77e4a7b9cd32b48384c
- SHA1 d83f09fd87c5bd86e045873c231c14836e76a05c
- SHA512 26bffa2406b66368bd412bf25869a792631455645992cdcade2dbc13a2e56fb546414a6a9223b94c96c38d89187add6678d4779a88b38b0c9e36be8527b213c3
- MD5 SHA1 SHA512