Analysis
- max time kernel
65s - max time network
69s - platform
windows7_x64 - resource
win7-20220901-en - resource tags
arch:x64arch:x86image:win7-20220901-enlocale:en-usos:windows7-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-4063495947-34355257-727531523-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank.exe Key opened \REGISTRY\USER\S-1-5-21-4063495947-34355257-727531523-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank.exe Key opened \REGISTRY\USER\S-1-5-21-4063495947-34355257-727531523-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-4063495947-34355257-727531523-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 2 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 4 api.ipify.org 5 api.ipify.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1396 set thread context of 700 1396 Halkbank.exe 27 - Suspicious behavior: EnumeratesProcesses 5 IoCs
pid Process 1396 Halkbank.exe 1396 Halkbank.exe 700 Halkbank.exe 700 Halkbank.exe 700 Halkbank.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 1396 Halkbank.exe Token: SeDebugPrivilege 700 Halkbank.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 700 Halkbank.exe - Suspicious use of WriteProcessMemory 9 IoCs
description pid Process procid_target PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 PID 1396 wrote to memory of 700 1396 Halkbank.exe 27 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-4063495947-34355257-727531523-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-4063495947-34355257-727531523-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:1396 -
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:700
-