Analysis
-
max time kernel
121s -
max time network
147s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
24-01-2025 15:41
Static task
static1
Behavioral task
behavioral1
Sample
invoice.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
invoice.exe
Resource
win10v2004-20241007-en
General
-
Target
invoice.exe
-
Size
744KB
-
MD5
b0ebd9e6b7db75c09086f8917c7c6fbb
-
SHA1
7c4f8ce260d37433d15b972e90b8a2f112b8a316
-
SHA256
6626d5216b21933a5ccca366777e3fa81f6ab20fc642e39713698db5d28792ae
-
SHA512
3581a18d6f94c76982de58a27b238b4463d1cb7524ba0c121daceb6b607c3bf490b4bd5d6cc47b95d19be6ce6e9dd8eb7ab5e5d918e4703b49d0f9f76331e85d
-
SSDEEP
12288:oCyu7+JALQsACpMfRsBpdht5EEiT2e2UbeKkEyVTAa+jXUF5C3WUy482jmTMsoBM:m/JAQsLkRCnt5ZdayVTJ+jUFMdmTkM
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 3484 powershell.exe 3416 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-940901362-3608833189-1915618603-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-940901362-3608833189-1915618603-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 16 api.ipify.org 17 api.ipify.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3496 set thread context of 3044 3496 invoice.exe 95 -
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 3000 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 3496 invoice.exe 3484 powershell.exe 3416 powershell.exe 3496 invoice.exe 3044 RegSvcs.exe 3044 RegSvcs.exe 3484 powershell.exe 3416 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 3496 invoice.exe Token: SeDebugPrivilege 3484 powershell.exe Token: SeDebugPrivilege 3416 powershell.exe Token: SeDebugPrivilege 3044 RegSvcs.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3044 RegSvcs.exe -
Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 3496 wrote to memory of 3484 3496 invoice.exe 89 PID 3496 wrote to memory of 3484 3496 invoice.exe 89 PID 3496 wrote to memory of 3484 3496 invoice.exe 89 PID 3496 wrote to memory of 3416 3496 invoice.exe 91 PID 3496 wrote to memory of 3416 3496 invoice.exe 91 PID 3496 wrote to memory of 3416 3496 invoice.exe 91 PID 3496 wrote to memory of 3000 3496 invoice.exe 93 PID 3496 wrote to memory of 3000 3496 invoice.exe 93 PID 3496 wrote to memory of 3000 3496 invoice.exe 93 PID 3496 wrote to memory of 3044 3496 invoice.exe 95 PID 3496 wrote to memory of 3044 3496 invoice.exe 95 PID 3496 wrote to memory of 3044 3496 invoice.exe 95 PID 3496 wrote to memory of 3044 3496 invoice.exe 95 PID 3496 wrote to memory of 3044 3496 invoice.exe 95 PID 3496 wrote to memory of 3044 3496 invoice.exe 95 PID 3496 wrote to memory of 3044 3496 invoice.exe 95 PID 3496 wrote to memory of 3044 3496 invoice.exe 95
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:3496 -
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:3484
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OqFBPytTawh.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3416
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\OqFBPytTawh" /XML "C:\Users\Admin\AppData\Local\Temp\tmpDD8F.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:3000
-
-
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:3044
-
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
MD53d086a433708053f9bf9523e1d87a4e8
SHA1b3ab5d4f282a4c8fe8c3005b8a557ed5a0e37f28
SHA2566f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
SHA512931ae42b4c68a4507ff2342332b08eb407050d47cf4176137ea022d0f6e513c689e998445a04c6d18d4877391705c586bfce0234632b898d41aaed0957996dfd
-
Filesize
18KB
MD539baf514e14e11ae901eb690eb2d31eb
SHA120ad6f237b03313ccbc0f1edf19ed6993b95a89d
SHA2567bdc46089d1ed2744b54507795ddd7594e65945a3b4cbd187da7bb32a00f56cc
SHA512afce65b08e2497aa32488172bf4bc6c9d38ff4bb977335cf8f604a8f2148f1a2991d395f44981c890e968bfd25bd31b0a03305f33ffa2348fb77e55ca8fafa1f
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
1KB
MD5aef5f8bf3c871609de06751b432eea46
SHA139bf340b0b68c9b72085b7b66e95e4be1337f5b3
SHA25646bf388e365ec8b67eac1cdaf33a17edeed98d1c14e9032d9c6a9d5fbc32403b
SHA5123b9b354ae17697f6691cf35d56b4a4f7d7256ce80cb9545eea99816a3f67a4f56774d23fae16598777b3fa501579d177b6f17677abbb4dd90c7f16ecff3b3b49