Analysis
- max time kernel
39s - max time network
49s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
11/06/2024, 01:07
Static task
static1
Behavioral task
behavioral1
Sample
2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe
Resource
win10v2004-20240508-en
General
- Target 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe
- Size 2.3MB
- Sample240611-bgl34aydnj
- SHA256 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3
- MD5 b9890866a619be0be275e63202134721
- SHA1 74009ac7aa4116fb2e11525852c9ef527a42fa92
- SHA512 dcfbf62a26d366d0c6320f3dd2bb55180cbf128208540386aa7e9141fd37e864058377d58f6a0f85cfd0e748a4e3e0ce0537de14520b119d3677b6f4f11b29ae
- SSDEEP 3072:19B20u4GahTx5IdGAmg1X7JFYG4wycB85GpaiDz6gvMa/rhgD0noB45WrXHmFkZ6:1
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.oserfech.eu
-
Port
587
-
Username
-
Password
Epicoffice@2024
-
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" 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe -
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe = "0" 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe - Detect packed .NET executables. Mostly AgentTeslaV4. 1 IoCs
resource yara_rule behavioral2/memory/5052-4-0x0000000000400000-0x0000000000444000-memory.dmp INDICATOR_EXE_Packed_GEN01 - Detects binaries (Windows and macOS) referencing many web browsers. Observed in information stealers. 1 IoCs
resource yara_rule behavioral2/memory/5052-4-0x0000000000400000-0x0000000000444000-memory.dmp INDICATOR_SUSPICIOUS_Binary_References_Browsers - Detects executables packed with or use KoiVM 1 IoCs
resource yara_rule behavioral2/memory/4940-3-0x000001B035CA0000-0x000001B035D36000-memory.dmp INDICATOR_EXE_Packed_KoiVM - Detects executables referencing Windows vault credential objects. Observed in infostealers 1 IoCs
resource yara_rule behavioral2/memory/5052-4-0x0000000000400000-0x0000000000444000-memory.dmp INDICATOR_SUSPICIOUS_EXE_VaultSchemaGUID - Detects executables referencing many confidential data stores found in browsers, mail clients, cryptocurreny wallets, etc. Observed in information stealers 1 IoCs
resource yara_rule behavioral2/memory/5052-4-0x0000000000400000-0x0000000000444000-memory.dmp INDICATOR_SUSPICIOUS_EXE_References_Confidential_Data_Store - Detects executables referencing many email and collaboration clients. Observed in information stealers 1 IoCs
resource yara_rule behavioral2/memory/5052-4-0x0000000000400000-0x0000000000444000-memory.dmp INDICATOR_SUSPICIOUS_EXE_References_Messaging_Clients - Detects executables referencing many file transfer clients. Observed in information stealers 1 IoCs
resource yara_rule behavioral2/memory/5052-4-0x0000000000400000-0x0000000000444000-memory.dmp INDICATOR_SUSPICIOUS_EXE_Referenfces_File_Transfer_Clients - 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 4364 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 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe -
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe = "0" 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.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\plQRnonsft = "C:\\Users\\Admin\\AppData\\Roaming\\plQRnonsft\\plQRnonsft.exe" CasPol.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.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 4940 set thread context of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 4364 powershell.exe 4364 powershell.exe 5052 CasPol.exe 5052 CasPol.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 4364 powershell.exe Token: SeDebugPrivilege 5052 CasPol.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 5052 CasPol.exe - Suspicious use of WriteProcessMemory 13 IoCs
description pid Process procid_target PID 4940 wrote to memory of 4364 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 85 PID 4940 wrote to memory of 4364 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 85 PID 4940 wrote to memory of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 PID 4940 wrote to memory of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 PID 4940 wrote to memory of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 PID 4940 wrote to memory of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 PID 4940 wrote to memory of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 PID 4940 wrote to memory of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 PID 4940 wrote to memory of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 PID 4940 wrote to memory of 5052 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 87 PID 4940 wrote to memory of 464 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 88 PID 4940 wrote to memory of 464 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe 88 PID 4940 wrote to memory of 464 4940 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.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" 2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe"C:\Users\Admin\AppData\Local\Temp\2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.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:4940 -
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\2a34fdbd85ede8fa71f6c5133c3b38ce86334a0ec30cec9081b7b5d33cb6edf3.exe" -Force2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4364
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.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\CasPol.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"2⤵PID:464
-
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_qf3i0ju1.jhn.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512