Description
Generates an obfuscated AMSI bypass in C#.
Overview
This script is designed to generate an AMSI (Antimalware Scan Interface) bypass technique in C#. It follows a structured approach to selecting, obfuscating, and compiling the AMSI bypass code to evade detection by security tools.
Parameters
| Name | Type | Description |
|---|---|---|
| AmsiBypassTechnique | SpecterInsight.Obfuscation.CSharp.AstTransforms.Bypasses.Techniques.CSharpAmsiBypassTechnique | The specific AMSI bypass technique to use. Default is HardwareBreakpointAmsiScanBuffer. |
| StringObfuscationTechnique | SpecterInsight.Obfuscation.CSharp.AstTransforms.CSharpStringVaultTransformTechnique | The string obfuscation technique to use. Default is Random. |
| FrameworkVersion | SpecterInsight.Obfuscation.CSharp.OutputTransforms.CSharpCompilerFrameworkVersion | The target .NET Framework version for the compiled binary (e.g., .NET 2.0, .NET 4.0). Default is Dotnet2. |
