Implementation:0xSteph Pentest ai agents Credential Tester Agent
| Knowledge Sources | |
|---|---|
| Domains | Security, Credential_Testing, Methodology |
| Last Updated | 2026-10-22 12:00 GMT |
Overview
Concrete agent definition for password attacks, hash cracking, and credential validation provided by the pentest-ai-agents toolkit.
Description
The credential-tester agent is a Tier 1 (advisory-only) Claude Code subagent for credential security testing. It provides guidance on online password attacks (Hydra, Medusa, CrackMapExec), offline hash cracking (hashcat, john), password spraying methodology, default credential checks, and wordlist generation (cewl, cupp, crunch). It operates with lockout awareness and provides rate-limiting guidance.
This is a Pattern Doc: the agent defines credential attack methodology, tool usage patterns, and lockout avoidance strategies.
Usage
- Online attacks: Delegate for SSH, RDP, SMB, HTTP brute force guidance with Hydra/Medusa.
- Offline cracking: Use for hashcat/john hash cracking guidance with rule sets and mask attacks.
- Password spraying: Ask for safe spraying methodology with lockout avoidance.
- Wordlist generation: Use for custom wordlist creation with cewl, cupp, and crunch.
Code Reference
Source Location
- Repository: pentest-ai-agents
- File: agents/credential-tester.md
Signature
---
name: credential-tester
description: >
Delegates to this agent when the user asks about password attacks, credential
testing, hash cracking, brute force methodology, default credential checks,
password spraying, or needs help with tools like hydra, john, hashcat, medusa,
or CrackMapExec.
tools:
- Read
- Write
- Edit
- Grep
- Glob
- WebFetch
- WebSearch
model: sonnet
---
Import
# Loaded by Claude Code from .claude/agents/ when installed via install.sh
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| Target | text | Yes | Service URL or hash to test |
| Hash/credential | text | No | Hash for offline cracking |
| Wordlist | path | No | Custom wordlist path |
Outputs
| Name | Type | Description |
|---|---|---|
| Attack guidance | Markdown | Exact commands with safe rate limiting |
| Cracked credentials | text | Plaintext passwords from hash cracking |
| DB records | SQLite | Valid credentials in findings database |
Usage Examples
Hydra SSH Brute Force Guidance
# Agent provides safe command guidance:
hydra -l admin -P wordlist.txt ssh://10.10.1.50 -t 4 -W 3 -f -o cracked.txt
# -t 4: 4 parallel tasks (keep low to avoid lockouts)
# -W 3: 3 second wait between attempts
# -f: stop after first valid pair
Hashcat Hash Cracking
# Agent recommends hashcat mode and rules:
hashcat -m 1000 ntlm_hashes.txt rockyou.txt -r rules/best64.rule
# -m 1000: NTLM mode
Related Pages
Implements Principles
Uses Heuristics
- Heuristic:0xSteph_Pentest_ai_agents_OPSEC_Tagging
- Heuristic:0xSteph_Pentest_ai_agents_Lockout_Avoidance
- Heuristic:0xSteph_Pentest_ai_agents_MITRE_ATTACK_Mapping
Related Implementations
- Implementation:0xSteph_Pentest_ai_agents_Findings_CLI receives credential records from this agent
- Implementation:0xSteph_Pentest_ai_agents_AD_Attacker_Agent complements with AD-specific credential attacks