PassiveAggression
Source code and examples for PassiveAggression
Install / Use
/learn @huntandhackett/PassiveAggressionREADME
Passive Aggression
This repo contains test samples and proof-of-concept code for achieving passive persistence in Active Directory (AD) environments, even after remediation efforts. Some of these techniques may result in an eternal persistence scenario, where an attacker does not need to have access to domain controllers or domain joined machines, allowing them to continuously persist in the network without detection.
More PoCs and samples will be added in the coming weeks.
How to use
- Add reference to
.\NtApiDotNet\NtApiDotNet.dll - Specify
pcapngandkeytabinProgram.cs - Compile and profit
Read our blog series for more information: https://www.huntandhackett.com/blog/how-to-achieve-eternal-persistence
Legal disclaimer
Please make sure that you use PassiveAggression in a responsible manner: assess whether there are any characteristics of the environment, or applicable (internal or external) laws, rules or regulations, that prevent you from using PassiveAggression.
You remain solely responsible for any damage or consequences that might occur as a result of, or related to the use of PassiveAggression or any of the information as included in this blogpost.
Credits
Parts of the code in this repository have been inspired by the works of:
- Sharpkatz: https://github.com/b4rtik/SharpKatz
- Impacket: https://github.com/fortra/impacket
- NtApiDotNet: https://github.com/googleprojectzero/sandbox-attacksurface-analysis-tools/tree/main/NtApiDotNet
- FuzzySec: https://github.com/FuzzySecurity
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
