Win_PrivEsc_folderperm
Description
Detects a tool that can be used for privilege escalation - file folderperm.ps1
Query · yara
strings: $x1 = "# powershell.exe -executionpolicy bypass -file folderperm.ps1" fullword ascii $x2 = "Write-Host \"[i] Dummy test file used to test access was not outputted:\" $filetocopy" fullword ascii $x3 = "Write-Host -foregroundColor Red \" Access denied :\" $myarray[$i] " fullword ascii condition: 1 of them