Skip to content

Instantly share code, notes, and snippets.

@Clevero
Last active December 27, 2020 19:55
Show Gist options
  • Select an option

  • Save Clevero/19fdabf7e0fa4b4b6036a65b44cb2d6c to your computer and use it in GitHub Desktop.

Select an option

Save Clevero/19fdabf7e0fa4b4b6036a65b44cb2d6c to your computer and use it in GitHub Desktop.
This is a powershell script that is downloaded via a Word Macro and executed. This was used in a proof of concept
param([string]$title)
"Called with parameter: $title" | Write-Output
New-Item new_file.txt -ItemType file
echo "You have been hacked" >> .\new_file.txt
echo "Please call your IT department for more information" >> .\new_file.txt
start new_file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment