Skip to content
Discussion options

You must be logged in to vote

AV evasion tips for authorized pentests:

1. AMSI Bypass - Add at start of PowerShell payloads

2. Obfuscation - Break up known signatures

  • Split strings: $(chr(73)+chr(69)+chr(88))
  • Base64 encode commands

3. Living off the land - Use built-in tools (certutil, bitsadmin)

4. Timing - Add delays so behavior analysis times out

5. Staged payloads - Download and execute in separate steps

For testing: Temporarily add exclusion in Defender settings, then re-enable after testing works.

Remember: Only use on systems you have authorization to test!

Replies: 1 comment

Comment options

bad-antics
Feb 1, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by bad-antics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant