Analysis
-
max time kernel
150s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
28-11-2024 03:34
Static task
static1
Behavioral task
behavioral1
Sample
d0ecdf88e56cae4a5c2c759246b97163beb6f63023593a1aee00ee896efe6a16.js
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
d0ecdf88e56cae4a5c2c759246b97163beb6f63023593a1aee00ee896efe6a16.js
Resource
win10v2004-20241007-en
General
-
Target
d0ecdf88e56cae4a5c2c759246b97163beb6f63023593a1aee00ee896efe6a16.js
-
Size
1.7MB
-
MD5
06bf8ca73f44aa2aec54c41c4c20d3d3
-
SHA1
9862b9785b61b42dc8fef4e3ecb8319e2d7c7710
-
SHA256
d0ecdf88e56cae4a5c2c759246b97163beb6f63023593a1aee00ee896efe6a16
-
SHA512
84366dd9a5324d8fe98d31383dc13ae52c5a72600afafc1e396416f2b34c6a42db7b09e8571bab343fb894aa7e7b69afcb5542eb8f5f411b570d343288ddd6e8
-
SSDEEP
24576:AuzJmDrkb8kjVaj3cWZUYUNa/US5ZZ2BsiH8pM0:1JmDrkAk9jk/UPd8B
Malware Config
Extracted
Protocol: smtp- Host:
smtp.gmail.com - Port:
587 - Username:
[email protected] - Password:
nbwz jvfz fmek ghid
Extracted
snakekeylogger
Protocol: smtp- Host:
smtp.gmail.com - Port:
587 - Username:
[email protected] - Password:
nbwz jvfz fmek ghid
Signatures
-
Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
-
Snake Keylogger payload 1 IoCs
resource yara_rule behavioral2/memory/1816-33-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger -
Snakekeylogger family
-
Blocklisted process makes network request 6 IoCs
flow pid Process 6 2464 wscript.exe 26 2464 wscript.exe 46 2464 wscript.exe 49 2464 wscript.exe 53 2464 wscript.exe 54 2464 wscript.exe -
Checks computer location settings 2 TTPs 3 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation WScript.exe Key value queried \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation WScript.exe -
Drops startup file 2 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\word.js wscript.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\word.js WScript.exe -
Executes dropped EXE 3 IoCs
pid Process 3932 Hvwjy.exe 2020 Hvwjy.exe 1816 Hvwjy.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-3442511616-637977696-3186306149-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Hvwjy.exe Key opened \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Hvwjy.exe Key opened \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Hvwjy.exe -
Adds Run key to start application 2 TTPs 4 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\word = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\word.js\"" WScript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\word = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\word.js\"" WScript.exe Set value (str) \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\word = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\word.js\"" wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\word = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\word.js\"" wscript.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 24 checkip.dyndns.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3932 set thread context of 1816 3932 Hvwjy.exe 94 -
Command and Scripting Interpreter: JavaScript 1 TTPs
-
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 2 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 Hvwjy.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Hvwjy.exe -
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000_Classes\Local Settings wscript.exe -
Suspicious behavior: EnumeratesProcesses 10 IoCs
pid Process 3932 Hvwjy.exe 3932 Hvwjy.exe 3932 Hvwjy.exe 3932 Hvwjy.exe 3932 Hvwjy.exe 3932 Hvwjy.exe 3932 Hvwjy.exe 3932 Hvwjy.exe 1816 Hvwjy.exe 1816 Hvwjy.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 3932 Hvwjy.exe Token: SeDebugPrivilege 1816 Hvwjy.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1816 Hvwjy.exe -
Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 5012 wrote to memory of 4776 5012 wscript.exe 82 PID 5012 wrote to memory of 4776 5012 wscript.exe 82 PID 5012 wrote to memory of 2928 5012 wscript.exe 83 PID 5012 wrote to memory of 2928 5012 wscript.exe 83 PID 4776 wrote to memory of 2464 4776 WScript.exe 84 PID 4776 wrote to memory of 2464 4776 WScript.exe 84 PID 2928 wrote to memory of 3932 2928 WScript.exe 85 PID 2928 wrote to memory of 3932 2928 WScript.exe 85 PID 2928 wrote to memory of 3932 2928 WScript.exe 85 PID 3932 wrote to memory of 2020 3932 Hvwjy.exe 93 PID 3932 wrote to memory of 2020 3932 Hvwjy.exe 93 PID 3932 wrote to memory of 2020 3932 Hvwjy.exe 93 PID 3932 wrote to memory of 1816 3932 Hvwjy.exe 94 PID 3932 wrote to memory of 1816 3932 Hvwjy.exe 94 PID 3932 wrote to memory of 1816 3932 Hvwjy.exe 94 PID 3932 wrote to memory of 1816 3932 Hvwjy.exe 94 PID 3932 wrote to memory of 1816 3932 Hvwjy.exe 94 PID 3932 wrote to memory of 1816 3932 Hvwjy.exe 94 PID 3932 wrote to memory of 1816 3932 Hvwjy.exe 94 PID 3932 wrote to memory of 1816 3932 Hvwjy.exe 94 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Hvwjy.exe -
outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Hvwjy.exe
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\d0ecdf88e56cae4a5c2c759246b97163beb6f63023593a1aee00ee896efe6a16.js1⤵
- Checks computer location settings
- Modifies registry class
- Suspicious use of WriteProcessMemory
PID:5012 -
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\word.js"2⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:4776 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\word.js"3⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:2464
-
-
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\svchost.js"2⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:2928 -
C:\Users\Admin\AppData\Local\Temp\Hvwjy.exe"C:\Users\Admin\AppData\Local\Temp\Hvwjy.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3932 -
C:\Users\Admin\AppData\Local\Temp\Hvwjy.exe"C:\Users\Admin\AppData\Local\Temp\Hvwjy.exe"4⤵
- Executes dropped EXE
PID:2020
-
-
C:\Users\Admin\AppData\Local\Temp\Hvwjy.exe"C:\Users\Admin\AppData\Local\Temp\Hvwjy.exe"4⤵
- Executes dropped EXE
- Accesses Microsoft Outlook profiles
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- outlook_office_path
- outlook_win_path
PID:1816
-
-
-
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Credential Access
Credentials from Password Stores
1Credentials from Web Browsers
1Unsecured Credentials
2Credentials In Files
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1KB
MD58ec831f3e3a3f77e4a7b9cd32b48384c
SHA1d83f09fd87c5bd86e045873c231c14836e76a05c
SHA2567667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
SHA51226bffa2406b66368bd412bf25869a792631455645992cdcade2dbc13a2e56fb546414a6a9223b94c96c38d89187add6678d4779a88b38b0c9e36be8527b213c3
-
Filesize
706KB
MD5e1500a569b0f034f24d558f661d129c9
SHA16f2448b29980d1121df22d7699d2cd68cc88f736
SHA256580ca5b59e248df91a65a54560d314869dd38b9858628a1a3ebac29863f06674
SHA512f80f13fbb632fc21f0008082fe886a12c7409d9ac5a9b9fcfea61bd18b1a9044450e96ee8cd029f1145e687e74088a84df1e80e29648f13a698680f97e366f66
-
Filesize
962KB
MD50fb453466a45c5ed5a9de568d786d5a6
SHA1c12835633e6ade4133c855b2ed2468588771f0e2
SHA256dd448c5bfacedd7d7e25b35a5802ed6aebf5ac07676dc47178b11b831119bb7a
SHA5122c11139c2343adff8a985d4268dc4ac367848140548ca4730e3064897e4eda92a6f4787747686d5da20b50ffdf9928e3da0107da8af7035c4a4e7b18c666866e
-
Filesize
283KB
MD5c4951435e2094fc38024666feecf15c5
SHA172f5d95a873daaabbc3a71e363aca9394b017a70
SHA25668af64912a0e81ab0576ec5e5e5317a345e2cd692312a3e31262058ecfcfaa66
SHA512d8ed79f874661d4ad085cf8e3721c002755fb2cc0a14cb726f9edd9a7e00cf8308cc89676f61b4165c6ddf25368582403744cef8a646a6981f5a8c8682af0e4b