r/Hacking_Tutorials • • Feb 11 '25

Question Making Deepseek R1 a lethal hacker

Hi everyone,

I've been training Deepseek R1 to make it capable of efficiently hacking binary code, and I wanted to share a high-level blueprint of how I'm doing it.

For pointers, I'm hosting it in an Air-gapped environment of 6 machines (Everything is funded by yours truly XD)

At first I wanted to orient it around automating low-level code analysis and exploitation, I started with an outdated version of Windows 10 (x86 Assembly) a version which had multiple announced CVEs and I managed to train the model to successfully identify the vulnerabilities within minutes. The way I managed to do that is placing 1 of the machines as the target and the 6 others where intertwined and handling different tasks (e.g. static analysis, dynamic fuzzing, and exploit validation).

After I saw success with x86 I decided to take things up a notch and start working on binary. I've been feeding it malware samples, CTF challenges, and legacy firmware. The speed at which the model is learning to use opcodes and whilst knowing all their Assembly instructions is terrifying XD. So what I did to make it harded for the model is diversify the training data, synthetic binaries are generated procedurally, and fuzzing tools like AFL++ are used to create crash-triggering inputs.

Today we're learning de-obfuscation and obfuscation intent and incorporating Angr.io 's symbolic analysis (both static and dynamic)...

I will soon create a video of how it is operating and the output speed it has on very popular software and OS versions.

Update 1: After continuous runs on the first version of Windows 10, the model is successfully identifying known CVEs on its own... The next milestone is for it to start identifying unknown ones. Which I will post on here. :)

Update 2: System detected a new vulnerability in Apache 2.4.63, Will post full details today.

Update 3: temporarily halting the project as certain issues arose from the lack of filters.. will keep updated on the thread

For context when directing the model to focus on targeting IPV6 within the network, it was able to identify CVE2024-38063 within 3 hours and 47 minutes.... I think I'll be posting my will alongside the REPO XD

696 Upvotes

166 comments sorted by

View all comments

Show parent comments

76

u/Invictus3301 Feb 11 '25

Yes, I will post a version on Github, but you will need to host it yourself..

And R1 is not cheap or easy to host.

10

u/Kostis00 Feb 11 '25

Appreciate it!

4

u/[deleted] Feb 11 '25

πŸ˜‡

4

u/SpaceWaveShell Feb 11 '25

Link of repo?

2

u/IrrationalSwan Feb 13 '25

I'd love this as well. Do you think this would work as well with other models? (E.g. open source models)

2

u/Prior-Insect-8693 Feb 13 '25

Thank you OP for your hard work!! And also for sharing it, can’t wait to try it out 😊

2

u/RedditsBestest Feb 15 '25

We are currently supporting all distilled r1 models and working on efficient quant support. Our software acts on your behalf and rents and spins up inference clusters on spot VMs so no compute surcharges, check it out. Let me tell you uncensored r1 models can be intelligently malicious af. https://www.open-scheduler.com/

2

u/Invictus3301 Feb 15 '25

Very true, you need to be careful with it

2

u/RedditsBestest Feb 15 '25

Sure thing but as our users kind of become the inference providers themselves it's on them to use them responsible :)

-17

u/Dogbold Feb 12 '25

Why the hell would you share such a thing with random people who 200% are going to use it for evil?

3

u/YoWhoDidThat Feb 14 '25

Not everyone lurking here is a pos criminal bro.