Open blockanz opened 4 years ago
Hi blockanz, you could execute a polyglot in windows in the same way. I did some tests about this. For example, you can create a .jpg polyglot and in windows 10 to execute "powershell picturepolyglot.jpg". This should run. Thanks
Great tool, but I tested a few scripts and I keep coming with errors.
I tried the following:
I used the Nishang Reverse Shell Script No Luck
1.- type beach.jpg | powershell.exe 2.- powershell .\beach.jpg
Then I tested a small script with [Get-process] command and that is all. Please do let me know if I am doing anything wrong.
Here is a SC:
Do let me know If I am executing incorrectly.
Thanks!
@dmcxblue Thanks. I checked the tool mainly in linux. I will look at the bugs and tell you soon. Thank you very much.
any update? I think it might be a nice way to move tool around once inside a network
Well, not the author here but I have been checking it on my spare time, looks like the polyglot characters are just not supported with PowerShell some of these chars are actual functions in PowerShell, so it works fine on Linux since it has support and the terminals are different, IF the user has some sort of support on the terminal or Python Installed this can be used, but still haven't found nothing that can run as-is
Thanks @dmcxblue . I'm researching ways to run polyglots on Windows in a better way. Any suggestions are welcome.
Hi.
How would you execute a .ps1 encoded polyglot in windows? All the examples are for linux which is great, but I'm curious as to how this could work in a windows environment.
Many thanks.