Analysis
-
max time kernel
122s -
max time network
123s -
platform
windows7_x64 -
resource
win7-20240221-en -
resource tags
arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system -
submitted
26-04-2024 09:41
Static task
static1
Behavioral task
behavioral1
Sample
Invoice.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
Invoice.exe
Resource
win10v2004-20240226-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-3452737119-3959686427-228443150-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 2 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
Processes:
flow ioc 4 api.ipify.org 5 api.ipify.org -
Suspicious use of SetThreadContext 1 IoCs
Processes:
Invoice.exedescription pid process target process PID 2972 set thread context of 2676 2972 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 4 IoCs
Processes:
powershell.exepowershell.exeInvoice.exepid process 2392 powershell.exe 2544 powershell.exe 2676 Invoice.exe 2676 Invoice.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
powershell.exepowershell.exeInvoice.exedescription pid process Token: SeDebugPrivilege 2392 powershell.exe Token: SeDebugPrivilege 2544 powershell.exe Token: SeDebugPrivilege 2676 Invoice.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
Invoice.exepid process 2676 Invoice.exe -
Suspicious use of WriteProcessMemory 21 IoCs
Processes:
Invoice.exedescription pid process target process PID 2972 wrote to memory of 2392 2972 Invoice.exe powershell.exe PID 2972 wrote to memory of 2392 2972 Invoice.exe powershell.exe PID 2972 wrote to memory of 2392 2972 Invoice.exe powershell.exe PID 2972 wrote to memory of 2392 2972 Invoice.exe powershell.exe PID 2972 wrote to memory of 2544 2972 Invoice.exe powershell.exe PID 2972 wrote to memory of 2544 2972 Invoice.exe powershell.exe PID 2972 wrote to memory of 2544 2972 Invoice.exe powershell.exe PID 2972 wrote to memory of 2544 2972 Invoice.exe powershell.exe PID 2972 wrote to memory of 2632 2972 Invoice.exe schtasks.exe PID 2972 wrote to memory of 2632 2972 Invoice.exe schtasks.exe PID 2972 wrote to memory of 2632 2972 Invoice.exe schtasks.exe PID 2972 wrote to memory of 2632 2972 Invoice.exe schtasks.exe PID 2972 wrote to memory of 2676 2972 Invoice.exe Invoice.exe PID 2972 wrote to memory of 2676 2972 Invoice.exe Invoice.exe PID 2972 wrote to memory of 2676 2972 Invoice.exe Invoice.exe PID 2972 wrote to memory of 2676 2972 Invoice.exe Invoice.exe PID 2972 wrote to memory of 2676 2972 Invoice.exe Invoice.exe PID 2972 wrote to memory of 2676 2972 Invoice.exe Invoice.exe PID 2972 wrote to memory of 2676 2972 Invoice.exe Invoice.exe PID 2972 wrote to memory of 2676 2972 Invoice.exe Invoice.exe PID 2972 wrote to memory of 2676 2972 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 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\tmp4875.tmp"2⤵
- Creates scheduled task(s)
-
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\tmp4875.tmpFilesize
1KB
MD50455b02931d0e95c81f444c566d089e6
SHA1d2f826fed018db9a441e8c2a2728e29e112897e3
SHA25627d60597e0090e890652e92f1bc798e7b80ce3afbdaaa10e3ce376ce1395eee9
SHA51245e160e7c22a7478bb7c548e8ab1b337e7f8f8e7cbb01c5478d87e89b22dcaf1965ff4fb998d7f3d7e42be87cc02e60b4dd6a5d9c8c310128385bc58ab701cfe
-
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\M69P8G3A2MSOFQ0ZDHY2.tempFilesize
7KB
MD511f1aa5a9959d5f5175c8eeb081cc7f2
SHA1a307b7c3acea5c6d70ae5d1b094cef2e0dd80df1
SHA2566f8f3ee32f14948f76bcb82d09b1733eb8b36f44bc117dd7fe796892cfef9d53
SHA512fdfd7b9cc405d46abeee0f9a0e05bc420f5f8ceaeb1eb46ebe0375e566a9ba4b923e9a40c51f244d882d00e005384bf0a8a24521818f63bf1e1616a57d86feae
-
memory/2392-26-0x000000006EC60000-0x000000006F20B000-memory.dmpFilesize
5.7MB
-
memory/2392-43-0x000000006EC60000-0x000000006F20B000-memory.dmpFilesize
5.7MB
-
memory/2392-33-0x00000000029A0000-0x00000000029E0000-memory.dmpFilesize
256KB
-
memory/2392-39-0x00000000029A0000-0x00000000029E0000-memory.dmpFilesize
256KB
-
memory/2392-32-0x000000006EC60000-0x000000006F20B000-memory.dmpFilesize
5.7MB
-
memory/2392-28-0x00000000029A0000-0x00000000029E0000-memory.dmpFilesize
256KB
-
memory/2544-30-0x000000006EC60000-0x000000006F20B000-memory.dmpFilesize
5.7MB
-
memory/2544-24-0x000000006EC60000-0x000000006F20B000-memory.dmpFilesize
5.7MB
-
memory/2544-42-0x000000006EC60000-0x000000006F20B000-memory.dmpFilesize
5.7MB
-
memory/2544-37-0x0000000002880000-0x00000000028C0000-memory.dmpFilesize
256KB
-
memory/2544-41-0x0000000002880000-0x00000000028C0000-memory.dmpFilesize
256KB
-
memory/2676-40-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2676-22-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2676-18-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2676-20-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2676-27-0x000000007EFDE000-0x000000007EFDF000-memory.dmpFilesize
4KB
-
memory/2676-25-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2676-31-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2676-36-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/2972-5-0x0000000005A80000-0x0000000005B02000-memory.dmpFilesize
520KB
-
memory/2972-3-0x0000000000380000-0x00000000003A0000-memory.dmpFilesize
128KB
-
memory/2972-2-0x00000000020E0000-0x0000000002120000-memory.dmpFilesize
256KB
-
memory/2972-35-0x0000000074110000-0x00000000747FE000-memory.dmpFilesize
6.9MB
-
memory/2972-4-0x0000000000330000-0x0000000000344000-memory.dmpFilesize
80KB
-
memory/2972-0-0x0000000000020000-0x00000000000F4000-memory.dmpFilesize
848KB
-
memory/2972-1-0x0000000074110000-0x00000000747FE000-memory.dmpFilesize
6.9MB