Defending enterprise networks against attackers continues to present a difficult challenge for blue teams. Prevention has fallen short; improving detection & response capabilities has proven to be a step in the right direction. However, without the telemetry produced by adversary behavior, building new and testing existing detection capabilities will be constrained.
PurpleSharp is an open source adversary simulation tool written in C# that executes adversary techniques within Windows Active Directory environments. The resulting telemetry can be leveraged to measure and improve the efficacy of a detection engineering program. PurpleSharp leverages the MITRE ATT&CK Framework and executes different techniques across the attack life cycle: execution, persistence, privilege escalation, credential access, lateral movement, etc. It currently supports 47 unique ATT&CK techniques.
PurpleSharp was first presented at Derbycon IX on September 2019.
Visit the Demos section to see PurpleSharp in action.
Goals / Use Cases
The attack telemetry produced by simulating techniques with PurpleSharp aids research & detection teams in:
- Building new detecttion analytics
- Testing existing detection analytics
- Validating detection resiliency
- Identifying gaps in visibility
- Identifing issues with event logging pipeline
Quick Start Guide
Build from Source
PurpleSharp can be built with Visual Studio Community 2019 or 2020.
Download Latest Release
Download the latest release binary ready to be used to execute TTP simulations.
.NET Framework 4.5 is required.
The PurpleSharp assembly is all you need to start simulating attacks.
For simulation ideas, check out the Active Directory Purple Team Playbook, a repository of ready-to-use JSON playbooks for PurpleSharp.
- Mauricio Velazco - @mvelazco
The community is a great source of ideas and feedback. Thank you all.
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details