[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HMGZ487HB2TM2QSAR6A3PB":3,"skill-same:01M6HMGZ487HB2TM2QSAR6A3PB":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":6,"ownerHtmlUrl":65,"ownerBlogUrl":6,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M6HMGZ487HB2TM2QSAR6A3PB","investigating-phishing-email-incident",null,"Investigates phishing email incidents from initial user report through header analysis, URL\u002Fattachment detonation, impacted user identification, and containment actions using SOC tools like Splunk, Microsoft Defender, and sandbox analysis...","HenriqueMC17\u002Fagente-core","HenriqueMC17","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206460478?v=4","01M6HB63HBBF18AC4H09XTB549","Henrique Monteiro Cardoso","01M6HB63NGSQXWKWCFWW2B20W0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Finvestigating-phishing-email-incident\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"email","phishing","incident","investigating phishing email incident","t1078","incidents","URL","identification","de","cm","analysis","t1566","sandbox","containment","email-security","splunk","soc","actions","defender","cybersecurity","2026-11-10 10:12:30",false,"---\nname: investigating-phishing-email-incident\ndescription: Investigates phishing email incidents from initial user report through header analysis, URL\u002Fattachment detonation, impacted user identification, and containment actions using SOC tools like Splunk, Microsoft Defender, and sandbox analysis...\ndomain: cybersecurity\nsubdomain: soc-operations\ntags:\n- soc\n- phishing\n- incident-response\n- email-security\n- splunk\n- defender\n- sandbox\nmitre_attack:\n- T1078\n- T1685.002\n- T1685.005\n- T1566\n- T1598\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- RS.MA-01\n- DE.AE-06\ncategory: investigating-phishing-email-incident\n---\n# Investigating-Phishing-Email-Incident\n\n## Overview\nInvestigates phishing email incidents from initial user report through header analysis, URL\u002Fattachment detonation, impacted user identification, and containment actions using SOC tools like Splunk, Microsoft Defender, and sandbox analysis platforms. Use when a reported phishing email requires full incident investigation to determine scope and impact.\n\n\n# Investigating Phishing Email Incident\n\n## When to Use\n\nUse this skill when:\n- A user reports a suspicious email via the phishing report button or helpdesk ticket\n- Email security gateway flags a message that bypassed initial filters\n- Automated detection identifies credential harvesting URLs or malicious attachments\n- A phishing campaign targeting the organization requires scope assessment\n\n**Do not use** for spam or marketing emails without malicious intent — route those to email administration for filter tuning.\n\n## Prerequisites\n\n- Access to email gateway logs (Proofpoint, Mimecast, or Microsoft Defender for Office 365)\n- Splunk or SIEM with email log ingestion (O365 Message Trace, Exchange tracking logs)\n- Sandbox access (Any.Run, Joe Sandbox, or Hybrid Analysis) for URL\u002Fattachment detonation\n- Microsoft Graph API or Exchange Admin Center for email search and purge operations\n- URLScan.io and VirusTotal API keys\n\n## Workflow\n\n### Step 1: Extract and Analyze Email Headers\n\nObtain the full email headers (`.eml` file) from the reported message:\n\n```python\nimport email\nfrom email import policy\n\nwith open(\"phishing_sample.eml\", \"rb\") as f:\n    msg = email.message_from_binary_file(f, policy=policy.default)\n\n# Extract key headers\nprint(f\"From: {msg['From']}\")\nprint(f\"Return-Path: {msg['Return-Path']}\")\nprint(f\"Reply-To: {msg['Reply-To']}\")\nprint(f\"Subject: {msg['Subject']}\")\nprint(f\"Message-ID: {msg['Message-ID']}\")\nprint(f\"X-Originating-IP: {msg['X-Originating-IP']}\")\n\n# Parse Received headers (bottom-up for true origin)\nfor header in reversed(msg.get_all('Received', [])):\n    print(f\"Received: {header[:120]}\")\n\n# Check authentication results\nprint(f\"Authentication-Results: {msg['Authentication-Results']}\")\nprint(f\"DKIM-Signature: {msg.get('DKIM-Signature', 'NONE')[:80]}\")\n```\n\nKey checks:\n- **SPF**: Does `Return-Path` domain match sending IP? Look for `spf=pass` or `spf=fail`\n- **DKIM**: Is the signature valid? `dkim=pass` confirms the email was not modified in transit\n- **DMARC**: Does the `From` domain align with SPF\u002FDKIM domains? `dmarc=fail` indicates spoofing\n\n### Step 2: Analyze URLs and Attachments\n\n**URL Analysis:**\n\n```python\nimport requests\n\n# Submit URL to URLScan.io\nurl_to_scan = \"https:\u002F\u002Fevil-login.example.com\u002Foffice365\"\nresponse = requests.post(\n    \"https:\u002F\u002Furlscan.io\u002Fapi\u002Fv1\u002Fscan\u002F\",\n    headers={\"API-Key\": \"YOUR_KEY\", \"Content-Type\": \"application\u002Fjson\"},\n    json={\"url\": url_to_scan, \"visibility\": \"unlisted\"}\n)\nscan_id = response.json()[\"uuid\"]\nprint(f\"Scan URL: https:\u002F\u002Furlscan.io\u002Fresult\u002F{scan_id}\u002F\")\n\n# Check VirusTotal for URL reputation\nimport vt\nclient = vt.Client(\"YOUR_VT_API_KEY\")\nurl_id = vt.url_id(url_to_scan)\nurl_obj = client.get_object(f\"\u002Furls\u002F{url_id}\")\nprint(f\"VT Score: {url_obj.last_analysis_stats}\")\nclient.close()\n```\n\n**Attachment Analysis:**\n\n```python\nimport hashlib\n\n# Calculate file hashes\nwith open(\"attachment.docx\", \"rb\") as f:\n    content = f.read()\n    md5 = hashlib.md5(content).hexdigest()\n    sha256 = hashlib.sha256(content).hexdigest()\n\nprint(f\"MD5: {md5}\")\nprint(f\"SHA256: {sha256}\")\n\n# Submit to MalwareBazaar for lookup\nresponse = requests.post(\n    \"https:\u002F\u002Fmb-api.abuse.ch\u002Fapi\u002Fv1\u002F\",\n    data={\"query\": \"get_info\", \"hash\": sha256}\n)\nprint(response.json()[\"query_status\"])\n```\n\nSubmit to sandbox (Any.Run or Joe Sandbox) for dynamic analysis of macros, PowerShell execution, and C2 callbacks.\n\n### Step 3: Determine Campaign Scope\n\nSearch for all recipients of the same phishing email in Splunk:\n\n```spl\nindex=email sourcetype=\"o365:messageTrace\"\n(SenderAddress=\"attacker@evil-domain.com\" OR Subject=\"Urgent: Password Reset Required\"\n OR MessageId=\"\u003Cphishing-message-id@evil.com>\")\nearliest=-7d\n| stats count by RecipientAddress, DeliveryStatus, MessageTraceId\n| sort - count\n```\n\nAlternatively, use Microsoft Graph API:\n\n```python\nimport requests\n\nheaders = {\"Authorization\": f\"Bearer {access_token}\"}\nparams = {\n    \"$filter\": f\"subject eq 'Urgent: Password Reset Required' and \"\n               f\"receivedDateTime ge 2024-03-14T00:00:00Z\",\n    \"$select\": \"sender,toRecipients,subject,receivedDateTime\",\n    \"$top\": 100\n}\nresponse = requests.get(\n    \"https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fusers\u002Fadmin@company.com\u002Fmessages\",\n    headers=headers, params=params\n)\nmessages = response.json()[\"value\"]\nprint(f\"Found {len(messages)} matching messages\")\n```\n\n### Step 4: Identify Impacted Users (Who Clicked)\n\nCheck proxy\u002Fweb logs for users who visited the phishing URL:\n\n```spl\nindex=proxy dest=\"evil-login.example.com\" earliest=-7d\n| stats count, values(action) AS actions, latest(_time) AS last_access\n  by src_ip, user\n| lookup asset_lookup_by_cidr ip AS src_ip OUTPUT owner, category\n| sort - count\n| table user, src_ip, owner, actions, count, last_access\n```\n\nCheck if credentials were submitted (POST requests to phishing domain):\n\n```spl\nindex=proxy dest=\"evil-login.example.com\" http_method=POST earliest=-7d\n| stats count by src_ip, user, url, status\n```\n\n### Step 5: Containment Actions\n\n**Purge emails from all mailboxes:**\n\n```powershell\n# Microsoft 365 Compliance Search and Purge\nNew-ComplianceSearch -Name \"Phishing_Purge_2024_0315\" `\n    -ExchangeLocation All `\n    -ContentMatchQuery '(From:attacker@evil-domain.com) AND (Subject:\"Urgent: Password Reset Required\")'\n\nStart-ComplianceSearch -Identity \"Phishing_Purge_2024_0315\"\n\n# After search completes, execute purge\nNew-ComplianceSearchAction -SearchName \"Phishing_Purge_2024_0315\" -Purge -PurgeType SoftDelete\n```\n\n**Block indicators:**\n- Add sender domain to email gateway block list\n- Add phishing URL domain to web proxy block list\n- Add attachment hash to endpoint detection block list\n- Create DNS sinkhole entry for phishing domain\n\n**Reset compromised credentials:**\n\n```powershell\n# Force password reset for impacted users\n$impactedUsers = @(\"user1@company.com\", \"user2@company.com\")\nforeach ($user in $impactedUsers) {\n    Set-MsolUserPassword -UserPrincipalName $user -ForceChangePassword $true\n    Revoke-AzureADUserAllRefreshToken -ObjectId (Get-AzureADUser -ObjectId $user).ObjectId\n}\n```\n\n### Step 6: Document and Report\n\nCreate incident report with full timeline, IOCs, impacted users, and remediation actions taken.\n\n```spl\n| makeresults\n| eval incident_id=\"PHI-2024-0315\",\n       reported_time=\"2024-03-15 09:12:00\",\n       sender=\"attacker@evil-domain[.]com\",\n       subject=\"Urgent: Password Reset Required\",\n       url=\"hxxps:\u002F\u002Fevil-login[.]example[.]com\u002Foffice365\",\n       recipients_count=47,\n       clicked_count=5,\n       credentials_submitted=2,\n       emails_purged=47,\n       passwords_reset=2,\n       domains_blocked=1,\n       disposition=\"True Positive - Credential Phishing Campaign\"\n| table incident_id, reported_time, sender, subject, url, recipients_count,\n        clicked_count, credentials_submitted, emails_purged, passwords_reset, disposition\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **SPF (Sender Policy Framework)** | DNS TXT record specifying which mail servers are authorized to send on behalf of a domain |\n| **DKIM** | DomainKeys Identified Mail — cryptographic signature proving email content was not altered in transit |\n| **DMARC** | Domain-based Message Authentication, Reporting and Conformance — policy combining SPF and DKIM alignment |\n| **Credential Harvesting** | Phishing technique using fake login pages to capture username\u002Fpassword combinations |\n| **Business Email Compromise (BEC)** | Social engineering attack using compromised or spoofed executive email for financial fraud |\n| **Message Trace** | O365\u002FExchange log showing email routing, delivery status, and filtering actions for forensic analysis |\n\n## Tools & Systems\n\n- **Microsoft Defender for Office 365**: Email security platform with Safe Links, Safe Attachments, and Threat Explorer for investigation\n- **URLScan.io**: Free URL analysis service capturing screenshots, DOM, cookies, and network requests\n- **Any.Run**: Interactive sandbox for detonating malicious files and URLs with real-time behavior analysis\n- **Proofpoint TAP**: Targeted Attack Protection dashboard showing clicked URLs and delivered threats per user\n- **PhishTool**: Dedicated phishing email analysis platform automating header parsing and IOC extraction\n\n## Common Scenarios\n\n- **Credential Phishing**: Fake O365 login page — check proxy for POST requests, force password resets for submitters\n- **Macro-Enabled Document**: Word doc with VBA macro — sandbox shows PowerShell download cradle, check endpoints for execution\n- **QR Code Phishing (Quishing)**: Email contains QR code linking to credential harvester — decode QR, submit URL to sandbox\n- **Thread Hijacking**: Attacker uses compromised mailbox to reply in existing threads — check for impossible travel or new inbox rules\n- **Voicemail Phishing**: Fake voicemail notification with HTML attachment — analyze attachment for redirect chains\n\n## Output Format\n\n```\nPHISHING INCIDENT REPORT — PHI-2024-0315\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nReported:     2024-03-15 09:12 UTC by jsmith (Finance)\nSender:       attacker@evil-domain[.]com (SPF: FAIL, DKIM: NONE, DMARC: FAIL)\nSubject:      Urgent: Password Reset Required\nPayload:      Credential harvesting URL\n\nIOCs:\n  URL:        hxxps:\u002F\u002Fevil-login[.]example[.]com\u002Foffice365\n  Domain:     evil-login[.]example[.]com (registered 2024-03-14, Namecheap)\n  IP:         185.234.xx.xx (VT: 12\u002F90 malicious)\n\nScope:\n  Recipients: 47 users across Finance and HR departments\n  Clicked:    5 users visited phishing URL\n  Submitted:  2 users entered credentials (confirmed via POST in proxy logs)\n\nContainment:\n  [DONE] 47 emails purged via Compliance Search\n  [DONE] Domain blocked on proxy and DNS sinkhole\n  [DONE] 2 user passwords reset, sessions revoked\n  [DONE] MFA enforced for both compromised accounts\n  [DONE] Inbox rules audited — no forwarding rules found\n\nStatus:       RESOLVED — No evidence of lateral movement post-compromise\n```\n","# Investigating-Phishing-Email-Incident\n\n## Overview\nInvestigates phishing email incidents from initial user report through header analysis, URL\u002Fattachment detonation, impacted user identification, and containment actions using SOC tools like Splunk, Microsoft Defender, and sandbox analysis platforms. Use when a reported phishing email requires full incident investigation to determine scope and impact.\n\n\n# Investigating Phishing Email Incident\n\n## When to Use\n\nUse this skill when:\n- A user reports a suspicious email via the phishing report button or helpdesk ticket\n- Email security gateway flags a message that bypassed initial filters\n- Automated detection identifies credential harvesting URLs or malicious attachments\n- A phishing campaign targeting the organization requires scope assessment\n\n**Do not use** for spam or marketing emails without malicious intent — route those to email administration for filter tuning.\n\n## Prerequisites\n\n- Access to email gateway logs (Proofpoint, Mimecast, or Microsoft Defender for Office 365)\n- Splunk or SIEM with email log ingestion (O365 Message Trace, Exchange tracking logs)\n- Sandbox access (Any.Run, Joe Sandbox, or Hybrid Analysis) for URL\u002Fattachment detonation\n- Microsoft Graph API or Exchange Admin Center for email search and purge operations\n- URLScan.io and VirusTotal API keys\n\n## Workflow\n\n### Step 1: Extract and Analyze Email Headers\n\nObtain the full email headers (`.eml` file) from the reported message:\n\n```python\nimport email\nfrom email import policy\n\nwith open(\"phishing_sample.eml\", \"rb\") as f:\n    msg = email.message_from_binary_file(f, policy=policy.default)\n\n# Extract key headers\nprint(f\"From: {msg['From']}\")\nprint(f\"Return-Path: {msg['Return-Path']}\")\nprint(f\"Reply-To: {msg['Reply-To']}\")\nprint(f\"Subject: {msg['Subject']}\")\nprint(f\"Message-ID: {msg['Message-ID']}\")\nprint(f\"X-Originating-IP: {msg['X-Originating-IP']}\")\n\n# Parse Received headers (bottom-up for true origin)\nfor header in reversed(msg.get_all('Received', [])):\n    print(f\"Received: {header[:120]}\")\n\n# Check authentication results\nprint(f\"Authentication-Results: {msg['Authentication-Results']}\")\nprint(f\"DKIM-Signature: {msg.get('DKIM-Signature', 'NONE')[:80]}\")\n```\n\nKey checks:\n- **SPF**: Does `Return-Path` domain match sending IP? Look for `spf=pass` or `spf=fail`\n- **DKIM**: Is the signature valid? `dkim=pass` confirms the email was not modified in transit\n- **DMARC**: Does the `From` domain align with SPF\u002FDKIM domains? `dmarc=fail` indicates spoofing\n\n### Step 2: Analyze URLs and Attachments\n\n**URL Analysis:**\n\n```python\nimport requests\n\n# Submit URL to URLScan.io\nurl_to_scan = \"https:\u002F\u002Fevil-login.example.com\u002Foffice365\"\nresponse = requests.post(\n    \"https:\u002F\u002Furlscan.io\u002Fapi\u002Fv1\u002Fscan\u002F\",\n    headers={\"API-Key\": \"YOUR_KEY\", \"Content-Type\": \"application\u002Fjson\"},\n    json={\"url\": url_to_scan, \"visibility\": \"unlisted\"}\n)\nscan_id = response.json()[\"uuid\"]\nprint(f\"Scan URL: https:\u002F\u002Furlscan.io\u002Fresult\u002F{scan_id}\u002F\")\n\n# Check VirusTotal for URL reputation\nimport vt\nclient = vt.Client(\"YOUR_VT_API_KEY\")\nurl_id = vt.url_id(url_to_scan)\nurl_obj = client.get_object(f\"\u002Furls\u002F{url_id}\")\nprint(f\"VT Score: {url_obj.last_analysis_stats}\")\nclient.close()\n```\n\n**Attachment Analysis:**\n\n```python\nimport hashlib\n\n# Calculate file hashes\nwith open(\"attachment.docx\", \"rb\") as f:\n    content = f.read()\n    md5 = hashlib.md5(content).hexdigest()\n    sha256 = hashlib.sha256(content).hexdigest()\n\nprint(f\"MD5: {md5}\")\nprint(f\"SHA256: {sha256}\")\n\n# Submit to MalwareBazaar for lookup\nresponse = requests.post(\n    \"https:\u002F\u002Fmb-api.abuse.ch\u002Fapi\u002Fv1\u002F\",\n    data={\"query\": \"get_info\", \"hash\": sha256}\n)\nprint(response.json()[\"query_status\"])\n```\n\nSubmit to sandbox (Any.Run or Joe Sandbox) for dynamic analysis of macros, PowerShell execution, and C2 callbacks.\n\n### Step 3: Determine Campaign Scope\n\nSearch for all recipients of the same phishing email in Splunk:\n\n```spl\nindex=email sourcetype=\"o365:messageTrace\"\n(SenderAddress=\"attacker@evil-domain.com\" OR Subject=\"Urgent: Password Reset Required\"\n OR MessageId=\"\u003Cphishing-message-id@evil.com>\")\nearliest=-7d\n| stats count by RecipientAddress, DeliveryStatus, MessageTraceId\n| sort - count\n```\n\nAlternatively, use Microsoft Graph API:\n\n```python\nimport requests\n\nheaders = {\"Authorization\": f\"Bearer {access_token}\"}\nparams = {\n    \"$filter\": f\"subject eq 'Urgent: Password Reset Required' and \"\n               f\"receivedDateTime ge 2024-03-14T00:00:00Z\",\n    \"$select\": \"sender,toRecipients,subject,receivedDateTime\",\n    \"$top\": 100\n}\nresponse = requests.get(\n    \"https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fusers\u002Fadmin@company.com\u002Fmessages\",\n    headers=headers, params=params\n)\nmessages = response.json()[\"value\"]\nprint(f\"Found {len(messages)} matching messages\")\n```\n\n### Step 4: Identify Impacted Users (Who Clicked)\n\nCheck proxy\u002Fweb logs for users who visited the phishing URL:\n\n```spl\nindex=proxy dest=\"evil-login.example.com\" earliest=-7d\n| stats count, values(action) AS actions, latest(_time) AS last_access\n  by src_ip, user\n| lookup asset_lookup_by_cidr ip AS src_ip OUTPUT owner, category\n| sort - count\n| table user, src_ip, owner, actions, count, last_access\n```\n\nCheck if credentials were submitted (POST requests to phishing domain):\n\n```spl\nindex=proxy dest=\"evil-login.example.com\" http_method=POST earliest=-7d\n| stats count by src_ip, user, url, status\n```\n\n### Step 5: Containment Actions\n\n**Purge emails from all mailboxes:**\n\n```powershell\n# Microsoft 365 Compliance Search and Purge\nNew-ComplianceSearch -Name \"Phishing_Purge_2024_0315\" `\n    -ExchangeLocation All `\n    -ContentMatchQuery '(From:attacker@evil-domain.com) AND (Subject:\"Urgent: Password Reset Required\")'\n\nStart-ComplianceSearch -Identity \"Phishing_Purge_2024_0315\"\n\n# After search completes, execute purge\nNew-ComplianceSearchAction -SearchName \"Phishing_Purge_2024_0315\" -Purge -PurgeType SoftDelete\n```\n\n**Block indicators:**\n- Add sender domain to email gateway block list\n- Add phishing URL domain to web proxy block list\n- Add attachment hash to endpoint detection block list\n- Create DNS sinkhole entry for phishing domain\n\n**Reset compromised credentials:**\n\n```powershell\n# Force password reset for impacted users\n$impactedUsers = @(\"user1@company.com\", \"user2@company.com\")\nforeach ($user in $impactedUsers) {\n    Set-MsolUserPassword -UserPrincipalName $user -ForceChangePassword $true\n    Revoke-AzureADUserAllRefreshToken -ObjectId (Get-AzureADUser -ObjectId $user).ObjectId\n}\n```\n\n### Step 6: Document and Report\n\nCreate incident report with full timeline, IOCs, impacted users, and remediation actions taken.\n\n```spl\n| makeresults\n| eval incident_id=\"PHI-2024-0315\",\n       reported_time=\"2024-03-15 09:12:00\",\n       sender=\"attacker@evil-domain[.]com\",\n       subject=\"Urgent: Password Reset Required\",\n       url=\"hxxps:\u002F\u002Fevil-login[.]example[.]com\u002Foffice365\",\n       recipients_count=47,\n       clicked_count=5,\n       credentials_submitted=2,\n       emails_purged=47,\n       passwords_reset=2,\n       domains_blocked=1,\n       disposition=\"True Positive - Credential Phishing Campaign\"\n| table incident_id, reported_time, sender, subject, url, recipients_count,\n        clicked_count, credentials_submitted, emails_purged, passwords_reset, disposition\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **SPF (Sender Policy Framework)** | DNS TXT record specifying which mail servers are authorized to send on behalf of a domain |\n| **DKIM** | DomainKeys Identified Mail — cryptographic signature proving email content was not altered in transit |\n| **DMARC** | Domain-based Message Authentication, Reporting and Conformance — policy combining SPF and DKIM alignment |\n| **Credential Harvesting** | Phishing technique using fake login pages to capture username\u002Fpassword combinations |\n| **Business Email Compromise (BEC)** | Social engineering attack using compromised or spoofed executive email for financial fraud |\n| **Message Trace** | O365\u002FExchange log showing email routing, delivery status, and filtering actions for forensic analysis |\n\n## Tools & Systems\n\n- **Microsoft Defender for Office 365**: Email security platform with Safe Links, Safe Attachments, and Threat Explorer for investigation\n- **URLScan.io**: Free URL analysis service capturing screenshots, DOM, cookies, and network requests\n- **Any.Run**: Interactive sandbox for detonating malicious files and URLs with real-time behavior analysis\n- **Proofpoint TAP**: Targeted Attack Protection dashboard showing clicked URLs and delivered threats per user\n- **PhishTool**: Dedicated phishing email analysis platform automating header parsing and IOC extraction\n\n## Common Scenarios\n\n- **Credential Phishing**: Fake O365 login page — check proxy for POST requests, force password resets for submitters\n- **Macro-Enabled Document**: Word doc with VBA macro — sandbox shows PowerShell download cradle, check endpoints for execution\n- **QR Code Phishing (Quishing)**: Email contains QR code linking to credential harvester — decode QR, submit URL to sandbox\n- **Thread Hijacking**: Attacker uses compromised mailbox to reply in existing threads — check for impossible travel or new inbox rules\n- **Voicemail Phishing**: Fake voicemail notification with HTML attachment — analyze attachment for redirect chains\n\n## Output Format\n\n```\nPHISHING INCIDENT REPORT — PHI-2024-0315\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nReported:     2024-03-15 09:12 UTC by jsmith (Finance)\nSender:       attacker@evil-domain[.]com (SPF: FAIL, DKIM: NONE, DMARC: FAIL)\nSubject:      Urgent: Password Reset Required\nPayload:      Credential harvesting URL\n\nIOCs:\n  URL:        hxxps:\u002F\u002Fevil-login[.]example[.]com\u002Foffice365\n  Domain:     evil-login[.]example[.]com (registered 2024-03-14, Namecheap)\n  IP:         185.234.xx.xx (VT: 12\u002F90 malicious)\n\nScope:\n  Recipients: 47 users across Finance and HR departments\n  Clicked:    5 users visited phishing URL\n  Submitted:  2 users entered credentials (confirmed via POST in proxy logs)\n\nContainment:\n  [DONE] 47 emails purged via Compliance Search\n  [DONE] Domain blocked on proxy and DNS sinkhole\n  [DONE] 2 user passwords reset, sessions revoked\n  [DONE] MFA enforced for both compromised accounts\n  [DONE] Inbox rules audited — no forwarding rules found\n\nStatus:       RESOLVED — No evidence of lateral movement post-compromise\n```\n",{"name":5,"tags":44,"author":46,"domain":38,"license":15,"version":47,"category":5,"nist_csf":48,"subdomain":53,"description":7,"mitre_attack":54},[35,20,45,33,34,37,31],"incident-response","mahipal","1.0",[49,50,51,52],"DE.CM-01","DE.AE-02","RS.MA-01","DE.AE-06","soc-operations",[55,56,57,58,59],"T1078","T1685.002","T1685.005","T1566","T1598","main","5eea5b3296f4673b5f481e8bcc1ba76281149f16","modules\u002Finvestigating-phishing-email-incident",0,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core","https:\u002F\u002Fgithub.com\u002FHenriqueMC17","Qualquer tecnologia suficientemente avançada é indistinguível da mágica.","2026-09-28 22:40:38",{"source":8,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add HenriqueMC17\u002Fagente-core --skill investigating-phishing-email-incident",{"tool":74,"command":75},"bunx","bunx skills add HenriqueMC17\u002Fagente-core --skill investigating-phishing-email-incident",{"tool":77,"command":78},"pnpm","pnpm dlx skills add HenriqueMC17\u002Fagente-core --skill investigating-phishing-email-incident","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Finvestigating-phishing-email-incident\u002FSKILL.md",true,[82,87,93],{"path":83,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Finvestigating-phishing-email-incident\u002FLICENSE",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fapi-reference.md","REFERENCE","参考文档",2514,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Finvestigating-phishing-email-incident\u002Freferences\u002Fapi-reference.md",{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fagent.py","SCRIPT","脚本",7723,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Finvestigating-phishing-email-incident\u002Fscripts\u002Fagent.py",[100,123,149,169,184,201],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"01M6HPFF0RCN0X6WT5EBSV71GY","validating-backup-integrity-for-recovery","Validate backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to ensure backups are reliable for disaster recovery and ransomware response scenarios.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[],[107,108,109,110,111,112,38,113,114,115,45,116,117,23,118,119,120,21,121,122],"integrity","backup","recovery","validating backup integrity for recovery","for","testing","validate","verification","hash-verification","ransomware","detection","t1490","disaster-recovery","restore","disaster recovery","ransomware response",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":39},"01M6HPFAWJVFK25Q33K3T7WQ8G","triaging-vulnerabilities-with-ssvc-framework","Triage and prioritize vulnerabilities using CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree framework to produce actionable remediation priorities.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[],[130,131,132,133,134,38,135,136,137,138,139,140,141,142,143,144,145,146,147,148],"vulnerabilities","framework","ssvc","triaging vulnerabilities with ssvc framework","with","triage and prioritize","CISA","vulnerability-management","risk-management","cvss","remediation","vulnerability","prioritization","decision-tree","prioritize","decision","priorities","actionable","tree",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":39},"01M6HPF6JS9X72WP59094H3ASQ","triaging-security-incident","Performs initial triage of security incidents to determine severity, scope, and required response actions using the NIST SP 800-61r3 and SANS PICERL frameworks. Classifies incidents by type, assigns priority based on business impact, and routes...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident\u002FSKILL.md",[],[156,157,21,38,36,35,158,23,118,29,159,160,161,162,163,164,165,166,167,168],"security","triaging security incident","NIST","severity-classification","incident-triage","SANS-PICERL","SOC-operations","picerl","conversion","isolation","scope","impact","consistency",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":39},"01M6HPF2EX6ZYNYYHKBRJN7GEF","triaging-security-incident-with-ir-playbook","Classify and prioritize security incidents using structured IR playbooks to determine severity, assign response teams, and initiate appropriate response procedures.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident-with-ir-playbook\u002FSKILL.md",[],[156,176,177,157,21,134,38,178,35,45,179,180,23,118,181,159,144,182,24,183],"playbook","triaging security incident with ir playbook","teams","IR-playbook","severity","classification","classify","initiate",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":39},"01M6HPEY9XPGE7X95AG4XJFQAW","triaging-security-alerts-in-splunk","Triages security alerts in Splunk Enterprise Security by classifying severity, investigating notable events, correlating related telemetry, and making escalation or closure decisions using SPL queries and the Incident Review dashboard. Use when...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-alerts-in-splunk\u002FSKILL.md",[],[156,191,34,192,193,194,38,195,196,197,35,198,23,30,199,200,162,28,21,27],"security alerts","triaging security alerts in splunk","alerts","review","siem","dashboard","search","correlation-search","notable-events","incident-review",{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":39},"01M6HPET6XGEPEJPN7V032JGZ0","tracking-threat-actor-infrastructure","Threat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, a","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[208,209,210,211,38,212,213,214,215,216,217,30,218,219,28,220,27,221,222,223],"infrastructure","tracking threat actor infrastructure","tracking","threat","monitoring","mitre-attack","threat-actor","threat-intelligence","command-and-control","dns","command","exploit","intelligence","domains","kit","hosts"]