# skerkour/black-hat-rust

Applied offensive security with Rust  - https://kerkour.com/black-hat-rust

Repository: https://github.com/skerkour/black-hat-rust
Canonical: https://ross.abutalabs.com/products/black-hat-rust
Homepage: https://kerkour.com/black-hat-rust
Language: Rust
License: MIT
License Family: permissive
Topics: rust, security, pentest, pentesting, offensive-security, red-team, audit, beacon, c2, bug-bounty, bug-hunting, wasm, shellcodes, scanner, phishing, trojan, virus, hacking, infosec, security-tools
Last push: 2025-10-01T11:29:33+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 44, release rhythm 35, longevity 100
- inputs: {"age_days": 2037, "days_push": 336, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4391, forks 436 (observed 2026-08-28T04:08:48.110415+00:00)

## What it is
The companion repository for the book 'Black Hat Rust', teaching applied offensive security by building real-world attack tools in Rust. It covers scanners, exploits, phishing kits, implants, shellcodes, and C2 beacons from theory to practice.

## Use cases
- learn offensive security with rust
- build a c2 server in rust
- write shellcodes in rust
- learn rust through security tooling
- red team tool development tutorial
- build a phishing toolkit
- transition from developer to security engineer

## When to choose
- you want hands-on code for offensive security concepts
- you know programming and want to learn security or Rust
- you prefer learning by building tools from scratch rather than using Metasploit

## When to avoid
- you need a production-ready pentesting toolkit rather than educational code
- you want to learn programming fundamentals from scratch
- you need defensive security guidance only

## Facets
- artifact type: learning-resource
- maturity: active
- function: penetration-testing, security, reverse-engineering, developer-tools
- domain: security, penetration-testing, programming-languages, tutorials
- platform: rust, cross-platform, cli
- tags: offensive-security, red-team, book, c2, shellcode, phishing, malware-development, bug-bounty

## Member repositories
- skerkour/black-hat-rust (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:48.110415+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:12.159586+00:00, confidence not recorded.
  - readme: https://github.com/skerkour/black-hat-rust (fetched 2026-08-28T04:08:48.110415+00:00, sha f85fd3641549)
  - homepage: https://kerkour.com/black-hat-rust (fetched 2026-08-29T09:09:08.336248+00:00, sha b4c7b2c18b3b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
