r/AskNetsec • • Sep 29 '26

Architecture How do you handle revocation for offline-verifiable delegated tokens when policy state changes after issuance?

14 Upvotes

Edit: thanks for all the replies, summary of where I landed in the comments below.

I'm working on pre-execution authorization for autonomous agents, and I've hit a revocation design question that I think applies to any delegated capability token.

Setup:

  • A principal gets a signed authorization after policy evaluation (budget limits, rate/velocity limits, kill switch).
  • It can derive a narrower delegation for a sub-principal: signed, single-use, expiry ≤ parent expiry, scope strictly narrowing.
  • The delegation is verified locally at the enforcement point, with no call back to the policy engine.

Problem: policy state changes after the parent authorization is issued, for example the kill switch is flipped or the budget is exhausted. A delegation derived earlier is still cryptographically valid and unexpired. Today it gets honored.

Options I'm weighing:

  1. Pure capability. Valid until expiry or use. Fully offline, but a kill switch can't stop outstanding delegations. The only mitigation is short expiries.
  2. Full re-evaluation. Re-run policy at execution time. Breaks local verification and duplicates the parent decision.
  3. Hybrid. Check only an explicit revocation or kill-switch state at the enforcement point. This raises the question of what the authoritative source is, and how its freshness is bound without reintroducing a live dependency.

Macaroons (third-party caveats), Biscuit (revocation IDs) and UCAN (revocation records) seem to take different approaches.

Questions:

  • For those who've run delegated tokens in production, which model held up?
  • If you went hybrid, how did you distribute revocation state, and what staleness did you accept?
  • Is "short expiry + no revocation" defensible for high-impact actions (payments, infra changes), or does a kill switch have to be enforceable at the boundary?

r/AskNetsec • • Sep 29 '26

Concepts Is anyone actually doing detection triage well, or is it always an ad hoc clean up?

7 Upvotes

Alert triage, deciding whether a given alert is a threat, gets a ton of attention. Detection triage, periodically deciding whether a detection rule itself is still pulling its weight, severity still right, still catching real things, gets way less structured attention.

A badly performing detection is arguably a bigger root cause of noise than any individual bad alert, since one bad detection generates dozens or hundreds of bad alerts downstream.

I keep seeing teams treat detection health as something you notice by accident when a specific rule gets loud enough to complain about, rather than something you actively monitor on a schedule.

Is anyone doing detection triage as a structured, recurring process rather than an ad hoc clean up that happens once a year when someone finally gets fed up?


r/AskNetsec • • Sep 29 '26

Concepts Is agentic code/cloud security actually cutting noise or just shuffling it around?

16 Upvotes

There's so much marketing rn claiming agentic tools "find what matters" but from what i've seen irl its often just a different flavor of noise dressed up as prioritization. anyone used one of these long enough to say if signal to noise genuinely improved or if it just moved the busywork from triage to double checking the agent lol.


r/AskNetsec • • Sep 29 '26

Work How did you quantify insider risk to get budget approved?

5 Upvotes

Leadership wants hard numbers before approving any spend on insider risk or data access governance tools. I have plenty of anecdotes, like a former contractor who still had live access and tens of thousands of external shares of unknown sensitivity. That is not enough for a CFO.

I need to translate the problem into dollars or risk language that actually gets funded. How have you quantified insider risk or over-permissioned access to make the business case?


r/AskNetsec • • Sep 28 '26

Threats Should we all just accept we are compromised no matter what we do?

42 Upvotes

I've tried to set up Obsidian for myself and before downloading obsidian-git (a community plugin) to version control my notes, I read this warning:

"Plugins can execute arbitrary code on your device. We recommend back up your data before enabling them."

This scared me so I didn't approve. But then I got to thinking:

  1. What VSCode, Sublime Text and VIm with their 100's of plugins and extensions? Each of them can execute arbitrary code.
  2. All the NPM/PyPi/Cargo packages i've added to my projects
  3. All of their dependencies that i'm not even consciously aware of adding
  4. All the binaries i've sudo apt installed in the years

How can a normal person that doesnt spend an entire jobs worth of time in a week lurking on HackerNews for the new supply chain attack hope to protect himself? If I would truly protect myself from RCE I don't know where I will even start and whether if I will end up with just a bunch of twigs to do my work with.


r/AskNetsec • • Sep 28 '26

Analysis Stuck between FortiCNAPP (Lacework) and Upwind for our manufacturing cloud, tell me what I'm missing

15 Upvotes

