Windows 7 deprecation
Windows 7 will be removed from tria.ge on 2025-03-31
Analysis
-
max time kernel
117s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20231215-en -
resource tags
arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system -
submitted
13/02/2024, 02:24
Static task
static1
Behavioral task
behavioral1
Sample
Ynstr.exe
Resource
win7-20231215-en
Behavioral task
behavioral2
Sample
Ynstr.exe
Resource
win10v2004-20231215-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/2204-1-0x0000000001060000-0x0000000001118000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-3-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-6-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-4-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-8-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-10-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-12-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-14-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-16-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-20-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-18-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-26-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-28-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-30-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-32-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-24-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-22-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-34-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-36-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-40-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-46-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-50-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-60-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-66-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-64-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-62-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-58-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-56-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-54-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-52-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-48-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-44-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-42-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 behavioral1/memory/2204-38-0x0000000001060000-0x0000000001112000-memory.dmp family_zgrat_v1 -
Detect packed .NET executables. Mostly AgentTeslaV4. 2 IoCs
resource yara_rule behavioral1/memory/2276-1138-0x0000000000400000-0x0000000000442000-memory.dmp INDICATOR_EXE_Packed_GEN01 behavioral1/memory/2276-1143-0x0000000001250000-0x0000000001290000-memory.dmp INDICATOR_EXE_Packed_GEN01 -
Detects binaries (Windows and macOS) referencing many web browsers. Observed in information stealers. 2 IoCs
resource yara_rule behavioral1/memory/2276-1138-0x0000000000400000-0x0000000000442000-memory.dmp INDICATOR_SUSPICIOUS_Binary_References_Browsers behavioral1/memory/2276-1143-0x0000000001250000-0x0000000001290000-memory.dmp INDICATOR_SUSPICIOUS_Binary_References_Browsers -
Detects executables referencing Windows vault credential objects. Observed in infostealers 2 IoCs
resource yara_rule behavioral1/memory/2276-1138-0x0000000000400000-0x0000000000442000-memory.dmp INDICATOR_SUSPICIOUS_EXE_VaultSchemaGUID behavioral1/memory/2276-1143-0x0000000001250000-0x0000000001290000-memory.dmp INDICATOR_SUSPICIOUS_EXE_VaultSchemaGUID -
Detects executables referencing many confidential data stores found in browsers, mail clients, cryptocurreny wallets, etc. Observed in information stealers 2 IoCs
resource yara_rule behavioral1/memory/2276-1138-0x0000000000400000-0x0000000000442000-memory.dmp INDICATOR_SUSPICIOUS_EXE_References_Confidential_Data_Store behavioral1/memory/2276-1143-0x0000000001250000-0x0000000001290000-memory.dmp INDICATOR_SUSPICIOUS_EXE_References_Confidential_Data_Store -
Detects executables referencing many email and collaboration clients. Observed in information stealers 2 IoCs
resource yara_rule behavioral1/memory/2276-1138-0x0000000000400000-0x0000000000442000-memory.dmp INDICATOR_SUSPICIOUS_EXE_References_Messaging_Clients behavioral1/memory/2276-1143-0x0000000001250000-0x0000000001290000-memory.dmp INDICATOR_SUSPICIOUS_EXE_References_Messaging_Clients -
Detects executables referencing many file transfer clients. Observed in information stealers 2 IoCs
resource yara_rule behavioral1/memory/2276-1138-0x0000000000400000-0x0000000000442000-memory.dmp INDICATOR_SUSPICIOUS_EXE_Referenfces_File_Transfer_Clients behavioral1/memory/2276-1143-0x0000000001250000-0x0000000001290000-memory.dmp INDICATOR_SUSPICIOUS_EXE_Referenfces_File_Transfer_Clients -
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-3818056530-936619650-3554021955-1000\Software\Microsoft\Windows\CurrentVersion\Run\sBRfm = "C:\\Users\\Admin\\AppData\\Roaming\\sBRfm\\sBRfm.exe" Ynstr.exe Set value (str) \REGISTRY\USER\S-1-5-21-3818056530-936619650-3554021955-1000\Software\Microsoft\Windows\CurrentVersion\Run\Mtwbsyxsy = "C:\\Users\\Admin\\AppData\\Roaming\\Mtwbsyxsy.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 5 api.ipify.org 4 api.ipify.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2204 set thread context of 2276 2204 Ynstr.exe 28 -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 2276 Ynstr.exe 2276 Ynstr.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 2204 Ynstr.exe Token: SeDebugPrivilege 2276 Ynstr.exe -
Suspicious use of WriteProcessMemory 9 IoCs
description pid Process procid_target PID 2204 wrote to memory of 2276 2204 Ynstr.exe 28 PID 2204 wrote to memory of 2276 2204 Ynstr.exe 28 PID 2204 wrote to memory of 2276 2204 Ynstr.exe 28 PID 2204 wrote to memory of 2276 2204 Ynstr.exe 28 PID 2204 wrote to memory of 2276 2204 Ynstr.exe 28 PID 2204 wrote to memory of 2276 2204 Ynstr.exe 28 PID 2204 wrote to memory of 2276 2204 Ynstr.exe 28 PID 2204 wrote to memory of 2276 2204 Ynstr.exe 28 PID 2204 wrote to memory of 2276 2204 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:2204 -
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:2276
-