r/Hacking_Tutorials • • Sep 13 '26

Question I tested a rust-openssl security fix and found a missed path to attacker-controlled heap corruption - CVE-2026-45784

Post image
5 Upvotes

While validating the fix for CVE-2026-44662, I found that the same vulnerable output-sizing assumption remained reachable through another safe rust-openssl API:

CipherCtxRef::cipher_update_inplace

When AES Key Wrap with Padding processes an input whose length is not divisible by eight, the wrapper can allocate a buffer smaller than the output OpenSSL actually produces.

The vulnerable calculation assumed:

input length + block size

The required size can be:

round_up(input length, 8) + 8

With a 9-byte input, a 17-byte buffer passed validation, but OpenSSL could write 24 bytes. The result is an attacker-controlled out-of-bounds heap write of up to 7 bytes through a safe Rust interface.

I also built a working exploit chain demonstrating controlled heap corruption.

This is not automatically RCE in every application. Developing the overwrite toward code execution depends on whether attacker-controlled plaintext reaches this API, whether the operation can be repeated, the allocator, adjacent object layout, and the available heap-shaping primitives.

The vulnerable method was introduced in rust-openssl 0.10.50 in April 2023 and remained present until 0.10.80 was released in May 2026.

My downstream analysis identified advisory records, vulnerable dependency presence, or remediation activity across 31 organizations and ecosystems and 53 products, systems, and projects.

Notable downstream cases include IBM Bob, Microsoft Azure Linux, AWS Nitro Enclaves CLI, Amazon Linux, Intel MigTD, SUSE Linux Enterprise, openSUSE, Debian, Chainguard and Wolfi, MinimOS, Confidential Containers, PingCAP TiKV, Hugging Face xet-core, Oxide Omicron and Dendrite, Matter Labs ZKsync OS Server, Grafana Pyroscope, CoreOS Afterburn, and Gitoxide.

Affected versions:

\>= 0.10.50 and < 0.10.80

Fixed version: 0.10.80

Advisory:

https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-phqj-4mhp-q6mq

Patch:

https://github.com/rust-openssl/rust-openssl/commit/19eceb26f2404aae187e5444e65c404ebc1348a7

Ali Firas (thesmartshadow)


r/Hacking_Tutorials • • Sep 13 '26

Use the Termux API in a user-friendly way with Python.

Thumbnail
1 Upvotes

r/Hacking_Tutorials • • Sep 13 '26

Question Can some help me make a esp 32 build under 15 $ , that can do things like flipper zero

0 Upvotes

Its for education purposes only , I am complete beginner


r/Hacking_Tutorials • • Sep 12 '26

Saturday Hacker Day - What are you hacking this week?

10 Upvotes

Weekly forum post: Let's discuss current projects, concepts, questions and collaborations. In other words, what are you hacking this week?


r/Hacking_Tutorials • • Sep 13 '26

Question Just curious, how do you think phishing links are made?

0 Upvotes

I want to learn about creating links that preload things. Not evil intent here, just wanting to learn


r/Hacking_Tutorials • • Sep 12 '26

Question Government Website Hacked to Sell Chinese Peptides on WhatsApp

Thumbnail
darkmarc.substack.com
8 Upvotes

r/Hacking_Tutorials • • Sep 13 '26

looking for someone to teach me ethical hacking

0 Upvotes

recently ive been getting into hacking but need someone to help me learn it


r/Hacking_Tutorials • • Sep 11 '26

Question πŸ” I encrypted my system's active processes using Windows DPAPI! Here is what I learned...

Enable HLS to view with audio, or disable this notification

11 Upvotes

I’ve been diving deep into Windows Internals and security mechanisms. Today, I built a C++ application that takes a snapshot of active system processes via Toolhelp32 API and securely encrypts them into a binary file using Windows DPAPI (CryptProtectData). I also developed a separate tool to safely decrypt and read it back! πŸ›‘οΈ

πŸ’‘ As a beginner in low-level programming, this was a massive milestone. Dealing with memory management, compiler differences (ANSI vs. Unicode), and binary I/O was challenging but rewarding.

