Analysis
-
max time kernel
122s -
max time network
124s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
15-01-2025 11:49
Static task
static1
Behavioral task
behavioral1
Sample
Contract.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
Contract.exe
Resource
win10v2004-20241007-en
General
-
Target
Contract.exe
-
Size
687KB
-
MD5
e1889e7a749a3039492b8c87207f94d6
-
SHA1
fdfc2777d9f4ffe47302dfcd85e73dc43fabae07
-
SHA256
1161e839e699bfd8e0065f6b6e3b1c76be8cb56d6c9db918e5fe8e454cb8d56c
-
SHA512
a141994c80731ec3d425cbfb21c284af682675d6a8aed2da7a7fa5bba85740b5f8e8cb2e2ce4c3a6493ce7c9c755058019279aa7092545e356f50a820336962a
-
SSDEEP
12288:BFoJNhQ/cWS7stsLbol3BUZKJU499O4NZqD7LtYhxiOkogG/TW:BCJN+UVsa/ol3Se99hNZqD72xiOko/T
Malware Config
Extracted
snakekeylogger
Protocol: smtp- Host:
mail.murchisonspice.co.za - Port:
587 - Username:
[email protected] - Password:
accounts786q#
Signatures
-
Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
-
Snake Keylogger payload 5 IoCs
resource yara_rule behavioral1/memory/2932-25-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/2932-24-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/2932-23-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/2932-20-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/2932-18-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger -
Snakekeylogger family
-
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 2876 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 3 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-3290804112-2823094203-3137964600-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe Key opened \REGISTRY\USER\S-1-5-21-3290804112-2823094203-3137964600-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe Key opened \REGISTRY\USER\S-1-5-21-3290804112-2823094203-3137964600-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contract.exe -
Looks up external IP address via web service 3 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 8 reallyfreegeoip.org 9 reallyfreegeoip.org 4 checkip.dyndns.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2392 set thread context of 2932 2392 Contract.exe 35 -
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 2920 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 3 IoCs
pid Process 2932 Contract.exe 2876 powershell.exe 2932 Contract.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 2932 Contract.exe Token: SeDebugPrivilege 2876 powershell.exe -
Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 2392 wrote to memory of 2876 2392 Contract.exe 31 PID 2392 wrote to memory of 2876 2392 Contract.exe 31 PID 2392 wrote to memory of 2876 2392 Contract.exe 31 PID 2392 wrote to memory of 2876 2392 Contract.exe 31 PID 2392 wrote to memory of 2920 2392 Contract.exe 33 PID 2392 wrote to memory of 2920 2392 Contract.exe 33 PID 2392 wrote to memory of 2920 2392 Contract.exe 33 PID 2392 wrote to memory of 2920 2392 Contract.exe 33 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 PID 2392 wrote to memory of 2932 2392 Contract.exe 35 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3290804112-2823094203-3137964600-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-3290804112-2823094203-3137964600-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:2392 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\tCNmFia.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2876
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\tCNmFia" /XML "C:\Users\Admin\AppData\Local\Temp\tmp493.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:2920
-
-
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:2932
-
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
-
Filesize
1KB
MD5049f28368abcac3ee6a0b3c50f7cf2e1
SHA1decc69b13d221d2a57d2112b9ee91a409e4b61a4
SHA256cb6185ab753e4e45b53100e9de5b25eaf862aa2e5cc542ce37356ecf6908933e
SHA5123952062b2c913e47531322afb5085300c2a1872331e6886f59b48c1c789e61bf98778f66a95fdf52d262ec2301fcc51754c4cc4f2ed3aad9d290f0c10fab98f8