Empire_invoke_wmi
Description
Empire - a pure PowerShell post-exploitation agent - file invoke_wmi.py
Query · yara
strings: $s1 = "(credID, credType, domainName, userName, password, host, sid, notes) = self.mainMenu.credentials.get_credentials(credID)[0]" fullword ascii $s2 = "script += \";'Invoke-Wmi executed on \" +computerNames +\"'\"" fullword ascii $s3 = "script = \"$PSPassword = \\\"\"+password+\"\\\" | ConvertTo-SecureString -asPlainText -Force;$Credential = New-Object System.Man" ascii condition: filesize < 20KB and 2 of them