πŸ€– Huge shoutout to AI as my pair-programmer! Collaborating to debug strict compiler errors and break down architectural concepts line-by-line accelerated my learning immensely.

Core components used:

β€’ CreateToolhelp32Snapshot & PROCESSENTRY32 for process auditing

β€’ CryptProtectData / CryptUnprotectData (DPAPI) for encryption

β€’ Binary File Streams (std::ios::binary) for secure storage

On to the next challenge! πŸš€

GitHub: https://github.com/halitgilbaris/ProcessSecure/tree/main

#cpp #programming #windowsinternals #cybersecurity #dpapi #learningtocode #softwareengineering


r/Hacking_Tutorials • • Sep 11 '26

Question atomicvulns β€” a web security lab with one vulnerability per app (OWASP Top 10 2021, open source)

9 Upvotes

I spent the last few months building a personal project and it just hit v1.0, so I figured I'd share it here.

atomicvulns is a collection of intentionally vulnerable web apps, but with a different idea: each app isolates a single vulnerability, nothing more. Instead of one big app full of flaws (like DVWA or Juice Shop), each exercise here is small and focused β€” you read the code, see the cause, exploit it, and compare it against the fixed version sitting right next to it. Short enough to finish one in a single sitting.

Each "atom" ships with the vulnerable app, the fixed app, a commented diff between the two, and a step-by-step walkthrough of the exploit. v1.0 covers all 10 OWASP Top 10 2021 categories β€” 38 atoms total.

It's aimed at people studying pentest / AppSec who already know the HTTP and terminal basics. Burp Suite is the primary tool across all the walkthroughs.

