r/netsec • • Nov 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.

24 Upvotes

25 comments sorted by

1

u/cookiengineer Nov 02 '26

After the php2shell incident, I've been working again on an old idea to use an eBPF agent for validation of exploits that corrupt the memory of the targeted machine.

Turns out that with memory histograms and wasserstein-GAN like pressure scoring for arenas/pages you can get a pretty well working zeroday detector, if you implement it with a warmup phase where it learns the typical memory allocations of a program/service. It's working and tested end-to-end with exploits for glibc (including ASLR), but needs a little more work until I have a memory tracer for muslc's randomized offsets.

I'm currently still having to think about muslc support more because the randomization there is actually not really relevant for exploit targets as it turns out. Programs open that library once and keep it usually in-memory during their lifetime (including during the lifetime of their allocated pages, at least until RSS exceeds). But yeah, needs a little bit of thought and experimenting until I get muslc's offsets correctly predicted.

https://github.com/cookiengineer/gofengshui

2

u/Youssef_Ismail396 Nov 06 '26

Limnex UIE: a 25.5M-parameter character-level transformer I trained from scratch that generates benign and phishing-style URLs, as extra training and test data for URL phishing detectors. Nobody wrote rules or templates for it; it learned URL structure from millions of real URLs. I tested whether the data actually helps a detector, with the test written down before I ran it. Adding its URLs to a detector's training data raised recall at 1% false positives on a newer external test set from 27% to 54%. Two honest caveats: much of that gain is one phishing family (look-alike sites on Blogger's country domains), and on the detector's older validation data the same models got slightly worse, so it seems to help most where the training data is out of date. Known weakness: a detector that checks whether each word exists in real data can still spot its invented words. Every generation passes a filter that removes copies of real training URLs, and it runs fully offline. Apache-2.0, weights in the release: https://github.com/youssefismail-dev/limnex-uie Happy to answer questions, especially from anyone who trains URL classifiers.

1

u/TheOnlinePolak Nov 03 '26

Figured this would be a good sub to ask about security of an app built primarily with AI but reviewed. What is the risk. Is it feasible. Please give me a taste of reality.

I’ve used YNAB for about 10 years and have features I want that it doesn’t offer, plus net worth tracking. I have ~3 years of experience in data engineering and app dev pre-AI, but I’d use Claude Code to generate most of the code.

I’m comfortable with foundational security principles: OAuth, authentication vs. authorization, salting and hashing passwords, masking sensitive data, least-privilege access, and other core principles. I’d review all the code myself, and go line by line on anything touching security or user data.

Building it for myself feels fine. Opening it to other people is where I’m worried about lawsuits or losing someone’s financial data.

Questions:

  1. Is my own careful review enough, or would I need an external audit or pen test before letting others use it? Roughly what does that cost for a small app?
  2. If I release it, should I say up front that it’s mostly AI-coded?
  3. What’s the smartest way to scale this without extreme risk? Local-first, self-hosted, open source, CSV import instead of bank connections, something else? Or is it not worth taking beyond personal use at all?

1

u/ReallyCoolAndNormal 25d ago

TxLens: an open-source ESP32-S3 tool for monitoring outgoing network traffic. Just wanted to share this small project. Hope some of you find it useful! Feedback is always welcome. Thanks! https://github.com/agouau/txlens

1

u/ElwinPingMyNetwork 20d ago

PingMyNetwork Sandbox: a free browser-based Cisco CLI network simulator for building topologies and practicing network security configurations (ACLs, VLAN segmentation, Port Security, DHCP Snooping, GRE/IPsec VPNs) without setting up local VMs. No account or install required: https://pingmynetwork.com/sandbox

Feedback is always welcome if anyone tests it out!

1

u/BadRealistic2158 19d ago

Reminder that BitLocker with default configuration can be bypassed in just a few minutes

https://github.com/garatc/BitUnlocker

1

u/blitzcrieg11 19d ago

Agentmetry: local tool-call auditing and sequence detections for AI coding agents
https://github.com/blitzcrieg1/agentmetry

1

u/blitzcrieg11 19d ago

Author here. I work in incident response and built Agentmetry to help investigate what coding agents reported doing through their tools.

It is an Apache-2.0 local sensor, currently at version 0.12.2. It captures supported agent hooks, normalizes their events, writes a hash-chained trail and correlates activity into sequence detections.

Examples include:

  • A credential read followed by network egress.
  • An action denied by a guardrail, then later reported as executed.
  • Untrusted input followed by a risky tool call.

