Analysis
- max time kernel
158s - max time network
177s - platform
windows10-2004_x64 - resource
win10v2004-20220414-en - submitted
20/05/2022, 06:26
Static task
static1
Behavioral task
behavioral1
Sample
e2f16421eccdbd3630bf62bdae76bcc2996c5ac43ad44d6246486a0562627cbb.vbs
Resource
win7-20220414-en
0 signatures
0 seconds
Behavioral task
behavioral2
Sample
e2f16421eccdbd3630bf62bdae76bcc2996c5ac43ad44d6246486a0562627cbb.vbs
Resource
win10v2004-20220414-en
0 signatures
0 seconds
General
- Target e2f16421eccdbd3630bf62bdae76bcc2996c5ac43ad44d6246486a0562627cbb.vbs
- Size 246KB
- Sample220520-g67zraeaa5
- SHA256 e2f16421eccdbd3630bf62bdae76bcc2996c5ac43ad44d6246486a0562627cbb
- MD5 1391fa8a245d3b70856efbef5b6fc47b
- SHA1 f86edea69deb5f8339301fe1de13341517a935a2
- SHA512 d639f287c580f5f238b39504a78225b1bac894992404a58b031ab6b91031c2e59c08bf6e55f16a07227f237b748d5dfa0a87b2315271cdc4364e3a0334b2f9e1
- MD5 SHA1 SHA512
Score
10/10
Malware Config
Extracted
Family
-
wshrat
C2
-
http://pluginsrv2.duckdns.org:8899
Signatures
- suricata: ET MALWARE WSHRAT CnC Checkin
suricata: ET MALWARE WSHRAT CnC Checkin
- suricata: ET MALWARE Worm.VBS Dunihi/Houdini/H-Worm/WSHRAT Checkin 1
suricata: ET MALWARE Worm.VBS Dunihi/Houdini/H-Worm/WSHRAT Checkin 1
- Blocklisted process makes network request 21 IoCs
flow pid Process 18 4888 WScript.exe 23 4888 WScript.exe 29 4888 WScript.exe 30 4888 WScript.exe 31 4888 WScript.exe 32 4888 WScript.exe 35 4888 WScript.exe 36 4888 WScript.exe 37 4888 WScript.exe 38 4888 WScript.exe 39 4888 WScript.exe 40 4888 WScript.exe 41 4888 WScript.exe 42 4888 WScript.exe 43 4888 WScript.exe 44 4888 WScript.exe 45 4888 WScript.exe 46 4888 WScript.exe 47 4888 WScript.exe 48 4888 WScript.exe 49 4888 WScript.exe - Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Control Panel\International\Geo\Nation WScript.exe Key value queried \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-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\UQbbpoKAWi.vbs WScript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\UQbbpoKAWi.vbs WScript.exe - Adds Run key to start application 2 TTPs 6 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\Software\Microsoft\Windows\CurrentVersion\Run WScript.exe Set value (str) \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ntfsmgr = "\"C:\\Program Files\\Java\\jre1.8.0_66\\bin\\javaw.exe\" -jar \"C:\\Users\\Admin\\AppData\\Roaming\\ntfsmgr.jar\"" WScript.exe Key created \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\software\microsoft\windows\currentversion\run WScript.exe Set value (str) \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\UQbbpoKAWi = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\UQbbpoKAWi.vbs\"" WScript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run WScript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\UQbbpoKAWi = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\UQbbpoKAWi.vbs\"" WScript.exe - Drops file in Program Files directory 12 IoCs
description ioc Process File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\ntdll.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\symbols\dll\ntdll.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\jvm.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\server\ntdll.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\server\dll\ntdll.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\dll\jvm.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\symbols\dll\jvm.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\server\symbols\dll\ntdll.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\dll\ntdll.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\server\jvm.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\server\dll\jvm.pdb javaw.exe File opened for modification C:\Program Files\Java\jre1.8.0_66\bin\server\symbols\dll\jvm.pdb javaw.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-3751123196-3323558407-1869646069-1000_Classes\Local Settings WScript.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 3540 powershell.exe 3540 powershell.exe 4504 powershell.exe 4504 powershell.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 3540 powershell.exe Token: SeDebugPrivilege 4504 powershell.exe - Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 2824 wrote to memory of 3540 2824 WScript.exe 80 PID 2824 wrote to memory of 3540 2824 WScript.exe 80 PID 2824 wrote to memory of 4888 2824 WScript.exe 82 PID 2824 wrote to memory of 4888 2824 WScript.exe 82 PID 2824 wrote to memory of 4012 2824 WScript.exe 83 PID 2824 wrote to memory of 4012 2824 WScript.exe 83 PID 4012 wrote to memory of 5092 4012 cmd.exe 85 PID 4012 wrote to memory of 5092 4012 cmd.exe 85 PID 4888 wrote to memory of 4504 4888 WScript.exe 86 PID 4888 wrote to memory of 4504 4888 WScript.exe 86 PID 2824 wrote to memory of 2324 2824 WScript.exe 88 PID 2824 wrote to memory of 2324 2824 WScript.exe 88
Processes
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\e2f16421eccdbd3630bf62bdae76bcc2996c5ac43ad44d6246486a0562627cbb.vbs"1⤵
- Checks computer location settings
- Adds Run key to start application
- Modifies registry class
- Suspicious use of WriteProcessMemory
PID:2824 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -Command "$deleBravo = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'turK3y').turK3y;$deleBravo=$deleBravo.replace('%(','m');$Abt = [Convert]::FromBase64String($deleBravo);$Out = [System.Text.Encoding]::ASCII.GetString($Abt);new-itemproperty -path 'HKCU:\SOFTWARE\Microsoft' -name 'turK3y' -value $Out -propertytype multistring -force | out-null;"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3540
-
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\UQbbpoKAWi.vbs"2⤵
- Blocklisted process makes network request
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:4888 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -Command "$deleBravo = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'turK3y').turK3y;$deleBravo=$deleBravo.replace('%(','A');$Abt = [Convert]::FromBase64String($deleBravo);$Out = [System.Text.Encoding]::ASCII.GetString($Abt);new-itemproperty -path 'HKCU:\SOFTWARE\Microsoft' -name 'turK3y' -value $Out -propertytype multistring -force | out-null;"3⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4504
-
-
-
C:\Windows\System32\cmd.exe"C:\Windows\System32\cmd.exe" /c "C:\Program Files\Java\jre1.8.0_66\bin\javaw.exe" -version 2> C:\Users\Admin\AppData\Local\Temp\output.txt2⤵
- Suspicious use of WriteProcessMemory
PID:4012 -
C:\Program Files\Java\jre1.8.0_66\bin\javaw.exe"C:\Program Files\Java\jre1.8.0_66\bin\javaw.exe" -version3⤵PID:5092
-
-
-
C:\Program Files\Java\jre1.8.0_66\bin\javaw.exe"C:\Program Files\Java\jre1.8.0_66\bin\javaw.exe" -jar "C:\Users\Admin\AppData\Roaming\ntfsmgr.jar"2⤵
- Drops file in Program Files directory
PID:2324
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\.oracle_jre_usage\90737d32e3aba4b.timestamp
- Size 50B
- SHA256 218834421e7c1fce1963959581ba246d5abb02e5e8973d1d44db667da0402903
- MD5 1724de308057dbbe716aa1cfa6f43eb2
- SHA1 58864fedcaf24db3b0b1d8a324619474973eaf07
- SHA512 161c0f9bffb948463e3dc4549ee2e00ea4a76eba5698c01e556a241d96f6ad481df07dd3778f3216308ebae62562dd7dbc445a8e8ef8baa21c2342cb291dbbda
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 b1f292b6199aa29c7fafbca007e5f9e3f68edcbbca1965bc828cc92dc0f18bb8
- MD5 6cf293cb4d80be23433eecf74ddb5503
- SHA1 24fe4752df102c2ef492954d6b046cb5512ad408
- SHA512 0f91e2da0da8794b9797c7b50eb5dfd27bde4546ceb6902a776664ce887dd6f12a0dd8773d612ccc76dfd029cd280778a0f0ae17ce679b3d2ffd968dd7e94a00
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 64B
- SHA256 a07d329eb9b4105ba442c89f7cfa0d7b263f9f0617e26df93cf8cdc8dc94d57b
- MD5 a6c9d692ed2826ecb12c09356e69cc09
- SHA1 def728a6138cf083d8a7c61337f3c9dade41a37f
- SHA512 2f27d2b241ce34f988c39e17ca5a1ebe628ac6c1b8ee8df121db9ad8929eaadf5f24ad66457591cccf87e60d2ba2eab88af860ab9c323a5c2a9867045d6e7ba3
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\output.txt
- Size 144B
- SHA256 5291b20d39a366747e96c746695a687c6575028c967c6f727346eeb6eb3c4963
- MD5 0ba8e7fbc04fe4171e6f0fcb25dc3d92
- SHA1 3e3abcc014f1f08b431e1fe18841f3b9e9d3c9e4
- SHA512 00ac0100c666067510cf79c82552fc865ef5a63717ee8fee346ce450859719ef2ea5657d8ec1d53620fff8f2744653fef929ee32a09368c3cc15a5077bdbfe78
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\UQbbpoKAWi.vbs
- Size 38KB
- SHA256 966744fdd6c03fd0579356b1a6004057a4568e40dbdfbfaf7509e0f0c47ebc59
- MD5 1afce7b575e10a80f7cde952834e857b
- SHA1 a879bd0bf0b2c6334326490aa41d46ec7b597c00
- SHA512 061b944193a942b7d73aa28fc8917811a2463a327c2f5b2a0beec43900c69696ff2f0c4aadd70a0383ae94b512ef3c93a4c68fe05befb523b22087514afbec90
- SSDEEP 768:68RgCddERpJqiR7ixx/ECGHJLmHwfNl1YDtK9FZo2mcLD:686CbERpJqiR7ixOCGHJqcl1YBV2mcLD
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\ntfsmgr.jar
- Size 90KB
- SHA256 d3f45c086e66798369eab5d5538e3de57cd239f71f32b6158b35320ba559defb
- MD5 102db19a1cd8f7861e0a891dea674d89
- SHA1 695534871afc143dd237f3c00017737e07c8b643
- SHA512 800ab7ad6e563c4c8d62bb4df2e18cd61d93f4ad521a3f4fd3616473ff7c90006c42cba4687983be36f36a5c8cce16db00237640746e5402270355d13d2dd22d
- SSDEEP 1536:WOyCMkzv4zbzdZ5mOYaZO6qkSxCVYmL3FCDIFRpvyuW20UaVuVYEPilkZ:5yNf7oxIO6rjZFwICUaVzEP8kZ
- MD5 SHA1 SHA512 SSDEEP