Analysis
-
max time kernel
175s -
max time network
181s -
platform
windows10-2004_x64 -
resource
win10v2004-20231215-en -
resource tags
arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system -
submitted
27-12-2023 18:54
Static task
static1
Behavioral task
behavioral1
Sample
b5a3eb26f3d7532eba91ea8122d8045e.exe
Resource
win7-20231129-en
Behavioral task
behavioral2
Sample
b5a3eb26f3d7532eba91ea8122d8045e.exe
Resource
win10v2004-20231215-en
General
-
Target
b5a3eb26f3d7532eba91ea8122d8045e.exe
-
Size
1.2MB
-
MD5
b5a3eb26f3d7532eba91ea8122d8045e
-
SHA1
f12b2ff14004c73ea99e30dafab805e8dcb17df0
-
SHA256
0cd342a69ae909916dcb8592e08e92ae6026bd0831179f46c95a8af1bc26e666
-
SHA512
ba0dbe9a04725ced3f2beef7c27396a80a835c32ed9d4795be3de8a13cf3c4dc4d6b3a30d5668fda5269d9f744f17346bb04c3a10546ac34eab56721cf164965
-
SSDEEP
24576:2aLZZjhZStXqCFhg+Iu1WVq5J+hu3A8K/dwiGY1iQzB7oaRv/7d5OGQT4wFPuvUf:2mjhZShJgBbnJ
Malware Config
Extracted
matiex
Protocol: smtp- Host:
mail.thts.vn - Port:
25 - Username:
[email protected] - Password:
123luongngan1989 - Email To:
[email protected]
Signatures
-
Matiex Main payload 1 IoCs
resource yara_rule behavioral2/memory/3316-13-0x0000000000400000-0x0000000000472000-memory.dmp family_matiex -
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-2398549320-3657759451-817663969-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 b5a3eb26f3d7532eba91ea8122d8045e.exe Key opened \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 b5a3eb26f3d7532eba91ea8122d8045e.exe Key opened \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 b5a3eb26f3d7532eba91ea8122d8045e.exe -
Looks up external IP address via web service 3 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 87 checkip.dyndns.org 90 freegeoip.app 91 freegeoip.app -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5040 set thread context of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 -
Program crash 1 IoCs
pid pid_target Process procid_target 4924 3316 WerFault.exe 99 -
Modifies registry class 5 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000_Classes\ms-settings\shell\open\command b5a3eb26f3d7532eba91ea8122d8045e.exe Key created \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000_Classes\ms-settings b5a3eb26f3d7532eba91ea8122d8045e.exe Key created \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000_Classes\ms-settings\shell b5a3eb26f3d7532eba91ea8122d8045e.exe Key created \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000_Classes\ms-settings\shell\open b5a3eb26f3d7532eba91ea8122d8045e.exe Set value (str) \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000_Classes\ms-settings\shell\open\command\ b5a3eb26f3d7532eba91ea8122d8045e.exe -
Suspicious behavior: RenamesItself 1 IoCs
pid Process 3316 b5a3eb26f3d7532eba91ea8122d8045e.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe Token: SeDebugPrivilege 3316 b5a3eb26f3d7532eba91ea8122d8045e.exe -
Suspicious use of WriteProcessMemory 8 IoCs
description pid Process procid_target PID 5040 wrote to memory of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 PID 5040 wrote to memory of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 PID 5040 wrote to memory of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 PID 5040 wrote to memory of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 PID 5040 wrote to memory of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 PID 5040 wrote to memory of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 PID 5040 wrote to memory of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 PID 5040 wrote to memory of 3316 5040 b5a3eb26f3d7532eba91ea8122d8045e.exe 99 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 b5a3eb26f3d7532eba91ea8122d8045e.exe -
outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2398549320-3657759451-817663969-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 b5a3eb26f3d7532eba91ea8122d8045e.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\b5a3eb26f3d7532eba91ea8122d8045e.exe"C:\Users\Admin\AppData\Local\Temp\b5a3eb26f3d7532eba91ea8122d8045e.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:5040 -
C:\Users\Admin\AppData\Local\Temp\b5a3eb26f3d7532eba91ea8122d8045e.exe"C:\Users\Admin\AppData\Local\Temp\b5a3eb26f3d7532eba91ea8122d8045e.exe"2⤵
- Accesses Microsoft Outlook profiles
- Modifies registry class
- Suspicious behavior: RenamesItself
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:3316 -
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3316 -s 20883⤵
- Program crash
PID:4924
-
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3316 -ip 33161⤵PID:1588
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\b5a3eb26f3d7532eba91ea8122d8045e.exe.log
Filesize1KB
MD517573558c4e714f606f997e5157afaac
SHA113e16e9415ceef429aaf124139671ebeca09ed23
SHA256c18db6aecad2436da4a63ff26af4e3a337cca48f01c21b8db494fe5ccc60e553
SHA512f4edf13f05a0d142e4dd42802098c8c44988ee8869621a62c2b565a77c9a95857f636583ff8d6d9baa366603d98b9bfbf1fc75bc6f9f8f83c80cb1215b2941cc