# AV Evasion Techniques

Source: https://pentest.h4rithd.com/redteam/av-evasion-techniques/  
Section: RedTeam  
Updated: 2026-05-30  
Author: Harith Dilshan (h4rithd), https://h4rithd.com

* [Invoke-Obfuscation](https://github.com/danielbohannon/Invoke-Obfuscation)

```bash
## ------------------| Basic setup
git clone https://github.com/danielbohannon/Invoke-Obfuscation
cd Invoke-Obfuscation
pwsh
Import-Module ./Invoke-Obfuscation.psd1
cd /tmp
Invoke-Obfuscation

## ------------------| Obfuscate entire command via Encoding
SET SCRIPTPATH /tmp/revshell.ps1
ENCODING
5
OUT /tmp/enc.ps1

## ------------------| Obfuscate PowerShell Ast nodes (PS3.0+)
SET SCRIPTPATH /tmp/revshell.ps1
AST
ALL
1
OUT /tmp/enc.ps1
```

* Evasion with [Shellter](https://www.shellterproject.com/)

```bash
shellter
A ### For automatic mode
### you can do it your self.
```

* Bookmarks
  * [https://github.com/dev-frog/C-Reverse-Shell](https://github.com/dev-frog/C-Reverse-Shell)
  * [https://github.com/N1z0ku/AV\_Evasion](https://github.com/N1z0ku/AV_Evasion)
  * [https://github.com/ch2sh/Jlaive](https://github.com/ch2sh/Jlaive)
