Analysis
- max time kernel
135s - max time network
145s - platform
windows10-2004_x64 - resource
win10v2004-20230221-en - resource tags
arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system - submitted
16/05/2023, 09:08
Static task
static1
Behavioral task
behavioral1
Sample
invoice.exe
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
invoice.exe
Resource
win10v2004-20230221-en
General
- Target invoice.exe
- Size 782KB
- Sample230516-k3wdbsaf2z
- SHA256 7c32af309a2521511d759a08cdc7cefc647e94cbdd590e7f7ef8ef24fa8b539a
- MD5 e8c16dd88bb8a107d20fcef7e7e7ae43
- SHA1 1421a3ead0596c0fc83d3cc49ee7e604cb8d5da2
- SHA512 f00d4b77cd3267d08eb3acc749e84e60607903b8d7319093b8de76fdaef4d91ffd2bbfb4b14cc7cf495452679f6304028f20e75777f23abd9a71b47b2e75c87c
- SSDEEP 12288:DQFHSljSlYsrj8MD8ALvOzlHHUv0B/Zd:D9wNrjLLUHHU8BT
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
agenttesla
-
https://api.telegram.org/bot5814058627:AAFjPgERfyp3AZJXAfISMezajcw2VR_A_9U/
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.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-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.
- Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.exe Key opened \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.exe Key opened \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\SIqmq = "C:\\Users\\Admin\\AppData\\Roaming\\SIqmq\\SIqmq.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.
flow ioc 22 api.ipify.org 21 api.ipify.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4100 set thread context of 3188 4100 invoice.exe 88 - 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.
pid Process 5116 schtasks.exe - Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 4100 invoice.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 4100 invoice.exe Token: SeDebugPrivilege 3188 invoice.exe - Suspicious use of WriteProcessMemory 11 IoCs
description pid Process procid_target PID 4100 wrote to memory of 5116 4100 invoice.exe 86 PID 4100 wrote to memory of 5116 4100 invoice.exe 86 PID 4100 wrote to memory of 5116 4100 invoice.exe 86 PID 4100 wrote to memory of 3188 4100 invoice.exe 88 PID 4100 wrote to memory of 3188 4100 invoice.exe 88 PID 4100 wrote to memory of 3188 4100 invoice.exe 88 PID 4100 wrote to memory of 3188 4100 invoice.exe 88 PID 4100 wrote to memory of 3188 4100 invoice.exe 88 PID 4100 wrote to memory of 3188 4100 invoice.exe 88 PID 4100 wrote to memory of 3188 4100 invoice.exe 88 PID 4100 wrote to memory of 3188 4100 invoice.exe 88 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2805025096-2326403612-4231045514-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 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:4100 -
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\vHvvnYx" /XML "C:\Users\Admin\AppData\Local\Temp\tmpF32F.tmp"2⤵
- Creates scheduled task(s)
PID:5116
-
-
C:\Users\Admin\AppData\Local\Temp\invoice.exe"{path}"2⤵
- Accesses Microsoft Outlook profiles
- Adds Run key to start application
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:3188
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\invoice.exe.log
- Size 1KB
- SHA256 c18db6aecad2436da4a63ff26af4e3a337cca48f01c21b8db494fe5ccc60e553
- MD5 17573558c4e714f606f997e5157afaac
- SHA1 13e16e9415ceef429aaf124139671ebeca09ed23
- SHA512 f4edf13f05a0d142e4dd42802098c8c44988ee8869621a62c2b565a77c9a95857f636583ff8d6d9baa366603d98b9bfbf1fc75bc6f9f8f83c80cb1215b2941cc
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmpF32F.tmp
- Size 1KB
- SHA256 2d27bbdd1450729d5e95ba764f7b1fd3b079b68a38f4c0af8322cdc9ef9342b1
- MD5 ac5bee4230a8756a917988a9b47f342e
- SHA1 96774e677ff90e3a6ce100f60c7c759191f204ee
- SHA512 0b59636dda0a26dcb69f2b20c9fbd01da1e3d5157765f6143d5ed37faaa35c550274d10dcbe9e3c0c00bd87361e6d0d3560ea110d21ab7da17f1065aaeb0cf05
- MD5 SHA1 SHA512