GetUserSPNs_PS1
Description
Auto-generated rule - file GetUserSPNs.ps1
Query · yara
strings:
$s1 = "$ForestInfo = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()" fullword ascii
$s2 = "@{Name=\"PasswordLastSet\"; Expression={[datetime]::fromFileTime($result.Properties[\"pwdlastset\"][0])} } #, `" fullword ascii
$s3 = "Write-Host \"No Global Catalogs Found!\"" fullword ascii
$s4 = "$searcher.PropertiesToLoad.Add(\"pwdlastset\") | Out-Null" fullword ascii
condition:
2 of them