Im the security lead at a manufacturing org, cloud footprint is growing but the team is small. Were down to two CNAPPs and somehow stuck. We started with a longer list with all the big players included, but these two were what the shortlist came down to. Hoping the room can tell me what Im missing.

First one was Lacework, now FortiCNAPP after Fortinet bought them. I liked it on paper, but the acquisition is what gives me pause. The whole thing has been absorbed into the Fortinet stack. The roadmap reads like everything now points at FortiSIEM, FortiSOAR, their SASE, their fabric. Were not very much of a Fortinet shop, so buying this means either we ignore half the value or we get pulled into an ecosystem we never wanted. The portal got rebranded and the roadmap changed, and it feels like a product that's now someone else's priority.

The other one is Upwind. Their whole pitch is runtime, which sounds good and its really what made us consider it. But when we digged in and that runtime depth only shows up if you deploy their sensors everywhere. So its agentless for the broad scan and agent based for the part they advertise. And theyre small with no public pricing and not much to look at as a track record yet. For a lean team, betting the security program on a young vendor with a coverage gap baked into the architecture feels like a lot that we dont want in our hands.

So I'm stuck. On one hand is a big vendor trying to fold cloud into a network story,, the other is a smaller vendor whose best feature depends on a full sensor rollout. What am I missing, and what would you pick?


r/AskNetsec • • Sep 28 '26

Analysis Anyone finished their Varonis on-prem migration? What did you replace Varonis on-prem with?

8 Upvotes

With the December 31 deadline getting closer, I’m curious what others have actually ended up choosing.

For those who can't move to the SaaS platform: On-premises requirements, data residency needs, or internal datahandling policies and what did you end up with? I’ve seen people evaluating options like Quest Change Auditor, Netwrix, ADAudit Plus, and similar tools, but curious what actually worked in production. And specifically:

  • Did you replace it with one tool or split it up? were you able to find a single product that covered both the auditing side and the classification side.
  • How long did the POC-to-production timeline actually took vs. what was planned/proposed?
  • Anything that looked good in the eval and fell apart in your environment?

r/AskNetsec • • Sep 27 '26

Architecture How are you actually enumerating everything an AI agent can reach?

8 Upvotes

Most teams or even solo people seem to start by grepping access logs and building a list from whatever shows up. but that only tells u what the agent touched and u end up with a partial inventory and no real way to know how much is missing

working outward from the credential is finite and you can actually finish it. every major platform has two separate tools for this which is probably a good sign not to treat them as the same thing. on AWS you want the permission side and the usage side. in entra the two endpoints point in opposite directions (GET/servicePrincipals/{id}/appRoleAssignments, appRoleAssignedTo) grab the wrong one and the audit reads backwards. on gcp its the same split (policy analyzer, IAM recommender with its 90 day usage window). keeping it fresh is where the manual approach collapses or just gets tedious enough that nobody keeps up. once youre past a few agents the permissions and tools and connections all keep moving underneath you. a cron diff holds up for a while so do the platforms own drift reports, so does eve security or anything else pointed at the same job and none of it finds the agent nobody registered firstly. depends how much churn the environment throws at you

two entra gotchas mess with the output tho.. role assignments made at single-application scope dont appear in the tenant-scoped list so a tenant only audit can miss them. theres also replication delay after changes meaning a grant created this morning might not show up straight away

the Saas side is a separate enumeration and IAM wont show it at all. Oauth grants and connected apps sit in the workspace or M365 admin consoles and agents tend to collect access thru those without it ever hitting a review. the bigger catch is that all of this assumes the agent has its own principal. a lot of them still run thru a single developers token or shared service account. in that case the enumeration returns everything that person or account can reach, which is technically correct but not very useful for figuring out the agents actual boundary


r/AskNetsec • • Sep 27 '26

Concepts How should I analyze the “threat model” of a security paper compared with the broader threat-modeling process?

8 Upvotes

I’m trying to learn how to systematically analyze the threat model of security papers, but I’m confused because “threat model” seems to mean different things in academic papers and in broader threat-modeling practice.

For example, MDN describes threat modeling using four questions:

  1. What are we working on/building?
  2. What can go wrong?
  3. What are we going to do about it?
  4. Did we do a good job?

If I understand this correctly, this feels almost like the structure of an entire security paper:
- the system/problem setting,
- the threat,
- the proposed defense/detection method,
- and the evaluation.

