Analysis
-
max time kernel
134s -
max time network
127s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
21-10-2024 16:38
Static task
static1
Behavioral task
behavioral1
Sample
xUqB.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
xUqB.exe
Resource
win10v2004-20241007-en
General
-
Target
xUqB.exe
-
Size
585KB
-
MD5
15c839edeccf6bfc85f44304aa124eca
-
SHA1
4a546a8fb15365a59224536fdb24064298379ca0
-
SHA256
399dfa3928c095ced9cc09f3e6c99e11328e20568d5087d012bf022e3cc036b8
-
SHA512
93687bbae800f464515b90a9894cbf51d5f77cc830c7a5dd097d8b06a33b754eb665d84bfb84673034f4d52eeb84c3b2852ccd7e1516c6554a0c1d16fb5b103f
-
SSDEEP
12288:gmYkhMOoltiJrVeAnmM6JpdHqwx1nMPNVs7HfZjBWEZA:dYkh5oDiJZFmzMuYNW7Z
Malware Config
Extracted
snakekeylogger
https://api.telegram.org/bot7778496345:AAH97BM_heZybr1GZUGbzuqOpaxoz5dKGeQ/sendMessage?chat_id=7009377125
Signatures
-
Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
-
Snake Keylogger payload 1 IoCs
resource yara_rule behavioral2/memory/2848-36-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger -
Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 2020 powershell.exe 3452 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-3756129449-3121373848-4276368241-1000\Control Panel\International\Geo\Nation xUqB.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-3756129449-3121373848-4276368241-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 xUqB.exe Key opened \REGISTRY\USER\S-1-5-21-3756129449-3121373848-4276368241-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 xUqB.exe Key opened \REGISTRY\USER\S-1-5-21-3756129449-3121373848-4276368241-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 xUqB.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 4236 set thread context of 2848 4236 xUqB.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 5 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 xUqB.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language xUqB.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.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 524 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 2020 powershell.exe 2020 powershell.exe 3452 powershell.exe 3452 powershell.exe 2848 xUqB.exe 2020 powershell.exe 3452 powershell.exe 2848 xUqB.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2020 powershell.exe Token: SeDebugPrivilege 3452 powershell.exe Token: SeDebugPrivilege 2848 xUqB.exe -
Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 4236 wrote to memory of 2020 4236 xUqB.exe 95 PID 4236 wrote to memory of 2020 4236 xUqB.exe 95 PID 4236 wrote to memory of 2020 4236 xUqB.exe 95 PID 4236 wrote to memory of 3452 4236 xUqB.exe 97 PID 4236 wrote to memory of 3452 4236 xUqB.exe 97 PID 4236 wrote to memory of 3452 4236 xUqB.exe 97 PID 4236 wrote to memory of 524 4236 xUqB.exe 99 PID 4236 wrote to memory of 524 4236 xUqB.exe 99 PID 4236 wrote to memory of 524 4236 xUqB.exe 99 PID 4236 wrote to memory of 2848 4236 xUqB.exe 101 PID 4236 wrote to memory of 2848 4236 xUqB.exe 101 PID 4236 wrote to memory of 2848 4236 xUqB.exe 101 PID 4236 wrote to memory of 2848 4236 xUqB.exe 101 PID 4236 wrote to memory of 2848 4236 xUqB.exe 101 PID 4236 wrote to memory of 2848 4236 xUqB.exe 101 PID 4236 wrote to memory of 2848 4236 xUqB.exe 101 PID 4236 wrote to memory of 2848 4236 xUqB.exe 101 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3756129449-3121373848-4276368241-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 xUqB.exe -
outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3756129449-3121373848-4276368241-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 xUqB.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\xUqB.exe"C:\Users\Admin\AppData\Local\Temp\xUqB.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4236 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\xUqB.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2020
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\sRQHgzxw.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3452
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\sRQHgzxw" /XML "C:\Users\Admin\AppData\Local\Temp\tmpDA43.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:524
-
-
C:\Users\Admin\AppData\Local\Temp\xUqB.exe"C:\Users\Admin\AppData\Local\Temp\xUqB.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:2848
-
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
2KB
MD5968cb9309758126772781b83adb8a28f
SHA18da30e71accf186b2ba11da1797cf67f8f78b47c
SHA25692099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
SHA5124bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3
-
Filesize
18KB
MD5ff6241d6522f3fb15d6b7e353d20b706
SHA1b285a1d543e13ff233d0f9781b3f80b477da9008
SHA2569c68c607454317081776718500b4621c2bd4888701b6ce3556e7c7ee2adfce83
SHA51269c50f942bf9153dc4bef07d77725998ec75b4c31b9e22e482a89ce0b2cf7de34f7d5ed9ab0c39ee866e2a54c6a7a8303f4b4d0eb71f8b0709714dceb52abfc6
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
1KB
MD5c6b3847aa7fde1dc743afff712fd3134
SHA196549a44b370b0b4f2b95b7e013844537847ba36
SHA256ddbd8af036c5b3858c99c2ebc6071aae5b00837c767b1455680e578e783f9d43
SHA5121d7bdce5aeec10a5a2d26c3e0a5ed72ba198316e07cc4f2a0b751d4ba8e7ec906f29ad9a6733cb4cd5bf5307852a13da7ceb1cba5bb8dfa9bc1de21b667efa7a