Bookmarks for amsi
74 bookmarks — 74 scraped, 74 summarized, 0 pending
URL View
Malware development part 9 - hosting CLR and managed code injection – 0xPat blog – Red/purple teamer
https://0xpat.github.io/Malware_development_part_9/
Introduction This is the 9th post of a series which regards the development of malicious software. In this series we will explore and try to implement multiple techniques used by malicious applications to execute code, hide from defenses and persist. Today we explore techniques for executing managed code from a native code.
Bypassing Windows Defender | 0xStarlight
https://0xstarlight.github.io/posts/Bypassing-Windows-Defender/
Cyber security, Red Teaming and CTF Writeup’s
WorstFit: Unveiling Hidden Transformers in Windows ANSI! | Orange Tsai
https://blog.orange.tw/posts/2025-01-worstfit-unveiling-hidden-transformers-in-windows-ansi/
📌 This is a cross-post from DEVCORE. The research was first published at Black Hat Europe 2024. Personally, I would like to thank splitline, the co-author of this research & article, whose help
https://blog.scrt.ch/2025/02/18/reinventing-powershell-in-c-c/
Awaiting the Awaitables - Building the AwaitFuscator | Washi
https://blog.washi.dev/posts/awaitfuscator/
Here is a scenario you probably have never encountered. Have you ever decompiled a .NET binary that only consists of a bunch of await keywords and nothing else?
Addressing Common Misconceptions about .NET in the InfoSec World | Washi
https://blog.washi.dev/posts/misconceptions-about-dotnet/
Over the past couple years, I have come to know the .NET platform pretty well, from both a developer’s and a reverse engineer’s standpoint.
Hiding your .NET - ETW - XPN InfoSec Blog
https://blog.xpnsec.com/hiding-your-dotnet-etw/
In this post we will focus on Event Threading for Windows (ETW), how it is used to surface events on .NET assemblies, and how we can evade this kind of detection.
CrowdStrike Investigates the Threat of Patchless AMSI Bypass Attacks
https://www.crowdstrike.com/en-us/blog/crowdstrike-investigates-threat-of-patchless-amsi-bypass-attacks/
DSCourier: Weaponizing DSC via WinGet COM API for Evasive Execution
https://eclipsesec.com/posts/DSCourier/
GitHub - almounah/go-buena-clr: Good CLR Host with Native patchless AMSI Bypass
https://github.com/almounah/go-buena-clr
Good CLR Host with Native patchless AMSI Bypass. Contribute to almounah/go-buena-clr development by creating an account on GitHub.
GitHub - andreisss/Ghosting-AMSI: Ghosting-AMSI
https://github.com/andreisss/Ghosting-AMSI
Ghosting-AMSI . Contribute to andreisss/Ghosting-AMSI development by creating an account on GitHub.
GitHub - anonymous300502/Nuke-AMSI: NukeAMSI is a powerful tool designed to neutralize the Antimalware Scan Interface (AMSI) in Windows environments.
https://github.com/anonymous300502/Nuke-AMSI/
NukeAMSI is a powerful tool designed to neutralize the Antimalware Scan Interface (AMSI) in Windows environments. - anonymous300502/Nuke-AMSI
GitHub - bananabr/CLRInjector: A PoC .NET-specific process injection tool
https://github.com/bananabr/CLRInjector
A PoC .NET-specific process injection tool. Contribute to bananabr/CLRInjector development by creating an account on GitHub.
Invoke Native Methods with DllImport · boo-lang/boo Wiki · GitHub
https://github.com/boo-lang/boo/wiki/Invoke-Native-Methods-with-DllImport
The Boo Programming Language. Contribute to boo-lang/boo development by creating an account on GitHub.
Scripting with the Boo.Lang.Compiler API · boo-lang/boo Wiki · GitHub
https://github.com/boo-lang/boo/wiki/Scripting-with-the-Boo.Lang.Compiler-API
The Boo Programming Language. Contribute to boo-lang/boo development by creating an account on GitHub.
https://github.com/byt3bl33d3r/OffensiveDLR
GitHub - DylanDavis1/DSCourier: DSCourier is a proof-of-concept that uses the WinGet Configuration COM API to apply DSC configurations through Microsoft-signed binaries. · GitHub
https://github.com/DylanDavis1/DSCourier
DSCourier is a proof-of-concept that uses the WinGet Configuration COM API to apply DSC configurations through Microsoft-signed binaries. - DylanDavis1/DSCourier
GitHub - EricEsquivel/Inline-EA: Cobalt Strike BOF for evasive .NET assembly execution
https://github.com/EricEsquivel/Inline-EA
Cobalt Strike BOF for evasive .NET assembly execution - EricEsquivel/Inline-EA
GitHub - iss4cf0ng/dotNetPELoader: A C# PE loader for x64 and x86 PE files.
https://github.com/iss4cf0ng/dotNetPELoader
A C# PE loader for x64 and x86 PE files. Contribute to iss4cf0ng/dotNetPELoader development by creating an account on GitHub.
GitHub - KingKDot/PowerCrypt: The best powershell obfuscator ever made
https://github.com/KingKDot/PowerCrypt
The best powershell obfuscator ever made. Contribute to KingKDot/PowerCrypt development by creating an account on GitHub.
GitHub - MHaggis/NEBULA: Interactive PowerShell framework for testing WMI, COM, LOLBAS, and persistence techniques · GitHub
https://github.com/MHaggis/NEBULA
Interactive PowerShell framework for testing WMI, COM, LOLBAS, and persistence techniques - MHaggis/NEBULA
GitHub - Mister-Joe/PositiveIntent: Evasive loader for .NET Framework assemblies · GitHub
https://github.com/Mister-Joe/PositiveIntent
Evasive loader for .NET Framework assemblies. Contribute to Mister-Joe/PositiveIntent development by creating an account on GitHub.
GitHub - mochabyte0x/TrampoLatte: A proof of concept AMSI & ETW bypass using trampolines for hooking and modifying execution flow
https://github.com/mochabyte0x/TrampoLatte
A proof of concept AMSI & ETW bypass using trampolines for hooking and modifying execution flow - GitHub - mochabyte0x/TrampoLatte: A proof of concept AMSI & ETW bypass using trampolines for hooking and modifying execution flow
GitHub - NtDallas/MemLoader: Run native PE or .NET executables entirely in-memory. Build the loader as an .exe or .dll—DllMain is Cobalt Strike UDRL-compatible
https://github.com/NtDallas/MemLoader
Run native PE or .NET executables entirely in-memory. Build the loader as an .exe or .dll—DllMain is Cobalt Strike UDRL-compatible - NtDallas/MemLoader
GitHub - passthehashbrowns/Being-A-Good-CLR-Host
https://github.com/passthehashbrowns/Being-A-Good-CLR-Host
Contribute to passthehashbrowns/Being-A-Good-CLR-Host development by creating an account on GitHub.
GitHub - pwndizzle/c-sharp-memory-injection: A set of scripts that demonstrate how to perform memory injection in C# · GitHub
https://github.com/pwndizzle/c-sharp-memory-injection
A set of scripts that demonstrate how to perform memory injection in C# - pwndizzle/c-sharp-memory-injection
GitHub - raskolnikov90/Invoke-NetLoader: Powershell wrap of NetLoader · GitHub
https://github.com/raskolnikov90/Invoke-NetLoader
Powershell wrap of NetLoader. Contribute to raskolnikov90/Invoke-NetLoader development by creating an account on GitHub.
GitHub - raskolnikov90/LainAmsiOpenSession: Custom Amsi Bypass by patching AmsiOpenSession function in amsi.dll · GitHub
https://github.com/raskolnikov90/LainAmsiOpenSession
Custom Amsi Bypass by patching AmsiOpenSession function in amsi.dll - raskolnikov90/LainAmsiOpenSession
GitHub - S3cur3Th1sSh1t/Amsi-Bypass-Powershell: This repo contains some Amsi Bypass methods i found on different Blog Posts. · GitHub
https://github.com/S3cur3Th1sSh1t/Amsi-Bypass-Powershell
This repo contains some Amsi Bypass methods i found on different Blog Posts. - S3cur3Th1sSh1t/Amsi-Bypass-Powershell
GitHub - S3cur3Th1sSh1t/Amsi-Bypass-Powershell: This repo contains some Amsi Bypass methods i found on different Blog Posts.
https://github.com/S3cur3Th1sSh1t/Amsi-Bypass-Powershell/tree/master
This repo contains some Amsi Bypass methods i found on different Blog Posts. - S3cur3Th1sSh1t/Amsi-Bypass-Powershell
GitHub - scrt/PowerChell: A PowerShell console in C/C++ with all the security features disabled
https://github.com/scrt/PowerChell
A PowerShell console in C/C++ with all the security features disabled - scrt/PowerChell
GitHub - Sh3lldon/FullBypass: A tool which bypasses AMSI (AntiMalware Scan Interface) and PowerShell CLM (Constrained Language Mode) and gives you a FullLanguage PowerShell reverse shell.
https://github.com/Sh3lldon/FullBypass
A tool which bypasses AMSI (AntiMalware Scan Interface) and PowerShell CLM (Constrained Language Mode) and gives you a FullLanguage PowerShell reverse shell. - Sh3lldon/FullBypass
GitHub - strozfriedberg/SharpParty: C# implementation of the process injection techniques dubbed "PoolParty"
https://github.com/strozfriedberg/SharpParty
C# implementation of the process injection techniques dubbed "PoolParty" - strozfriedberg/SharpParty
GitHub - t1Sh1n4/Invoke-SPSI: Invoke-SPSI - Simple PowerShell Shellcode Injector
https://github.com/t1Sh1n4/Invoke-SPSI
Invoke-SPSI - Simple PowerShell Shellcode Injector - t1Sh1n4/Invoke-SPSI
GitHub - tihanyin/PSSW100AVB: A list of useful Powershell scripts with 100% AV bypass (At the time of publication). · GitHub
https://github.com/tihanyin/PSSW100AVB
A list of useful Powershell scripts with 100% AV bypass (At the time of publication). - GitHub - tihanyin/PSSW100AVB: A list of useful Powershell scripts with 100% AV bypass (At the time of publication).
GitHub - vari-sh/RedTeamGrimoire: 🔥📜 Forbidden collection of Red Team sorcery 📜🔥 · GitHub
https://github.com/vari-sh/RedTeamGrimoire/
🔥📜 Forbidden collection of Red Team sorcery 📜🔥. Contribute to vari-sh/RedTeamGrimoire development by creating an account on GitHub.
RedTeamGrimoire/Obolos at main · vari-sh/RedTeamGrimoire · GitHub
https://github.com/vari-sh/RedTeamGrimoire/tree/main/Obolos
🔥📜 Forbidden collection of Red Team sorcery 📜🔥. Contribute to vari-sh/RedTeamGrimoire development by creating an account on GitHub.
GitHub - vxCrypt0r/AMSI_VEH: A Powershell AMSI Bypass technique via Vectored Exception Handler (VEH). This technique does not perform assembly instruction patching, function hooking or Import Address Table (IAT) modification.
https://github.com/vxCrypt0r/AMSI_VEH
A Powershell AMSI Bypass technique via Vectored Exception Handler (VEH). This technique does not perform assembly instruction patching, function hooking or Import Address Table (IAT) modification. - vxCrypt0r/AMSI_VEH
GitHub - Zypherion-Technologies/Nemesis: .NET process monitor that hooks CLR at the native layer, dumps reflective assemblies from memory, and checks AMSI/ETW integrity vs on disk binaries. · GitHub
https://github.com/Zypherion-Technologies/Nemesis
.NET process monitor that hooks CLR at the native layer, dumps reflective assemblies from memory, and checks AMSI/ETW integrity vs on disk binaries. - Zypherion-Technologies/Nemesis
GerhardBotha97 / Nimbus · GitLab
https://gitlab.com/gerbot/nimbus
GitLab.com
The RETurn of AMSI – Easy DLL Patching without C3 | GlobeTech LLC
https://globetech.biz/index.php/2025/06/16/the-return-of-amsi-easy-dll-patching-without-c3/
TL;DR For people that just want the slides and github link
Being a good CLR host – Modernizing offensive .NET tradecraft | IBM
https://www.ibm.com/think/x-force/being-a-good-clr-host-modernizing-offensive-net-tradecraft
Learn how red teams can modernize their use of .NET assemblies using CLR customizations.
Red Team Tactics: Utilizing Syscalls in C# - Writing The Code - Jack Hacks
https://jhalon.github.io/utilizing-syscalls-in-csharp-2/
In my previous post “Red Team Tactics: Utilizing Syscalls in C# - Prerequisite Knowledge”, we covered some basic prerequisite concepts that we needed to understand before we could utilize syscalls in C#. We touched on some in-depth topics like windows internals and of course syscalls. We also went over how the .NET Framework functions and how we can utilize unmanaged code in C# to execute our syscall assemblies.
Refining Detection: New Perspectives on ETW Patching Telemetry | by Jonathan Johnson | Medium
https://jonny-johnson.medium.com/refining-detection-new-perspectives-on-etw-patching-telemetry-e6c94e55a9ad
Refining Detection: New Perspectives on ETW Patching Telemetry Introduction Not long ago I wrote a blog called Understanding ETW Patching where I walked through how ETW patching is a hyper-focused …
Understanding ETW Patching. Introduction | by Jonathan Johnson | Medium
https://jonny-johnson.medium.com/understanding-etw-patching-9f5af87f9d7b
Understanding ETW Patching Introduction As of late, I have gotten a lot of questions around Event Tracing for Windows (ETW) patching, specifically the following questions: Which ETW providers can be …
SharpParty: Process Injection in C#
https://www.levelblue.com/blogs/spiderlabs-blog/sharpparty-process-injection-in-c
This blog post introduces an addition to the red teamers’ toolkit called “SharpParty” – a C# implementation of the injection techniques dubbed “PoolParty”.
Ghosting AMSI: Cutting RPC to disarm AV | by Andrea Bocchetti | Medium
https://medium.com/@andreabocchetti88/ghosting-amsi-cutting-rpc-to-disarm-av-04c26d67bb80
Ghosting AMSI: Cutting RPC to disarm AV In this post, we explore how to bypass AMSI’s scanning logic by hijacking the RPC layer it depends on — specifically the NdrClientCall3 stub used to invoke …
AMSI BYPASS WITHOUT AMSI BYPASS !? | by Itay&omer | Medium
https://medium.com/@itayomer83/amsi-bypass-without-amsi-bypass-693b542eb05c
AMSI BYPASS WITHOUT AMSI BYPASS !? Introduction In this blog, we — Itay Yashar and Omer Golan outline a highly stealthy technique that prevents amsi.dll from being loaded into a process when …
Indirect Syscall in CSharp | Netero1010 Security Lab
https://www.netero1010-securitylab.com/evasion/indirect-syscall-in-csharp
19 September 2022
https://www.nttdata.com/global/en/-/media/nttdataglobal/1_files/services/cybersecurity/radar_magazine/2024/radar_supplement_july.pdf
Windows 11 24H2: AppLocker Script Enforcement Not Working - Patch My PC
https://patchmypc.com/blog/windows-11-24h2-applocker-powershell-constrained-language-broken/
On Windows 11 24H2, Constrained Language Mode is no longer enforced correctly when using AppLocker Script Enforcement Rules
New AMSI Bypass Using CLR Hooking – Practical Security Analytics LLC
https://practicalsecurityanalytics.com/new-amsi-bypass-using-clr-hooking/
New AMSI Bypss Technique Modifying CLR.DLL in Memory – Practical Security Analytics LLC
https://practicalsecurityanalytics.com/new-amsi-bypss-technique-modifying-clr-dll-in-memory/
Obfuscating API Patches to Bypass New Windows Defender Behavior Signatures – Practical Security Analytics LLC
https://practicalsecurityanalytics.com/obfuscating-api-patches-to-bypass-new-windows-defender-behavior-signatures/
WasmForge brings dead GhostPack C# tools back past EDR
https://www.praetorian.com/blog/wasmforge-csharp-ghostpack-edr-evasion/
WasmForge compiles GhostPack C# tools to WebAssembly. Surface how Rubeus and Seatbelt run past your AMSI and ETW defenses, signature-free.
Blog Bypass AMSI in 2025 - r-tec Cyber Security
https://www.r-tec.net/r-tec-blog-bypass-amsi-in-2025.html
.NET Assembly Obfuscation for Memory Scanner Evasion - r-tec Cyber Security
https://www.r-tec.net/r-tec-blog-net-assembly-obfuscation-for-memory-scanner-evasion.html
This blog post will give a short overview of how in-memory .NET assembly execution commonly works and what detection mechanisms exist.
.NET Hooking - Harmonizing Managed Territory - Check Point Research
https://research.checkpoint.com/2024/net-hooking-harmonizing-managed-territory/
Latest Research by our Team
Bypass AMSI by manual modification | S3cur3Th1sSh1t
https://s3cur3th1ssh1t.github.io/Bypass_AMSI_by_manual_modification/
This is my very first blog post. Its about how to manually change AMSI signatures/triggers to bypass it.
The difference between Powershell only & process specific AMSI bypasses | S3cur3Th1sSh1t
https://s3cur3th1ssh1t.github.io/Powershell-and-the-.NET-AMSI-Interface/
In the last months I was often asked about potential errors using PowerSharpPack or other PS1-scripts loading .NET assemblies via [System.Reflection.Assembly...
Assembly Byte Embedding & Reflection – Sabotage Sec
https://sabotagesec.com/assembly-byte-embedding-reflection/
Reflection in C# 101 – Sabotage Sec
https://sabotagesec.com/reflection-in-c-101/
Maland | Offensive PowerShell for Red Teamer with Defense Evasion Techniques
https://screetsec.com/blog/offensive-powershell-for-red-teamer-with-defense-evastion-techniques
This post cover how PowerShell becomes a main tool in offensive operations starting with the weaponization, delivery, attak-chain and post-exploitation.
https://securityliterate.com/go-big-or-go-home-and-other-terrible-go-puns-tips-for-analyzing-golang-malware/
One Tool To Rule Them All - Shells.Systems
https://shells.systems/one-tool-to-rule-them-all/
AMSI Bypass via Page Guard
https://shigshag.com/blog/amsi_page_guard
Donut v1.0 "Cruller" - ETW Bypasses, Module Overloading, and Much More – The Wover – Red Teaming, .NET, and random computing topics
https://thewover.github.io/Cruller/
TLDR: Version v1.0 “Cruller” of Donut has been released, including Module Overloading for native PEs, ETW bypasses, a Dockerfile, support for binaries without relocation information, and many other minor improvements and bugfixes.
Emulating Covert Operations - Dynamic Invocation (Avoiding PInvoke & API Hooks) – The Wover – Red Teaming, .NET, and random computing topics
https://thewover.github.io/Dynamic-Invoke/
TLDR: Presenting DInvoke, a new API in SharpSploit that acts as a dynamic replacement for PInvoke. Using it, we show how to dynamically invoke unmanaged code from memory or disk while avoiding API Hooking and suspicious imports.
Donut - Injecting .NET Assemblies as Shellcode – The Wover – Red Teaming, .NET, and random computing topics
https://thewover.github.io/Introducing-Donut/
TLDR: You can now inject .NET Assemblies into Windows processes using this repo: https://github.com/TheWover/donut/
Mixed Assemblies - Crafting Flexible C++ Reflective Stagers for .NET Assemblies – The Wover – Red Teaming, .NET, and random computing topics
https://thewover.github.io/Mixed-Assemblies/
TLDR: One of the ways to load .NET Assemblies through unmanaged code is to use C++/CLI. What is that, you may ask? It is Visual C++ that can be compiled to CIL rather than native machine code. You may specify that code is either managed or native. Native code is written the same as normal C++. The managed version, however, uses a different syntax. To compile managed C++, you must use the /clr option on the Visual Studios compiler. This repo provides some code samples that demonstrate how to do this. Warning, the code is a bit wonky. That is partly because I’ve never gotten around to cleaning it up and also because this is just meant to make you aware that C++/CLI is a thing.
Patchless AMSI Bypass via Hardware Breakpoints — Implementation Notes | SixSixSix
https://trexnegro.github.io/posts/patchless-amsi-bypass-hwbp/
AMSI is the Microsoft anti-malware barrier that every modern user-mode loader has to deal with. Patching it is loud — every defender knows the byte signature. This post walks through a patchless bypass using x86 hardware debug registers + a vectored exception handler. Validated against a contemporary commercial EDR in a licensed lab. Implementation, stack mechanics, and detection avenues.
Bypassing Detections with Command-Line Obfuscation
https://www.wietzebeukema.nl/blog/bypassing-detections-with-command-line-obfuscation
Defensive tools like AVs and EDRs rely on command-line arguments for detecting malicious activity. This post demonstrates how command-line obfuscation, a shell-independent technique that exploits executables’ parsing “flaws”, can bypass such detections. It also introduces ArgFuscator, a new tool that documents obfuscation opportunities and generates obfuscated command lines.
MutationGate | Winslow Blog
https://winslow1984.com/books/malware/page/mutationgate
Bypass AMSI On Windows 11 | Winslow Blog
https://winslow1984.com/books/red-team/page/bypass-amsi-on-windows-11