If we were to compile the ultimate guide into a single PDF, it would contain the following offensive countermeasure techniques. These are legal when used on your own network; they become felonious (Computer Fraud and Abuse Act - CFAA) when used on third-party infrastructure.
Offensive Countermeasures: The Art of Active Defense , authored by John Strand, Paul Asadoorian, Ethan Robish, and Benjamin Donnelly, is a foundational guide for cybersecurity professionals looking to shift from a purely reactive posture to one of active defense offensive countermeasures the art of active defense pdf
For a more in-depth look at offensive countermeasures, we recommend the following resources: If we were to compile the ultimate guide