SILENTTRINITY is a post-exploitation agent powered by Python, IronPython, C#/.NET.
Also ReadAutoRDPwn – The Shadow Attack Framework
The implant needs .NET 4.5 or greater due to the IronPython DLLs being compiled against .NET 4.0, also there is no ZipArchive .NET library prior to 4.5 which the implant relies upon to download the initial stage containing the IronPython DLLs and the main Python code.
Reading the source for the IronPython Compiler it seems like we can get around the first issue by directly generating IL code through IKVM (I still don’t understand why this works). However this would require modifying the compiler to generate a completely new EXE stub (definitely feasible, just time consuming to find the proper IKVM API calls).
Currently the implant only supports C2 over HTTP 1.1, .NET 4.5 seems to have a native WebSocket library which makes implementing a WS C2 channel more than possible.
HTTP/2 client support for .NET’s HttpClient API is in the works, just not yet released.
The implant and server design are very much “future proof” which should make implementing these C2 Channels pretty trivial when the time comes.
We technically could load/use IronPython’s stdlib instead of calling .NET APIs but this would require writing some “magic” dependency resolving code.
Laravel is an open-source PHP web application framework built around an expressive, developer-friendly syntax. It is…
Kodi (formerly XBMC, short for Xbox Media Center) is a free, open-source, cross-platform media player and…
Apache Tomcat is an open-source Java servlet container that implements Java Servlet, JavaServer Pages (JSP), Java…
Sublime Text is one of the most widely used source code editors in the world, known…
Spotify is one of the world's most popular digital music streaming platforms, giving you on-demand access…
Nextcloud is a free, open-source, self-hosted file sharing and collaboration platform. It gives you a private…