Analysis
-
max time kernel
134s -
max time network
141s -
platform
windows10-2004_x64 -
resource
win10v2004-20240426-en -
resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system -
submitted
22-05-2024 01:29
Static task
static1
Behavioral task
behavioral1
Sample
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe
Resource
win7-20240419-en
General
-
Target
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe
-
Size
677KB
-
MD5
b6edf1a9c6c7803003182ae065a93585
-
SHA1
fda610a9c5eae704581247442c005912d62cdc32
-
SHA256
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608
-
SHA512
4d2089cea95b1f45246b80a197c9ba16034006b796a13514cca0c8539322b7f513183601b92a69e48796e01ffbf5e23d59f5bfb27349299957773ab9853c3849
-
SSDEEP
12288:mI5ngiPVKgbIPKWez9UP/J7zdmXltfeLzxvXUBtHgYTomar:7nxK7PtAm/dzzLdv9Fr
Malware Config
Extracted
agenttesla
https://api.telegram.org/bot7168430181:AAE4XS0ePQeF2h4qrehtp2YVoyJ1LF1-SoQ/
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe -
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe = "0" 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe -
Looks for VirtualBox Guest Additions in registry 2 TTPs 1 IoCs
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Key opened \REGISTRY\MACHINE\SOFTWARE\Oracle\VirtualBox Guest Additions 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.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.
-
Looks for VMWare Tools registry key 2 TTPs 1 IoCs
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Key opened \REGISTRY\MACHINE\SOFTWARE\VMware, Inc.\VMware Tools 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe -
Checks BIOS information in registry 2 TTPs 2 IoCs
BIOS information is often read in order to detect sandboxing environments.
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosVersion 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\VideoBiosVersion 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-711569230-3659488422-571408806-1000\Control Panel\International\Geo\Nation 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe -
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe = "0" 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe -
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.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.
Processes:
flow ioc 24 api.ipify.org 25 api.ipify.org -
Maps connected drives based on registry 3 TTPs 2 IoCs
Disk information is often read in order to detect sandboxing environments.
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\disk\Enum\0 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription pid process target process PID 2536 set thread context of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious behavior: EnumeratesProcesses 4 IoCs
Processes:
powershell.exeCasPol.exepid process 412 powershell.exe 412 powershell.exe 556 CasPol.exe 556 CasPol.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
Processes:
powershell.exeCasPol.exedescription pid process Token: SeDebugPrivilege 412 powershell.exe Token: SeDebugPrivilege 556 CasPol.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
CasPol.exepid process 556 CasPol.exe -
Suspicious use of WriteProcessMemory 10 IoCs
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription pid process target process PID 2536 wrote to memory of 412 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe powershell.exe PID 2536 wrote to memory of 412 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe powershell.exe PID 2536 wrote to memory of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe PID 2536 wrote to memory of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe PID 2536 wrote to memory of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe PID 2536 wrote to memory of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe PID 2536 wrote to memory of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe PID 2536 wrote to memory of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe PID 2536 wrote to memory of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe PID 2536 wrote to memory of 556 2536 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe CasPol.exe -
System policy modification 1 TTPs 1 IoCs
Processes:
2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" 2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe"C:\Users\Admin\AppData\Local\Temp\2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.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 WriteProcessMemory
- System policy modification
-
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\2bb40a42d7233c024c932d9f837e5781fd561e265406c788380896786b3c1608.exe" -Force2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
Network
MITRE ATT&CK Matrix ATT&CK v13
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
-
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_m2s5gpze.f0s.ps1Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
memory/412-15-0x000002C9B6920000-0x000002C9B6942000-memory.dmpFilesize
136KB
-
memory/556-20-0x0000000005070000-0x00000000050D6000-memory.dmpFilesize
408KB
-
memory/556-19-0x00000000055B0000-0x0000000005B54000-memory.dmpFilesize
5.6MB
-
memory/556-28-0x0000000074E6E000-0x0000000074E6F000-memory.dmpFilesize
4KB
-
memory/556-27-0x0000000006630000-0x000000000663A000-memory.dmpFilesize
40KB
-
memory/556-26-0x00000000066A0000-0x0000000006732000-memory.dmpFilesize
584KB
-
memory/556-7-0x0000000000400000-0x0000000000444000-memory.dmpFilesize
272KB
-
memory/556-8-0x0000000074E6E000-0x0000000074E6F000-memory.dmpFilesize
4KB
-
memory/556-25-0x0000000006560000-0x00000000065FC000-memory.dmpFilesize
624KB
-
memory/556-24-0x0000000006470000-0x00000000064C0000-memory.dmpFilesize
320KB
-
memory/2536-3-0x000001D968CD0000-0x000001D968CEE000-memory.dmpFilesize
120KB
-
memory/2536-0-0x000001D966950000-0x000001D96696C000-memory.dmpFilesize
112KB
-
memory/2536-23-0x00007FFAE48B0000-0x00007FFAE5371000-memory.dmpFilesize
10.8MB
-
memory/2536-1-0x00007FFAE48B3000-0x00007FFAE48B5000-memory.dmpFilesize
8KB
-
memory/2536-2-0x000001D968D50000-0x000001D968DC6000-memory.dmpFilesize
472KB
-
memory/2536-6-0x000001D968E40000-0x000001D968ED6000-memory.dmpFilesize
600KB
-
memory/2536-5-0x000001D966D20000-0x000001D966D26000-memory.dmpFilesize
24KB
-
memory/2536-4-0x00007FFAE48B0000-0x00007FFAE5371000-memory.dmpFilesize
10.8MB