无文件执行 .NET Assembly 的两种方法

反射

https://redteamer.tips/a-tale-of-net-assemblies-cobalt-strike-size-constraints-and-reflection/?utm_source=rss&utm_medium=rss&utm_campaign=a-tale-of-net-assemblies-cobalt-strike-size-constraints-and-reflection

https://offensivedefence.co.uk/posts/assembly-resolve/

非托管API

文档:

https://docs.microsoft.com/zh-cn/dotnet/framework/unmanaged-api/

poc:

https://gist.github.com/Arno0x/386ebfebd78ee4f0cbbbb2a7c4405f74

blog:

https://thewover.github.io/

https://thewover.github.io/Introducing-Donut/

https://thewover.github.io/Apple-Fritter/

https://thewover.github.io/Bear-Claw/

其他:

https://blog.ropnop.com/hosting-clr-in-golang/

https://www.mode19.net/posts/clrhostingright/

https://www.accenture.com/us-en/blogs/cyber-defense/clrvoyance-loading-managed-code-into-unmanaged-processes

https://github.com/Accenture/CLRvoyance

https://github.com/N4kedTurtle/ExecuteAssembly_Mailslot

https://teamhydra.blog/2020/10/12/in-process-execute-assembly-and-mail-slots/

极简的代码示例:

https://www.ired.team/offensive-security/code-injection-process-injection/injecting-and-executing-.net-assemblies-to-unmanaged-process

https://gist.github.com/xpn/e95a62c6afcf06ede52568fcd8187cc2

https://modexp.wordpress.com/2019/05/10/dotnet-loader-shellcode/

https://github.com/med0x2e/ExecuteAssembly

https://github.com/Accenture/CLRvoyance