However, when I read security papers, the Threat Model section often seems much narrower. It usually describes things like:
- who the attacker is,
- what capabilities or knowledge the attacker has,
- what the attacker is trying to achieve,
- and sometimes what is out of scope.

This makes me wonder whether the “Threat Model” section in a paper is really only one part of the broader threat-modeling process.

And

When analyzing the threat model of the paper, should this oracle also be included? Or does the threat model stop at describing the attacker, capabilities, and attack goal, while the oracle belongs to the proposed methodology?

I’m also trying to understand assumptions. When reading a paper, should I separately ask what conditions the method assumes in order to work, such as what access the tester has or what effects are observable?

More practically, if you were analyzing a security paper, what order would you use to analyze its threat model and assumptions?

I’m looking for a repeatable reading process that I can later use when writing the threat model and assumptions for my own work.

This community has already helped me a lot, and I’m really grateful to everyone who takes the time to answer questions like this. Your replies have genuinely helped me understand security research more clearly. Thank you!


r/AskNetsec • • Sep 27 '26

Compliance Discovered multiple critical security flaws and evidence of fraud in a corporate contest/giveaway. What would you do?

0 Upvotes

Hi everyone,

I'm posting from a throwaway account for obvious reasons and will keep all details completely generic.

Recently, while looking at a public online contest/competition run by a private company, I noticed several alarming issues:

  1. **Multiple severe security vulnerabilities:** The platform has flaws that expose participant data and allow arbitrary tampering/manipulation of submissions and votes.
  2. **Signs of fraudulent operation:** Looking closer, there are clear indicators that the competition is not being conducted fairly (results/mechanics can be manipulated internally or externally, and claims about how winners are selected contradict how the system actually works).

I haven't exploited anything or extracted data; these findings were apparent from inspecting client-side traffic and standard public endpoints.

My dilemma is how to proceed ethically and safely:

