HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
skerkour
black-hat-rust
Rust2021–2024
skerkour / black-hat-rust

black-hat-rust

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

3Distinct people
4Mentions
0Explicit recommenders
4.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year4 dated mentions

Observed mentions: 2021-02-04 18:14:51 UTC to 2024-12-09 06:17:44 UTC.

0122021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC211

What Hacker News says

4 sources
I think what the author hasn't realized yet is that for the most part - exploit development, fuzzing a binary, finding a logical problem and building a feasible exploit for it - you are fighting against the language that you chose. The reason Go got so popular is not because of its type system, but because it also has a mode of programming "good enough" prototypes. Python for exploit development is also great due to the gdb fork that can generate python payloads, offsets etc, but it sucks for deployment on targets. If I would compare the three language choices I don't see why anyone would choose Rust over the other two in terms of efficiency and not having to fight the language. I don't even know whether it would be possible to write an exploit that overflows something in an external ABI binary in Rust without sacrificing everything that
Read the rest
Rust stands for. After all, the binary would have to be statically linked for deployment, have to support invalid types, have to support invalid control flows etc. On the other hand, in Go that's what CGo is made for. The VM and GC in Go doesn't care about what CGo does. Edit: nevermind, the only example that is using Rust for this type of exploits is a sudo cli argument exploit, lol. I would have expected a little more than a char array generator that's using the FFI package. [1] [1] https://github.com/skerkour/black-hat-rust/blob/main/ch_07/e...
In Black Hat Rust
Hey HN, With all the recent hacks breaking the news, I thought that there is still clearly a lack of knowledge about how cyber attacks are performed. In the book we will put ourselves in the shoes of attackers. From theory to practice, we will explore the arcane of offensive security and build our own offensive tools from scratch in Rust: scanners, phishing toolkit, shellcodes, advanced RAT... Here is the accompanying GitHub repository: https://github.com/skerkour/black-hat-rust Important: This is work in progress, feedback is welcome :) In order to thank all the people who will help me make this book a reality by buying it in early access, I prepared a special bonus: a curated list of detailed analyses of the most advanced malwares of the past two decades. You will find inside great inspiration when developing your own offensive tools. E
Read the rest
dit: I Added a coupon for people hearing about the book here to save 10€: https://academy.kerkour.com/black-hat-rust?coupon=HACKERNEWS
In Show HN: Black Hat Rust – I'm writing a book about offensive security with Rust
Hey HN, With all the recent hacks breaking the news, I thought that there is still clearly a lack of knowledge about how cyber attacks are performed. In the book we will put ourselves in the shoes of attackers. From theory to practice, we will explore the arcane of offensive security and build our own offensive tools from scratch in Rust: scanners, phishing toolkit, shellcodes, advanced RAT... Here is the accompanying GitHub repository: https://github.com/skerkour/black-hat-rust Important: This is work in progress, feedback is welcome :) In order to thank all the people who will help me make this book a reality by buying it in early access, I prepared a special bonus: a curated list of detailed analyses of the most advanced malwares of the past two decades. You will find inside great inspiration when developing your own offensive tools. E
Read the rest
dit: I Added a coupon for people hearing about the book here to save 10€: https://academy.kerkour.com/black-hat-rust?coupon=HACKERNEWS
In Show HN: Black Hat Rust – I'm writing a book about offensive security with Rust

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.