Skip to content
Skillv1.0.0

detecting-credential-dumping-techniques

Detect LSASS credential dumping, SAM database extraction, and NTDS.dit theft using Sysmon Event ID 10, Windows Security logs, and SIEM correlation rules

by luokai0(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from luokai0/ai-agent-skills-by-luo-kai (ai-agent-skills/21-external-registries/08-pinkpixel-collection/detecting-credential-dumping-techniques/SKILL.md). Install upstream with npx skills add luokai0/ai-agent-skills-by-luo-kai --skill detecting-credential-dumping-techniques. Copyright stays with the author (Apache-2.0).

Detecting Credential Dumping Techniques

Overview

Credential dumping (MITRE ATT&CK T1003) is a post-exploitation technique where adversaries extract authentication credentials from OS memory, registry hives, or domain controller databases. This skill covers detection of LSASS memory access via Sysmon Event ID 10 (ProcessAccess), SAM registry hive export via reg.exe, NTDS.dit extraction via ntdsutil/vssadmin, and comsvcs.dll MiniDump abuse. Detection rules analyze GrantedAccess bitmasks, suspicious calling processes, and known tool signatures.

When to Use

  • When investigating security incidents that require detecting credential dumping techniques
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Sysmon v14+ deployed with ProcessAccess logging (Event ID 10) for lsass.exe
  • Windows Security audit policy enabling process creation (Event ID 4688) with command line logging
  • Splunk or Elastic SIEM ingesting Sysmon and Windows Security logs
  • Python 3.8+ for log analysis

Steps

  1. Configure Sysmon to log ProcessAccess events targeting lsass.exe
  2. Forward Sysmon Event ID 10 and Windows Event ID 4688 to SIEM
  3. Create detection rules for known GrantedAccess patterns (0x1010, 0x1FFFFF)
  4. Detect comsvcs.dll MiniDump and procdump.exe targeting LSASS PID
  5. Alert on reg.exe SAM/SECURITY/SYSTEM hive export commands
  6. Detect ntdsutil/vssadmin shadow copy creation for NTDS.dit theft
  7. Correlate detections with user/host context for risk scoring

Expected Output

JSON report containing detected credential dumping indicators with technique classification, severity ratings, process details, MITRE ATT&CK mapping, and Splunk/Elastic detection queries.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/luokai0-ai-agent-skills-by-luo-kai-detecting-credential-f17d30/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

luokai0-ai-agent-skills-by-luo-kai-detecting-credential-f17d30.ocm.jsonjson
{
  "ocm": "1",
  "id": "luokai0-ai-agent-skills-by-luo-kai-detecting-credential-f17d30",
  "kind": "skill",
  "name": "detecting-credential-dumping-techniques",
  "description": "Detect LSASS credential dumping, SAM database extraction, and NTDS.dit theft using Sysmon Event ID 10, Windows Security logs, and SIEM correlation rules",
  "publisher": "luokai0",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "data_analysis"
    ],
    "tags": [
      "skill-md",
      "credential-dumping",
      "lsass",
      "mimikatz",
      "sysmon",
      "active-directory",
      "windows-security",
      "defense-evasion",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Detect LSASS credential dumping, SAM database extraction, and NTDS.dit theft using Sysmon Event ID 10, Windows Security logs, and SIEM correlation rules"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/luokai0/ai-agent-skills-by-luo-kai",
      "path": "ai-agent-skills/21-external-registries/08-pinkpixel-collection/detecting-credential-dumping-techniques/SKILL.md",
      "ref": "4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c",
      "url": "https://github.com/luokai0/ai-agent-skills-by-luo-kai/blob/4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c/ai-agent-skills/21-external-registries/08-pinkpixel-collection/detecting-credential-dumping-techniques/SKILL.md",
      "key": "luokai0/ai-agent-skills-by-luo-kai/ai-agent-skills/21-external-registries/08-pinkpixel-collection/detecting-credential-dumping-techniques/SKILL.md"
    },
    "license": "Apache-2.0"
  },
  "instructions": "# Detecting Credential Dumping Techniques\n\n## Overview\n\nCredential dumping (MITRE ATT&CK T1003) is a post-exploitation technique where adversaries extract authentication credentials from OS memory, registry hives, or domain controller databases. This skill covers detection of LSASS memory access via Sysmon Event ID 10 (ProcessAccess), SAM registry hive export via reg.exe, NTDS.dit extraction via ntdsutil/vssadmin, and comsvcs.dll MiniDump abuse. Detection rules analyze GrantedAccess bitmasks, suspicious calling processes, and known tool signatures.\n\n\n## When to Use\n\n- When investigating securi",
  "cost": {
    "context_tokens": 468
  }
}

Fetch it by URL: GET /api/v1/registry/luokai0-ai-agent-skills-by-luo-kai-detecting-credential-f17d30/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.