Analysis
- max time kernel
133s - max time network
123s - platform
windows10-2004_x64 - resource
win10v2004-20240611-en - resource tags
arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system - submitted
03/07/2024, 22:03
Static task
static1
Behavioral task
behavioral1
Sample
Contract.exe
Resource
win7-20240611-en
Behavioral task
behavioral2
Sample
Contract.exe
Resource
win10v2004-20240611-en
General
- Target Contract.exe
- Size 563KB
- Sample240703-1yb2wszdpf
- SHA256 f16af6c4a9c6803eb1df399343edceb8a102c47297c1e9b3278c795f61d5e1e9
- MD5 8c2f569ddc16f61e8c7b053cbd94f0b4
- SHA1 585691bd7c15100b16bc3c49f94a9f9cf9c86477
- SHA512 ed3a9205c4df6c3531bfa974249face667414a4932862967254a83e0e63bdd7dc95fb79210636f023dd984e15dbc1e65a51226fc1ecfb08f1cbe3d3950d45ee0
- SSDEEP 12288:aTOvjSANT3ukfoCJU0/Q0P3H0Nho+EHl00DE64MoQksBl7jMkZQV:aT2jFT3ukNJNPXQAHKeEXMx7Qmm
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
snakekeylogger
-
Protocol
smtp
-
Host
mail.speedhouseoman.com
-
Port
587
-
Username
-
Password
SpH@0084
Signatures
- Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
- Snake Keylogger payload 1 IoCs
resource yara_rule behavioral2/memory/4680-21-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger - 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 1284 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-3665033694-1447845302-680750983-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-3665033694-1447845302-680750983-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe Key opened \REGISTRY\USER\S-1-5-21-3665033694-1447845302-680750983-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe Key opened \REGISTRY\USER\S-1-5-21-3665033694-1447845302-680750983-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\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 3232 set thread context of 4680 3232 Contract.exe 106 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- 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 4664 schtasks.exe - Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 1284 powershell.exe 1284 powershell.exe 1284 powershell.exe 4680 Contract.exe 4680 Contract.exe 4680 Contract.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 1284 powershell.exe Token: SeDebugPrivilege 4680 Contract.exe - Suspicious use of WriteProcessMemory 14 IoCs
description pid Process procid_target PID 3232 wrote to memory of 1284 3232 Contract.exe 102 PID 3232 wrote to memory of 1284 3232 Contract.exe 102 PID 3232 wrote to memory of 1284 3232 Contract.exe 102 PID 3232 wrote to memory of 4664 3232 Contract.exe 104 PID 3232 wrote to memory of 4664 3232 Contract.exe 104 PID 3232 wrote to memory of 4664 3232 Contract.exe 104 PID 3232 wrote to memory of 4680 3232 Contract.exe 106 PID 3232 wrote to memory of 4680 3232 Contract.exe 106 PID 3232 wrote to memory of 4680 3232 Contract.exe 106 PID 3232 wrote to memory of 4680 3232 Contract.exe 106 PID 3232 wrote to memory of 4680 3232 Contract.exe 106 PID 3232 wrote to memory of 4680 3232 Contract.exe 106 PID 3232 wrote to memory of 4680 3232 Contract.exe 106 PID 3232 wrote to memory of 4680 3232 Contract.exe 106 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3665033694-1447845302-680750983-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-3665033694-1447845302-680750983-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
- Suspicious use of WriteProcessMemory
PID:3232 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\vgTSRopQheAdCk.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1284
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\vgTSRopQheAdCk" /XML "C:\Users\Admin\AppData\Local\Temp\tmpD2A.tmp"2⤵
- Scheduled Task/Job: Scheduled Task
PID:4664
-
-
C:\Users\Admin\AppData\Local\Temp\Contract.exe"C:\Users\Admin\AppData\Local\Temp\Contract.exe"2⤵
- Accesses Microsoft Outlook profiles
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:4680
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4352,i,16856304285138459032,14480077487839828721,262144 --variations-seed-version --mojo-platform-channel-handle=4464 /prefetch:81⤵PID:2328
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_edyrww2p.ohb.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmpD2A.tmp
- Size 1KB
- SHA256 2f8b9f721e3899b877fe0322590c068eef413fc9c77fa4c15052b3a4e2e869b1
- MD5 686db7be2ed6dcfeaba3582defae9c64
- SHA1 631aeedc429c24d9fab0186ca2096d87b32cdd26
- SHA512 932bdcd0369a46b8b0e22399ee09420c80c0c4c2acbf697a429f5150767c31c20df871e529a62610863548b2408b29caac33b209e577444c742655689558ffe0
- MD5 SHA1 SHA512