Analysis
-
max time kernel
195s -
max time network
205s -
platform
windows10-2004_x64 -
resource
win10v2004-20220414-en -
submitted
21-05-2022 11:47
Static task
static1
Behavioral task
behavioral1
Sample
HALKBANK.exe
Resource
win7-20220414-en
Behavioral task
behavioral2
Sample
HALKBANK.exe
Resource
win10v2004-20220414-en
General
-
Target
HALKBANK.exe
-
Size
620KB
-
MD5
a9b42ce32c33db28c6fc94a3a7f363fb
-
SHA1
1c08b215c178a267a083ee3a70baa9c0ba2e68e3
-
SHA256
45307bbc3304804c89746b960ba85f69c9ca725b0483afad2c13b3eb999800bc
-
SHA512
c76efcdffc09b4615039add1afa9c3646ffc1635e006c5a92faf66c4c8f062b3ad263cc25ebdd1c813692406954d37d76aa0e02da0bcd85221b26791b088dd21
Malware Config
Extracted
agenttesla
Protocol: smtp- Host:
mail.bunsadokum.com - Port:
587 - Username:
[email protected] - Password:
posta38Bunsa
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
AgentTesla Payload 1 IoCs
Processes:
resource yara_rule behavioral2/memory/2896-144-0x0000000000590000-0x00000000005DC000-memory.dmp family_agenttesla -
Executes dropped EXE 2 IoCs
Processes:
application.exeRegAsm.exepid process 1928 application.exe 2896 RegAsm.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
HALKBANK.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Control Panel\International\Geo\Nation HALKBANK.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
Processes:
RegAsm.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe Key opened \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe Key opened \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe -
Adds Run key to start application 2 TTPs 2 IoCs
Processes:
reg.exedescription ioc process Key created \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Software\Microsoft\Windows\CurrentVersion\Run reg.exe Set value (str) \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\application = "C:\\Windows\\system32\\pcalua.exe -a C:\\Users\\Admin\\AppData\\Roaming\\application.exe" reg.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
application.exedescription pid process target process PID 1928 set thread context of 2896 1928 application.exe RegAsm.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
-
Program crash 1 IoCs
Processes:
WerFault.exepid pid_target process target process 2544 1928 WerFault.exe application.exe -
Suspicious behavior: EnumeratesProcesses 27 IoCs
Processes:
HALKBANK.exeapplication.exeRegAsm.exepid process 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 3328 HALKBANK.exe 1928 application.exe 1928 application.exe 1928 application.exe 2896 RegAsm.exe 2896 RegAsm.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
HALKBANK.exeapplication.exeRegAsm.exedescription pid process Token: SeDebugPrivilege 3328 HALKBANK.exe Token: SeDebugPrivilege 1928 application.exe Token: SeDebugPrivilege 2896 RegAsm.exe -
Suspicious use of WriteProcessMemory 17 IoCs
Processes:
HALKBANK.execmd.exeapplication.exedescription pid process target process PID 3328 wrote to memory of 2936 3328 HALKBANK.exe cmd.exe PID 3328 wrote to memory of 2936 3328 HALKBANK.exe cmd.exe PID 3328 wrote to memory of 2936 3328 HALKBANK.exe cmd.exe PID 2936 wrote to memory of 3180 2936 cmd.exe reg.exe PID 2936 wrote to memory of 3180 2936 cmd.exe reg.exe PID 2936 wrote to memory of 3180 2936 cmd.exe reg.exe PID 3328 wrote to memory of 1928 3328 HALKBANK.exe application.exe PID 3328 wrote to memory of 1928 3328 HALKBANK.exe application.exe PID 3328 wrote to memory of 1928 3328 HALKBANK.exe application.exe PID 1928 wrote to memory of 2896 1928 application.exe RegAsm.exe PID 1928 wrote to memory of 2896 1928 application.exe RegAsm.exe PID 1928 wrote to memory of 2896 1928 application.exe RegAsm.exe PID 1928 wrote to memory of 2896 1928 application.exe RegAsm.exe PID 1928 wrote to memory of 2896 1928 application.exe RegAsm.exe PID 1928 wrote to memory of 2896 1928 application.exe RegAsm.exe PID 1928 wrote to memory of 2896 1928 application.exe RegAsm.exe PID 1928 wrote to memory of 2896 1928 application.exe RegAsm.exe -
outlook_office_path 1 IoCs
Processes:
RegAsm.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe -
outlook_win_path 1 IoCs
Processes:
RegAsm.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\HALKBANK.exe"C:\Users\Admin\AppData\Local\Temp\HALKBANK.exe"1⤵
- Checks computer location settings
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\cmd.exe"cmd.exe" /c REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /f /v application /t REG_SZ /d C:\Windows\system32\pcalua.exe" -a C:\Users\Admin\AppData\Roaming\application.exe"2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\reg.exeREG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /f /v application /t REG_SZ /d C:\Windows\system32\pcalua.exe" -a C:\Users\Admin\AppData\Roaming\application.exe"3⤵
- Adds Run key to start application
-
C:\Users\Admin\AppData\Roaming\application.exe"C:\Users\Admin\AppData\Roaming\application.exe"2⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Users\Admin\AppData\Local\Temp\RegAsm.exe"C:\Users\Admin\AppData\Local\Temp\RegAsm.exe"3⤵
- Executes dropped EXE
- Accesses Microsoft Outlook profiles
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1928 -s 13643⤵
- Program crash
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 200 -p 1928 -ip 19281⤵
Network
MITRE ATT&CK Matrix ATT&CK v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Temp\RegAsm.exeFilesize
63KB
MD50d5df43af2916f47d00c1573797c1a13
SHA1230ab5559e806574d26b4c20847c368ed55483b0
SHA256c066aee7aa3aa83f763ebc5541daa266ed6c648fbffcde0d836a13b221bb2adc
SHA512f96cf9e1890746b12daf839a6d0f16f062b72c1b8a40439f96583f242980f10f867720232a6fa0f7d4d7ac0a7a6143981a5a130d6417ea98b181447134c7cfe2
-
C:\Users\Admin\AppData\Local\Temp\RegAsm.exeFilesize
63KB
MD50d5df43af2916f47d00c1573797c1a13
SHA1230ab5559e806574d26b4c20847c368ed55483b0
SHA256c066aee7aa3aa83f763ebc5541daa266ed6c648fbffcde0d836a13b221bb2adc
SHA512f96cf9e1890746b12daf839a6d0f16f062b72c1b8a40439f96583f242980f10f867720232a6fa0f7d4d7ac0a7a6143981a5a130d6417ea98b181447134c7cfe2
-
C:\Users\Admin\AppData\Roaming\application.exeFilesize
620KB
MD5a9b42ce32c33db28c6fc94a3a7f363fb
SHA11c08b215c178a267a083ee3a70baa9c0ba2e68e3
SHA25645307bbc3304804c89746b960ba85f69c9ca725b0483afad2c13b3eb999800bc
SHA512c76efcdffc09b4615039add1afa9c3646ffc1635e006c5a92faf66c4c8f062b3ad263cc25ebdd1c813692406954d37d76aa0e02da0bcd85221b26791b088dd21
-
C:\Users\Admin\AppData\Roaming\application.exeFilesize
620KB
MD5a9b42ce32c33db28c6fc94a3a7f363fb
SHA11c08b215c178a267a083ee3a70baa9c0ba2e68e3
SHA25645307bbc3304804c89746b960ba85f69c9ca725b0483afad2c13b3eb999800bc
SHA512c76efcdffc09b4615039add1afa9c3646ffc1635e006c5a92faf66c4c8f062b3ad263cc25ebdd1c813692406954d37d76aa0e02da0bcd85221b26791b088dd21
-
memory/1928-136-0x0000000000000000-mapping.dmp
-
memory/1928-139-0x0000000006C60000-0x0000000006C82000-memory.dmpFilesize
136KB
-
memory/2896-144-0x0000000000590000-0x00000000005DC000-memory.dmpFilesize
304KB
-
memory/2896-140-0x0000000000000000-mapping.dmp
-
memory/2896-145-0x0000000004CE0000-0x0000000004D7C000-memory.dmpFilesize
624KB
-
memory/2896-146-0x0000000005990000-0x00000000059F6000-memory.dmpFilesize
408KB
-
memory/2896-147-0x0000000005EC0000-0x0000000005F10000-memory.dmpFilesize
320KB
-
memory/2896-148-0x0000000005E90000-0x0000000005E9A000-memory.dmpFilesize
40KB
-
memory/2936-134-0x0000000000000000-mapping.dmp
-
memory/3180-135-0x0000000000000000-mapping.dmp
-
memory/3328-133-0x00000000056E0000-0x0000000005724000-memory.dmpFilesize
272KB
-
memory/3328-130-0x0000000000AF0000-0x0000000000B92000-memory.dmpFilesize
648KB
-
memory/3328-132-0x0000000005540000-0x00000000055D2000-memory.dmpFilesize
584KB
-
memory/3328-131-0x0000000005A50000-0x0000000005FF4000-memory.dmpFilesize
5.6MB