Analysis
-
max time kernel
149s -
max time network
161s -
platform
windows10-2004_x64 -
resource
win10v2004-20240226-en -
resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system -
submitted
26-06-2024 08:55
Static task
static1
Behavioral task
behavioral1
Sample
Halkbank_Ekstre_20240625_082306_910668.bat.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
Halkbank_Ekstre_20240625_082306_910668.bat.exe
Resource
win10v2004-20240226-en
General
-
Target
Halkbank_Ekstre_20240625_082306_910668.bat.exe
-
Size
546KB
-
MD5
06c135c6806d204db854b2b303f711e4
-
SHA1
7034a07bcd5c2855c2a906f1c96a0490dda51a26
-
SHA256
eebcd1414319130f36bea1e6c8fd29750118b145dae2d094d8a9d6aac0c619ce
-
SHA512
b935c9c0415a7abc778d3cf0b374a2604ebd0eb33b3223412c9ffc9d320b3cffed381b0d98d4350bdd0af05f4b7c3f050b90305d102e36c60891a9bec9a6ee51
-
SSDEEP
12288:rpaLt72wtNGZYqnDLPM/en5IDxDhzkz6C3jYCNVyvUGdABV:KqDLTQFW93jYCqAB
Malware Config
Extracted
snakekeylogger
Protocol: ftp- Host:
ftp://ftp.darwishgruop.com/ - Port:
21 - Username:
[email protected] - Password:
Uvob2G1Tc73ZCus02X
Signatures
-
Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
-
Snake Keylogger payload 1 IoCs
Processes:
resource yara_rule behavioral2/memory/1284-23-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger -
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.
Processes:
powershell.exepowershell.exepid process 3404 powershell.exe 4384 powershell.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
Halkbank_Ekstre_20240625_082306_910668.bat.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Control Panel\International\Geo\Nation Halkbank_Ekstre_20240625_082306_910668.bat.exe -
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
Processes:
Halkbank_Ekstre_20240625_082306_910668.bat.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank_Ekstre_20240625_082306_910668.bat.exe Key opened \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank_Ekstre_20240625_082306_910668.bat.exe Key opened \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank_Ekstre_20240625_082306_910668.bat.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.
Processes:
flow ioc 51 checkip.dyndns.org -
Suspicious use of SetThreadContext 1 IoCs
Processes:
Halkbank_Ekstre_20240625_082306_910668.bat.exedescription pid process target process PID 2992 set thread context of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
-
Suspicious behavior: EnumeratesProcesses 9 IoCs
Processes:
Halkbank_Ekstre_20240625_082306_910668.bat.exepowershell.exepowershell.exepid process 1284 Halkbank_Ekstre_20240625_082306_910668.bat.exe 1284 Halkbank_Ekstre_20240625_082306_910668.bat.exe 4384 powershell.exe 4384 powershell.exe 3404 powershell.exe 3404 powershell.exe 4384 powershell.exe 3404 powershell.exe 1284 Halkbank_Ekstre_20240625_082306_910668.bat.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
Halkbank_Ekstre_20240625_082306_910668.bat.exepowershell.exepowershell.exedescription pid process Token: SeDebugPrivilege 1284 Halkbank_Ekstre_20240625_082306_910668.bat.exe Token: SeDebugPrivilege 3404 powershell.exe Token: SeDebugPrivilege 4384 powershell.exe -
Suspicious use of WriteProcessMemory 17 IoCs
Processes:
Halkbank_Ekstre_20240625_082306_910668.bat.exedescription pid process target process PID 2992 wrote to memory of 3404 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe powershell.exe PID 2992 wrote to memory of 3404 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe powershell.exe PID 2992 wrote to memory of 3404 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe powershell.exe PID 2992 wrote to memory of 4384 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe powershell.exe PID 2992 wrote to memory of 4384 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe powershell.exe PID 2992 wrote to memory of 4384 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe powershell.exe PID 2992 wrote to memory of 2152 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe schtasks.exe PID 2992 wrote to memory of 2152 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe schtasks.exe PID 2992 wrote to memory of 2152 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe schtasks.exe PID 2992 wrote to memory of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe PID 2992 wrote to memory of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe PID 2992 wrote to memory of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe PID 2992 wrote to memory of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe PID 2992 wrote to memory of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe PID 2992 wrote to memory of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe PID 2992 wrote to memory of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe PID 2992 wrote to memory of 1284 2992 Halkbank_Ekstre_20240625_082306_910668.bat.exe Halkbank_Ekstre_20240625_082306_910668.bat.exe -
outlook_office_path 1 IoCs
Processes:
Halkbank_Ekstre_20240625_082306_910668.bat.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank_Ekstre_20240625_082306_910668.bat.exe -
outlook_win_path 1 IoCs
Processes:
Halkbank_Ekstre_20240625_082306_910668.bat.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Halkbank_Ekstre_20240625_082306_910668.bat.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20240625_082306_910668.bat.exe"C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20240625_082306_910668.bat.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
-
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\Halkbank_Ekstre_20240625_082306_910668.bat.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\NPARoYe.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\NPARoYe" /XML "C:\Users\Admin\AppData\Local\Temp\tmp2EA7.tmp"2⤵
- Scheduled Task/Job: Scheduled Task
-
C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20240625_082306_910668.bat.exe"C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20240625_082306_910668.bat.exe"2⤵
- Accesses Microsoft Outlook profiles
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=1348 --field-trial-handle=2280,i,716736634476467098,11449718822158202904,262144 --variations-seed-version /prefetch:81⤵
Network
MITRE ATT&CK Matrix ATT&CK v13
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCacheFilesize
52KB
MD56b1ddfa379c0ff2bb8bd68f37796cbde
SHA114235bffc65aab385005f5147f9bbc4a7a26c5fe
SHA256d4b19d49ccc92a831524ab5c2d4a5026a4fd1bd269f7adaaa6a4f4c291a6233f
SHA51257a9de1dc8d820c52968557931236201dff0177a0d341cf5557c753f87bbc1d2cb484071c0c6de2997e9681cda614500032563409b7f0a4bc71c2fd662666be2
-
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_wgm0muy1.uvd.ps1Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
C:\Users\Admin\AppData\Local\Temp\tmp2EA7.tmpFilesize
1KB
MD5223545c81fd712e0fef7ffc590964e85
SHA1339569a670ffe5756875d514175cbed81c294d32
SHA2564350399671b7579a419e6b09794dcb48b0191cb91cd87f36503d4314fc64c704
SHA512ab7f11ae5f056e3fc282341d913f5122256e16b8474d5ad0ac7bbcacfd17522acda24b363b71b0759ef43973a0f81ad0c9a33b0519d7a0b578529c08258ece0d
-
memory/1284-53-0x0000000006E40000-0x0000000007002000-memory.dmpFilesize
1.8MB
-
memory/1284-23-0x0000000000400000-0x0000000000426000-memory.dmpFilesize
152KB
-
memory/1284-52-0x0000000006C20000-0x0000000006C70000-memory.dmpFilesize
320KB
-
memory/2992-4-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/2992-7-0x0000000004FA0000-0x0000000004FB0000-memory.dmpFilesize
64KB
-
memory/2992-8-0x0000000009AC0000-0x0000000009ACC000-memory.dmpFilesize
48KB
-
memory/2992-9-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/2992-10-0x0000000009AE0000-0x0000000009B48000-memory.dmpFilesize
416KB
-
memory/2992-11-0x000000000C510000-0x000000000C5AC000-memory.dmpFilesize
624KB
-
memory/2992-6-0x00000000747CE000-0x00000000747CF000-memory.dmpFilesize
4KB
-
memory/2992-5-0x0000000004E90000-0x0000000004E9A000-memory.dmpFilesize
40KB
-
memory/2992-0-0x00000000747CE000-0x00000000747CF000-memory.dmpFilesize
4KB
-
memory/2992-3-0x0000000004CE0000-0x0000000004D72000-memory.dmpFilesize
584KB
-
memory/2992-2-0x0000000005190000-0x0000000005734000-memory.dmpFilesize
5.6MB
-
memory/2992-1-0x00000000002B0000-0x000000000033E000-memory.dmpFilesize
568KB
-
memory/2992-25-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/3404-22-0x00000000055C0000-0x0000000005BE8000-memory.dmpFilesize
6.2MB
-
memory/3404-82-0x0000000007890000-0x000000000789A000-memory.dmpFilesize
40KB
-
memory/3404-26-0x0000000005330000-0x0000000005352000-memory.dmpFilesize
136KB
-
memory/3404-94-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/3404-28-0x0000000005C60000-0x0000000005CC6000-memory.dmpFilesize
408KB
-
memory/3404-15-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/3404-14-0x0000000002AF0000-0x0000000002B26000-memory.dmpFilesize
216KB
-
memory/3404-89-0x0000000007AB0000-0x0000000007AB8000-memory.dmpFilesize
32KB
-
memory/3404-50-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/3404-49-0x0000000006510000-0x000000000655C000-memory.dmpFilesize
304KB
-
memory/3404-51-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/3404-13-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/3404-12-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/3404-54-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/3404-55-0x0000000006A80000-0x0000000006AB2000-memory.dmpFilesize
200KB
-
memory/3404-57-0x00000000700A0000-0x00000000700EC000-memory.dmpFilesize
304KB
-
memory/3404-85-0x00000000078B0000-0x00000000078C1000-memory.dmpFilesize
68KB
-
memory/3404-76-0x0000000006A60000-0x0000000006A7E000-memory.dmpFilesize
120KB
-
memory/4384-41-0x00000000056D0000-0x0000000005A24000-memory.dmpFilesize
3.3MB
-
memory/4384-78-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/4384-79-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/4384-80-0x00000000076A0000-0x0000000007D1A000-memory.dmpFilesize
6.5MB
-
memory/4384-81-0x0000000007050000-0x000000000706A000-memory.dmpFilesize
104KB
-
memory/4384-77-0x0000000006F20000-0x0000000006FC3000-memory.dmpFilesize
652KB
-
memory/4384-84-0x0000000007380000-0x0000000007416000-memory.dmpFilesize
600KB
-
memory/4384-56-0x00000000700A0000-0x00000000700EC000-memory.dmpFilesize
304KB
-
memory/4384-86-0x0000000007310000-0x000000000731E000-memory.dmpFilesize
56KB
-
memory/4384-87-0x0000000007320000-0x0000000007334000-memory.dmpFilesize
80KB
-
memory/4384-88-0x0000000007360000-0x000000000737A000-memory.dmpFilesize
104KB
-
memory/4384-48-0x0000000005CB0000-0x0000000005CCE000-memory.dmpFilesize
120KB
-
memory/4384-27-0x0000000004DF0000-0x0000000004E56000-memory.dmpFilesize
408KB
-
memory/4384-20-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB
-
memory/4384-95-0x00000000747C0000-0x0000000074F70000-memory.dmpFilesize
7.7MB