SOC analyst at a dark terminal using Claude AI with glowing prompt cards floating around the screen
AI Security

50 Claude Prompts Every SOC Analyst Should Save Right Now

Copy-paste these battle-tested prompts into Claude to cut triage time, write better reports, and hunt threats faster — no PhD required.

Aprensec Team
May 6, 202618 min read
Claude AISOC AnalystPrompt EngineeringIncident ResponseThreat HuntingSIEMCybersecurity AutomationAI for Security

Why Claude Is Now the SOC Analyst's Best Tool

Tier 1 analysts spend an estimated 65% of their shift on tasks that are fundamentally language problems: reading emails, summarizing logs, writing tickets, formatting reports. Claude is exceptionally good at language problems.

This is not about replacing analysts. It is about eliminating the 40 minutes it takes to write an incident report, the copy-paste marathon through VirusTotal, and the Sunday afternoon spent translating a KQL query someone else wrote.

The 50 prompts below are organized into 8 operational categories. Each is written to be copy-pasted directly into Claude — or into a CLAUDE.md so every session starts with full SOC context. Where a prompt uses a tool like the URLScanner MCP, the setup takes under 5 minutes and you only do it once.

Save this page. Share it with your team. Every prompt here has been designed around real SOC workflows, not theoretical ones.

Category 1: Phishing Triage (Prompts 1–8)

Phishing accounts for over 80% of Tier 1 volume. These prompts turn a raw email paste into a structured verdict in seconds.

---

Prompt 1 — Full header analysis

Analyze the following email headers for phishing indicators. Check: SPF/DKIM/DMARC results, originating IP reputation, header injection anomalies, Reply-To vs From mismatch, and unusual relay hops. Output a risk rating (Low/Medium/High/Critical) with bullet-point evidence. [PASTE FULL EMAIL HEADERS HERE]

---

Prompt 2 — Body link extraction

Extract all URLs and domains from the following email body. For each: identify if it is a redirect chain, flag look-alike domains using Unicode/homograph tricks, note any URL shorteners, and mark any that use brand impersonation. Do not visit the URLs — just analyze the text. [PASTE EMAIL BODY HERE]

---

Prompt 3 — Lure classification

Classify the social engineering technique used in this email. Choose from: urgency/fear, authority impersonation, reward/prize, curiosity, invoice fraud, HR/payroll lure, IT helpdesk lure, or other. Then identify the target persona (finance, HR, exec, IT, general staff) and the intended victim action (click link, open attachment, reply with credentials, wire transfer). [PASTE EMAIL BODY]

---

Prompt 4 — Attachment risk scoring

I have an email attachment with the following metadata: - Filename: [FILENAME] - File type (MIME): [MIME TYPE] - File size: [SIZE] - Macro content indicator: [YES/NO/UNKNOWN] Based on filename and type, what are the top 3 malware delivery techniques this file could be used for? What static analysis steps should I run first?

---

Prompt 5 — Bulk triage summary

I have 12 phishing reports submitted by users today. Here are the subjects and sender domains: [LIST SUBJECTS + DOMAINS] Group these into likely campaigns (shared infrastructure, subject patterns, or lure type). Flag any that may be targeted spear-phishing vs. commodity spam. Prioritize which 3 I should investigate first.

---

Prompt 6 — Executive spear-phish assessment

This email was received by our CFO. Assess it specifically for Business Email Compromise (BEC) indicators: CEO/vendor impersonation, wire transfer or payroll diversion language, unusual urgency that bypasses approval chains, and domain lookalikes. Score BEC confidence 0–10. [PASTE EMAIL]

---

Prompt 7 — Phishing ticket generation

Generate a ServiceNow-style incident ticket for the following confirmed phishing email. Include: Summary (1 sentence), Affected users (list I will provide), Attack vector, Indicators of Compromise (URLs, domains, sender), Immediate actions taken, Recommended next steps. Use professional tone, no markdown — plain text only. [PASTE EMAIL + IOC LIST]

---

Prompt 8 — Phishing simulation feedback email

Write a security awareness email to send to an employee who clicked a phishing simulation link. Tone: supportive, educational, not shaming. Cover: what they clicked, what a real attacker could have done, 3 red flags they missed, and 3 things to do next time. Keep it under 250 words.

Category 2: IOC Enrichment (Prompts 9–14)

Pivot faster on indicators. These prompts work standalone or alongside tools like URLScanner MCP and Shodan MCP.

---

Prompt 9 — IP reputation analysis

