ccupp Social Engineering Password Wordlist Generation
- 攻击大类:C43 移动端攻击
ccupp (Chinese Common User Passwords Profiler) intelligently generates password wordlists from the target's personal information — more accurate than generic wordlists, because most people's passwords contain their own name, birthday, phone number, and similar data.
Project address: https://github.com/WangYihang/ccupp
Installation
# Method 1: automatic install via f8x (recommended)
f8x -install ccupp
# Method 2: manual install (ccupp is not published on PyPI, clone it and install locally)
git clone https://github.com/WangYihang/ccupp.git
cd ccupp
pipx install .
Quick Start
# Generate a sample configuration file
ccupp init
# Enter the target information interactively
ccupp interactive
# Generate passwords from the configuration file
ccupp generate -o passwords.txt
Configuration File Format
Create config.yaml and fill in the target's social engineering information:
- surname: Zhang
first_name: San
phone_numbers:
- '13800138000'
identity: '110101199001011234'
birthdate:
- '1990'
- '01'
- '01'
hometowns:
- Beijing
- Haidian
workplaces:
- - Alibaba
- alibaba
educational_institutions:
- - Peking University
- pku
accounts:
- zhangsan
passwords:
- old_pass123
Every field participates in password combinations — the more information you supply, the more accurate the wordlist coverage.
Generation Strategies and Priorities
ccupp outputs passwords sorted from most to least likely, and the ones at the top have higher hit rates:
- Old password variants — case changes / leetspeak / suffix transformations (people tend to lightly modify an old password)
- Name + birthday — the most common weak password pattern for Chinese users (
zhangsan1990) - Name + phone suffix — e.g.
zs8000,zhangsan138 - Two-component combinations — any cross-combination of two categories of information
- Cultural numbers — component + 520/1314/888/666 (a distinctly Chinese pattern)
- Keyboard patterns — qwerty/1qaz2wsx + component
Common Parameters
# Filter password length (to match the target's password policy)
ccupp generate --min-length 8 --max-length 16
# Disable certain strategies (to shrink the wordlist size)
ccupp generate --no-leetspeak --no-cultural --no-keyboard
# JSON output (convenient for programmatic processing)
ccupp generate -f json -o passwords.json
# View statistics
ccupp generate --stats
Operational Workflow
Collect target information (name/birthday/phone/company)
│
├─ ccupp generate → customized wordlist passwords.txt
│
└─ Brute force with the wordlist
├─ zombie -i target -s ssh -u zhangsan -P passwords.txt
├─ zombie -i target -s rdp -u zhangsan -P passwords.txt
└─ hydra -l zhangsan -P passwords.txt target ssh
Decision Tree
Need a password wordlist?
├─ Have the target's personal information → ccupp generate (customized wordlist, accurate hits)
├─ No personal information, generic scenario → SecLists/rockyou.txt
├─ Enterprise bulk weak passwords → company name + year + special characters (manual or scripted)
└─ Have an old password → ccupp old password variant strategy (fill in the passwords field)