Analysis
-
max time kernel
117s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240419-en -
resource tags
arch:x64arch:x86image:win7-20240419-enlocale:en-usos:windows7-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:
electronics@starmech.net - Password:
nics123 - Email To:
godwingodwin397@gmail.com
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
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-481678230-3773327859-3495911762-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 2 api.ipify.org -
Suspicious use of SetThreadContext 1 IoCs
Processes:
Invoice.exedescription pid process target process PID 2172 set thread context of 2500 2172 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 6 IoCs
Processes:
Invoice.exeInvoice.exepowershell.exepowershell.exepid process 2172 Invoice.exe 2172 Invoice.exe 2500 Invoice.exe 2500 Invoice.exe 2760 powershell.exe 2328 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
Processes:
Invoice.exeInvoice.exepowershell.exepowershell.exedescription pid process Token: SeDebugPrivilege 2172 Invoice.exe Token: SeDebugPrivilege 2500 Invoice.exe Token: SeDebugPrivilege 2760 powershell.exe Token: SeDebugPrivilege 2328 powershell.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
Invoice.exepid process 2500 Invoice.exe -
Suspicious use of WriteProcessMemory 25 IoCs
Processes:
Invoice.exedescription pid process target process PID 2172 wrote to memory of 2760 2172 Invoice.exe powershell.exe PID 2172 wrote to memory of 2760 2172 Invoice.exe powershell.exe PID 2172 wrote to memory of 2760 2172 Invoice.exe powershell.exe PID 2172 wrote to memory of 2760 2172 Invoice.exe powershell.exe PID 2172 wrote to memory of 2328 2172 Invoice.exe powershell.exe PID 2172 wrote to memory of 2328 2172 Invoice.exe powershell.exe PID 2172 wrote to memory of 2328 2172 Invoice.exe powershell.exe PID 2172 wrote to memory of 2328 2172 Invoice.exe powershell.exe PID 2172 wrote to memory of 2604 2172 Invoice.exe schtasks.exe PID 2172 wrote to memory of 2604 2172 Invoice.exe schtasks.exe PID 2172 wrote to memory of 2604 2172 Invoice.exe schtasks.exe PID 2172 wrote to memory of 2604 2172 Invoice.exe schtasks.exe PID 2172 wrote to memory of 2624 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2624 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2624 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2624 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe PID 2172 wrote to memory of 2500 2172 Invoice.exe Invoice.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\Invoice.exe"C:\Users\Admin\AppData\Local\Temp\Invoice.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
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
-
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
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\kaJNzBnxbXm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp585D.tmp"2⤵
- Creates scheduled task(s)
-
C:\Users\Admin\AppData\Local\Temp\Invoice.exe"C:\Users\Admin\AppData\Local\Temp\Invoice.exe"2⤵
-
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
Network
MITRE ATT&CK Matrix ATT&CK v13
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
-
C:\Users\Admin\AppData\Local\Temp\tmp585D.tmpFilesize
1KB
MD59ab70bd58da3ef61208b2fb5e037e95c
SHA1bce34e420712fdf4968f006d930154aa85064c83
SHA25633dc015d14740658fb40ac0bde0c139019c804128110dbd4916d6bda11e08415
SHA512f1cea74139ddaeba9de71670ac78ebb8b334f757f9e2023a4fd3aba5782507a7e9ad23a791666959946e2e1e0a40abf040d0592008247bf04c4789d4a7626d49
-
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\XM1FEPYI3EQLMKMRNC62.tempFilesize
7KB
MD5264eccbf073bb233f4c99a68fc04731e
SHA1125879496a552c54f429ef1d9e53c1ddcc2204cc
SHA2560ddcc2d084f9ba187383dfd3b4c6ac74bb5e59866d05cec83343a026516f1882
SHA512dda97f9f1de6c8a4317960fc3fab97f22f73806676319ebed4426cdae1fb8213d99c4e2e0a86e4e4202a45041803c33bd41559fe524adda607c0da0ac1c9043d
-
memory/2172-30-0x0000000073FD0000-0x00000000746BE000-memory.dmpFilesize
6.9MB
-
memory/2172-1-0x0000000073FD0000-0x00000000746BE000-memory.dmpFilesize
6.9MB
-
memory/2172-2-0x0000000004E20000-0x0000000004E60000-memory.dmpFilesize
256KB
-
memory/2172-3-0x00000000005D0000-0x00000000005F0000-memory.dmpFilesize
128KB
-
memory/2172-4-0x0000000000950000-0x0000000000964000-memory.dmpFilesize
80KB
-
memory/2172-5-0x0000000005A20000-0x0000000005AA2000-memory.dmpFilesize
520KB
-
memory/2172-0-0x00000000012E0000-0x00000000013B4000-memory.dmpFilesize
848KB
-
memory/2500-29-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2500-27-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2500-26-0x000000007EFDE000-0x000000007EFDF000-memory.dmpFilesize
4KB
-
memory/2500-24-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2500-22-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2500-20-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2500-18-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2500-28-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB