New to Claude Skills? Learn how to install them →

mukul975 on GitHub

Detecting Pass The Hash Attacks

Free

Proactively identify pass-the-hash attack patterns.

Get this skill

Free · Opens the source repo

What Detecting Pass The Hash Attacks does

Detecting Pass The Hash Attacks is a specialized skill designed for cybersecurity professionals focused on threat hunting and incident response. This skill analyzes NTLM authentication patterns to identify potential pass-the-hash attacks, specifically flagging Type 3 logons that utilize NTLM when Kerberos authentication is expected. By correlating these logon attempts with indicators of credential dumping, users can effectively triage alerts from EDR and SIEM systems, enhancing their ability to respond to lateral movement threats in their networks.

The skill is particularly useful when threat intelligence indicates ongoing campaigns that employ pass-the-hash techniques. It guides users through a structured workflow that begins with formulating a hypothesis based on the latest threat data, followed by identifying relevant data sources, executing detection queries, and analyzing the results for anomalies. This systematic approach helps security teams validate their findings and correlate activities with broader attack patterns, ultimately leading to more informed incident response actions.

To leverage this skill effectively, users need a robust security infrastructure, including an EDR platform capable of providing detailed telemetry, a SIEM for log analysis, and Sysmon for comprehensive Windows event monitoring. The skill is designed to integrate seamlessly with tools like CrowdStrike and Splunk, making it a valuable addition to any security team's toolkit. It is particularly relevant during periodic security assessments and purple team exercises, where validating detection coverage is crucial.

In summary, Detecting Pass The Hash Attacks is a practical solution for organizations looking to enhance their threat detection capabilities. By utilizing this skill, security professionals can proactively hunt for indicators of compromise, ensuring their defenses are robust against sophisticated lateral movement tactics.

When to use it

Use this skill during threat hunting, incident response, and security assessments when investigating potential pass-the-hash activity.

When not to use it

This skill may not be suitable for environments lacking the required telemetry or those not focused on NTLM authentication issues.

What you can build with it

Threat Hunting

Utilize the skill to proactively search for indicators of pass-the-hash attacks in your environment.

Incident Response

Use the skill during an incident to scope potential compromises related to NTLM authentication.

Security Assessments

Incorporate this skill during purple team exercises to validate detection coverage against pass-the-hash techniques.

How to install Detecting Pass The Hash Attacks

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/detecting-pass-the-hash-attacks --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

Detecting Pass The Hash Attacks

When to Use

  • When proactively hunting for indicators of detecting pass the hash attacks in the environment
  • After threat intelligence indicates active campaigns using these techniques
  • During incident response to scope compromise related to these techniques
  • When EDR or SIEM alerts trigger on related indicators
  • During periodic security assessments and purple team exercises

Prerequisites

  • EDR platform with process and network telemetry (CrowdStrike, MDE, SentinelOne)
  • SIEM with relevant log data ingested (Splunk, Elastic, Sentinel)
  • Sysmon deployed with comprehensive configuration
  • Windows Security Event Log forwarding enabled
  • Threat intelligence feeds for IOC correlation

Workflow

  1. Formulate Hypothesis: Define a testable hypothesis based on threat intelligence or ATT&CK gap analysis.
  2. Identify Data Sources: Determine which logs and telemetry are needed to validate or refute the hypothesis.
  3. Execute Queries: Run detection queries against SIEM and EDR platforms to collect relevant events.
  4. Analyze Results: Examine query results for anomalies, correlating across multiple data sources.
  5. Validate Findings: Distinguish true positives from false positives through contextual analysis.
  6. Correlate Activity: Link findings to broader attack chains and threat actor TTPs.
  7. Document and Report: Record findings, update detection rules, and recommend response actions.

Key Concepts

ConceptDescription
T1550.002Pass the Hash
T1550.003Pass the Ticket
T1078Valid Accounts

Tools & Systems

ToolPurpose
CrowdStrike FalconEDR telemetry and threat detection
Microsoft Defender for EndpointAdvanced hunting with KQL
Splunk EnterpriseSIEM log analysis with SPL queries
Elastic SecurityDetection rules and investigation timeline
SysmonDetailed Windows event monitoring
VelociraptorEndpoint artifact collection and hunting
Sigma RulesCross-platform detection rule format

Common Scenarios

  1. Scenario 1: Mimikatz sekurlsa::pth with stolen NTLM hash
  2. Scenario 2: Impacket psexec.py remote execution with hash
  3. Scenario 3: CrackMapExec hash spraying across hosts
  4. Scenario 4: WMI lateral movement via pass-the-hash

Output Format

Hunt ID: TH-DETECT-[DATE]-[SEQ]
Technique: T1550.002
Host: [Hostname]
User: [Account context]
Evidence: [Log entries, process trees, network data]
Risk Level: [Critical/High/Medium/Low]
Confidence: [High/Medium/Low]
Recommended Action: [Containment, investigation, monitoring]

Frequently asked questions about Detecting Pass The Hash Attacks

Similar skills