Analysis
- max time kernel
179s - max time network
187s - platform
windows10-2004_x64 - resource
win10v2004-20220331-en - submitted
13/04/2022, 19:23
Static task
static1
Behavioral task
behavioral1
Sample
TeY.exe
Resource
win7-20220331-en
0 signatures
0 seconds
Behavioral task
behavioral2
Sample
TeY.exe
Resource
win10v2004-20220331-en
0 signatures
0 seconds
General
- Target TeY.exe
- Size 892KB
- Sample220413-x3scwsfchm
- SHA256 1ddb92cc0e9a6532ea09e16faa170fc14247677b8127b46a495c28f02ed922b0
- MD5 dec5a480e8bd4d163c53f69cc6221068
- SHA1 878e86848692910b119adca02a195dddc7155d48
- SHA512 47bcdc7e61178947222cafdf671af173dea4b80d7f467ed8fdbfd2e5a086d1fa603ae925af738c111105b6522715176242841d3fd9c167de5bca06d2579c75c9
- MD5 SHA1 SHA512
Malware Config
Extracted
Family
-
agenttesla
C2
-
https://api.telegram.org/bot5160342877:AAG7aI_cOY3UzpErIEUdfVUJMJszvGYLIiI/sendDocument
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- AgentTesla Payload 1 IoCs
resource yara_rule behavioral2/memory/1704-137-0x0000000000400000-0x000000000043C000-memory.dmp family_agenttesla - Drops file in Drivers directory 1 IoCs
description ioc Process File opened for modification C:\Windows\system32\drivers\etc\hosts RegSvcs.exe - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-157025953-3125636059-437143553-1000\Control Panel\International\Geo\Nation TeY.exe - Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-157025953-3125636059-437143553-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe Key opened \REGISTRY\USER\S-1-5-21-157025953-3125636059-437143553-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe Key opened \REGISTRY\USER\S-1-5-21-157025953-3125636059-437143553-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-157025953-3125636059-437143553-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\NXLun = "C:\\Users\\Admin\\AppData\\Roaming\\NXLun\\NXLun.exe" RegSvcs.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2472 set thread context of 1704 2472 TeY.exe 87 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 5016 schtasks.exe - Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 2472 TeY.exe 2472 TeY.exe 2472 TeY.exe 2472 TeY.exe 212 powershell.exe 1704 RegSvcs.exe 1704 RegSvcs.exe 212 powershell.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2472 TeY.exe Token: SeDebugPrivilege 212 powershell.exe Token: SeDebugPrivilege 1704 RegSvcs.exe - Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 2472 wrote to memory of 212 2472 TeY.exe 82 PID 2472 wrote to memory of 212 2472 TeY.exe 82 PID 2472 wrote to memory of 212 2472 TeY.exe 82 PID 2472 wrote to memory of 5016 2472 TeY.exe 84 PID 2472 wrote to memory of 5016 2472 TeY.exe 84 PID 2472 wrote to memory of 5016 2472 TeY.exe 84 PID 2472 wrote to memory of 2292 2472 TeY.exe 86 PID 2472 wrote to memory of 2292 2472 TeY.exe 86 PID 2472 wrote to memory of 2292 2472 TeY.exe 86 PID 2472 wrote to memory of 1704 2472 TeY.exe 87 PID 2472 wrote to memory of 1704 2472 TeY.exe 87 PID 2472 wrote to memory of 1704 2472 TeY.exe 87 PID 2472 wrote to memory of 1704 2472 TeY.exe 87 PID 2472 wrote to memory of 1704 2472 TeY.exe 87 PID 2472 wrote to memory of 1704 2472 TeY.exe 87 PID 2472 wrote to memory of 1704 2472 TeY.exe 87 PID 2472 wrote to memory of 1704 2472 TeY.exe 87 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-157025953-3125636059-437143553-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-157025953-3125636059-437143553-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\TeY.exe"C:\Users\Admin\AppData\Local\Temp\TeY.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2472 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\XDezJGqbcG.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:212
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\XDezJGqbcG" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB6EC.tmp"2⤵
- Creates scheduled task(s)
PID:5016
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"2⤵PID:2292
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"2⤵
- Drops file in Drivers directory
- Accesses Microsoft Outlook profiles
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:1704
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\tmpB6EC.tmp
- Size 1KB
- SHA256 d43e7b2997b554ee301c825cb12a46a5b37b8361aab1c6290602f690e479a704
- MD5 d92a35ec34034f4c87bc2f491555a71a
- SHA1 a18230ef6deb65e4bab4acffb72e5451e8afe4e9
- SHA512 b1c7a62b2b49b50fb7a3c2411e7d8e3363accd0724270b77470f0ea6a37d36d5af3ef47ed50cf8e8c45c6eb923e85e9729ce668511ace1ff595733c3049a23a5
- MD5 SHA1 SHA512