Analysis
- max time kernel
147s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
14/06/2024, 01:49
Static task
static1
Behavioral task
behavioral1
Sample
039209293829.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
039209293829.exe
Resource
win10v2004-20240508-en
General
- Target 039209293829.exe
- Size 2.0MB
- Sample240614-b82ymavblj
- SHA256 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143
- MD5 de1cb9c14b17d981f51d6d0663adecd5
- SHA1 1885982405f830af6786054f11d008e4e0331fff
- SHA512 6211fd80df47c7a4274b16f5bf3bc467ee6c1fcf1435a2d2728decfb05e261de09172c2d2c86cbaf35cde50f6a5af1d55b277239d89ffe75d104a4602be314dd
- SSDEEP 24576:vt7UwoaIZYpy1029NDSDBsDYNy7IwfQk3Jzf:NUFfcyWgPDYLYJzf
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.pishgamsanaat.com
-
Port
587
-
Username
-
Password
Pishgam123456
-
Email to
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 039209293829.exe -
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 039209293829.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\039209293829.exe = "0" 039209293829.exe - Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 2884 powershell.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-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation 039209293829.exe -
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 039209293829.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions 039209293829.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\039209293829.exe = "0" 039209293829.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\IPYlgv = "C:\\Users\\Admin\\AppData\\Local\\Temp\\IPYlgv\\IPYlgv.exe" AddInProcess32.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 039209293829.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 039209293829.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 2 api.ipify.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1332 set thread context of 5052 1332 039209293829.exe 88 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 2884 powershell.exe 2884 powershell.exe 5052 AddInProcess32.exe 5052 AddInProcess32.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 2884 powershell.exe Token: SeDebugPrivilege 5052 AddInProcess32.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 5052 AddInProcess32.exe - Suspicious use of WriteProcessMemory 13 IoCs
description pid Process procid_target PID 1332 wrote to memory of 2884 1332 039209293829.exe 86 PID 1332 wrote to memory of 2884 1332 039209293829.exe 86 PID 1332 wrote to memory of 5052 1332 039209293829.exe 88 PID 1332 wrote to memory of 5052 1332 039209293829.exe 88 PID 1332 wrote to memory of 5052 1332 039209293829.exe 88 PID 1332 wrote to memory of 5052 1332 039209293829.exe 88 PID 1332 wrote to memory of 5052 1332 039209293829.exe 88 PID 1332 wrote to memory of 5052 1332 039209293829.exe 88 PID 1332 wrote to memory of 5052 1332 039209293829.exe 88 PID 1332 wrote to memory of 5052 1332 039209293829.exe 88 PID 1332 wrote to memory of 4040 1332 039209293829.exe 89 PID 1332 wrote to memory of 4040 1332 039209293829.exe 89 PID 1332 wrote to memory of 4040 1332 039209293829.exe 89 - System policy modification 1 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 039209293829.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\039209293829.exe"C:\Users\Admin\AppData\Local\Temp\039209293829.exe"1⤵
- UAC bypass
- Windows security bypass
- Checks computer location settings
- Windows security modification
- Checks whether UAC is enabled
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
- System policy modification
PID:1332 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\039209293829.exe" -Force2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2884
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"2⤵
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
PID:5052
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"2⤵PID:4040
-
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vtgljdtt.nyw.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512