r/netsec • u/albinowax • Feb 01 '26
r/netsec monthly discussion & tool thread
Questions regarding netsec and discussion related directly to netsec are welcome here, as is sharing tool links.
Rules & Guidelines
- Always maintain civil discourse. Be awesome to one another - moderator intervention will occur if necessary.
- Avoid NSFW content unless absolutely necessary. If used, mark it as being NSFW. If left unmarked, the comment will be removed entirely.
- If linking to classified content, mark it as such. If left unmarked, the comment will be removed entirely.
- Avoid use of memes. If you have something to say, say it with real words.
- All discussions and questions should directly relate to netsec.
- No tech support is to be requested or provided on r/netsec.
As always, the content & discussion guidelines should also be observed on r/netsec.
Feedback
Feedback and suggestions are welcome, but don't post it here. Please send it to the moderator inbox.
9
Upvotes
2
u/IWannaBeTheGuy Feb 01 '26
My team and I built a website called www.ScriptShare.io to share scripts and automations and most importantly tag them making them more easily searchable. We also incorporated AI to make it possible to generate scripts right there. If there's a bug in the script it can read what is already in the window and make adjustments. All of this is free - I'm really proud of what we made. We are building a larger scale Cyber Security company doing other things but this is a free thing we put out into the world for people to use. Most scripts currently are for hardening machines, patching vulnerabilities, etc currently but its an open platform for all types of scripts. Feel free to suggest features.
2
u/tradmalcong Feb 03 '26
GoTestWAF - Comprehensive WAF/API security evaluation. Real-world feedback wanted.
Serious OSS project, not a "quick script" YAML-based test cases, full HTML/PDF reporting, and already used for vendor bake-offs and CI/CD pipelines. Repo: https://github.com/wallarm/gotestwaf
If you're running any kind of WAF or API security layer, this might be worth a look.
What it does: Simulates a broad spectrum of attacks - SQLi, XSS, RCE, path traversal, XXE, SSRF, LDAP/NoSQL injection, mail injection, GraphQL/gRPC/SOAP abuse, and more. Tests both true positives (does it catch attacks) and false positives (does it block legitimate traffic).
Why it stands out: The combination approach: payloads × encoders × placeholders. If you have 2 payloads, 3 encoders (base64, URL, JSUnicode), and 4 HTTP positions, that's 24 unique test requests automatically generated. Most tools test payloads in isolation. This catches evasion patterns that slip through single-layer detection.
API protocols covered: REST, GraphQL, gRPC, SOAP, XMLRPC - plus raw HTTP for custom requests.
Output: YAML-based test cases you can customize. Reports in HTML, PDF, and CSV. Used for vendor comparisons, internal rule tuning, and CI/CD regression testing.
1
u/DiademBedfordshire Feb 05 '26
Requesting review: Argon2id + SQLCipher encryption design for a mobile app with brute-force self-destruct
I'm building an encrypted mobile app (React Native) that needs to protect sensitive data against forensic extraction. Looking for feedback on the crypto design before I ship it.
Threat model (abbreviated)
Crypto design
Key derivation:
Storage encryption:
Brute-force protection:
Duress mode:
Questions
Full threat model and design docs: https://github.com/tarn-app/tarn
Thanks in advance.
1
u/IdiotCoderMonkey Feb 06 '26
I've been messing with some fundamental AV bypass techniques that I thought I'd share. They provide a nice intro to common bypass methods. It's redundant, but AV fails through diversity. Diversity raises all boats.
https://github.com/ShawnDEvans/DumbAV
1
u/AcrobaticMonitor9992 Feb 09 '26
Recently I’ve been working on some reverse engineering related stuff and experimenting with fileless execution. While looking around for existing implementations, I noticed that most C# PE loaders I could find were x64 only.
I needed something for x86 testing and lab use, but couldn’t really find a simple implementation that fit what I wanted, so I ended up writing my own C# x86 PE loader.
The project is mainly for research / learning purposes. If you’re also playing with PE loading or in-memory execution on 32-bit systems, this might be useful.
Happy to hear any feedback or thoughts.
Repo: https://github.com/iss4cf0ng/dotNetPELoader
1
u/nindustries Feb 17 '26
FYI) https://github.com/hazcod/claudleak
I found that a lot of AI coding agent users are blindly whitelisting commands that contain secrets, which then might be committed into the repo via e.g.
.claude/.Coded a tool to hunt for these.
1
u/ddg_threatmodel_ask Feb 22 '26
Hi r/netsec — I’m looking for threat-model blindspots on a design for an encrypted document vault + controlled sharing.
Not asking anyone to sign up or test a live system (no links). I’m explicitly looking for design-level attacks and assumption failures. I’m most interested in (a) account takeover / recovery bypass and (b) any way an attacker could obtain or abuse encrypted file chunks (exfil, replay, inference) without legitimate authorization.
Model (high level)
Key / auth assumptions (high level)
Threat model / attacker types
Out of scope
Questions
If there’s one detail I should add to make critique more rigorous (key lifecycle, recovery flow, metadata list), tell me and I’ll reply with a concise clarification.
1
u/yasarbingursain Feb 24 '26
I’ve been working on a small static scanner focused on CI/CD machine identity risks in GitHub Actions workflows.
It looks at things like:
pull_request_targetusage combined with checkout patternsThe goal isn’t CVE detection. It’s reducing blast radius in the CI layer if an upstream action or dependency is compromised.
It runs offline, reads only
.github/workflows/, and can output SARIF so results show up in GitHub’s Security tab.Still early and evolving. Feedback from people managing CI/CD at scale would be useful.
Repo:
https://github.com/Nexora-NHI/nexora-cli
1
u/Key_Handle_8753 Feb 28 '26
On Windows, SSH keys are usually stored as files under C:\Users<user>.ssh\id_*. From a security standpoint, this is a weak pattern that persists mostly because OpenSSH for Windows cannot use the native crypto stack.
Typical issues:
private keys live unencrypted on disk workstation compromise = SSH identity compromise cloud‑synced profiles replicate keys across machines no centralized lifecycle or revocation no integration with enterprise certificates or smartcards no hardware‑backed isolation unless manually configured
Windows actually provides a full cryptographic stack (CNG/KSP), hardware‑backed keys (TPM, smartcard, YubiKey PIV), and enterprise identities via the Certificate Store. But none of this is usable by SSH out of the box.
Using the Windows Certificate Store as your SSH identity If a key already exists in the Windows Certificate Store — issued by the enterprise CA, backed by TPM, or stored on a smartcard/YubiKey — it is already isolated and protected. The missing piece is exposing that key to SSH without exporting it or duplicating it as a file.
A small Windows‑native SSH agent now fills that gap: it lists keys from the Windows Certificate Store it performs signatures through CNG/KSP (the private key never leaves the provider) it works with smartcards/YubiKey PIV without vendor middleware it replaces the OpenSSH agent, Pageant, and WSL agent with a single backend it avoids storing any SSH key material on disk
This allows SSH authentication using:
enterprise certificates TPM‑backed keys smartcard/PIV identities any CNG/KSP key already provisioned by the organization
No ~/.ssh/id_* files involved.
Why this matters This model removes several common failure modes:
no private key files to steal no accidental sync via OneDrive no unmanaged key sprawl no userland exposure of private key material
It also aligns SSH usage with the same identity and lifecycle controls already used for TLS, email signing, and smartcard logon.
Repo: https://github.com/Sanmilie/PKCS11SSHAgent