π Security Tool Cheatsheet
Alex Morgan — Senior Penetration Tester
Why AI Changes the Game for Cybersecurity Threat Intelligence
The integration of AI into cybersecurity has revolutionized the way analysts identify, assess, and respond to threats. AI can analyze vast amounts of data in real-time, identify patterns, and predict potential vulnerabilities, significantly enhancing a security team’s capabilities.
Before You Start: How to Set Context Properly
To make the most of AI tools like ChatGPT or Claude for threat intelligence, itβs crucial to set the right context. Provide background information on your environment, the types of threats you’re concerned about, and any specific goals you wish to achieve.
Core Prompts Cheatsheet
What it does: This prompt gathers current threat intelligence specific to your industry.
When to use it: Use this when you need to stay updated with the latest threats.
How to customize: Specify your industry (e.g., finance, healthcare) for more relevant insights.
What it does: This prompt identifies specific attack vectors and provides preventive strategies.
When to use it: Use this for creating preventive protocols for small businesses.
How to customize: Adjust the scale (e.g., small, medium, large businesses) based on your threat model.
What it does: This prompt highlights common vulnerabilities in web applications.
When to use it: Use this when preparing for a web application security assessment.
How to customize: Specify your application’s architecture or framework for tailored advice.
What it does: This prompt creates a module for employee training on phishing.
When to use it: Use it when developing or updating a security training program.
How to customize: Specify the length and format of the training module.
What it does: This prompt provides a checklist for threat detection.
When to use it: Use this in response to a potential APT situation or as part of routine security assessments.
How to customize: Tailor it by industry or specific threats of concern.
Weak vs Strong Prompt Examples
Advanced Prompt Techniques
To maximize effectiveness:
- Role Prompting: Specify roles for context (e.g., “As a security analyst…”).
- Chain-of-Thought: Encourage step-by-step reasoning for complex inquiries.
- Few-Shot Examples: Provide examples in your prompt for better guidance.
- Output Formatting: Request output in specific formats, e.g., bullet points, tables.
Claude vs ChatGPT: Which Works Better For This
While both AI models have strengths, Claude tends to excel in generating structured outputs, making it more suited for formal reports. ChatGPT is typically better for conversational and interactive querying.
Tips for Getting Consistent Results
To receive consistent and valuable outputs from AI:
- Set clear expectations by outlining what you need.
- Incorporate context to help AI understand the task better.
- Iteratively adjust prompts based on responses to fine-tune quality.
- Use specific terminology relevant to your field for optimized results.
Quick Reference: All Prompts in One Place
1. Analyze the recent cyber threats reported in the last month in my industry and summarize key takeaways.
2. Identify the three most common attack vectors targeting small businesses this year and suggest preventive measures.
3. List potential vulnerabilities in a web application that could be exploited by attackers based on OWASP top 10.
4. Draft a security awareness training module focusing on phishing attacks for employees.
5. Generate a threat hunting checklist for detecting advanced persistent threats (APTs) in a corporate network.