Analysis
- max time kernel
120s - max time network
123s - platform
windows7_x64 - resource
win7-20231215-en - resource tags
arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system - submitted
12/02/2024, 12:02
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
Ynstr.exe
Resource
win7-20231215-en
12 signatures
150 seconds
Behavioral task
behavioral2
Sample
Ynstr.exe
Resource
win10v2004-20231215-en
12 signatures
150 seconds
General
- Target Ynstr.exe
- Size 718KB
- Sample240212-n7fefsed98
- SHA256 f2a3d321b3fbb2d3be23e5416a82b92d9aa73c3573ef0630d0570483ced8a731
- MD5 43a00ef10637139c060f1139df3b9cc1
- SHA1 f717df8434925d25e03512c91385bc528576339e
- SHA512 19c9ea8f334c2ff21ae39339e94603f7245feb67784d22ab551c809d8d7dd364941b18c8e649476b9a260d89f8005ba9ebb5b9baf401327ef6c6a44c33602bbc
- SSDEEP 12288:RCcj8EhT1GrAjbadQSIVCXfUWQBZoeAfeDlV25x3nGxYcBa8k:Icj8EzCdQSIkXsWQE4lV259Gx
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
agenttesla
Credentials
-
Protocol
smtp
-
Host
mail.emulines.biz
-
Port
587
-
Username
-
Password
7FZLGL7DTG0F
-
Email to
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- Detect ZGRat V1 35 IoCs
resource yara_rule behavioral1/memory/1992-1-0x0000000004290000-0x0000000004348000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-3-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-4-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-6-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-8-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-10-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-12-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-16-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-14-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-18-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-22-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-20-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-24-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-26-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-28-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-34-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-32-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-30-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-36-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-38-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-40-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-42-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-44-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-46-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-48-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-50-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-52-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-54-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-56-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-58-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-60-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-62-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-66-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-64-0x0000000004290000-0x0000000004342000-memory.dmp family_zgrat_v1 behavioral1/memory/1992-1117-0x0000000000380000-0x00000000003C0000-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-3308111660-3636268597-2291490419-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-3308111660-3636268597-2291490419-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 1992 set thread context of 2220 1992 Ynstr.exe 29 - Suspicious behavior: EnumeratesProcesses 3 IoCs
pid Process 1992 Ynstr.exe 2220 Ynstr.exe 2220 Ynstr.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 1992 Ynstr.exe Token: SeDebugPrivilege 2220 Ynstr.exe - Suspicious use of WriteProcessMemory 13 IoCs
description pid Process procid_target PID 1992 wrote to memory of 2364 1992 Ynstr.exe 28 PID 1992 wrote to memory of 2364 1992 Ynstr.exe 28 PID 1992 wrote to memory of 2364 1992 Ynstr.exe 28 PID 1992 wrote to memory of 2364 1992 Ynstr.exe 28 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29 PID 1992 wrote to memory of 2220 1992 Ynstr.exe 29
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 behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1992 -
C:\Users\Admin\AppData\Local\Temp\Ynstr.exeC:\Users\Admin\AppData\Local\Temp\Ynstr.exe2⤵PID:2364
-
-
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:2220
-