跳到正文
Skillpedia
测试35k · #8240

performing-hash-cracking-with-hashcat

它能做什么

这个工具可以帮助破解加密后的密码(哈希值)。它会使用字典或组合等不同方法尝试猜测密码,以检验密码的安全性。

适用场景

  • ✓在测试网络和系统的安全性时(需获得许可)。
  • ✓检查所用密码是否足够强时。
  • ✓调查安全事件时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-hash-cracking-with-hashcat/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-hash-cracking-with-hashcat/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“尝试破解这个哈希值:1000:user:abcdef1234567890abcdef1234567890”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具使用一个名为 Hashcat 的程序,通过与常见字典进行比对或生成组合来猜测密码。它可以利用电脑的显卡来加快速度。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Performing Hash Cracking with Hashcat

Overview

Hash cracking is an essential skill for penetration testers and security auditors to evaluate password strength. Hashcat is the world's fastest password recovery tool, supporting over 300 hash types with GPU acceleration. This skill covers using hashcat for authorized password auditing, understanding attack modes, creating effective rule sets, and generating hash analysis reports. This is strictly for authorized penetration testing and password policy assessment.

When to Use

  • When conducting security assessments that involve performing hash cracking with hashcat
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with cryptography concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Identify hash types from captured hashes
  • Execute dictionary, brute-force, and rule-based attacks
  • Create custom hashcat rules for targeted cracking
  • Analyze password strength from cracking results
  • Generate compliance reports on password policy effectiveness
  • Benchmark GPU performance for hash cracking

Key Concepts

Hashcat Attack Modes

Mode Flag Description Use Case
Dictionary -a 0 Wordlist attack Known password patterns
Combination -a 1 Combine two wordlists Compound passwords
Brute-force -a 3 Mask-based enumeration Short passwords
Rule-based -a 0 -r Dictionary + transformation rules Complex variations
Hybrid -a 6/7 Wordlist + mask Passwords with appended numbers

Common Hash Types

Hash Mode Type Example Use
0 MD5 Legacy web apps
100 SHA-1 Legacy systems
1000 NTLM Windows credentials
1800 sha512crypt Linux /etc/shadow
3200 bcrypt Modern web apps
13100 Kerberos TGS-REP Active Directory

Security Considerations

  • Only perform hash cracking with explicit written authorization
  • Secure all captured hash data in transit and at rest
  • Report all cracked passwords immediately to asset owners
  • Use results to improve password policies, not exploit users
  • Destroy cracked password data after engagement concludes
  • Follow rules of engagement for penetration test scope

Validation Criteria

  • Hash type identification is correct
  • Dictionary attack cracks weak passwords
  • Rule-based attack cracks policy-compliant passwords
  • Mask attack cracks short passwords
  • Results report shows password strength distribution
  • All operations performed within authorized scope
常见问题

什么是“哈希值”(hash)?

它是一种将密码“打乱”的方式,使其不以明文形式显示。它就像一串代表原始密码的编码。

为什么要破解密码?

为了测试密码的安全性。如果一个密码很容易被破解,说明它不够强,需要改进。

使用它需要许可吗?

需要,一定要。这个工具只能用于经过授权的安全测试,并且必须有明确的书面许可。

详情

作者的原始描述

Cracks password hashes with Hashcat, covering hash-type identification, dictionary/brute-force/rule-based attack modes, custom rule creation, GPU benchmarking, and password-strength/compliance reporting. Use for authorized penetration testing or security audits that need to evaluate password strength or crack captured hashes.

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8240
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能