CyberLearn
← Back to intermediate
Intermediate

Credential Enumeration

Post-exploitation credential collection

Log in to track progress
2–4dNim

What you'll learn

  • Credential extraction
  • Browser forensics
  • Red team tooling
  • Nim language
 ██████╗██████╗ ███████╗██████╗ ███████╗███╗   ██╗██╗   ██╗███╗   ███╗
██╔════╝██╔══██╗██╔════╝██╔══██╗██╔════╝████╗  ██║██║   ██║████╗ ████║
██║     ██████╔╝█████╗  ██║  ██║█████╗  ██╔██╗ ██║██║   ██║██╔████╔██║
██║     ██╔══██╗██╔══╝  ██║  ██║██╔══╝  ██║╚██╗██║██║   ██║██║╚██╔╝██║
╚██████╗██║  ██║███████╗██████╔╝███████╗██║ ╚████║╚██████╔╝██║ ╚═╝ ██║
 ╚═════╝╚═╝  ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝  ╚═══╝ ╚═════╝ ╚═╝     ╚═╝

Cybersecurity Projects Nim License: AGPLv3 MITRE ATT&CK

Post-access credential exposure detection for Linux systems, written in Nim.

This is a quick overview. Security theory, architecture, and full walkthroughs are in the learn modules.

What It Does

  • Scans Linux home directories for exposed credentials across 7 categories
  • Detects unprotected SSH keys, plaintext cloud credentials, browser credential stores, shell history secrets, keyrings, Git tokens, and application credentials
  • Classifies findings by severity based on file permissions and exposure risk
  • Reports in terminal with color-coded output or structured JSON for automation
  • Compiles to a single static binary with zero runtime dependencies

Quick Start

bash install.sh
credenum

[!TIP] This project uses just as a command runner. Type just to see all available commands.

Install: curl -sSf https://just.systems/install.sh | bash -s -- --to ~/.local/bin

Stack

Language: Nim 2.2+ (ORC memory management)

Build: Just, Nimble, musl (static linking), UPX (compression), zigcc (cross-compilation)

Testing: Nim unittest, Docker (integration tests with planted credentials)

Learn

This project includes step-by-step learning materials covering security theory, architecture, and implementation.

ModuleTopic
00 - OverviewPrerequisites and quick start
01 - ConceptsSecurity theory and real-world breaches
02 - ArchitectureSystem design and data flow
03 - ImplementationCode walkthrough
04 - ChallengesExtension ideas and exercises

License

AGPL 3.0