Windows_Hacktool_SharpView_2c7603ad
Description
Windows.Hacktool.SharpView
Query · yara
strings:
$guid = "22A156EA-2623-45C7-8E50-E864D9FC44D3" ascii wide nocase
$print_str0 = "[Add-DomainObjectAcl] Granting principal {0} rights GUID '{1}' on {2}" ascii wide
$print_str1 = "[Get-NetRDPSession] Error opening the Remote Desktop Session Host (RD Session Host) server for: {0}" ascii wide
$print_str2 = "[Get-WMIProcess] Error enumerating remote processes on '{0}', access likely denied: {1}" ascii wide
$print_str3 = "[Get-WMIRegLastLoggedOn] Error opening remote registry on $Computer. Remote registry likely not enabled." ascii wide
$print_str4 = "[Get-DomainGUIDMap] Error in building GUID map: {e}" ascii wide
$str0 = "^[0-9A-F]{8}-([0-9A-F]{4}-){3}[0-9A-F]{12}$" ascii wide
$str1 = "(&(samAccountType=805306368)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(|(homedirectory=*)(scriptpath=*)(profilepath=*)))" ascii wide
$str2 = "^(CN|OU|DC)=" ascii wide
$str3 = "(|(samAccountName={0})(name={1})(displayname={2}))" ascii wide
$str4 = "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$" ascii wide
$str5 = "LDAP://|^CN=.*" ascii wide
$str6 = "(objectCategory=groupPolicyContainer)" ascii wide
$str7 = "\\\\{0}\\SysVol\\{1}\\Policies\\{2}" ascii wide
$str8 = "S-1-5-21-[0-9]+-[0-9]+-[0-9]+-[0-9]+$" ascii wide
$str9 = "^S-1-5-.*-[1-9]\\d{3,}$" ascii wide
condition:
$guid or (all of ($str*) and 1 of ($print_str*))