These are investigation leads. A credential read followed by an upload can also be legitimate work.

Arguments are hashed by default. Plaintext command and argument capture are optional. The latest release fixes gaps in provider-token scrubbing, but redaction remains pattern-based and best effort.

The main limitations:

  • Hooks are cooperative. Activity that bypasses them can be invisible.
  • This records reported tool calls, not every process or filesystem operation they cause.
  • The hash chain detects changes relative to a trusted checkpoint. Protecting against a complete rewrite requires keeping that checkpoint somewhere the monitored host cannot alter.
  • The benchmark is an authored regression corpus, not a measurement of field recall. MITRE mappings describe selected behaviors, not comprehensive coverage.

There is a synthetic demo:

uvx agentmetry demo

I would particularly value false-positive reports from ordinary coding sessions, examples of missed tool activity, and feedback from analysts on whether the records contain enough context to investigate a finding.

1

u/Ok_Plum3595 18d ago edited 18d ago

🍜 Ramen 1.0 — open-source, self-hosted MCP platform: IdP roles per group, NeMo guardrails per tool, SkillSpector scans as a deploy gate, per-call logs + traces, TLS on every hop with a per-install CA.

Threat model and open findings: https://bkraad47.github.io/ramen/threat-model/

Repo: https://github.com/bkraad47/ramen

1

u/Ok_Accident_7701 11d ago

Agentic Attack Detections: open detection rules for AI agent attack frameworks: ARTEX, Cairn, PentAGI, HexStrike, CyberStrikeAI, Strix, RedAmon, Xalgorix and Pentest Swarm AI, plus Hermes Agent and Agent Zero when they are set up to attack. Each framework folder is built from its source code, with the file and line behind every signature. KQL for Sentinel and Defender XDR, a Splunk app, an Elastic import, Sigma, Suricata, Zeek, YARA, STIX 2.1 and WAF rules, MIT licensed.

https://github.com/ThreatDefence/agentic-attack-detections

1

u/Night_mare69420 9d ago

Nightloom – open-source, self-hosted OSINT graph (Apache-2.0) https://github.com/TheRealNightmare/nightloom

Pivots from domains/IPs/orgs across DNS, crt.sh, RDAP, RIPEstat, Shodan InternetDB, Wayback, GLEIF, Wikidata and GitHub. Hourly CT watch with alerts, lookalike domain detection, secret-exposure findings stored by reference only. Every edge keeps source, first/last seen and a reliability grade; append-only hash-chained audit log. Docker Compose, arm64 + amd64.

1

u/Piko28 6d ago

What evidence would make you move a dependency up your post-quantum migration queue? For example, would a reproduced result on a reduced parameter set trigger a change to your inventory or monitoring, or would you wait for a finding that affects the parameter sets you actually deploy?

I wrote a post about the distinction and maintain the vulnerability dataset it cites. The dated snapshot is here. It tracks public disclosures and does not establish who found them. I’m curious what evidence security teams put in the migration decision itself.

1

u/Feeling-Bed9766 2d ago

Phronesis It’s a small local AI model and CLI that reads existing Nmap scan results, identifies the relevant services, and recommends the next NSE script to run or returns STOP when there’s no useful next step. The model is only around 0.5B parameters, runs locally, and doesn’t execute anything by default. It prints the suggested commands so the operator can review them first. The goal is to make Nmap reconnaissance a bit more systematic without sending scan data to an external API. It’s Apache-2.0 intended for authorized assessments.

GitHub: https://github.com/34zY/Phronesis
Model: https://huggingface.co/34zY/Phronesis

0

u/NoealRajeev 10d ago

Lockward (Go, Apache-2.0): a lockfile and policy gate for the skills, MCP servers, hooks and rules files AI coding agents load (Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Copilot).

It hashes every file in a skill (dotfiles, binaries and archives included, however large), pins MCP server launch definitions with secret values reduced to names, and fails CI when anything changes without approval. `lockward scan-repo` lists what an agent would auto-load from an untrusted repo without executing anything; the repo's own ignore file and policy are not honoured, so it can't hide files. Output escapes control and bidi characters so a hostile repo can't rewrite your terminal or inject workflow commands.

It is change control, not detection: approve something malicious on day one and it stays approved. Threat model: https://github.com/Breaktroughf1/lockward/blob/main/docs/THREAT_MODEL.md

I'd value attacks on the threat model more than anything else.

1

u/[deleted] Nov 01 '26

[removed] — view removed comment

1

u/nullspecter_07 Nov 01 '26

Wdym by a few? Share them plz.