Course overview
Lesson 6 of 8 · 3 promptsAI for Penetration Testers
LESSON 06 OF 8

Log And Evidence Analysis

3 prompts for Penetration Testers

Prompts for Penetration Testers: copy one, fill it in, paste it into your AI.

Track progress as a member

In this lesson

  1. 01Summarize Security Logs For AnomaliesUse this when you have SIEM, EDR, or server log exports and need a fast review of suspicious patterns before deeper investigation.
  2. 02Map Findings to MITRE ATT&CKUse this when you need to map observed techniques and vulnerabilities to a recognized adversary framework.
  3. 03Draft Evidence Collection ChecklistUse this when you need to preserve screenshots, command output, timestamps, and hashes for report quality.
1Copy the promptClick Copy on the prompt you need.
2Paste it into your AIChatGPT, Claude, Gemini or Copilot.
3Fill in the {{brackets}}Your own details, or let the AI ask you.
4Follow up and checkUse the follow-ups, then check the facts.
01

Summarize Security Logs For Anomalies

Use this when you have SIEM, EDR, or server log exports and need a fast review of suspicious patterns before deeper investigation.

Prompt

Role You are a penetration tester reviewing raw security logs to surface anomalies worth deeper investigation. You optimise for accurate, evidence-linked findings over volume.

Context you provide

  • {{log_source}} — SIEM, EDR, firewall, auth or OS log
  • {{time_window}} — exact period the export covers
  • {{log_excerpt}} — the pasted log lines
  • {{environment_context}} — hosts, roles, users and services in scope
  • {{known_baseline}} — normal patterns you already expect
  • {{investigation_goal}} — what you are trying to confirm or rule out

Instructions

  1. Ask for any missing inputs, then wait.
  2. Group entries by host, account and process.
  3. Flag anomalies: odd login times, failed-then-successful auth, new service accounts, privilege changes, unfamiliar outbound connections, log gaps or cleared logs.
  4. For each anomaly, quote the supporting line and explain how it deviates from the baseline.
  5. Rank findings by investigative priority and list the evidence to collect next.

Output format A table of findings with columns: priority, host or account, observation, supporting log line, why it is suspicious. Then a short list of next collection steps. Plain language, no filler, nothing not supported by the excerpt.

Guardrails

  • Do not invent log entries, IP addresses, hostnames or timestamps; quote only what was provided.
  • Flag every assumption you make about the baseline.
  • State that confirmed compromise, evidence handling and any notification duties must be checked with the client's incident response lead and the applicable regulation.

Example log_source: EDR; time_window: 01 to 07 June; log_excerpt: [pasted 200 lines]; environment_context: 40 Windows workstations, one file server; known_baseline: logins 08:00 to 18:00 local; investigation_goal: confirm whether a service account was used interactively.

Open as its own page

02

Map Findings to MITRE ATT&CK

Use this when you need to map observed techniques and vulnerabilities to a recognized adversary framework.

Prompt

Role You are a penetration testing analyst who turns raw log and evidence findings into a defensible MITRE ATT&CK mapping. You optimise for accuracy and traceability over volume.

Context you provide

  • {{engagement_scope}}: hosts, systems and time window covered
  • {{raw_findings}}: log excerpts, alerts and command output with timestamps
  • {{evidence_sources}}: which log or tool produced each item
  • {{report_audience}}: technical team, management or both
  • {{known_constraints}}: logging gaps, retention limits, timezone issues

Instructions

  1. Ask for any missing inputs, then restate scope, time window and environment in three lines.
  2. For each finding, name the observable behaviour: process, command line, network connection, account change or file event.
  3. Map it to the closest ATT&CK tactic and technique. Give the official technique ID only when you are confident it is correct.
  4. Cite the supporting evidence: timestamp, source log and the field or line it came from.
  5. Label each mapping Confirmed (direct evidence), Probable (strong inference) or Unverified (plausible, unsupported).
  6. Group mappings by tactic in kill chain order and note where a logging gap leaves a blind spot.
  7. List detection opportunities the client could add for each technique.

Output format A table: Tactic, Technique, ID, Confidence, Evidence, Source. Then "Evidence gaps and assumptions" and "Detection recommendations" as short bullet lists. One line per evidence item. Do not explain what ATT&CK is or pad the report.

Guardrails

  • Do not invent technique IDs, timestamps or log entries. If an ID is uncertain, give the technique name and mark it "ID to verify".
  • Flag every assumption and state clearly when a mapping rests on incomplete logs.
  • Tell the user when a finding needs host forensic review or legal sign-off before it enters a client report.

Example Scope: internal Windows estate, 14-day window; findings: encoded PowerShell from a finance workstation, service account created at 02:14.

Open as its own page

03

Draft Evidence Collection Checklist

Use this when you need to preserve screenshots, command output, timestamps, and hashes for report quality.

Prompt

Role You are a penetration testing lead who builds evidence collection checklists that keep screenshots, command output, timestamps and hashes audit ready for client reports.

Context you provide

  • {{engagement_name}} - project or test name
  • {{client_name}} - who receives the report
  • {{scope_targets}} - systems, apps or networks in scope
  • {{testing_window}} - dates and hours of testing
  • {{evidence_types}} - screenshots, terminal output, packet captures, logs
  • {{tool_stack}} - tools used to gather evidence
  • {{storage_location}} - where evidence is stored and backed up
  • {{custody_owner}} - person responsible for the evidence register
  • {{report_deadline}} - when findings must be delivered

Instructions

  1. Ask for any missing inputs, then draft the checklist.
  2. Organise items by collection stage: before testing, during testing, after each finding, before report submission.
  3. For each item state what to capture, the file naming convention, and who signs off.
  4. Include an evidence register table with columns: evidence ID, finding reference, type, source host, timestamp with timezone, file name, hash algorithm and value, collector, storage path.
  5. Add steps for hashing files at capture and re-verifying hashes before report release.
  6. Note where screenshots must show hostname, date and the tool window.
  7. Keep it practical for a tester working under time pressure.

Output format Markdown checklist plus one evidence register table. Under 700 words. Plain professional tone. No filler introductions.

Guardrails

  • Do not invent hash values, timestamps, tool output, legal citations or retention periods.
  • Flag where chain of custody, data retention or client contract terms must be confirmed with legal counsel or the client.
  • Mark any assumption you make.

Example Engagement: Acme Internal Network Q3, client: Acme Corp, scope: 10.0.0.0/24 and VPN, window: 12-16 Aug 09:00-18:00 UTC, evidence: screenshots and terminal output, tools: Nmap and Burp Suite, storage: encrypted share, custody owner: lead tester, deadline: 22 Aug.

Open as its own page

Skills for these tasks

Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.