huntandhackett / PassiveAggression

Source code and examples for PassiveAggression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 pcapng and keytab in Program.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:

About

Source code and examples for PassiveAggression

License:MIT License


Languages

Language:C# 100.0%