Analysis
-
max time kernel
149s -
max time network
150s -
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:42
Static task
static1
Behavioral task
behavioral1
Sample
xUqB.exe
Resource
win7-20241010-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/1728-45-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 4004 powershell.exe 2800 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-3227495264-2217614367-4027411560-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-3227495264-2217614367-4027411560-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 xUqB.exe Key opened \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 xUqB.exe Key opened \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-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 33 checkip.dyndns.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 928 set thread context of 1728 928 xUqB.exe 100 -
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 powershell.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 xUqB.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language xUqB.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 1620 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 4004 powershell.exe 4004 powershell.exe 2800 powershell.exe 2800 powershell.exe 4004 powershell.exe 2800 powershell.exe 1728 xUqB.exe 1728 xUqB.exe 1728 xUqB.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 4004 powershell.exe Token: SeDebugPrivilege 2800 powershell.exe Token: SeDebugPrivilege 1728 xUqB.exe -
Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 928 wrote to memory of 4004 928 xUqB.exe 94 PID 928 wrote to memory of 4004 928 xUqB.exe 94 PID 928 wrote to memory of 4004 928 xUqB.exe 94 PID 928 wrote to memory of 2800 928 xUqB.exe 96 PID 928 wrote to memory of 2800 928 xUqB.exe 96 PID 928 wrote to memory of 2800 928 xUqB.exe 96 PID 928 wrote to memory of 1620 928 xUqB.exe 98 PID 928 wrote to memory of 1620 928 xUqB.exe 98 PID 928 wrote to memory of 1620 928 xUqB.exe 98 PID 928 wrote to memory of 1728 928 xUqB.exe 100 PID 928 wrote to memory of 1728 928 xUqB.exe 100 PID 928 wrote to memory of 1728 928 xUqB.exe 100 PID 928 wrote to memory of 1728 928 xUqB.exe 100 PID 928 wrote to memory of 1728 928 xUqB.exe 100 PID 928 wrote to memory of 1728 928 xUqB.exe 100 PID 928 wrote to memory of 1728 928 xUqB.exe 100 PID 928 wrote to memory of 1728 928 xUqB.exe 100 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-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-3227495264-2217614367-4027411560-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:928 -
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:4004
-
-
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:2800
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\sRQHgzxw" /XML "C:\Users\Admin\AppData\Local\Temp\tmpE908.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:1620
-
-
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:1728
-
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
MD53d086a433708053f9bf9523e1d87a4e8
SHA1b3ab5d4f282a4c8fe8c3005b8a557ed5a0e37f28
SHA2566f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
SHA512931ae42b4c68a4507ff2342332b08eb407050d47cf4176137ea022d0f6e513c689e998445a04c6d18d4877391705c586bfce0234632b898d41aaed0957996dfd
-
Filesize
18KB
MD5bf380a5ce1656f994e5303e55746cdb5
SHA19f6733920e77177a5adf1e8045c66a5546701d67
SHA25684c7fbb771351d6e8dd4bac3ad1474d1503c45b24ef4955e8733f569a7be22ab
SHA512afaa91a0c9f663c2c3dd7a2507f6886ee74a790fa4bd201d91b2693224e2e7c8cc194198c2ca052c09cb000c08683d69e4f0d688bbe84b328aebc25587f0a61b
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
1KB
MD59775abf7ec97b8bb09337cadcc98b41a
SHA19d40b1189bbdf3e3d85006b8e5795bf066002dc4
SHA2567ff1cb0e96b5459c608df78dcd87808ed69aee89d1bf563df797348f0f91a2e1
SHA5121a1e2f23caf4f0f07718e05ded055a2dd5be861ef0bbdba4c181c840c79907c80eef6f2eacd983d38a943127dcda51e8e583e01a3776379fd4df4183b1445650