abusing-dpapi-for-cred…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Leverages Splunk Enterprise Security and SPL (Search Processing Language)
$ npx -y skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-security-logs-with-splunk --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/analyzing-security-logs-with-splunkContext preview
The summary Claude sees to decide when to auto-load this skill.
Leverages Splunk Enterprise Security and SPL (Search Processing Language)
name: analyzing-security-logs-with-splunk description: 'Leverages Splunk Enterprise Security and SPL (Search Processing Language) to investigate security incidents through log correlation, timeline reconstruction, and anomaly detection. Covers Windows event logs, firewall logs, proxy logs, and authentication data analysis. Activates for requests involving Splunk investigation, SPL queries, SIEM log analysis, security event correlation, or log-based incident investigation. ' domain: cybersecurity subdomain: incident-response tags: - splunk - SPL - SIEM - log-analysis - security-monitoring mitre_attack: - T1110 - T1550.002 - T1021.001 - T1059.001 - T1003.001 version: 1.0.0 author: mahipal license: Apache-2.0 atlas_techniques: - AML.T0070 - AML.T0066 - AML.T0082 d3fend_techniques: - Executable Denylisting - Execution Isolation - File Metadata Consistency Validation - Content Format Conversion - File Content Analysis nist_ai_rmf: - MEASURE-2.7 - MAP-5.1 - MANAGE-2.4 - MANAGE-3.1 - MEASURE-3.1 nist_csf: - RS.MA-01 - RS.MA-02 - RS.AN-03 - RC.RP-01
**Do not use** for real-time packet-level analysis; use Wireshark or Zeek for full packet capture analysis.
Define search parameters based on incident triage data:
| Set initial investigation scope index=windows OR index=firewall OR index=proxy earliest="2025-11-14T00:00:00" latest="2025-11-16T00:00:00" (host="WKSTN-042" OR src_ip="10.1.5.42" OR user="jsmith") | stats count by index, sourcetype, host | sort -count
This query establishes which log sources contain relevant data for the investigation timeframe and affected assets.
Investigate suspicious authentication patterns using Windows Security Event Logs:
| Detect brute force and credential stuffing index=windows sourcetype="WinEventLog:Security" EventCode=4625 earliest=-24h | stats count as failed_attempts, values(src_ip) as source_ips, dc(src_ip) as unique_sources by TargetUserName | where failed_attempts > 10 | sort -failed_attempts | Detect pass-the-hash (Logon Type 9 - NewCredentials) index=windows sourcetype="WinEventLog:Security" EventCode=4624 Logon_Type=9 | table _time, host, TargetUserName, src_ip, LogonProcessName | Detect lateral movement via RDP index=windows sourcetype="WinEventLog:Security" EventCode=4624 Logon_Type=10 | stats count, values(host) as targets by TargetUserName, src_ip | where count > 3 | sort -count
Use Sysmon logs to reconstruct process execution chains:
| Process creation with parent chain (Sysmon Event ID 1) index=sysmon EventCode=1 host="WKSTN-042" earliest="2025-11-15T14:00:00" latest="2025-11-15T15:00:00" | table _time, ParentImage, ParentCommandLine, Image, CommandLine, User, Hashes | sort _time | Detect suspicious PowerShell execution index=sysmon EventCode=1 Image="*\\powershell.exe" (CommandLine="*-enc*" OR CommandLine="*-encodedcommand*" OR CommandLine="*downloadstring*" OR CommandLine="*iex*") | table _time, host, User, ParentImage, CommandLine | sort _time | Detect LSASS credential dumping index=sysmon EventCode=10 TargetImage="*\\lsass.exe" GrantedAccess=0x1010 | table _time, host, SourceImage, SourceUser, GrantedAccess
Correlate network logs with endpoint events:
| Detect C2 beaconing pattern index=proxy OR index=firewall dest_ip="185.220.101.42" | timechart span=1m count by src_ip | where count > 0 | Detect DNS tunneling (high query volume to single domain) index=dns | rex field=query "(?<subdomain>[^\.]+)\.(?<domain>[^\.]+\.[^\.]+)$" | stats count, avg(len(query)) as avg_query_len by domain, src_ip | where count > 500 AND avg_query_len > 40 | sort -count | Detect large data transfers (potential exfiltration) index=proxy action=allowed | stats sum(bytes_out) as total_bytes by src_ip, dest_ip, dest_host | eval total_MB=round(total_bytes/1024/1024,2) | where total_MB > 100 | sort -total_MB
Reconstruct a unified timeline across all log sources:
| Unified incident timeline
index=windows OR index=sysmon OR index=proxy OR index=firewall
(host="WKSTN-042" OR src_ip="10.1.5.42" OR user="jsmith")
earliest="2025-11-15T14:00:00" latest="2025-11-15T16:00:00"
| eval event_summary=case(
sourcetype=="WinEventLog:Security" AND EventCode==4624, "Logon: ".TargetUserName." from ".src_ip,
sourcetype=="WinEventLog:Security" AND EventCode==4625, "Failed logon: ".TargetUserName,
sourcetype=="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" AND EventCode==1,
"Process: ".Image." by ".User,
sourcetype=="proxy", "Web: ".http_method." ".url,
1==1, sourcetype.": ".EventCode)
| table _time, sourcetype, host, event_summary
| sort _timeConvert investigation findings into persistent Splunk correlation searches:
| Correlation search: PowerShell spawned by Office applications index=sysmon EventCode=1 Image="*\\powershell.exe" (ParentIma
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Repo: mukul975/Anthropic-Cybersecurity-Skills
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Take over Active Directory accounts by writing attacker-controlled public keys to msDS-KeyCredentialLink (Shadow Credentials) with pyWhisker, Whisker, or…
Prepare a defense-contractor environment for CMMC Level 2 certification: scope CUI and FCI, implement the 110 NIST SP 800-171 Rev 2 security requirements…
Create forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification…
Detect dangerous ACL misconfigurations in Active Directory using ldap3
Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection,…