Analysis
- max time kernel
149s - max time network
150s - platform
windows10-2004_x64 - resource
win10v2004-20240611-en - resource tags
arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system - submitted
14/06/2024, 01:49
Static task
static1
Behavioral task
behavioral1
Sample
317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe
Resource
win10v2004-20240611-en
General
- Target 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe
- Size 2.0MB
- Sample240614-b812bsvbkr
- SHA256 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143
- MD5 de1cb9c14b17d981f51d6d0663adecd5
- SHA1 1885982405f830af6786054f11d008e4e0331fff
- SHA512 6211fd80df47c7a4274b16f5bf3bc467ee6c1fcf1435a2d2728decfb05e261de09172c2d2c86cbaf35cde50f6a5af1d55b277239d89ffe75d104a4602be314dd
- SSDEEP 24576:vt7UwoaIZYpy1029NDSDBsDYNy7IwfQk3Jzf:NUFfcyWgPDYLYJzf
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
Protocol
smtp
-
Host
mail.pishgamsanaat.com
-
Port
587
-
Username
-
Password
Pishgam123456
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" 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe = "0" 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.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 3412 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-4204450073-1267028356-951339405-1000\Control Panel\International\Geo\Nation 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe -
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe = "0" 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4204450073-1267028356-951339405-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\IPYlgv = "C:\\Users\\Admin\\AppData\\Local\\Temp\\IPYlgv\\IPYlgv.exe" regsvcs.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.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 22 api.ipify.org 23 api.ipify.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 684 set thread context of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 3412 powershell.exe 3412 powershell.exe 3652 regsvcs.exe 3652 regsvcs.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 3412 powershell.exe Token: SeDebugPrivilege 3652 regsvcs.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3652 regsvcs.exe - Suspicious use of WriteProcessMemory 22 IoCs
description pid Process procid_target PID 684 wrote to memory of 3412 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 87 PID 684 wrote to memory of 3412 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 87 PID 684 wrote to memory of 752 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 89 PID 684 wrote to memory of 752 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 89 PID 684 wrote to memory of 752 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 89 PID 684 wrote to memory of 4820 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 90 PID 684 wrote to memory of 4820 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 90 PID 684 wrote to memory of 4820 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 90 PID 684 wrote to memory of 2592 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 91 PID 684 wrote to memory of 2592 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 91 PID 684 wrote to memory of 2592 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 91 PID 684 wrote to memory of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 PID 684 wrote to memory of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 PID 684 wrote to memory of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 PID 684 wrote to memory of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 PID 684 wrote to memory of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 PID 684 wrote to memory of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 PID 684 wrote to memory of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 PID 684 wrote to memory of 3652 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 92 PID 684 wrote to memory of 396 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 93 PID 684 wrote to memory of 396 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 93 PID 684 wrote to memory of 396 684 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe 93 - System policy modification 1 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe"C:\Users\Admin\AppData\Local\Temp\317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.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:684 -
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\317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe" -Force2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3412
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe"2⤵PID:752
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe"2⤵PID:4820
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"2⤵PID:2592
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe"2⤵
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
PID:3652
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe"2⤵PID:396
-
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_k5yzl5um.pgq.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512