Analysis
- max time kernel
148s - max time network
150s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
21/08/2024, 12:35
Static task
static1
Behavioral task
behavioral1
Sample
Contract.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
Contract.exe
Resource
win10v2004-20240802-en
General
- Target Contract.exe
- Size 584KB
- Sample240821-psbndsydpc
- SHA256 ea7576fd3d76d2e4cd771d7fd7bfd33bbc91645bf176b2d3381c811cd6658e71
- MD5 0cbae9aa90b3c0d11ac1f3963ddbaa07
- SHA1 ac1780fbe475ca212fbf4f45d01d4c0be814a72d
- SHA512 8a40fb61736c03c83839a8a0ad914c3582668659f7e7c704ddc866837829f5a372ca5035e792295bf290ff9f305be4fda5185351689df2013a7e3395c0ee7c7a
- SSDEEP 12288:JWGpoL3rlW4spzjUl/fUCGRwPDFF+s3lTx2+97SUGsU:9mvghhCG+PDbn7SUGb
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
snakekeylogger
-
Protocol
smtp
-
Host
mail.speedhouseoman.com
-
Port
587
-
Username
-
Password
SpH@0099
Signatures
- Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
- Snake Keylogger payload 1 IoCs
resource yara_rule behavioral2/memory/3968-22-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger - Credentials from Password Stores: Credentials from Web Browsers 1 TTPs
Malicious Access or copy of Web Browser Credential store.
- Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 3648 powershell.exe - 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-523280732-2327480845-3730041215-1000\Control Panel\International\Geo\Nation Contract.exe - 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-523280732-2327480845-3730041215-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe Key opened \REGISTRY\USER\S-1-5-21-523280732-2327480845-3730041215-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe Key opened \REGISTRY\USER\S-1-5-21-523280732-2327480845-3730041215-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 31 checkip.dyndns.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 208 set thread context of 3968 208 Contract.exe 101 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- System Location Discovery: System Language Discovery 1 TTPs 4 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Contract.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Contract.exe - Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1068 schtasks.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 3968 Contract.exe 3648 powershell.exe 3648 powershell.exe 3968 Contract.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 3968 Contract.exe Token: SeDebugPrivilege 3648 powershell.exe - Suspicious use of WriteProcessMemory 14 IoCs
description pid Process procid_target PID 208 wrote to memory of 3648 208 Contract.exe 97 PID 208 wrote to memory of 3648 208 Contract.exe 97 PID 208 wrote to memory of 3648 208 Contract.exe 97 PID 208 wrote to memory of 1068 208 Contract.exe 99 PID 208 wrote to memory of 1068 208 Contract.exe 99 PID 208 wrote to memory of 1068 208 Contract.exe 99 PID 208 wrote to memory of 3968 208 Contract.exe 101 PID 208 wrote to memory of 3968 208 Contract.exe 101 PID 208 wrote to memory of 3968 208 Contract.exe 101 PID 208 wrote to memory of 3968 208 Contract.exe 101 PID 208 wrote to memory of 3968 208 Contract.exe 101 PID 208 wrote to memory of 3968 208 Contract.exe 101 PID 208 wrote to memory of 3968 208 Contract.exe 101 PID 208 wrote to memory of 3968 208 Contract.exe 101 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-523280732-2327480845-3730041215-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-523280732-2327480845-3730041215-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\Contract.exe"C:\Users\Admin\AppData\Local\Temp\Contract.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:208 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\zvYGBG.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3648
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\zvYGBG" /XML "C:\Users\Admin\AppData\Local\Temp\tmpBD26.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:1068
-
-
C:\Users\Admin\AppData\Local\Temp\Contract.exe"C:\Users\Admin\AppData\Local\Temp\Contract.exe"2⤵
- Accesses Microsoft Outlook profiles
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:3968
-
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Credential Access
Credentials from Password Stores
1Credentials from Web Browsers
1Unsecured Credentials
2Credentials In Files
2Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gz2xofwp.0jp.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmpBD26.tmp
- Size 1KB
- SHA256 5fb33e7814a00fc3e417073ff0db51932902eec50f26273dffdd7254aeeaffd3
- MD5 17a8f10914b84a79e5ee21e34655c0f5
- SHA1 4ffff05ee3d3aff5c8ac90100a7a28891e076ad3
- SHA512 9ad3694f0617adcf67ca022c8982eb3b84ea74bf750f100e17e9c86a6c2444b5c7930f463c603656e0d0229138d5e85e059a96b2f4557c66eca9b48bf98773e7
- MD5 SHA1 SHA512