Hack Forums
[.NET] PS Amsi Bypass & Add-Type(C#) crash - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] PS Amsi Bypass & Add-Type(C#) crash (/showthread.php?tid=6087461)



PS Amsi Bypass & Add-Type(C#) crash - SIM-3466371 - Jun 14, 2020

Hello,

I am doing some tests with powershell.

First, I Bypass amsi, patched AmsiScanBuffer, then I try to compile and import code in c# with add-Type, at that moment powershell breaks and restarts.

Just out of curiosity, what can it be?
If you ran the Add Type directive and then Bypass the amsi, no problem, I can do it.

Thanks for reading


RE: PS Amsi Bypass & Add-Type(C#) crash - SIM-2303144 - Jun 16, 2020

just use lower powershell version you will be good :)