Analysis
-
max time kernel
149s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
27-11-2024 07:05
Static task
static1
Behavioral task
behavioral1
Sample
Purchase_Order.PDF.js
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
Purchase_Order.PDF.js
Resource
win10v2004-20241007-en
General
-
Target
Purchase_Order.PDF.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
Extracted
wshrat
http://185.17.40.142:5086
Signatures
-
Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
-
Snake Keylogger payload 1 IoCs
resource yara_rule behavioral2/memory/872-37-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger -
Snakekeylogger family
-
Wshrat family
-
Blocklisted process makes network request 30 IoCs
flow pid Process 6 1292 wscript.exe 18 1292 wscript.exe 22 1292 wscript.exe 25 1292 wscript.exe 26 1292 wscript.exe 28 1292 wscript.exe 46 1292 wscript.exe 51 1292 wscript.exe 52 1292 wscript.exe 53 1292 wscript.exe 54 1292 wscript.exe 55 1292 wscript.exe 58 1292 wscript.exe 59 1292 wscript.exe 60 1292 wscript.exe 61 1292 wscript.exe 62 1292 wscript.exe 63 1292 wscript.exe 66 1292 wscript.exe 70 1292 wscript.exe 71 1292 wscript.exe 72 1292 wscript.exe 73 1292 wscript.exe 74 1292 wscript.exe 75 1292 wscript.exe 76 1292 wscript.exe 77 1292 wscript.exe 78 1292 wscript.exe 79 1292 wscript.exe 80 1292 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-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation WScript.exe Key value queried \REGISTRY\USER\S-1-5-21-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation WScript.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\word.js WScript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\word.js wscript.exe -
Executes dropped EXE 3 IoCs
pid Process 312 Hvwjy.exe 3632 Hvwjy.exe 872 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-940901362-3608833189-1915618603-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Hvwjy.exe Key opened \REGISTRY\USER\S-1-5-21-940901362-3608833189-1915618603-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Hvwjy.exe Key opened \REGISTRY\USER\S-1-5-21-940901362-3608833189-1915618603-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-940901362-3608833189-1915618603-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-940901362-3608833189-1915618603-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 27 checkip.dyndns.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 312 set thread context of 872 312 Hvwjy.exe 101 -
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-940901362-3608833189-1915618603-1000_Classes\Local Settings wscript.exe -
Script User-Agent 30 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 28 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 46 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 80 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 25 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 76 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 79 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 22 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 26 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 63 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 72 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 73 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 77 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 6 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 18 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 54 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 55 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 66 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 71 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 62 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 51 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 52 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 75 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 74 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 53 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 58 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 59 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 60 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 61 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 70 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript HTTP User-Agent header 78 WSHRAT|24025E54|UTKBEBLO|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 27/11/2024|JavaScript -
Suspicious behavior: EnumeratesProcesses 10 IoCs
pid Process 312 Hvwjy.exe 312 Hvwjy.exe 312 Hvwjy.exe 312 Hvwjy.exe 312 Hvwjy.exe 312 Hvwjy.exe 312 Hvwjy.exe 312 Hvwjy.exe 872 Hvwjy.exe 872 Hvwjy.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 312 Hvwjy.exe Token: SeDebugPrivilege 872 Hvwjy.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 872 Hvwjy.exe -
Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 536 wrote to memory of 4168 536 wscript.exe 83 PID 536 wrote to memory of 4168 536 wscript.exe 83 PID 536 wrote to memory of 2276 536 wscript.exe 84 PID 536 wrote to memory of 2276 536 wscript.exe 84 PID 4168 wrote to memory of 1292 4168 WScript.exe 85 PID 4168 wrote to memory of 1292 4168 WScript.exe 85 PID 2276 wrote to memory of 312 2276 WScript.exe 86 PID 2276 wrote to memory of 312 2276 WScript.exe 86 PID 2276 wrote to memory of 312 2276 WScript.exe 86 PID 312 wrote to memory of 3632 312 Hvwjy.exe 100 PID 312 wrote to memory of 3632 312 Hvwjy.exe 100 PID 312 wrote to memory of 3632 312 Hvwjy.exe 100 PID 312 wrote to memory of 872 312 Hvwjy.exe 101 PID 312 wrote to memory of 872 312 Hvwjy.exe 101 PID 312 wrote to memory of 872 312 Hvwjy.exe 101 PID 312 wrote to memory of 872 312 Hvwjy.exe 101 PID 312 wrote to memory of 872 312 Hvwjy.exe 101 PID 312 wrote to memory of 872 312 Hvwjy.exe 101 PID 312 wrote to memory of 872 312 Hvwjy.exe 101 PID 312 wrote to memory of 872 312 Hvwjy.exe 101 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-940901362-3608833189-1915618603-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-940901362-3608833189-1915618603-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\Purchase_Order.PDF.js1⤵
- Checks computer location settings
- Modifies registry class
- Suspicious use of WriteProcessMemory
PID:536 -
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:4168 -
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:1292
-
-
-
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:2276 -
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:312 -
C:\Users\Admin\AppData\Local\Temp\Hvwjy.exe"C:\Users\Admin\AppData\Local\Temp\Hvwjy.exe"4⤵
- Executes dropped EXE
PID:3632
-
-
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:872
-
-
-
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