Skip to content
Back to skills

Evasion Techniques Av Bypass

ASecurity

Use when bypassing AV/EDR detection.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 10, 2026
ai-agentspythongoshellgitapi

Works with

  • api

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill evasion-techniques-av-bypass --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Evasion Techniques Av Bypass?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Evasion Techniques Av Bypass
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-evasion-techniques-av-bypass/badge)](https://www.skillsdirectory.com/skills/loopyluci-evasion-techniques-av-bypass)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: evasion-techniques-av-bypass
description: "Use when bypassing AV/EDR detection."
version: 1.0.0
author: Hermes Agent
license: MIT
metadata:
  hermes:
    tags: [AV-bypass, EDR-evasion, shellcode, process-injection, syscall, XOR-encrypt]
    related_skills: [exploit-development-basics, command-control-c2-infrastructure, binary-exploitation-rop, red-team-operations]
---

# Evasion Techniques and AV Bypass

Bypassing antivirus and EDR detection — from shellcode encryption and process injection through syscall invocation, AMSI bypass, and living-off-the-land.

## When to Use

- Evading AV detection for red team operations
- Bypassing Windows Defender, CrowdStrike, SentinelOne, Carbon Black
- Implementing process injection without detection
- AMSI bypass for PowerShell execution

## Evasion Methods

```python
EVASION_TECHNIQUES = {
    'shellcode_encryption': 'XOR, AES, RC4 encrypt shellcode, decrypt at runtime',
    'callbacks': 'Execute shellcode via callbacks (EnumWindowProc, CertEnumSystemStore)',
    'syscall_invocation': 'Direct syscalls instead of Win32 API — bypass userland hooks',
    'dll_hollowing': 'Replace loaded DLL in memory (known-good DLL)',
    'process_hollowing': 'Create suspended process of legit binary, replace memory, resume',
    'etw_patching': 'Patch Event Tracing for Windows to disable telemetry',
    'amsi_patching': 'Patch AmsiScanBuffer to return AMSI_RESULT_CLEAN',
    'signed_driver': 'Load signed but vulnerable driver (Bring Your Own Vulnerable Driver)',
    'living_off_land': 'Use built-in tools (PowerShell, WMI, certutil, bitsadmin) to appear benign',
}

# Shellcode XOR encoder
XOR_SHELLCODE_PY = """
def xor_shellcode(sc: bytes, key: bytes) -> bytes:
    return bytes(sc[i] ^ key[i % len(key)] for i in range(len(sc)))

encoded = xor_shellcode(shellcode, b'secret_key')
# decoder stub (asm): loop: lodsb; xor al, key; stosb; loop loop
"""
```

## Verification Checklist

- [ ] Shellcode obfuscated (XOR, AES, or RC4 encrypted)
- [ ] Process injection method chosen (CreateRemoteThread, APC, ThreadHijacking)
- [ ] Direct syscall or indirect syscall for critical APIs (NtCreateThreadEx, NtAllocateVirtualMemory)
- [ ] AMSI bypass tested (registry patching, DLL patch, or reflection)
- [ ] ETW patched or disabled
- [ ] Payload tested against target AV/EDR
- [ ] Traffic encrypted (HTTPS) — not plaintext C2
- [ ] OPSEC: delayed execution, sandbox detection, no suspicious strings
- [ ] Malware analysis sandbox evasion (sleep bypass, wrong OS, no GUI)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.