<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
---
name: conducting-john-the-ripper-analysis
description: >-
  Conduct password cracking analysis using John the Ripper with custom rules, format detection, and incremental attack modes.
domain: cybersecurity
subdomain: password-cracking
tags:
  - john
  - password-cracking
  - rules
  - incremental
  - format-detection
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1110.002"]
  cwe: ["CWE-916"]
  tools: ["john", "john-jumbo", "johnny", "unshadow"]
---

# Conducting John The Ripper Analysis

## Overview

Conduct password cracking analysis using John the Ripper with custom rules, format detection, and incremental attack modes.

## Prerequisites

| Tool / Requirement | Details |
|---|---|
| `john` | Security tooling |
| `john-jumbo` | Security tooling |
| `johnny` | Security tooling |
| `unshadow` | Security tooling |
| Isolated lab environment for testing | Environment requirement |
| Authorization and signed Rules of Engagement (RoE) | Environment requirement |
| Relevant target samples or systems acquired through authorized channels | Environment requirement |

## Quick Reference

```bash
# Auto-detect format and crack
john --wordlist=rockyou.txt hashes.txt

# Specify format
john --format=NT --wordlist=rockyou.txt hashes.txt

# Incremental mode
john --incremental=Digits --format=Raw-MD5 hashes.txt

# Show cracked passwords
john --show hashes.txt

# List supported formats
john --list=formats
```

## Workflow

### Step 1: Preparation and Reconnaissance

```bash
# Identify target and gather initial intelligence
file ./target_sample
john --version 2>/dev/null || echo "Install john"

# Set up working directory
mkdir -p /tmp/conducting-john-the-ripper-analysis/{output,logs,artifacts}
```

### Step 2: Primary Analysis

```bash
# Execute primary analysis with john
# Refer to Quick Reference above for detailed commands
echo "[*] Running Conducting John The Ripper Analysis with john..."

# Log all operations
script -q /tmp/conducting-john-the-ripper-analysis/logs/session.log
```

### Step 3: Deep Investigation

```bash
# Apply john-jumbo for secondary analysis
echo "[*] Deep investigation with john-jumbo..."

# Cross-reference findings
diff /tmp/conducting-john-the-ripper-analysis/output/primary.json /tmp/conducting-john-the-ripper-analysis/output/secondary.json
```

### Step 4: Documentation and Reporting

```bash
# Generate structured findings report
cat <<'EOF' > /tmp/conducting-john-the-ripper-analysis/output/report.json
{
  "technique": "conducting-john-the-ripper-analysis",
  "domain": "password-cracking",
  "tools_used": ["john", "john-jumbo"],
  "findings": [],
  "recommendations": []
}
EOF
```

## Verification

- [ ] Environment and tools verified and operational
- [ ] Target samples acquired through authorized channels
- [ ] Primary analysis completed with findings documented
- [ ] Secondary validation performed with independent tooling
- [ ] All artifacts preserved in structured output directory
- [ ] Detection opportunities documented for blue team

## References

- [MITRE ATT&CK T1110.002](https://attack.mitre.org/techniques/T1110/002) — Related technique
- [john Documentation](https://john.org/) — Primary tooling
- [john-jumbo Reference](https://john-jumbo.org/) — Secondary tooling
