Analysis
-
max time kernel
150s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
16-01-2025 07:09
Static task
static1
Behavioral task
behavioral1
Sample
Invoice.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
Invoice.exe
Resource
win10v2004-20241007-en
General
-
Target
Invoice.exe
-
Size
879KB
-
MD5
985e5f26d1a0c32333e93dc4894d3356
-
SHA1
9b0f06f9af058102076eba60dd2c3f2e10881f20
-
SHA256
24ce2be70ffbceba0067972a154cba571866cbeca67e2132bc01352f46acd9b6
-
SHA512
c4336bb45a3650b83f23dcf56e4fad54e21bbff11fe2c94611d3c47c9b13708e5d27ab0fb4f662f6fd91e0ab0ae4981485d97bca74d3a7e2b0d5df06ae8e783c
-
SSDEEP
12288:FSIJRAyGTyWXV7OvWaH5vQ4X1Uq/bYtYhygq/tKiSUUbziZf6GGT:pJRAhxOvW45llJYtYha/tKXVF
Malware Config
Extracted
agenttesla
Protocol: smtp- Host:
mail.starmech.net - Port:
587 - Username:
[email protected] - Password:
nics123 - Email To:
[email protected]
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
Agenttesla family
-
Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 5048 powershell.exe 3304 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-2045521122-590294423-3465680274-1000\Control Panel\International\Geo\Nation Invoice.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\BjTxJte = "C:\\Users\\Admin\\AppData\\Roaming\\BjTxJte\\BjTxJte.exe" RegSvcs.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 15 api.ipify.org 16 api.ipify.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1512 set thread context of 3692 1512 Invoice.exe 94 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 5 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Invoice.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language RegSvcs.exe -
Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1004 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 1512 Invoice.exe 5048 powershell.exe 3304 powershell.exe 1512 Invoice.exe 3692 RegSvcs.exe 3692 RegSvcs.exe 3304 powershell.exe 5048 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 1512 Invoice.exe Token: SeDebugPrivilege 3304 powershell.exe Token: SeDebugPrivilege 5048 powershell.exe Token: SeDebugPrivilege 3692 RegSvcs.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3692 RegSvcs.exe -
Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 1512 wrote to memory of 3304 1512 Invoice.exe 85 PID 1512 wrote to memory of 3304 1512 Invoice.exe 85 PID 1512 wrote to memory of 3304 1512 Invoice.exe 85 PID 1512 wrote to memory of 5048 1512 Invoice.exe 88 PID 1512 wrote to memory of 5048 1512 Invoice.exe 88 PID 1512 wrote to memory of 5048 1512 Invoice.exe 88 PID 1512 wrote to memory of 1004 1512 Invoice.exe 90 PID 1512 wrote to memory of 1004 1512 Invoice.exe 90 PID 1512 wrote to memory of 1004 1512 Invoice.exe 90 PID 1512 wrote to memory of 3692 1512 Invoice.exe 94 PID 1512 wrote to memory of 3692 1512 Invoice.exe 94 PID 1512 wrote to memory of 3692 1512 Invoice.exe 94 PID 1512 wrote to memory of 3692 1512 Invoice.exe 94 PID 1512 wrote to memory of 3692 1512 Invoice.exe 94 PID 1512 wrote to memory of 3692 1512 Invoice.exe 94 PID 1512 wrote to memory of 3692 1512 Invoice.exe 94 PID 1512 wrote to memory of 3692 1512 Invoice.exe 94
Processes
-
C:\Users\Admin\AppData\Local\Temp\Invoice.exe"C:\Users\Admin\AppData\Local\Temp\Invoice.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1512 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\Invoice.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3304
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\SCyydlPz.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5048
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\SCyydlPz" /XML "C:\Users\Admin\AppData\Local\Temp\tmpF83B.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:1004
-
-
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
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
PID:3692
-
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Scheduled Task
1Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Scheduled Task
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
2KB
MD5968cb9309758126772781b83adb8a28f
SHA18da30e71accf186b2ba11da1797cf67f8f78b47c
SHA25692099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
SHA5124bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3
-
Filesize
18KB
MD5a38231272f20195c5be7b51e6c4d9fac
SHA1df05445c72f462d4259820d7ff068aa0e20efbbb
SHA25637d00fe1ab23a9333c49ea6975ceb55163205f9e248d14799db995d1bdc4dde8
SHA512ee51f61967ac441f41ac937bc277f5ee5eb90930c47427ec21f203471eceead013781731edcd897c870619030de48e7287e1d58b2fe32a0c7085768945dd80ad
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
1KB
MD509ac2d8c02b39f99d5ef8f05984112d2
SHA1ff95579625c06f868b08d58b6940095214929441
SHA2562b8f162b3e0ab3c40119e2fc52af1edb30b36f9139a0b948c9a7589a1ed8f2b8
SHA5122c128a2513b6bea0f86a8bc98631af467581f6b0a6cc0bd52b39532268f5e891267430aeaf7914f56dcf3986dff49746c0f3ea12e1fa0bbb759d8dca65829375