Analysis
-
max time kernel
118s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20231215-en -
resource tags
arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system -
submitted
12/02/2024, 12:03
Static task
static1
Behavioral task
behavioral1
Sample
Ynstr.exe
Resource
win7-20231215-en
Behavioral task
behavioral2
Sample
Ynstr.exe
Resource
win10v2004-20231222-en
General
-
Target
Ynstr.exe
-
Size
718KB
-
MD5
43a00ef10637139c060f1139df3b9cc1
-
SHA1
f717df8434925d25e03512c91385bc528576339e
-
SHA256
f2a3d321b3fbb2d3be23e5416a82b92d9aa73c3573ef0630d0570483ced8a731
-
SHA512
19c9ea8f334c2ff21ae39339e94603f7245feb67784d22ab551c809d8d7dd364941b18c8e649476b9a260d89f8005ba9ebb5b9baf401327ef6c6a44c33602bbc
-
SSDEEP
12288:RCcj8EhT1GrAjbadQSIVCXfUWQBZoeAfeDlV25x3nGxYcBa8k:Icj8EzCdQSIkXsWQE4lV259Gx
Malware Config
Extracted
agenttesla
Protocol: smtp- Host:
mail.emulines.biz - Port:
587 - Username:
[email protected] - Password:
7FZLGL7DTG0F - Email To:
[email protected]
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
Detect ZGRat V1 34 IoCs
resource yara_rule behavioral1/memory/2000-2-0x0000000000A80000-0x0000000000B38000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-3-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-4-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-6-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-8-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-10-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-12-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-14-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-16-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-18-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-20-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-22-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-24-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-26-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-28-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-30-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-32-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-34-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-36-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-38-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-40-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-42-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-46-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-44-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-48-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-50-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-52-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-54-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-56-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-58-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-60-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-62-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-64-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 behavioral1/memory/2000-66-0x0000000000A80000-0x0000000000B32000-memory.dmp family_zgrat_v1 -
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.
-
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2444714103-3190537498-3629098939-1000\Software\Microsoft\Windows\CurrentVersion\Run\Mtwbsyxsy = "C:\\Users\\Admin\\AppData\\Roaming\\Mtwbsyxsy.exe" Ynstr.exe Set value (str) \REGISTRY\USER\S-1-5-21-2444714103-3190537498-3629098939-1000\Software\Microsoft\Windows\CurrentVersion\Run\sBRfm = "C:\\Users\\Admin\\AppData\\Roaming\\sBRfm\\sBRfm.exe" Ynstr.exe -
Looks up external IP address via web service 2 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 4 api.ipify.org 5 api.ipify.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2000 set thread context of 1724 2000 Ynstr.exe 28 -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 1724 Ynstr.exe 1724 Ynstr.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 2000 Ynstr.exe Token: SeDebugPrivilege 1724 Ynstr.exe -
Suspicious use of WriteProcessMemory 9 IoCs
description pid Process procid_target PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28 PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28 PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28 PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28 PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28 PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28 PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28 PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28 PID 2000 wrote to memory of 1724 2000 Ynstr.exe 28
Processes
-
C:\Users\Admin\AppData\Local\Temp\Ynstr.exe"C:\Users\Admin\AppData\Local\Temp\Ynstr.exe"1⤵
- Adds Run key to start application
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2000 -
C:\Users\Admin\AppData\Local\Temp\Ynstr.exeC:\Users\Admin\AppData\Local\Temp\Ynstr.exe2⤵
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1724
-