Analysis
- max time kernel
116s - max time network
156s - platform
windows10-2004_x64 - resource
win10v2004-20220310-en - submitted
12/04/2022, 12:20
Static task
static1
Behavioral task
behavioral1
Sample
Halkbank002.exe
Resource
win7-20220311-en
Behavioral task
behavioral2
Sample
Halkbank002.exe
Resource
win10v2004-20220310-en
General
- Target Halkbank002.exe
- Size 735KB
- Sample220412-phrlvsbdan
- SHA256 31974a19ae09f65adfb2b422558e32e598bf9b84ab6a37c58ffe9be073f29b5f
- MD5 2ab72358b6a04a47e38b746467b97657
- SHA1 3e8793381a99e2edf870dde3c91bb679bb50cc9c
- SHA512 7a492b6b8582770b34fc3810736962d233e172b72fe49511af2ee71e0e61304bf9e5fcd4aea4425f1454053cb637378c1652781f581af9fc60325acd7fad5189
- MD5 SHA1 SHA512
Malware Config
Extracted
-
Protocol
smtp
-
Host
mail.privateemail.com
-
Port
587
-
Username
-
Password
Aliwenttoschool30
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.privateemail.com
-
Port
587
-
Username
-
Password
Aliwenttoschool30
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- 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-2403053463-4052593947-3703345493-1000\Control Panel\International\Geo\Nation Halkbank002.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.
- Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2403053463-4052593947-3703345493-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank002.exe Key opened \REGISTRY\USER\S-1-5-21-2403053463-4052593947-3703345493-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank002.exe Key opened \REGISTRY\USER\S-1-5-21-2403053463-4052593947-3703345493-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank002.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2403053463-4052593947-3703345493-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\CpsXBC = "C:\\Users\\Admin\\AppData\\Roaming\\CpsXBC\\CpsXBC.exe" Halkbank002.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5048 set thread context of 2000 5048 Halkbank002.exe 96 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1064 schtasks.exe - Suspicious behavior: EnumeratesProcesses 13 IoCs
pid Process 5048 Halkbank002.exe 5048 Halkbank002.exe 5048 Halkbank002.exe 5048 Halkbank002.exe 5048 Halkbank002.exe 5048 Halkbank002.exe 5048 Halkbank002.exe 5048 Halkbank002.exe 5048 Halkbank002.exe 2000 Halkbank002.exe 2000 Halkbank002.exe 3648 powershell.exe 3648 powershell.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 5048 Halkbank002.exe Token: SeDebugPrivilege 3648 powershell.exe Token: SeDebugPrivilege 2000 Halkbank002.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2000 Halkbank002.exe - Suspicious use of WriteProcessMemory 14 IoCs
description pid Process procid_target PID 5048 wrote to memory of 3648 5048 Halkbank002.exe 92 PID 5048 wrote to memory of 3648 5048 Halkbank002.exe 92 PID 5048 wrote to memory of 3648 5048 Halkbank002.exe 92 PID 5048 wrote to memory of 1064 5048 Halkbank002.exe 94 PID 5048 wrote to memory of 1064 5048 Halkbank002.exe 94 PID 5048 wrote to memory of 1064 5048 Halkbank002.exe 94 PID 5048 wrote to memory of 2000 5048 Halkbank002.exe 96 PID 5048 wrote to memory of 2000 5048 Halkbank002.exe 96 PID 5048 wrote to memory of 2000 5048 Halkbank002.exe 96 PID 5048 wrote to memory of 2000 5048 Halkbank002.exe 96 PID 5048 wrote to memory of 2000 5048 Halkbank002.exe 96 PID 5048 wrote to memory of 2000 5048 Halkbank002.exe 96 PID 5048 wrote to memory of 2000 5048 Halkbank002.exe 96 PID 5048 wrote to memory of 2000 5048 Halkbank002.exe 96 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2403053463-4052593947-3703345493-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank002.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2403053463-4052593947-3703345493-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank002.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\Halkbank002.exe"C:\Users\Admin\AppData\Local\Temp\Halkbank002.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:5048 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\xyBtNlUwZKx.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3648
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\xyBtNlUwZKx" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB2FD.tmp"2⤵
- Creates scheduled task(s)
PID:1064
-
-
C:\Users\Admin\AppData\Local\Temp\Halkbank002.exe"C:\Users\Admin\AppData\Local\Temp\Halkbank002.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:2000
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\tmpB2FD.tmp
- Size 1KB
- SHA256 b283712454fc9ff2c79a58a7b2825fde61a45e74d0cda0140dcb602d84337cae
- MD5 2f6e4d8f58aa241331b3415998dabfe9
- SHA1 52964b007cff5c766e5a4e22ed58b21cbb4047e0
- SHA512 b128750204be4874927e18b213b449b54f30ffc3670a99a5771b76690679e5dd7aa8a1bde78a5284ecc07cde805c99044051d87f0580d342fd678da0090eeab9
- MD5 SHA1 SHA512