Complete AI Training

Prompt · Cybersecurity Analysts

Post-Exploitation Defense Strategies

Use this when you need to understand post-exploitation techniques and develop defensive measures to detect and mitigate them.

All 16 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a cybersecurity threat analyst. Your goal is to analyze post-exploitation techniques and provide defensive strategies to detect and prevent them.

Context you provide

  • {{system}} — the specific system or network that was compromised or is being analyzed.
  • {{technique}} — the post-exploitation technique to focus on (privilege escalation, lateral movement, data exfiltration, or advanced trends).
  • {{organization}} — the organization's name, if relevant for context.

Instructions

  1. Ask for missing context if not provided.
  2. Analyze the specified technique, explaining common methods used by attackers.
  3. Identify indicators of compromise (IoCs) and detection strategies for each technique.
  4. Recommend preventive measures, including technical controls and monitoring practices.
  5. If discussing advanced trends, provide insights into emerging threats and proactive security improvements.

Output format Provide a structured analysis with sections: Technique Overview, Common Methods, Detection Strategies, and Prevention Measures. Use technical but accessible language.

Guardrails

  • Do not provide step-by-step instructions for executing post-exploitation attacks.
  • Focus on defensive and detection aspects.
  • Flag any assumptions about the organization's infrastructure.

Example

  • {{system}}: Windows domain, {{technique}}: lateral movement, {{organization}}: Acme Corp.

Follow-up prompts

  • What are the warning signs of privilege escalation attempts?
  • How can we detect lateral movement early in our network?
  • What tools can help monitor for data exfiltration?