Analysis
-
max time kernel
91s -
max time network
158s -
platform
windows10-2004_x64 -
resource
win10v2004-20220414-en -
submitted
21-05-2022 10:28
Static task
static1
Behavioral task
behavioral1
Sample
Invoice.exe
Resource
win7-20220414-en
Behavioral task
behavioral2
Sample
Invoice.exe
Resource
win10v2004-20220414-en
General
-
Target
Invoice.exe
-
Size
787KB
-
MD5
c2a0577aead47c20d54918758c471247
-
SHA1
ffc6087cc7e098e74bd5efb3f6971342d5c1f12b
-
SHA256
0918c0111b97f8a25e9717e9b74a96c85e9f3801e2922bb050e8024edf9adff0
-
SHA512
1024c14e1fe279887e80b2f4d4b4423ef943bf6355f762b3a24cd6964e2350e77a2e0c43c0478a37fe46a8253f5866e4793dfd7225066e716e6165d623b4c84a
Malware Config
Extracted
Protocol: smtp- Host:
mail.subnet-group.com - Port:
587 - Username:
[email protected] - Password:
cr0cksh1t
Extracted
agenttesla
Protocol: smtp- Host:
mail.subnet-group.com - Port:
587 - Username:
[email protected] - Password:
cr0cksh1t - Email To:
[email protected]
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
suricata: ET MALWARE AgentTesla Exfil Via SMTP
suricata: ET MALWARE AgentTesla Exfil Via SMTP
-
Drops file in Drivers directory 1 IoCs
Processes:
RegSvcs.exedescription ioc process File opened for modification C:\Windows\system32\drivers\etc\hosts RegSvcs.exe -
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-1081944012-3634099177-1681222835-1000\Control Panel\International\Geo\Nation Invoice.exe -
Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
Processes:
RegSvcs.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-1081944012-3634099177-1681222835-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe Key opened \REGISTRY\USER\S-1-5-21-1081944012-3634099177-1681222835-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe Key opened \REGISTRY\USER\S-1-5-21-1081944012-3634099177-1681222835-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
RegSvcs.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-1081944012-3634099177-1681222835-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Tnpak = "C:\\Users\\Admin\\AppData\\Roaming\\Tnpak\\Tnpak.exe" RegSvcs.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
Invoice.exedescription pid process target process PID 1640 set thread context of 2076 1640 Invoice.exe RegSvcs.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
-
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.exepowershell.exeRegSvcs.exepid process 1640 Invoice.exe 3588 powershell.exe 1640 Invoice.exe 2076 RegSvcs.exe 2076 RegSvcs.exe 3588 powershell.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
Invoice.exepowershell.exeRegSvcs.exedescription pid process Token: SeDebugPrivilege 1640 Invoice.exe Token: SeDebugPrivilege 3588 powershell.exe Token: SeDebugPrivilege 2076 RegSvcs.exe -
Suspicious use of WriteProcessMemory 14 IoCs
Processes:
Invoice.exedescription pid process target process PID 1640 wrote to memory of 3588 1640 Invoice.exe powershell.exe PID 1640 wrote to memory of 3588 1640 Invoice.exe powershell.exe PID 1640 wrote to memory of 3588 1640 Invoice.exe powershell.exe PID 1640 wrote to memory of 1464 1640 Invoice.exe schtasks.exe PID 1640 wrote to memory of 1464 1640 Invoice.exe schtasks.exe PID 1640 wrote to memory of 1464 1640 Invoice.exe schtasks.exe PID 1640 wrote to memory of 2076 1640 Invoice.exe RegSvcs.exe PID 1640 wrote to memory of 2076 1640 Invoice.exe RegSvcs.exe PID 1640 wrote to memory of 2076 1640 Invoice.exe RegSvcs.exe PID 1640 wrote to memory of 2076 1640 Invoice.exe RegSvcs.exe PID 1640 wrote to memory of 2076 1640 Invoice.exe RegSvcs.exe PID 1640 wrote to memory of 2076 1640 Invoice.exe RegSvcs.exe PID 1640 wrote to memory of 2076 1640 Invoice.exe RegSvcs.exe PID 1640 wrote to memory of 2076 1640 Invoice.exe RegSvcs.exe -
outlook_office_path 1 IoCs
Processes:
RegSvcs.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-1081944012-3634099177-1681222835-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe -
outlook_win_path 1 IoCs
Processes:
RegSvcs.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-1081944012-3634099177-1681222835-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.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
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\BJmpFHZrxap.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\BJmpFHZrxap" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB362.tmp"2⤵
- Creates scheduled task(s)
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"2⤵
- Drops file in Drivers directory
- Accesses Microsoft Outlook profiles
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
Network
MITRE ATT&CK Matrix ATT&CK v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Temp\tmpB362.tmpFilesize
1KB
MD5ea01e91762cb708b586f33e0fcdd73dc
SHA13d6f5970bc14397f6bfbeefefe5cc58a1b2281ff
SHA256e8b642cb2a4a5516cf10d4411be53c717cbfab854c312b082694bbeb66a6daee
SHA512a939aaa1c1684ee19489e2ba99a15389b2024901ed503ceae044ce2660f0c078c7a250f9d0b9e9ab07bc16862a601f27b480025732fc1ba19d5728773f1928c4
-
memory/1464-137-0x0000000000000000-mapping.dmp
-
memory/1640-130-0x0000000000820000-0x00000000008EA000-memory.dmpFilesize
808KB
-
memory/1640-131-0x0000000007D10000-0x00000000082B4000-memory.dmpFilesize
5.6MB
-
memory/1640-132-0x0000000007760000-0x00000000077F2000-memory.dmpFilesize
584KB
-
memory/1640-133-0x00000000053C0000-0x00000000053CA000-memory.dmpFilesize
40KB
-
memory/1640-134-0x0000000007B00000-0x0000000007B9C000-memory.dmpFilesize
624KB
-
memory/1640-135-0x000000000A490000-0x000000000A4F6000-memory.dmpFilesize
408KB
-
memory/2076-152-0x0000000006970000-0x00000000069C0000-memory.dmpFilesize
320KB
-
memory/2076-144-0x0000000000400000-0x000000000043A000-memory.dmpFilesize
232KB
-
memory/2076-143-0x0000000000000000-mapping.dmp
-
memory/3588-142-0x0000000005960000-0x00000000059C6000-memory.dmpFilesize
408KB
-
memory/3588-148-0x00000000065C0000-0x00000000065DE000-memory.dmpFilesize
120KB
-
memory/3588-139-0x00000000052C0000-0x00000000058E8000-memory.dmpFilesize
6.2MB
-
memory/3588-138-0x0000000000E20000-0x0000000000E56000-memory.dmpFilesize
216KB
-
memory/3588-145-0x0000000006010000-0x000000000602E000-memory.dmpFilesize
120KB
-
memory/3588-146-0x00000000065E0000-0x0000000006612000-memory.dmpFilesize
200KB
-
memory/3588-147-0x0000000071370000-0x00000000713BC000-memory.dmpFilesize
304KB
-
memory/3588-141-0x0000000005140000-0x0000000005162000-memory.dmpFilesize
136KB
-
memory/3588-149-0x0000000007960000-0x0000000007FDA000-memory.dmpFilesize
6.5MB
-
memory/3588-150-0x0000000007310000-0x000000000732A000-memory.dmpFilesize
104KB
-
memory/3588-151-0x0000000007390000-0x000000000739A000-memory.dmpFilesize
40KB
-
memory/3588-136-0x0000000000000000-mapping.dmp
-
memory/3588-153-0x00000000075A0000-0x0000000007636000-memory.dmpFilesize
600KB
-
memory/3588-154-0x0000000007550000-0x000000000755E000-memory.dmpFilesize
56KB
-
memory/3588-155-0x0000000007660000-0x000000000767A000-memory.dmpFilesize
104KB
-
memory/3588-156-0x0000000007640000-0x0000000007648000-memory.dmpFilesize
32KB