I have the following IP addresses from a suspicious connection log. For each IP, tell me: what ASN/provider it belongs to, whether it is a known hosting/VPS/TOR/proxy provider, what ports are commonly open on this type of infrastructure, and what attack types commonly originate from this provider. IPs: [LIST IPS]

---

Prompt 10 — Domain registration red flags

Analyze these domains for threat actor registration patterns. Flag: recently registered (under 30 days), free TLDs (.xyz, .top, .tk), subdomain abuse of legitimate brands, DGA (domain generation algorithm) entropy patterns, and sequential naming (phish1.com, phish2.com). Domains: [LIST DOMAINS]

---

Prompt 11 — Hash to malware family pivot

I have the following file hashes from an endpoint alert: [MD5/SHA1/SHA256] Based on hash format only (I know you can't look them up), explain: how to pivot from a SHA256 hash to a malware family using VirusTotal, MalwareBazaar, and Hybrid Analysis. Give me the exact search URLs and what fields to look at in each platform.

---

Prompt 12 — IOC correlation table

Build a correlation table from the following IOC list. Group by: IP, domain, URL, file hash, email address. For each group, note shared infrastructure patterns, likely campaign attribution (if any), and which IOCs I should prioritize blocking first. [PASTE RAW IOC LIST]

---

Prompt 13 — WHOIS interpretation

Interpret the following WHOIS record for threat assessment. Flag: privacy-protected registrant (potential evasion), registrar known for abuse tolerance, creation/expiry dates suggesting throwaway domain, nameservers associated with bulletproof hosting, and any mismatch between registrant country and hosting country. [PASTE WHOIS OUTPUT]

---

Prompt 14 — Certificate transparency pivot

I found this suspicious domain: [DOMAIN]. Explain how to use crt.sh and Certificate Transparency logs to find related subdomains and sibling domains registered by the same threat actor. Walk me through the search steps and what patterns to look for in the results.

urlscanner.online

Scan Any URL — In Under 2 Seconds.

8 parallel security modules: malware, SSL, DNS, phishing, WHOIS, headers, screenshots, and AI scoring. 100% private.

Google Safe Browsing · URLhausSSL/TLS Full ChainDNS EnumerationPhishing DetectionAI Safety Score (0–100)Website Screenshots
Try URLScanner.online

Category 3: Incident Reports (Prompts 15–20)

Incident reports are where analysts lose hours. These prompts produce first drafts in under 60 seconds.

---

Prompt 15 — Tier 1 investigation summary

Write a Tier 1 incident investigation summary based on the following notes. Use this structure: Timeline (bullet points with timestamps), What happened (2–3 sentences), Affected systems/users, IOCs identified, Actions taken, Escalation decision and reason. Professional tone, factual, no speculation. Notes: [PASTE RAW ANALYST NOTES]

---

Prompt 16 — Post-incident report (PIR)

Write a post-incident report for the following security event. Sections required: Executive Summary (non-technical, 3 sentences), Incident Timeline, Root Cause Analysis, Impact Assessment, What Went Well, What Needs Improvement, Corrective Actions (with owner and deadline fields). Audience: CISO and IT leadership. Incident details: [PASTE]

---

Prompt 17 — Escalation write-up

I need to escalate this alert to Tier 2. Write a concise escalation note covering: why I am escalating (evidence threshold met), what I have already ruled out, the 3 most likely attack hypotheses, and what I need Tier 2 to investigate next. Max 200 words. Alert details and investigation so far: [PASTE]

---

Prompt 18 — Ransomware incident report

Generate a ransomware incident report template for our organization. Include all required sections for: insurance claim purposes, law enforcement referral, board notification, and regulatory disclosure (GDPR/DORA). Flag which sections are legally required vs. optional. Leave [PLACEHOLDER] fields for data I will fill in.

---

Prompt 19 — Lessons learned document

We just closed a security incident. Based on the following timeline and notes, write a lessons-learned document for our runbook. Focus on: detection gaps (what we missed and why), response gaps (what slowed us down), and 5 concrete process improvements with priority ratings (P1–P3). [PASTE INCIDENT TIMELINE AND NOTES]

---

Prompt 20 — Breach notification draft

Draft a customer breach notification email for the following incident. Requirements: plain language (no jargon), GDPR-compliant (72-hour clock reference), covers what data was affected, what we have done, what customers should do now, and a contact point. Empathetic but not alarmist tone. Incident summary: [PASTE]

Category 4: Threat Hunting (Prompts 21–28)

These prompts help you generate hypotheses, translate them to queries, and interpret results — even if you're new to a SIEM or EDR platform.

---

Prompt 21 — Hypothesis generation

We are threat hunting in a Windows enterprise environment. Based on MITRE ATT&CK, generate 5 threat hunting hypotheses relevant to initial access and lateral movement techniques used by ransomware-affiliated threat actors in 2025–2026. For each hypothesis: state the assumption, the data source needed, and the detection logic in plain English.

---

Prompt 22 — KQL translation

Translate this threat hunting hypothesis into a Microsoft Sentinel KQL query: Hypothesis: [DESCRIBE WHAT YOU ARE LOOKING FOR] Available tables: SecurityEvent, DeviceProcessEvents, SigninLogs, EmailEvents, OfficeActivity. Output: working KQL with comments explaining each filter. Include a time range parameter I can adjust.

---

Prompt 23 — Splunk SPL query

Write a Splunk SPL query to detect [DESCRIBE BEHAVIOR] in our environment. Available indexes: [LIST INDEXES]. Available sourcetypes: [LIST SOURCETYPES]. Include stats commands to surface the top 10 anomalies and a where clause to filter out known-good baselines.

---

Prompt 24 — LOLBIN detection logic

List the top 10 Living-off-the-Land Binaries (LOLBINs) abused in enterprise intrusions in 2025. For each: the binary name, the attacker technique (with ATT&CK ID), a command-line pattern to hunt for, and a false positive consideration for our Windows fleet.

---

Prompt 25 — Lateral movement hunting

We have identified a potentially compromised workstation: [HOSTNAME/IP]. Generate a lateral movement hunting checklist. Include: Kerberoasting indicators, Pass-the-Hash patterns, SMB share enumeration, WMI/PsExec remote execution, and scheduled task creation. For each, specify the log source (Event ID or EDR telemetry) and what anomaly to look for.

---

Prompt 26 — Beaconing pattern analysis

I have the following DNS query log showing repeated lookups to the same domain. Analyze it for C2 beaconing patterns: consistent interval (jitter under 10%), unusual query volumes, non-standard query types (TXT/MX abuse), domains with high entropy, and off-hours activity. [PASTE DNS LOG SNIPPET]

---

Prompt 27 — Alert fatigue triage

We are getting 3,200 alerts per day from our SIEM. Help me build a suppression strategy. Given the following alert types and volumes, recommend: which to suppress with conditions (not blind suppression), which to tune with better baselines, which to consolidate into parent alerts, and which 5 to prioritize for investigation queue. [PASTE ALERT TYPE LIST WITH VOLUMES]

---

Prompt 28 — Hunting report writeup

Write a threat hunting report for our security leadership based on a 2-week hunt. Structure: Objective, Scope, Data Sources Used, Hypotheses Tested (table: hypothesis, result, evidence), Findings (detections vs. no findings), Gaps Identified, Recommendations. Professional tone for a non-technical CISO. Hunt notes: [PASTE]

Category 5: Malware Analysis (Prompts 29–34)

Use Claude to understand malware behavior, triage samples faster, and write better analysis notes without needing a malware RE background.

---

Prompt 29 — Static analysis checklist

I have a suspicious Windows PE file (EXE/DLL). Walk me through a complete static analysis checklist in order: file metadata, packer/obfuscation detection (PE entropy), string extraction (what to look for), import table analysis (suspicious API calls), section anomalies, and YARA rule candidates. Tools to use: PEStudio, FLOSS, Detect-It-Easy.

---

Prompt 30 — Sandbox report interpretation

Interpret the following automated sandbox report for a security analyst who is not a malware reverse engineer. Translate technical behaviors into: what the malware does in plain English, what data it likely steals/destroys, persistence mechanisms (will it survive reboot?), network IOCs (C2 infrastructure), and a 1-sentence verdict (credential stealer / ransomware / loader / RAT / other). [PASTE SANDBOX REPORT JSON OR TEXT]

---

Prompt 31 — PowerShell deobfuscation

Deobfuscate the following PowerShell one-liner and explain what it does step by step. Identify: encoding type (Base64/XOR/etc.), what it downloads or executes, what persistence it sets, and whether it is a dropper for a second stage. Flag any AMSI bypass techniques. [PASTE POWERSHELL]

---

Prompt 32 — YARA rule writing

Based on the following malware behavioral indicators and strings, write a YARA rule to detect this sample and potential variants. Include: meta section (author, date, description, reference), string patterns with hex alternatives where relevant, and a condition that minimizes false positives. Explain the logic of each condition. Indicators: [PASTE STRINGS/BEHAVIORS]

---

Prompt 33 — Malware family research

I believe this sample belongs to the [MALWARE FAMILY] family. Summarize: the threat actor(s) known to use it, typical delivery chain, C2 protocol (HTTP/S, DNS, custom), targeted industries or countries, known variants and evolution, and detection/removal guidance. Source: based on your training data through August 2025.

---

Prompt 34 — Malware analysis report

Write a structured malware analysis report for the following sample. Audience: Tier 2 SOC and incident responders. Sections: Sample Metadata, Executive Summary, Behavioral Analysis, Network Indicators, Host Indicators, MITRE ATT&CK Mapping (table format), Recommended Detections, and Containment Steps. Analysis notes: [PASTE]

filescanner.online

Scan Any File — Privately.

Deep binary analysis, YARA rules, AI summary, and PDF reports. Up to 2 GB. No account required.

PE/ELF Binary ParsingYARA Scanning (17 rules)70+ API Pattern DetectionThreat IntelligenceAI False-Positive AnalysisPDF Report Export
Try FileScanner.online

Category 6: Vulnerability Management (Prompts 35–40)

Prioritize patches intelligently, communicate CVE risk to leadership, and build better remediation timelines.

---

Prompt 35 — CVE risk assessment

Assess the following CVE for our environment. We run: [OS/SOFTWARE/VERSION]. The CVE details: [CVE ID, CVSS score, description]. Tell me: is this exploitable in our environment, is there a public PoC or exploit kit, what is the realistic attacker scenario, what is our exposure window if we patch within 30 days vs. 7 days, and what mitigations exist before patching?

---

Prompt 36 — Patch prioritization matrix

I have 47 open CVEs from our vulnerability scanner. Help me build a prioritization matrix using: CVSS score, CISA KEV presence (yes/no I will provide), internet-exposed vs. internal only, and asset criticality tier (I will provide). Output a ranked table with columns: CVE, CVSS, KEV, Exposure, Criticality, Priority (P1–P3), Patch Deadline. [PASTE CVE LIST]

---

Prompt 37 — Exception request evaluation

Our infrastructure team is requesting a 90-day patch exception for [CVE ID] on [SYSTEM] because [REASON]. Evaluate this request from a risk management perspective. What compensating controls should be required? What is the maximum acceptable risk acceptance period given current threat landscape? Draft an exception approval template with conditions.

---

Prompt 38 — Vuln scan interpretation

Translate the following vulnerability scanner output into a business-language summary for our CTO. Group findings by: critical (patch this week), high (patch this month), medium (schedule in next quarter), and informational (accept risk). Use non-technical language. Total affected systems: [NUMBER]. [PASTE SCAN SUMMARY]

---

Prompt 39 — Zero-day response playbook

A critical zero-day has just been announced in [SOFTWARE/LIBRARY] with no patch available. CVSS: [SCORE]. We have [NUMBER] instances in production. Generate a 48-hour response playbook covering: discovery (find all affected instances), containment options (WAF rules, feature disabling, network segmentation), stakeholder communication timeline, patch preparation steps, and rollback plan.

---

Prompt 40 — Red team finding remediation

Our red team found the following vulnerability during last week's assessment. Translate their technical finding into: a Jira-ready remediation ticket (title, description, acceptance criteria), a business impact statement for the CISO, and a step-by-step fix guide for the sysadmin who owns this system. Red team finding: [PASTE]

Category 7: Security Awareness (Prompts 41–45)

Build a stronger human firewall with training content that doesn't bore people to sleep.

---

Prompt 41 — Security awareness email

Write a monthly security awareness email for all employees. Topic this month: [TOPIC — e.g., password hygiene / phishing recognition / public Wi-Fi risks]. Tone: friendly and engaging, not corporate and dry. Include: 1 shocking stat, 3 actionable tips, 1 quick test question, and a link placeholder for further reading. Under 300 words.

---

Prompt 42 — Phishing simulation debrief

We ran a phishing simulation and 23% of employees clicked. Write a company-wide debrief communication from the CISO. Tone: transparent, educational, non-shaming. Include: what we tested and why, what the result tells us, what the company is doing to help (training), and 3 tips for next time. Max 400 words.

---

Prompt 43 — Security policy plain-language summary

Rewrite the following security policy section in plain English for non-technical employees. The goal is: they read it once, understand what they must do, and remember why it matters. Remove all jargon. Add a 3-bullet TL;DR at the top. Keep the legal meaning intact. [PASTE POLICY SECTION]

---

Prompt 44 — Security quiz generation

Create a 10-question multiple-choice security awareness quiz for employees. Difficulty: beginner to intermediate. Topics: phishing recognition (3 questions), password security (2), social engineering (2), data handling (2), incident reporting (1). Include the correct answer and a 1-sentence explanation for each question.

---

Prompt 45 — Onboarding security checklist

Write a security onboarding checklist for new employees joining a company that handles customer PII. Format as a checkbox list with clear instructions for each item. Cover: account setup (MFA, password manager), device security (disk encryption, lock screen, VPN), data handling rules, and what to do if they suspect a security incident. Under 400 words, plain language.

Category 8: Executive Communication (Prompts 46–50)

The best security work goes unnoticed if you can't communicate it upward. These prompts translate technical findings into board-level language.

---

Prompt 46 — Board security update

Write a 1-page board-level security update for this quarter. Our audience has no technical background. Cover: threat landscape (2–3 current threats relevant to our industry), our security posture highlights (what we improved), 1 incident we handled (sanitized, no blame), top risks we are managing, and budget/resource ask (if any). Tone: confident, clear, no FUD. Quarter highlights: [PASTE]

---

Prompt 47 — Security investment justification

I need to justify a €[AMOUNT] security investment in [TOOL/PROGRAM] to our CFO. Write a business case that covers: what problem this solves (in revenue/risk language), cost of not buying it (breach cost, compliance fines, downtime), ROI calculation framework, and comparison to industry benchmark. Avoid technical jargon entirely.

---

Prompt 48 — Regulatory compliance briefing

Write a briefing for our legal team about our obligations under [REGULATION — GDPR / NIS2 / DORA / SOC 2] related to the following recent incident. Cover: what the regulation requires us to do (notification deadlines, documentation, remediation), whether we are compliant, and what gaps need to be closed before the next audit. Incident summary: [PASTE]

---

Prompt 49 — Security KPI dashboard narrative

Write a 2-paragraph narrative for our monthly security KPI dashboard. The metrics are: [PASTE KPI TABLE] Tell the story behind the numbers: what improved, what needs attention, what is the trend, and what action we are taking. Audience: VP of Engineering and CISO. Confident, data-driven tone.

---

Prompt 50 — Post-breach stakeholder communication

Our organization experienced a security breach. Write a stakeholder communication strategy document covering: internal communication (employees — what to say, when, through what channel), customer notification (GDPR-compliant, empathetic), media/press statement (transparent but controlled), and regulatory notification (which regulator, what to include, deadline). Include a day-by-day communication timeline for the first 72 hours. Brech details (sanitized): [PASTE]

---

Bonus: Master SOC context prompt (save in CLAUDE.md)

You are a senior security analyst assistant embedded in a SOC environment. You help with: phishing triage, IOC enrichment, incident report writing, threat hunting query generation (KQL, SPL), malware behavior explanation, and executive communication. When I paste raw data (headers, logs, sandbox reports), analyze and summarize. When I ask for queries, output working code with comments. When I ask for reports, use professional security language appropriate for the stated audience. Always ask for clarification if the task is ambiguous. Default to MITRE ATT&CK framework terminology for technique classification.

This master prompt, saved in your CLAUDE.md file, means every session opens with full SOC analyst context — no re-explaining your role every time. Combine it with the URLScanner MCP for live URL scanning and you have a persistent AI analyst that knows your job.

How to Use These Prompts at Scale

Option 1 — Direct Claude: Copy any prompt, paste your data, get results. Zero setup. Works in Claude.ai browser or Claude Code CLI.

Option 2 — Claude Code with MCP: Install the URLScanner MCP (claude mcp add urlscanner -t http https://urlscanner.online/mcp) and use prompts 9, 10, 14 with live scanning. Claude automatically calls the scan tool when you paste a URL.

Option 3 — CLAUDE.md automation: Add the Bonus master prompt to ~/.claude/CLAUDE.md (or project-level CLAUDE.md). Combine with relevant prompts from this list for a persistent SOC analyst session.

Option 4 — Headless scripting: Use claude --print for non-interactive mode to pipe alert data through prompts in shell scripts. Example: echo "$ALERT_BODY" | claude --print "Classify this alert and output JSON with fields: type, severity, recommended_action".

The gap between an analyst doing 15 tickets a day and one doing 50 is almost never skill — it is tooling. These 50 prompts, combined with Claude's reasoning depth, close that gap without a six-month onboarding period.

Bookmark this page. The next time you are staring at a suspicious email at 2am wondering where to start, the answer is Prompt 1.

Related articles