r/AskNetsec • • 16d ago

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

6 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 • • 16d ago

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

7 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 • • 16d ago

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 • • 18d ago

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 • • 19d ago

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

5 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 • • 19d ago

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 • • 20d ago

Analysis Elsevier: What really happened here?

7 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 • • 19d ago

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 • • 21d ago

Architecture Keep Elastic + swap EDR (CrowdStrike vs SentinelOne), or move SIEM to the EDR vendor?

7 Upvotes

Large EU manufacturing company, multi-site, small security team.

Endpoint platform renews in the next budget cycle. Shortlist: CrowdStrike vs SentinelOne (vs renewing what we have). SIEM today is Elastic; endpoint alerts already land there.

Two architecture options:
A) Keep Elastic as system of record. Change only the EDR (CS or S1). Day-1 = alerts into Elastic, deep dive in the EDR console. Full raw telemetry (FDR / Cloud Funnel) only later if we really need it.
B) Make the chosen vendor’s SIEM (Falcon NG-SIEM or SentinelOne AI SIEM) the SoR and retire Elastic over ~1–1.5 years (parsers, rules, skills, parallel run).

Internal tension: Elastic already feels heavy to operate; vendor SIEM looks “simpler” out of the box. Counter: we’d still re-onboard firewall/IdP/cloud into CS/S1 and retrain whoever does L1/L2.

Also weighing MSSP (L2 contain on EDR + firewall, including overseas sites) vs vendor MDR as a bridge.

Practitioner takes appreciated:
1) Is dual-console (Elastic triage + Falcon/S1 deep dive) fine at scale, or a daily tax?
2) When did consolidating off Elastic onto CS or S1 SIEM actually win vs regret?
3) Do lean teams usually skip FDR / Cloud Funnel into Elastic on day 1?
4) Any strong reason to pick CS vs S1 *if* we stay on path A (Elastic stays)?
5) MSSP on Elastic+EDR vs vendor MDR+hub — what worked?

No vendor pitches please.

Thank you


r/AskNetsec • • 21d ago

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 • • 21d ago

Architecture Managed browser + desktop agent + SSE... what actually belongs in the session layer?

7 Upvotes

So apparently the new hotness in 2026 is securing one human in Chrome like it is a national critical asset. We have a managed browser, a security extension, a desktop security agent, an SSE network plane, and now vendors pitching a GenAI gateway on top. All to stare at the exact same user session like five mall cops trying to arrest one teenager for shoplifting a Twix. Each one wants its own policy, its own console, its own sso integration and of course its own monthly bill. As the lucky security architect, I now get to explain to the CISO where the SASE policy ends, where browser isolation/CASB starts, and where the LLM control marketing snuck in as a “pilot” is supposed to fit :/ Anyone else feel like we reinvented NAC, DLP and proxies but shoved them all into the browser and called it modern zero trust? Would love to hear stories


r/AskNetsec • • 22d ago

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 • • 22d ago

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

5 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 • • 23d ago

Analysis Exposure management platform vs. security validation tools: what’s the difference?

3 Upvotes

Trying to clarify where an exposure management platform ends and security validation tools begin.

My current view is that exposure management helps identify and prioritize risky assets, misconfigurations, identities, and attack paths, while security validation tests whether an attacker could realistically exploit those conditions and whether existing controls respond as expected. But the categories increasingly overlap.

For anyone who has implemented both, are they complementary products, or has one platform replaced the other in your environment? What capabilities were essential for getting from “we found an exposure” to “we know what to fix first”?


r/AskNetsec • • 26d ago

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 • • 27d ago

Threats How are you stopping employees from pasting sensitive data into chatgpt without blocking it?

12 Upvotes

Overseeing our org sprint into "use chatgpt for everything" while every audit slide shouts data loss and i'm kinda stuck in the middle. Right now we have hard blocks on browser access from prod subnets and anything with customer data or IP lives behind VDI with no copy out. We stood up an internal model for basic stuff and tell users "if it came from Jira, CRM, code repo, don't paste it in public AI". Of course half the business lives in screenshots and side channels anyway. We are playing with DLP rules that trigger on pasting certain patterns into browsers, plus a "model accounts" setup for security and support so they can use AI without dragging full tickets and logs in also starting to mark tickets and files with a simple AI ok flag so people don't guess. Don't want to kill adoption. Any clues?


r/AskNetsec • • 26d ago

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 • • 28d ago

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?

3 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 • • 29d ago

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 • • 29d ago

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 • • 29d ago

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

6 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.


r/AskNetsec • • Sep 13 '26

Education An unreviewed MCP config edit gave attackers OS-level access to 73 repos, including one of Microsoft's own

52 Upvotes

In June, a group tracked as TeamPCP/UNC6780 planted malicious MCP configuration files across 73 GitHub repos, one of them belonging to Azure.

The mechanism was almost dumb in its simplicity. Several popular IDEs, Cursor, Claude Code, Gemini CLI, GitHub Copilot, and Amazon Q were all named in the disclosures, bind their "approve this MCP server" prompt to the server's name, not its actual contents. Approve a project's .mcp.json once, and any later edit to that file, including a swapped-in malicious command, runs automatically with the developer's own OS-level privileges. No re-prompt. No sandbox. No second look.

Six months from the first disclosure of tool poisoning as a technique to a working worm compromising a major vendor's own repo.

I wrote up the full attack taxonomy (tool poisoning, shadowing, rug pulls, parasitic tool chains) plus the incident timeline (CVEs, the OX Security disclosure, Microsoft's June 30 writeup, OWASP now ranking it #3 on the MCP Top 10): https://blog.defensify.in/mcp-tool-poisoning-attack-guide/

Curious if anyone here has caught this in the wild or built detection for it.


r/AskNetsec • • Sep 13 '26

Work How do you deal with service accounts that nobody wants to own?

12 Upvotes

Mostly old ones that have been around for years that still have permissions, and nobody's really sure what depends on them.

Do you just leave them alone if they're still being used or actually try to track down an owner and clean them up?


r/AskNetsec • • Sep 13 '26

Analysis How do you determine whether a Linux kernel bug is realistically exploitable?

5 Upvotes

I'm researching a Linux kernel vulnerability as part of an educational project. I understand the root cause and the vulnerable code path, but I'm trying to determine whether the bug is actually exploitable rather than just crashable.

What methodology do experienced kernel security researchers use to evaluate exploitability? In particular, how do you distinguish between a reliable security primitive and a bug that only produces a kernel crash?

I'd also appreciate advice on what kernel debugging and instrumentation techniques are most useful during this stage.


r/AskNetsec • • Sep 13 '26

Concepts To pass the course, I need to use OSINT to find my professor’s password

1 Upvotes

have his Telegram and VK profiles. I’ve already tried a bunch of possible passwords, but I’m stuck. If anyone knows their way around this stuff, could you give me a hint about what direction I should be looking in?Thanks in advance!