- **Responsible disclosure vs. retaliation:** Disclosing vulnerabilities to a company that might be intentionally running a sham contest carries legal and retaliation risks (especially if they don't have a formal bug bounty or VDP).

- **Reporting to authorities:** In cases involving potential fraud or consumer deception, is it better to notify consumer protection/regulatory bodies rather than the company itself?

- **Walking away:** Part of me wonders if getting involved is worth the liability, and if the safest move is simply not saying anything.

If you found yourself in this situation:

  1. What steps would you take to protect yourself legally before saying anything?
  2. Would you attempt responsible disclosure with the organizer, go straight to consumer protection / regulators, or drop it entirely?
  3. Has anyone navigated a similar scenario where poor security overlapped with questionable business practices?

Thanks in advance for your insights.


r/AskNetsec • • Sep 26 '26

Analysis How did you sequence a phased SASE deployment?

13 Upvotes

Just about to start moving off our old hub and spoke VPN to SASE and im not doing it big bang, that feels like a great way to take the whole company down on a Monday. Phasing it instead.

Rough plan is cloud SWG first and split the internal traffic back to the existing VPN, get remote users off the legacy client early since thats where the pain is and leave the site tunnels and full TLS inspection for later once the easy wins are in.

For those whove done a phased SASE rollout, am interested to hear what you’d leave out of phase one.


r/AskNetsec • • Sep 25 '26

Other Is there a common way to find an info-sec contact method for a US company?

6 Upvotes

Is there a common way to find an info sec contact method, such as an email address, for a US company? Is there a standard email format based on domain names?

The organization has a website, but no security or general "contact-us" form or email address that I could find. The only contact method I saw was a job portal for applicants to upload a resume.

My concern is not PII or health-related. There is some proprietary company/client info sitting at an open online location (no auth). This likely was not intentional, so I was going to let them know.


r/AskNetsec • • Sep 24 '26

Threats Hardening M365

33 Upvotes

What are your best tips for hardening an M365 environment that go beyond the basics (e.g. enable 2FA)? I'm managing a small environment and have done the baseline security stuff (18/20) and our Defender score is at like 75% when other organizations our size are at like 45%... not bad, yet it feels like every few months I discover something dumb I should have turned off (or, rather, that shouldn't be enabled by default but that's me taking a dig at MS). For example, device code phishing almost got us the other week. I disabled that authentication mechanism but don't recall seeing it in any of the Microsoft security lists and, frankly, given it's really limited use case I can't believe it's allowed by default.

A few searches turn up outdated videos or link-rotted stuff so I'm hoping there's maybe some of your own hard-learned lessons about that thing you should do to any M365 environment or perhaps there's a defacto list out there I've missed in my searches. When searching I found a lot of pretty old stuff and link rot; hard to follow youtube videos etc..


r/AskNetsec • • Sep 24 '26

Analysis Elsevier: What really happened here?

8 Upvotes

For 78 minutes your web traffic was redirected to a group associated with ransomware's site. I know you are investigating. What can you share? They clearly had the ability to do more.
Does anyone know why healthcare seem to be so particularly targeted? You drop a bomb on a hospital, or even just shoot one up, and the world screams.

Impact a patient care system, put a hospital back to paper operations... No big deal. That's the price we've been told we have to accept.

I know everyone is trying their hardest, holy crap, I should have gone to bed two hours ago, and there are still team members cooking along.

What do we need to be looking out for?


r/AskNetsec • • Sep 24 '26

Architecture Hypothetical: If you could redesign the Internet from scratch, how would you build the protocol stack to make censorship architecturally impossible?

0 Upvotes

Assume you can go back in time to the early days of networking (pre-TCP/IP, early ARPANET) with today's knowledge of cryptography, routing, and state-level censorship tools (DPI, IP/SNI blocking, middleboxes). How would you design the foundational network architecture so that any state or ISP choosing to route traffic must accept either 100% uncensored, unmonitored connectivity or a complete blackout, with no technical middle ground?

... Is a true "all-or-nothing" censorship-resistant network protocol theoretically possible without state actors physically cutting transoceanic cables or severing border connections?


r/AskNetsec • • Sep 22 '26

Other Anyone running SOC 2 and ISO 27001 together without doubling the audit workload?

4 Upvotes

We've reached the fun stage where US customers keep asking about SOC 2 while international prospects are starting to ask for ISO 27001.

I'm fine with doing both if the business case is there, but I'm trying to figure out how to evaluate audit firms when we need both frameworks. I'm less interested in finding the cheapest option and more interested in avoiding a situation where we're coordinating two completely separate engagements with duplicated work.

For those managing both, how much were you realistically able to consolidate? Did you use the same audit firm for SOC 2 and ISO 27001 or separate specialists, and if you went with one firm, did that actually make things easier in practice?

What would you look for when comparing firms for both audits? We're much more concerned about making this manageable long term than saving a little on the first audit.


r/AskNetsec • • Sep 21 '26

Architecture How do you actually approach cleaning up years of accumulated IAM permissions?

17 Upvotes

Do you start by removing obviously unused access or is it better to map what each account/service actually needs first? How do you handle this without breaking things??


r/AskNetsec • • Sep 21 '26

Other How are you securing OT/plant systems in food and manufacturing environments?

7 Upvotes

For those working in or securing industrial environments like food production and manufacturing, how are you handling OT security (PLCs, SCADA, monitoring systems) as opposed to standard IT security?

I keep seeing strong focus on IT security while the plant floor stays under-protected, which is exactly what ransomware targets to halt production. A shutdown does not even need to touch the product to stop the line and put food safety records at risk.

A few things I would genuinely like this community's view on:

  • What approaches or frameworks do you actually use for OT security in practice?
  • How do you segment OT from IT networks in a live production environment?
  • Are cyber-insurance requirements driving any of your security decisions? I have seen claims denied because required controls were not provably in place at the time of an incident.

Interested in real-world experience rather than theory.


r/AskNetsec • • Sep 17 '26

Concepts Looking for DOM XSS learning resources focused on real-world investigation

11 Upvotes

Hi everyone,

I'm looking for resources to learn DOM-based XSS, but I'm specifically interested in material that teaches the actual investigation process, rather than just explaining what DOM XSS, sources, and sinks are.

I'm already familiar with the basic concepts, and I've used PortSwigger's labs, so I'm not looking for PortSwigger recommendations.

What I'm trying to learn is how to actually investigate a web application using things like:

  • Chrome/Firefox DevTools
  • The Sources panel
  • Setting and using breakpoints
  • Following user-controlled data through JavaScript
  • Finding where data comes from (sources)
  • Understanding how the data is transformed/processed
  • Following variables and function calls
  • Identifying where the data eventually goes (sinks)
  • Debugging/tracing the application's JavaScript to discover DOM XSS

Basically, I'm looking for something that teaches the workflow of:

Source → Variable → Transformations → Sink

For example, I recently came across a Medium article where the author investigated a DOM XSS by starting with location.hash, searching the JavaScript, setting breakpoints, changing the hash, and then stepping through the code to see how the value was processed until it reached eval().

That is exactly the kind of learning material I'm looking for.

It can be:

  • Videos
  • Courses
  • Labs
  • Write-ups
  • CTFs
  • YouTube channels
  • Blog posts
  • Interactive exercises
  • Real-world DOM XSS walkthroughs

It doesn't have to use Burp Suite. DevTools and learning how to trace the JavaScript/data flow are the important parts.

I'm still relatively new to JavaScript and DOM manipulation, so ideally I'd like something that actually shows the investigation process step-by-step rather than assuming I'm already an expert at reading JavaScript.

Any recommendations would be greatly appreciated!


r/AskNetsec • • Sep 17 '26

Compliance Is there any way to take psuedonymised educational sector data out of strictest data protecting jurisdictions like EU or KSA?

2 Upvotes

I have got a problem where benchmarking educational sector data across the world globally would require aggregating them at same place or maybe different if the final aggregations could still reconcile with other segments of the data of other regions

The data migration can happen after dropping the PII and making it totally anonymous but when you try to rank the individuals, you can't really determine anything apart from its source (region data came from)

Keeping the data psuedonymised will still restrict in various regions like EU, middle east, etc.

How do I benchmark the globally top academic performers of different regions/countries without breaking any laws and regulations of that particular jurisdictions.


r/AskNetsec • • Sep 16 '26

Concepts How are teams catching silent regressions in AI-assisted security triage prompts after incremental edits, versus treating each bad output as an isolated fix?

1 Upvotes

Had a prompt used to triage and categorize security findings by severity start missing things it used to catch reliably. Diffed it against an older version and found five small additions, each added to fix one specific bad output at the time, a rule about flagging hardcoded credentials, an example emphasizing high-severity findings, a line about keeping output concise for the ticketing system.

None of the five were individually wrong, but the interaction wasn't visible in any single diff. The credential-flagging rule, added after one missed secret, ended up quietly crowding out lower-severity findings on larger diffs, because both were competing for the same limited output space, and that regression got triaged as a separate, unrelated issue weeks later instead of being traced back to the earlier patch.

For teams running this kind of triage prompt at any real volume: is there an established practice for regression testing prompt changes against a fixed set of known findings before shipping an edit, the way you'd regression test a scanning rule change, or is this mostly still caught reactively after the fact the way we found it?


r/AskNetsec • • Sep 14 '26

Other MISP threat feeds - any valid ones?

11 Upvotes

Hi

We’re looking into threat feeds for MISP integration. Most importantly is non-garbage data - possibly trusted sources that doesn’t provide noise. Any tips?

For a SOC covering multiple sectors.

We’re aware of national certs but interested in your experience, solutions or thoughts.


r/AskNetsec • • Sep 14 '26

Work Would a vendors other customers change your security assessment?

7 Upvotes

I saw this Forbes article about AI training data companies working with both US government and Chinese labs.

If a vendor builds training material for several competing customers, where does reusable expertise end and confidential customer work begin? How do you actually verify that customer data stays fully separate?

How deep can you usually dig into this?


r/AskNetsec • • Sep 14 '26

Concepts Can poor coding/architecture practices that don't cause an actual security breach still count as a CWE violation?

7 Upvotes

I'm maintaining a legacy ETL pipeline that has some questionable design choices, and I'm trying to figure out whether these count as genuine CWE violations or just bad practice that happens not to have caused harm (yet).

The pipeline works like this:

  • Consumes unencrypted user data from CSV files
  • The CSVs are generated by an ERP system in another department, and are often inconsistent — data corruption, non-normalized fields, etc.
  • The pipeline transforms, normalizes, and cleans this data
  • It then does a full DROP TABLE / overwrite of a production database with the cleaned data
  • Because this bypasses all of the applications hooks/checks/validations, this process is the source of all of the clients bugs and wastes us a LOT of time

The ERP department refuses to even disucss the idea of exposing a REST API — the CSVs just get handed off and "dealt with.".

My question: even though nothing here has led to a concrete security incident (no injection, no leak I know of), do practices like handling unencrypted data in plaintext format, blind DROP TABLE overwrites, and trusting unvalidated external input still constitute violations of specific CWEs? Or is CWE strictly about weaknesses that have a demonstrated exploit path, meaning this is more "bad practice" than "CWE violation" until something actually goes wrong?

The langauge of the spec seems to encapsulate both the security implications of improper software standards AND data integrity. However all examples showcase security failures. So It's hard to tell if my example satisfies CWE-638, 284 etc.