Analysis
- max time kernel
91s - max time network
120s - platform
windows10-2004_x64 - resource
win10v2004-20220901-en - resource tags
arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system - submitted
22/11/2022, 14:42
Static task
static1
Behavioral task
behavioral1
Sample
XBH2wJXWhhezh1n.exe
Resource
win7-20221111-en
12 signatures
150 seconds
Behavioral task
behavioral2
Sample
XBH2wJXWhhezh1n.exe
Resource
win10v2004-20220901-en
13 signatures
150 seconds
General
- Target XBH2wJXWhhezh1n.exe
- Size 1.0MB
- Sample221122-r21d8abb4s
- SHA256 2980f607058a2ba908559bdedbbd019edd4b52377e5f884d36a62bf9aac8be00
- MD5 895ebaf32f2cf5f84f9cfecf203c9d33
- SHA1 2aaccc31c06a2b025b6cf755c6bae0a385568398
- SHA512 6475d02fee2b7721973383ff19ae8f1f085de1c11cab453110678af35cf8ebf58e014e42190e3d778f20b8d9875c451ad9ca323ed4f1e261cf81f7d9f2f60334
- SSDEEP 24576:I1u5qdO0LY5A23/vuY0l+2qSf/DEeA+ZeCK:IoqdO0m9T9C/7Ze
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
agenttesla
C2
-
https://api.telegram.org/bot5453942321:AAF6CS9julQ6K7s5pxacNALwWJ2A52D0EC4/
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- 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-929662420-1054238289-2961194603-1000\Control Panel\International\Geo\Nation XBH2wJXWhhezh1n.exe - Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 MSBuild.exe Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 MSBuild.exe Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 MSBuild.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MYAPP = "C:\\Users\\Admin\\AppData\\Roaming\\MYAPP\\MYAPP.exe" MSBuild.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 36 api.ipify.org 37 api.ipify.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1808 set thread context of 3564 1808 XBH2wJXWhhezh1n.exe 92 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1232 schtasks.exe - Suspicious behavior: EnumeratesProcesses 7 IoCs
pid Process 1808 XBH2wJXWhhezh1n.exe 1808 XBH2wJXWhhezh1n.exe 4268 powershell.exe 4268 powershell.exe 3564 MSBuild.exe 3564 MSBuild.exe 3564 MSBuild.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 1808 XBH2wJXWhhezh1n.exe Token: SeDebugPrivilege 4268 powershell.exe Token: SeDebugPrivilege 3564 MSBuild.exe - Suspicious use of WriteProcessMemory 14 IoCs
description pid Process procid_target PID 1808 wrote to memory of 4268 1808 XBH2wJXWhhezh1n.exe 88 PID 1808 wrote to memory of 4268 1808 XBH2wJXWhhezh1n.exe 88 PID 1808 wrote to memory of 4268 1808 XBH2wJXWhhezh1n.exe 88 PID 1808 wrote to memory of 1232 1808 XBH2wJXWhhezh1n.exe 90 PID 1808 wrote to memory of 1232 1808 XBH2wJXWhhezh1n.exe 90 PID 1808 wrote to memory of 1232 1808 XBH2wJXWhhezh1n.exe 90 PID 1808 wrote to memory of 3564 1808 XBH2wJXWhhezh1n.exe 92 PID 1808 wrote to memory of 3564 1808 XBH2wJXWhhezh1n.exe 92 PID 1808 wrote to memory of 3564 1808 XBH2wJXWhhezh1n.exe 92 PID 1808 wrote to memory of 3564 1808 XBH2wJXWhhezh1n.exe 92 PID 1808 wrote to memory of 3564 1808 XBH2wJXWhhezh1n.exe 92 PID 1808 wrote to memory of 3564 1808 XBH2wJXWhhezh1n.exe 92 PID 1808 wrote to memory of 3564 1808 XBH2wJXWhhezh1n.exe 92 PID 1808 wrote to memory of 3564 1808 XBH2wJXWhhezh1n.exe 92 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 MSBuild.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 MSBuild.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\XBH2wJXWhhezh1n.exe"C:\Users\Admin\AppData\Local\Temp\XBH2wJXWhhezh1n.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1808 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\lWjWWmgm.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4268
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\lWjWWmgm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6D02.tmp"2⤵
- Creates scheduled task(s)
PID:1232
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"2⤵
- Accesses Microsoft Outlook profiles
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:3564
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\tmp6D02.tmp
- Size 1KB
- SHA256 196f20ff0f632fa405ae6922314c1e1b57751cfdf0d7dd811e68b36d1816c885
- MD5 40406cf5e273d353a2e7b0abe9112bb0
- SHA1 a60e9a9e2aadb9c17e58e5dcf616ba068a297dc2
- SHA512 3e568f055cab5a522873c00bdfab4dfff11dc137517205cc21b9fb8a05d43e4ef0bd9d7a73de520cd632ba1de8cd37a758e046a9ba409b945a9ef8c387184ede
- MD5 SHA1 SHA512