Analysis
- max time kernel
146s - max time network
154s - platform
windows7_x64 - resource
win7 - submitted
05/10/2020, 13:13
Static task
static1
Behavioral task
behavioral1
Sample
Purchase Order.exe
Resource
win7
General
- Target Purchase Order.exe
- Size 651KB
- Sample201005-2wt17xs8sn
- SHA256 96c4bcff0df93379d1447731b9fd7738ded981e16b2a646668ae1bed2f72a320
- MD5 34c376ab2eb52f955813d6a445c23e8d
- SHA1 a3f4a4d19b2d7b1eb8031142f83a67fe0b442b16
- SHA512 b139be35f31d2c865058f7a5d4e4d205b147a37d1c430aa4b4110f865decce0a662840b412a4d15028bfb9833422d328ecd1a76c1a589e613737cb56555b0548
- MD5 SHA1 SHA512
Malware Config
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.swedish-hospital.com
-
Port
587
-
Username
-
Password
Swe2017?
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- AgentTesla Payload 4 IoCs
resource yara_rule behavioral1/memory/1316-8-0x0000000000400000-0x000000000043C000-memory.dmp family_agenttesla behavioral1/memory/1316-9-0x000000000043765E-mapping.dmp family_agenttesla behavioral1/memory/1316-10-0x0000000000400000-0x000000000043C000-memory.dmp family_agenttesla behavioral1/memory/1316-11-0x0000000000400000-0x000000000043C000-memory.dmp family_agenttesla - Looks for VirtualBox Guest Additions in registry 2 TTPs
- Looks for VMWare Tools registry key 2 TTPs
- Checks BIOS information in registry 2 TTPs 2 IoCs
BIOS information is often read in order to detect sandboxing environments.
description ioc Process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosVersion Purchase Order.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\VideoBiosVersion Purchase Order.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.
- 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 4 api.ipify.org 5 api.ipify.org - Maps connected drives based on registry 3 TTPs 2 IoCs
Disk information is often read in order to detect sandboxing environments.
description ioc Process Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\Disk\Enum\0 Purchase Order.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\Disk\Enum Purchase Order.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1424 set thread context of 1316 1424 Purchase Order.exe 31 - 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.
pid Process 1896 schtasks.exe - Suspicious behavior: EnumeratesProcesses 5 IoCs
pid Process 1424 Purchase Order.exe 1424 Purchase Order.exe 1424 Purchase Order.exe 1316 Purchase Order.exe 1316 Purchase Order.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 1424 Purchase Order.exe Token: SeDebugPrivilege 1316 Purchase Order.exe - Suspicious use of WriteProcessMemory 13 IoCs
description pid Process procid_target PID 1424 wrote to memory of 1896 1424 Purchase Order.exe 29 PID 1424 wrote to memory of 1896 1424 Purchase Order.exe 29 PID 1424 wrote to memory of 1896 1424 Purchase Order.exe 29 PID 1424 wrote to memory of 1896 1424 Purchase Order.exe 29 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31 PID 1424 wrote to memory of 1316 1424 Purchase Order.exe 31
Processes
-
C:\Users\Admin\AppData\Local\Temp\Purchase Order.exe"C:\Users\Admin\AppData\Local\Temp\Purchase Order.exe"1⤵
- Checks BIOS information in registry
- Maps connected drives based on registry
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1424 -
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\nVBSuBHZh" /XML "C:\Users\Admin\AppData\Local\Temp\tmpD559.tmp"2⤵
- Creates scheduled task(s)
PID:1896
-
-
C:\Users\Admin\AppData\Local\Temp\Purchase Order.exe"{path}"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1316
-