Analysis
- max time kernel
143s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20231215-en - resource tags
arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system - submitted
01/02/2024, 10:38
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
Halkbank_Ekstre.exe
Resource
win7-20231215-en
13 signatures
150 seconds
General
- Target Halkbank_Ekstre.exe
- Size 663KB
- Sample240201-mpfrtsdagl
- SHA256 3d006b91ab0c95d886dc7d54180b846596885fd53cf2c8d54e03fb5e8304776e
- MD5 c0852e4365d4995b5e84a90453a69f36
- SHA1 143f854ec4f163b4d057bb04e96ec09c09f345ec
- SHA512 adadb5b380483cecad90d204db49257844255e7145a9e01561025958103a65c5bc5900adc9ab3e44fbe19864438264aca87bb772cf0e5a8641bdc68f2bff9738
- SSDEEP 12288:HL/4/qYp1TgjDnXXQNgPLGkdXvdt1WMlu2mLPSBWd5C3mSEEZoIw:HTlC5gjDnXXOgDR13gSBWd5EXZ
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Credentials
-
Protocol
smtp
-
Host
mail.hesagirnakliyat.com
-
Port
587
-
Username
-
Password
Hes2023.
Extracted
Family
-
agenttesla
Credentials
-
Protocol
smtp
-
Host
mail.hesagirnakliyat.com
-
Port
587
-
Username
-
Password
Hes2023.
-
Email to
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- Detect ZGRat V1 34 IoCs
resource yara_rule behavioral2/memory/4968-2-0x0000000005610000-0x00000000056BA000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-3-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-4-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-6-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-8-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-10-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-12-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-14-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-18-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-20-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-22-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-16-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-24-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-26-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-28-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-30-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-32-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-34-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-36-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-38-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-40-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-42-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-52-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-58-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-64-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-66-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-62-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-60-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-56-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-54-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-50-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-48-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-46-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 behavioral2/memory/4968-44-0x0000000005610000-0x00000000056B4000-memory.dmp family_zgrat_v1 - 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-1815711207-1844170477-3539718864-1000\Control Panel\International\Geo\Nation Halkbank_Ekstre.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 4968 set thread context of 4616 4968 Halkbank_Ekstre.exe 97 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Gathers network information 2 TTPs 2 IoCs
Uses commandline utility to view network configuration.
pid Process 2868 ipconfig.exe 3320 ipconfig.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 3152 powershell.exe 3152 powershell.exe 4616 Halkbank_Ekstre.exe 4616 Halkbank_Ekstre.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 4968 Halkbank_Ekstre.exe Token: SeDebugPrivilege 3152 powershell.exe Token: SeDebugPrivilege 4616 Halkbank_Ekstre.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4616 Halkbank_Ekstre.exe - Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4968 wrote to memory of 3556 4968 Halkbank_Ekstre.exe 82 PID 4968 wrote to memory of 3556 4968 Halkbank_Ekstre.exe 82 PID 4968 wrote to memory of 3556 4968 Halkbank_Ekstre.exe 82 PID 3556 wrote to memory of 3320 3556 cmd.exe 84 PID 3556 wrote to memory of 3320 3556 cmd.exe 84 PID 3556 wrote to memory of 3320 3556 cmd.exe 84 PID 4968 wrote to memory of 3152 4968 Halkbank_Ekstre.exe 85 PID 4968 wrote to memory of 3152 4968 Halkbank_Ekstre.exe 85 PID 4968 wrote to memory of 3152 4968 Halkbank_Ekstre.exe 85 PID 4968 wrote to memory of 744 4968 Halkbank_Ekstre.exe 94 PID 4968 wrote to memory of 744 4968 Halkbank_Ekstre.exe 94 PID 4968 wrote to memory of 744 4968 Halkbank_Ekstre.exe 94 PID 744 wrote to memory of 2868 744 cmd.exe 96 PID 744 wrote to memory of 2868 744 cmd.exe 96 PID 744 wrote to memory of 2868 744 cmd.exe 96 PID 4968 wrote to memory of 4616 4968 Halkbank_Ekstre.exe 97 PID 4968 wrote to memory of 4616 4968 Halkbank_Ekstre.exe 97 PID 4968 wrote to memory of 4616 4968 Halkbank_Ekstre.exe 97 PID 4968 wrote to memory of 4616 4968 Halkbank_Ekstre.exe 97 PID 4968 wrote to memory of 4616 4968 Halkbank_Ekstre.exe 97 PID 4968 wrote to memory of 4616 4968 Halkbank_Ekstre.exe 97 PID 4968 wrote to memory of 4616 4968 Halkbank_Ekstre.exe 97 PID 4968 wrote to memory of 4616 4968 Halkbank_Ekstre.exe 97
Processes
-
C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre.exe"C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4968 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /c ipconfig /release2⤵
- Suspicious use of WriteProcessMemory
PID:3556 -
C:\Windows\SysWOW64\ipconfig.exeipconfig /release3⤵
- Gathers network information
PID:3320
-
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -enc QQBkAGQALQBNAHAAUAByAGUAZgBlAHIAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgAEMAOgBcAFUAcwBlAHIAcwBcAEEAZABtAGkAbgBcAEEAcABwAEQAYQB0AGEAXABMAG8AYwBhAGwAXABUAGUAbQBwAFwASABhAGwAawBiAGEAbgBrAF8ARQBrAHMAdAByAGUALgBlAHgAZQA7ACAAQQBkAGQALQBNAHAAUAByAGUAZgBlAHIAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUAByAG8AYwBlAHMAcwAgAEgAYQBsAGsAYgBhAG4AawBfAEUAawBzAHQAcgBlAC4AZQB4AGUAOwA=2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3152
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /c ipconfig /renew2⤵
- Suspicious use of WriteProcessMemory
PID:744 -
C:\Windows\SysWOW64\ipconfig.exeipconfig /renew3⤵
- Gathers network information
PID:2868
-
-
-
C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre.exeC:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre.exe2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
PID:4616
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Halkbank_Ekstre.exe.log
- Size 927B
- SHA256 264098e15b5b33d425f3b76e45b7976b58f917048125041135f7e60d8151108c
- MD5 4a911455784f74e368a4c2c7876d76f4
- SHA1 a1700a0849ffb4f26671eb76da2489946b821c34
- SHA512 4617591400409e1930195795a55e20d5f063042bb3e9fd1955099066e507b6ac8a1e3ae54cc42418e2639149b31bf7e58cd5743670d9030a15e29f14d813815d
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gnfwvmsq.c2a.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512