Empire_Invoke_BypassUAC
Description
Empire - a pure PowerShell post-exploitation agent - file Invoke-BypassUAC.ps1
Query · yara
strings: $s1 = "$WriteProcessMemoryAddr = Get-ProcAddress kernel32.dll WriteProcessMemory" fullword ascii $s2 = "$proc = Start-Process -WindowStyle Hidden notepad.exe -PassThru" fullword ascii $s3 = "$Payload = Invoke-PatchDll -DllBytes $Payload -FindString \"ExitThread\" -ReplaceString \"ExitProcess\"" fullword ascii $s4 = "$temp = [System.Text.Encoding]::UNICODE.GetBytes($szTempDllPath)" fullword ascii condition: filesize < 1200KB and 3 of them