Analysis
- max time kernel
119s - max time network
144s - platform
windows7_x64 - resource
win7-20240708-en - resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-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 5 IoCs
resource yara_rule behavioral1/memory/2312-22-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/2312-20-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/2312-27-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/2312-26-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/2312-25-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 2780 powershell.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-1506706701-1246725540-2219210854-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe Key opened \REGISTRY\USER\S-1-5-21-1506706701-1246725540-2219210854-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe Key opened \REGISTRY\USER\S-1-5-21-1506706701-1246725540-2219210854-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 4 checkip.dyndns.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3032 set thread context of 2312 3032 Contract.exe 34 - 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 2040 schtasks.exe - Suspicious behavior: EnumeratesProcesses 3 IoCs
pid Process 2312 Contract.exe 2780 powershell.exe 2312 Contract.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 2312 Contract.exe Token: SeDebugPrivilege 2780 powershell.exe - Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 3032 wrote to memory of 2780 3032 Contract.exe 30 PID 3032 wrote to memory of 2780 3032 Contract.exe 30 PID 3032 wrote to memory of 2780 3032 Contract.exe 30 PID 3032 wrote to memory of 2780 3032 Contract.exe 30 PID 3032 wrote to memory of 2040 3032 Contract.exe 32 PID 3032 wrote to memory of 2040 3032 Contract.exe 32 PID 3032 wrote to memory of 2040 3032 Contract.exe 32 PID 3032 wrote to memory of 2040 3032 Contract.exe 32 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 PID 3032 wrote to memory of 2312 3032 Contract.exe 34 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1506706701-1246725540-2219210854-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-1506706701-1246725540-2219210854-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⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3032 -
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:2780
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\zvYGBG" /XML "C:\Users\Admin\AppData\Local\Temp\tmp9C7E.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:2040
-
-
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:2312
-
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\tmp9C7E.tmp
- Size 1KB
- SHA256 6c50cfda1b0fcf6543c5d86c6da3eb9d19bb15655a343e5d9fe60850caebb933
- MD5 0c5bd78cd236ce45016df43aba172aba
- SHA1 fe33819b994a18294b09a1f33473ec2c8942a627
- SHA512 53bc57ab427269c6df666d6045723e4f5234a9c23917e0073d4c699f3477bda1bdd998cd8a88ffdaf7569779818d4c430c9ae5910ff67a8753a91eee16c57d08
- MD5 SHA1 SHA512