Analysis
-
max time kernel
67s -
max time network
54s -
platform
windows10-2004_x64 -
resource
win10v2004-20240419-en -
resource tags
arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system -
submitted
28-04-2024 01:40
Static task
static1
Behavioral task
behavioral1
Sample
Invoice.exe
Resource
win7-20240419-en
Behavioral task
behavioral2
Sample
Invoice.exe
Resource
win10v2004-20240419-en
General
-
Target
Invoice.exe
-
Size
822KB
-
MD5
df0a67f2a0c162c5a5dee0a8fcd8ab22
-
SHA1
07981693f5b38fa99a88aca0e13ba5b6022b1465
-
SHA256
e62255f98543e0bb1abf017af13fd483e1382158021b7edde65fa55c1ad290cf
-
SHA512
b62ea9a4710dfc855cfd47f2c0cb8787c9ea6b1159387431d1cc70b5989dd59086aaadd62e42fea9b21d28834b6ece20dc1715245762d026e48e315544529f75
-
SSDEEP
12288:zPqnHvjNIrpf9rN/mc/CQw5PXdFPemY3kI26WE+34DO2IOxzV2SYm9nEix9H82rF:zyPjKr5BNDuXvfY0RfmIkzLNP5rJ
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.
-
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
Invoice.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\Control Panel\International\Geo\Nation Invoice.exe -
Reads data files stored by FTP clients 2 TTPs
Tries to access configuration files associated with programs like FileZilla.
-
Reads user/profile data of local email clients 2 TTPs
Email clients store some user data on disk where infostealers will often target it.
-
Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
-
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
Invoice.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\BjTxJte = "C:\\Users\\Admin\\AppData\\Roaming\\BjTxJte\\BjTxJte.exe" Invoice.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.
Processes:
flow ioc 5 api.ipify.org -
Suspicious use of SetThreadContext 1 IoCs
Processes:
Invoice.exedescription pid process target process PID 2720 set thread context of 2648 2720 Invoice.exe Invoice.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
-
Suspicious behavior: EnumeratesProcesses 8 IoCs
Processes:
powershell.exepowershell.exeInvoice.exeInvoice.exepid process 412 powershell.exe 2308 powershell.exe 2720 Invoice.exe 2720 Invoice.exe 2648 Invoice.exe 2648 Invoice.exe 412 powershell.exe 2308 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
Processes:
powershell.exepowershell.exeInvoice.exeInvoice.exedescription pid process Token: SeDebugPrivilege 412 powershell.exe Token: SeDebugPrivilege 2308 powershell.exe Token: SeDebugPrivilege 2720 Invoice.exe Token: SeDebugPrivilege 2648 Invoice.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
Invoice.exepid process 2648 Invoice.exe -
Suspicious use of WriteProcessMemory 20 IoCs
Processes:
Invoice.exedescription pid process target process PID 2720 wrote to memory of 2308 2720 Invoice.exe powershell.exe PID 2720 wrote to memory of 2308 2720 Invoice.exe powershell.exe PID 2720 wrote to memory of 2308 2720 Invoice.exe powershell.exe PID 2720 wrote to memory of 412 2720 Invoice.exe powershell.exe PID 2720 wrote to memory of 412 2720 Invoice.exe powershell.exe PID 2720 wrote to memory of 412 2720 Invoice.exe powershell.exe PID 2720 wrote to memory of 5068 2720 Invoice.exe schtasks.exe PID 2720 wrote to memory of 5068 2720 Invoice.exe schtasks.exe PID 2720 wrote to memory of 5068 2720 Invoice.exe schtasks.exe PID 2720 wrote to memory of 3316 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 3316 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 3316 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 2648 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 2648 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 2648 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 2648 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 2648 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 2648 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 2648 2720 Invoice.exe Invoice.exe PID 2720 wrote to memory of 2648 2720 Invoice.exe Invoice.exe
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
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2720 -
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⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2308 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\kaJNzBnxbXm.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:412 -
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\kaJNzBnxbXm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7148.tmp"2⤵
- Creates scheduled task(s)
PID:5068 -
C:\Users\Admin\AppData\Local\Temp\Invoice.exe"C:\Users\Admin\AppData\Local\Temp\Invoice.exe"2⤵PID:3316
-
C:\Users\Admin\AppData\Local\Temp\Invoice.exe"C:\Users\Admin\AppData\Local\Temp\Invoice.exe"2⤵
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
PID:2648
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
2KB
MD5968cb9309758126772781b83adb8a28f
SHA18da30e71accf186b2ba11da1797cf67f8f78b47c
SHA25692099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
SHA5124bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3
-
Filesize
18KB
MD5e56a8f8afd321ed13fa32e751ddc8ccc
SHA1bf98cff3f8eed8fd68bebcdb3c01033243c16ca6
SHA25606b51ec753afe402309b95ced90633432bde9b5de4eca61f1e451f7bf7c56c92
SHA512a892454c58e4110a7eb8bbd77203076fc2bbd0934e3d548e84c6e3ddd7daef8b59901ee8f05bbe54948a7ddf79384facec4027255f22d64383a735edfc6268ea
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
1KB
MD50cc253a844c8489756f6e488b797ede6
SHA1b788b7f2e063e13303d64f72160dd1fd82e13b8b
SHA256086990785f0b04cf77a2e26d8fe3851c2c4054e73dfca6d6fae55a70b372791a
SHA512be64539ba4b57f6c94ea089112762b56cc5d960eecaae7f3e0bb2fb337d2bb209a257ff10989dcb4b86711e77c6a2d5772147d22d3302a351203d922f48a3575