π Security Tool Cheatsheet
Alex Morgan — Senior Penetration Tester
Why AI Changes the Game for Cybersecurity Analysts
The application of AI in cybersecurity is revolutionizing how security professionals conduct threat analysis, incident response, and vulnerability management. AI tools like ChatGPT and Claude can automate tedious tasks, provide insightful analysis, and generate reports, making analysts more efficient.
Before You Start: How to Set Context Properly
To effectively use AI, it is crucial to set a clear context. Describe the specific situation, provide necessary background information, and specify the desired output format. Context-setting ensures the AI understands what you need.
Core Prompts Cheatsheet
This prompt is useful for developing incident response strategies. Customize by adding specific details about the incidents.
Use this to gather intelligence on vulnerabilities for specific software. Replace “[Insert Software]” with the software in question.
Customization comes by specifying the target audience’s level of technical understanding and including company-specific examples.
This prompt is good for obtaining a quick overview of API security practices, ideal for development-oriented teams.
Tailor this by specifying your audience and the focus of the trends.
Replace “[Insert Company Name]” with the relevant target organization.
This is ideal for educating teams about specific threats.
Adapt the prompt by indicating which regulation you are focusing on, such as GDPR or HIPAA.
This is particularly useful for strategic planning discussions.
Weak vs Strong Prompt Examples
Advanced Prompt Techniques
Add context, utilize role prompting, and incorporate examples.
- Role Prompting: Specify the role you want the AI to take (e.g., “As a cybersecurity specialist, provide…”).
- Chain-of-Thought: Encourage the AI to think step-by-step (e.g., “List the steps to conduct a security assessment.”).
- Few-shot Examples: Provide examples of desired outputs (e.g., formatted reports or policy templates).
- Output Formatting: Indicate how you want results structured (e.g., lists, bullet points, or tables).
Claude vs ChatGPT: Which Works Better For This
Both AI models have unique strengths:
- ChatGPT: Often provides more conversational context and depth.
- Claude: Excels in generating structured and concise outputs.
Your choice may depend on the specific use case and the type of responses you prefer.
Tips for Getting Consistent Results
Be specific, iterative, and provide feedback:
- Contextual Details: The more detail you include, the better the output quality.
- Iterative Refinement: Adjust and iterate on prompts to enhance output.
- Feedback Loops: Give specific feedback to improve follow-up responses.
Quick Reference: All Prompts in One Place
- Analyze the following security incident and propose a response plan: [Insert Incident Details]
- List the top ten security vulnerabilities of [Insert Software] and provide mitigations for each.
- Draft a phishing awareness training presentation for employees explaining common tactics used by attackers.
- What are the best practices for securing API endpoints?
- Generate a report on the recent cybersecurity trends in [Insert Industry] for a management meeting.
- Simulate a security audit for [Insert Company Name] identifying gaps in their cybersecurity posture.
- Explain how [Insert Specific Attack Technique] works and how to defend against it.
- Create a checklist of compliance requirements for [Insert Regulation].
- Identify emerging threats in cybersecurity for 2023 and recommend how organizations can prepare for them.