Analysis
-
max time kernel
100s -
max time network
129s -
platform
windows10-2004_x64 -
resource
win10v2004-20230220-en -
resource tags
arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system -
submitted
30-03-2023 07:23
Static task
static1
Behavioral task
behavioral1
Sample
stage5.bin.exe
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
stage5.bin.exe
Resource
win10v2004-20230220-en
General
-
Target
stage5.bin.exe
-
Size
979KB
-
MD5
2acd19884dc08535b643868f682b3c84
-
SHA1
c3577aea750eae81c5ea828633cd523f28979b26
-
SHA256
93d4a1c73f73cfabff4180c6b5ce9991b3cb41783440f29dc5745961741eefe7
-
SHA512
7d0565d00795f9f6f37cf7a3a65f1c3be1ca4ae2249c67617d2bb31c8b820b593b3e1d96ea173aa4ffd8d72a569c3432ae3f9f80c799f53049d966e570dc0dc8
-
SSDEEP
24576:d4PpyeFskkfO+Ucf/eHAzoAgWdFMkLUvHW7kX3Lu4:ZpHwMegXnzLy27kru
Malware Config
Extracted
agenttesla
Protocol: smtp- Host:
mail.mewa.or.ke - Port:
587 - Username:
[email protected] - Password:
pharmacy@2017 - Email To:
[email protected]
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.
Processes:
stage5.bin.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-2275444769-3691835758-4097679484-1000\Control Panel\International\Geo\Nation stage5.bin.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:
stage5.bin.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-2275444769-3691835758-4097679484-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 stage5.bin.exe Key opened \REGISTRY\USER\S-1-5-21-2275444769-3691835758-4097679484-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 stage5.bin.exe Key opened \REGISTRY\USER\S-1-5-21-2275444769-3691835758-4097679484-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 stage5.bin.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.
Processes:
flow ioc 22 api.ipify.org 21 api.ipify.org -
Suspicious use of SetThreadContext 1 IoCs
Processes:
stage5.bin.exedescription pid process target process PID 3288 set thread context of 4000 3288 stage5.bin.exe stage5.bin.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 7 IoCs
Processes:
stage5.bin.exepowershell.exepid process 3288 stage5.bin.exe 3288 stage5.bin.exe 3288 stage5.bin.exe 3288 stage5.bin.exe 3288 stage5.bin.exe 3588 powershell.exe 3588 powershell.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
stage5.bin.exestage5.bin.exepowershell.exedescription pid process Token: SeDebugPrivilege 3288 stage5.bin.exe Token: SeDebugPrivilege 4000 stage5.bin.exe Token: SeDebugPrivilege 3588 powershell.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
stage5.bin.exepid process 4000 stage5.bin.exe -
Suspicious use of WriteProcessMemory 14 IoCs
Processes:
stage5.bin.exedescription pid process target process PID 3288 wrote to memory of 3588 3288 stage5.bin.exe powershell.exe PID 3288 wrote to memory of 3588 3288 stage5.bin.exe powershell.exe PID 3288 wrote to memory of 3588 3288 stage5.bin.exe powershell.exe PID 3288 wrote to memory of 4580 3288 stage5.bin.exe schtasks.exe PID 3288 wrote to memory of 4580 3288 stage5.bin.exe schtasks.exe PID 3288 wrote to memory of 4580 3288 stage5.bin.exe schtasks.exe PID 3288 wrote to memory of 4000 3288 stage5.bin.exe stage5.bin.exe PID 3288 wrote to memory of 4000 3288 stage5.bin.exe stage5.bin.exe PID 3288 wrote to memory of 4000 3288 stage5.bin.exe stage5.bin.exe PID 3288 wrote to memory of 4000 3288 stage5.bin.exe stage5.bin.exe PID 3288 wrote to memory of 4000 3288 stage5.bin.exe stage5.bin.exe PID 3288 wrote to memory of 4000 3288 stage5.bin.exe stage5.bin.exe PID 3288 wrote to memory of 4000 3288 stage5.bin.exe stage5.bin.exe PID 3288 wrote to memory of 4000 3288 stage5.bin.exe stage5.bin.exe -
outlook_office_path 1 IoCs
Processes:
stage5.bin.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-2275444769-3691835758-4097679484-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 stage5.bin.exe -
outlook_win_path 1 IoCs
Processes:
stage5.bin.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-2275444769-3691835758-4097679484-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 stage5.bin.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\stage5.bin.exe"C:\Users\Admin\AppData\Local\Temp\stage5.bin.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3288 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\WTbArTbDXsm.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3588
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\WTbArTbDXsm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4E9D.tmp"2⤵
- Creates scheduled task(s)
PID:4580
-
-
C:\Users\Admin\AppData\Local\Temp\stage5.bin.exe"C:\Users\Admin\AppData\Local\Temp\stage5.bin.exe"2⤵
- Accesses Microsoft Outlook profiles
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- outlook_office_path
- outlook_win_path
PID:4000
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
1KB
MD5851412238f18b2a640acfe6bba5da67f
SHA1e1aea52b939ea1d88d1c82776a2bb02396a014f1
SHA256693960c2a9b0773b362126156c696579f034f63a38c7f23cfecc981af597be0d
SHA512abed9ed4d8f389f91ac7aaf38caacc0728f5335045c40948f4d2d70e0546be7221c21738d2363e6ed924a6b5db2a7146a0742edae61f7a16c2be8f37f22aee48