Analysis
-
max time kernel
120s -
max time network
80s -
platform
windows10-2004_x64 -
resource
win10v2004-20240419-en -
resource tags
arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system -
submitted
29-04-2024 05:12
Static task
static1
Behavioral task
behavioral1
Sample
purchase order.exe
Resource
win7-20240419-en
Behavioral task
behavioral2
Sample
purchase order.exe
Resource
win10v2004-20240419-en
General
-
Target
purchase order.exe
-
Size
975KB
-
MD5
63c86be77aff4ce6c9b8b05457fc99b9
-
SHA1
5d3442c88ec022d2029d91633375e7e19bb60084
-
SHA256
f458911cad980b38b8c73ec5b8755b9b5d0d1ff6906ed78da4d5f6ec79b5acf8
-
SHA512
9c0892973d6b484a231f22d4c085fa797c815ef8e0c9c061249b44436886eba6e6cccc185977965451a778edc1ead34051595a68d77873bdf3e680ceba525fdb
-
SSDEEP
24576:KZLUMT+pWX9juJoJeZLUMT+pWX9juJoJmz:KWw+00Ww+0cz
Malware Config
Extracted
agenttesla
Protocol: smtp- Host:
mail.yitaipackaging.com - Port:
587 - Username:
[email protected] - Password:
22799213
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
AgentTesla payload 1 IoCs
Processes:
resource yara_rule behavioral2/memory/2264-14-0x0000000000400000-0x000000000044C000-memory.dmp family_agenttesla -
Drops file in Drivers directory 1 IoCs
Processes:
purchase order.exedescription ioc process File opened for modification C:\Windows\system32\drivers\etc\hosts purchase order.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
purchase order.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\Control Panel\International\Geo\Nation 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.
-
Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
Processes:
purchase order.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 purchase order.exe Key opened \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 purchase order.exe Key opened \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 purchase order.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
purchase order.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\gKWBf = "C:\\Users\\Admin\\AppData\\Roaming\\gKWBf\\gKWBf.exe" purchase order.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
purchase order.exedescription pid process target process PID 2768 set thread context of 2264 2768 purchase order.exe purchase order.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.
-
Modifies registry key 1 TTPs 1 IoCs
-
Suspicious behavior: EnumeratesProcesses 6 IoCs
Processes:
purchase order.exepurchase order.exepid process 2768 purchase order.exe 2768 purchase order.exe 2768 purchase order.exe 2768 purchase order.exe 2264 purchase order.exe 2264 purchase order.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
Processes:
purchase order.exepurchase order.exedescription pid process Token: SeDebugPrivilege 2768 purchase order.exe Token: SeDebugPrivilege 2264 purchase order.exe -
Suspicious use of WriteProcessMemory 14 IoCs
Processes:
purchase order.exepurchase order.exedescription pid process target process PID 2768 wrote to memory of 4832 2768 purchase order.exe schtasks.exe PID 2768 wrote to memory of 4832 2768 purchase order.exe schtasks.exe PID 2768 wrote to memory of 4832 2768 purchase order.exe schtasks.exe PID 2768 wrote to memory of 2264 2768 purchase order.exe purchase order.exe PID 2768 wrote to memory of 2264 2768 purchase order.exe purchase order.exe PID 2768 wrote to memory of 2264 2768 purchase order.exe purchase order.exe PID 2768 wrote to memory of 2264 2768 purchase order.exe purchase order.exe PID 2768 wrote to memory of 2264 2768 purchase order.exe purchase order.exe PID 2768 wrote to memory of 2264 2768 purchase order.exe purchase order.exe PID 2768 wrote to memory of 2264 2768 purchase order.exe purchase order.exe PID 2768 wrote to memory of 2264 2768 purchase order.exe purchase order.exe PID 2264 wrote to memory of 4896 2264 purchase order.exe REG.exe PID 2264 wrote to memory of 4896 2264 purchase order.exe REG.exe PID 2264 wrote to memory of 4896 2264 purchase order.exe REG.exe -
outlook_office_path 1 IoCs
Processes:
purchase order.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 purchase order.exe -
outlook_win_path 1 IoCs
Processes:
purchase order.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 purchase order.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\purchase order.exe"C:\Users\Admin\AppData\Local\Temp\purchase order.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2768 -
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\awxzgc" /XML "C:\Users\Admin\AppData\Local\Temp\tmpC553.tmp"2⤵
- Creates scheduled task(s)
PID:4832 -
C:\Users\Admin\AppData\Local\Temp\purchase order.exe"{path}"2⤵
- Drops file in Drivers directory
- Accesses Microsoft Outlook profiles
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
- outlook_office_path
- outlook_win_path
PID:2264 -
C:\Windows\SysWOW64\REG.exeREG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System / v DisableTaskMgr / t REG_DWORD / d 1 / f3⤵
- Modifies registry key
PID:4896
Network
MITRE ATT&CK Enterprise v15
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
-
Filesize
1KB
MD56f417c5aeedd5965fe6989a126cf21da
SHA1582ec98e6673bc90ce3528e342c3d44d055cdeaa
SHA25613c5563e9761f8755ab8d9e028f10911f3432f43db5b1a24723f930b0b23a832
SHA512ba21943e0cd46808c45a09b789407f402d57f237189e98843b655dfe332c2c12bf1aab2dc93dffa30921085812a600cff51037dffee3a719ee3bfd41dc7e42fc