Analysis
- max time kernel
147s - max time network
150s - 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:27
Static task
static1
Behavioral task
behavioral1
Sample
20230819211801.exe
Resource
win7-20240508-en
General
- Target 20230819211801.exe
- Size 2.0MB
- Sample240614-bt7kkatdkq
- SHA256 804c0e0a293e8e2a1aaba20121e7e1e2bc09e81aa1f6d09a2183376108c91194
- MD5 79a3cc8d01096cf736d6b9db031c8420
- SHA1 0796b9dee80c1553a2486e40de7854d47a6fb7b5
- SHA512 4414e9e9f7959f31ed402bdcb5936c0b1300a5f2fe405710b5f442bb9ff341c09b7a63cc6bd5d76b99a7173c75ba3799b70fcefbb124dc2e2c389a7e875e095c
- SSDEEP 12288:ntHb90dbWKYPZdVbkzXGaJct6Ucji6lDr0WeX4X7Un4Sm9XfS6gfDQz//XQu2/FB:nxB0dqKY2XT46U0DQBn4VqDQjPM/H
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.pmceg.com
-
Port
587
-
Username
-
Password
momenmohamed1234@
-
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" 20230819211801.exe -
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 20230819211801.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\20230819211801.exe = "0" 20230819211801.exe - Looks for VirtualBox Guest Additions in registry 2 TTPs 1 IoCs
description ioc Process Key opened \REGISTRY\MACHINE\SOFTWARE\Oracle\VirtualBox Guest Additions 20230819211801.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 4996 powershell.exe - Looks for VMWare Tools registry key 2 TTPs 1 IoCs
description ioc Process Key opened \REGISTRY\MACHINE\SOFTWARE\VMware, Inc.\VMware Tools 20230819211801.exe - Checks BIOS information in registry 2 TTPs 2 IoCs
BIOS information is often read in order to detect sandboxing environments.
description ioc Process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosVersion 20230819211801.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\VideoBiosVersion 20230819211801.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 20230819211801.exe -
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 20230819211801.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions 20230819211801.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\20230819211801.exe = "0" 20230819211801.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 20230819211801.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 20230819211801.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 2 api.ipify.org 5 ip-api.com - Maps connected drives based on registry 3 TTPs 2 IoCs
Disk information is often read in order to detect sandboxing environments.
description ioc Process Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\disk\Enum\0 20230819211801.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum 20230819211801.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4412 set thread context of 4520 4412 20230819211801.exe 87 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 4996 powershell.exe 4996 powershell.exe 4520 jsc.exe 4520 jsc.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 4412 20230819211801.exe Token: SeDebugPrivilege 4996 powershell.exe Token: SeDebugPrivilege 4520 jsc.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4520 jsc.exe - Suspicious use of WriteProcessMemory 13 IoCs
description pid Process procid_target PID 4412 wrote to memory of 4996 4412 20230819211801.exe 85 PID 4412 wrote to memory of 4996 4412 20230819211801.exe 85 PID 4412 wrote to memory of 4520 4412 20230819211801.exe 87 PID 4412 wrote to memory of 4520 4412 20230819211801.exe 87 PID 4412 wrote to memory of 4520 4412 20230819211801.exe 87 PID 4412 wrote to memory of 4520 4412 20230819211801.exe 87 PID 4412 wrote to memory of 4520 4412 20230819211801.exe 87 PID 4412 wrote to memory of 4520 4412 20230819211801.exe 87 PID 4412 wrote to memory of 4520 4412 20230819211801.exe 87 PID 4412 wrote to memory of 4520 4412 20230819211801.exe 87 PID 4412 wrote to memory of 3448 4412 20230819211801.exe 88 PID 4412 wrote to memory of 3448 4412 20230819211801.exe 88 PID 4412 wrote to memory of 3448 4412 20230819211801.exe 88 - System policy modification 1 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 20230819211801.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\20230819211801.exe"C:\Users\Admin\AppData\Local\Temp\20230819211801.exe"1⤵
- UAC bypass
- Windows security bypass
- Looks for VirtualBox Guest Additions in registry
- Looks for VMWare Tools registry key
- Checks BIOS information in registry
- Checks computer location settings
- Windows security modification
- Checks whether UAC is enabled
- Maps connected drives based on registry
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
- System policy modification
PID:4412 -
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\20230819211801.exe" -Force2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4996
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
PID:4520
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe"2⤵PID:3448
-
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Defense Evasion
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Impair Defenses
3Disable or Modify Tools
3Modify Registry
4Virtualization/Sandbox Evasion
2Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ryhpjzz4.cnk.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512