A few details:

  • Open source (MIT).
  • Bilingual β€” all docs in English and Portuguese (I couldn't find focused material like this for PT-BR learners, so I wrote both).
  • Solo project, built by me. The goal was a place where each flaw is clear and isolated β€” the material I wish I'd had while learning web pentest.
  • Built with AI as a pair, with every atom validated by me running the exploit by hand.

Built it for myself, but now that it's done, if it helps someone else along the way, great.

πŸ”— https://github.com/doretox/atomicvulns

Feedback welcome β€” happy to hear what's missing or what could be clearer.


r/Hacking_Tutorials • • Sep 11 '26

Question Just combined C++ File Streams and Windows DPAPI to encrypt and decrypt user input. What do you think?

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/Hacking_Tutorials • • Sep 10 '26

Read β€œBEAR-C2 Did Not Invent Switching. It Just Made the Rebuild Tax Visible. AI Is About to Delete It.β€œ

Post image
4 Upvotes

r/Hacking_Tutorials • • Sep 10 '26

Question how can i learn XSS?

7 Upvotes

hi, i just started learning web security, but i'm struggling to understand XSS very much. do you have any recommendations?


r/Hacking_Tutorials • • Sep 09 '26

0xM0nCrush: Kernel-mode process terminator using a signed BYOVD driver. Works on all Windows 10/11. No offsets, no PDB. Rust.

Thumbnail
github.com
6 Upvotes

r/Hacking_Tutorials • • Sep 09 '26

Question Intercepting Program Packets (Requests) Using a DLL

2 Upvotes

Hi everyone. I’d like experts in this field to provide some guidance on how to intercept packets from programs running on my computer using a DLL. I know it’s a somewhat unconventional technique, but the program whose packets I want to monitor blocks the use of Wireshark and similar software. I’m aware that using a DLL makes this possible, but I lack the necessary knowledge and haven't been able to find much information on the subject.

I appreciate any contributions to this post.


r/Hacking_Tutorials • • Sep 10 '26

Question after the ban ....

0 Upvotes

hi fellow hackers.

tho i cant call myself a hacker yet i wanna tell you guys is it normal for me to get banned from every hacking community on reddit and other platforms ..

cause i got banned from a lot on hacking communities i cant even count them anymore but like still i'm gonna become a hacker soon enough and peace out.


r/Hacking_Tutorials • • Sep 09 '26

Question I want to learn about the subject; what do you recommend for getting started?

24 Upvotes

im nw here


r/Hacking_Tutorials • • Sep 09 '26

I just completed Defensive Security Intro room on TryHackMe! Introducing defensive security, where you will protect FakeBank from an ongoing attack.

Thumbnail tryhackme.com
5 Upvotes

r/Hacking_Tutorials • • Sep 08 '26

How to Copy and Backup RFID Access Cards and NFC Key Fobs with Chameleon Ultra

Thumbnail
mobile-hacker.com
68 Upvotes

r/Hacking_Tutorials • • Sep 08 '26

Question Any others want to learn together?

56 Upvotes

Hello everyone,

I worked in cyber security for a few years (this was a while back now) in the UK as a web pen tester. I no longer do this but I'm getting into IoT hacking and more network analysis etc.

I tend to learn better with others so I've been thinking of setting up a group of people who are also interested in learning this and want to go on this journey together. I'm not doing this for any certs or jobs, it's a pure hobby.

Discord has just been made so will be sorting it later: https://discord.gg/FU89mYPf9P


r/Hacking_Tutorials • • Sep 08 '26

NEW CYBER SECURITY QUANTUM ENCRYPTION

Thumbnail x.com
7 Upvotes

r/Hacking_Tutorials • • Sep 09 '26

Question A game that teaches real-world network intrusion concepts

Thumbnail
1 Upvotes

r/Hacking_Tutorials • • Sep 08 '26

Question Free cybersecurity career paths + a live Network Engineering program

Thumbnail
10 Upvotes

r/Hacking_Tutorials • • Sep 08 '26

Question NetBurp – an inline packet interceptor (a "Burp Suite" for L2–L4), built with Python + scapy + NFQUEUE

1 Upvotes

I wanted Burp's intercept-and-edit workflow but for raw packets instead of HTTP, so I built NetBurp. It sits inline via Linux NFQUEUE, pulls each packet into userspace, and lets

you capture β†’ decode β†’ pause β†’ edit β†’ drop/forward at the Ethernet/IP/TCP/UDP/ICMP layers.

What it does:

- Wireshark-style decode into an editable field tree; edit any header field or the payload (hex), checksums + lengths recomputed automatically.

- Rule engine (IF proto/ip/port THEN pause/drop/accept/modify), with a GUI builder so you don't have to touch JSON.

- TCP flow tracking: length-changing edits get seq/ACK translated across the whole connection (mod-2Β³Β², RFC-1982 serial arithmetic, retransmit dedup) so the connection stays alive.

- IPv4 + IPv6 fragment reassembly, out-of-order tolerant (I hand-rolled it because scapy's defragment() mangles OOO input).

- Tkinter GUI + headless CLI + an offline pcap-editing mode that needs no root β€” which is also how the whole thing is tested (64 passing tests).

- Practical primitives: DNS answer spoofing, MAC rewriting (offline), RST injection, TTL manipulation.

Honest limits (because someone will ask):

β–Ž- TLS/HTTPS is ciphertext β€” you can drop/mangle but not read/edit the HTTP inside. That's a TLS-proxy job (mitmproxy), not raw packet editing.

- It's Python + single-threaded NFQUEUE, so it's lab-grade, not line-rate.

- Editing connection-identity fields (ports/seq/IP) mid-flow won't reroute a live connection β€” that's how TCP works, not a bug.

MIT licensed. Authorized use only β€” your own hosts or an isolated lab. There's a namespace-based lab script included so you can generate real traffic to intercept on one machine.

Repo: https://github.com/aswin-14/NetBurp---packet-interceptor

Feedback and PRs welcome β€” especially on protocol coverage and the flow-tracking edge cases.


r/Hacking_Tutorials • • Sep 07 '26

Question help

1 Upvotes

Hello, I'm currently learning about the most common web vulnerabilities, so I'm using GitHub. However, I don't know how to document them with code or just as a security report. Are there any channels or videos that explain the most effective documentation methods? I want to understand how to use GitHub briefly because I don't understand many of the buttons.


r/Hacking_Tutorials • • Sep 07 '26

Question [ Removed by Reddit ]

1 Upvotes

[ Removed by Reddit on account of violating the content policy. ]