NIS2 Directive: What EU Companies Need to Know Before the Deadline
The NIS2 Directive expands cybersecurity obligations to thousands of organisations across the EU. We break down who is affected, what is required, and how to avoid penalties of up to €10 million.
The NIS2 Directive (Network and Information Security Directive 2) came into force across EU member states in October 2024, replacing the original NIS Directive from 2016. It significantly expands the scope of organisations required to implement cybersecurity measures — from a few hundred 'operators of essential services' to potentially tens of thousands of companies across 18 critical sectors.
Who Is Affected?
NIS2 introduces two tiers: 'essential entities' (energy, transport, banking, health, water, digital infrastructure) and 'important entities' (postal services, waste management, food production, manufacturing, digital providers). If your organisation has 50+ employees or €10M+ annual turnover and operates in one of these sectors, you are almost certainly in scope.
Key Requirements
NIS2 mandates risk management measures including vulnerability handling, supply chain security, incident response procedures, and regular security testing. Critically, it introduces personal liability for senior management — executives can be held personally responsible for non-compliance, with fines up to €10 million or 2% of global annual turnover for essential entities.
Incident Reporting Obligations
Organisations must report significant incidents to national authorities within 24 hours of becoming aware (early warning), followed by a full incident notification within 72 hours, and a final report within one month. 'Significant' is defined as any incident causing severe operational disruption or financial loss, or affecting other organisations.
What Should You Do Now?
Start with a gap analysis against the NIS2 requirements. Map your critical assets, document your incident response procedures, and commission a penetration test to identify technical vulnerabilities before regulators do. Supply chain risk is a particular focus — you need visibility into the security posture of your key vendors and partners.
Ouroboros Solutions works with mid-market EU companies to build NIS2-compliant security programmes. If you are unsure whether your organisation is in scope or where to start, get in touch for a scoping call.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Incident Response Planning serviceOWASP Top 10 2025: What Changed and Why It Matters for Your Web Apps
The 2025 OWASP Top 10 update reshuffles the risk rankings and introduces new categories reflecting the modern threat landscape. Here is what moved, what is new, and what your development team should prioritise.
OWASP updates its Top 10 list roughly every three years, and the 2025 edition reflects a significant shift in how web applications are built and attacked. With the rise of API-first architectures, cloud-native deployments, and AI-assisted development, the risk landscape has evolved considerably since 2021.
What Moved Up
Insecure Design (previously A04) climbed to A02, reflecting the industry's recognition that security flaws baked into architecture are far more expensive to fix than implementation bugs. Server-Side Request Forgery (SSRF) also rose, driven by the explosion of cloud metadata endpoints and internal service meshes that attackers can pivot through.
New Entries
Two new categories entered the 2025 list: 'AI and LLM Integration Risks' and 'Supply Chain and Dependency Confusion'. The former covers prompt injection, model poisoning, and insecure AI output handling — increasingly relevant as teams integrate LLM APIs into production applications. The latter reflects the ongoing wave of malicious packages targeting npm, PyPI, and other registries.
What Dropped Out
XML External Entities (XXE) and Insecure Deserialization were consolidated into a broader 'Injection' category, reflecting that modern frameworks have largely mitigated these as standalone risks — though they remain relevant in legacy codebases.
Practical Implications
For development teams, the 2025 list reinforces the need for threat modelling during design, not just security testing before release. For security teams commissioning penetration tests, ensure your scope explicitly covers API endpoints, third-party integrations, and any AI/LLM components — these are where we find the most critical issues in modern web applications.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Web Application Pentesting serviceActive Directory Attack Paths: How Attackers Move from Workstation to Domain Admin
In nearly every internal network assessment we conduct, Active Directory misconfigurations provide a clear path to full domain compromise. We walk through the most common attack chains and how to break them.
Active Directory remains the backbone of identity and access management for the vast majority of enterprise Windows environments. It is also, consistently, the most reliable path to full network compromise in our internal penetration tests. Not because AD is inherently broken, but because the default configurations and common administrative shortcuts create attack paths that are well-documented, widely exploited, and surprisingly easy to close.
The Typical Kill Chain
A typical AD compromise starts with initial access — usually a phishing email, a vulnerable internet-facing service, or a compromised VPN credential. From a standard user workstation, the attacker begins enumerating the domain: users, groups, computers, GPOs, and trust relationships. Tools like BloodHound map the shortest path to Domain Admin in seconds.
Kerberoasting and AS-REP Roasting
Service accounts configured with SPNs are vulnerable to Kerberoasting — any authenticated domain user can request a Kerberos service ticket encrypted with the service account's password hash, then crack it offline. We find exploitable service accounts in virtually every environment we test. AS-REP Roasting targets accounts with pre-authentication disabled, requiring no credentials at all.
Delegation Misconfigurations
Unconstrained delegation is a legacy feature that, when enabled on a computer account, causes any user authenticating to that machine to have their TGT cached in memory. If an attacker compromises a server with unconstrained delegation and can coerce a Domain Controller to authenticate to it (via techniques like PrinterBug or PetitPotam), they can extract the DC's TGT and achieve full domain compromise.
How to Break the Attack Paths
The fixes are well-known: enforce tiered administration (separate credentials for workstations, servers, and domain controllers), audit and remediate delegation settings, enforce strong passwords on service accounts and consider managed service accounts (gMSA), enable Protected Users security group for privileged accounts, and deploy Credential Guard on workstations. Regular BloodHound analysis of your own environment is one of the highest-value defensive activities you can run.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Active Directory Assessment serviceThe Cloud Misconfigurations We Find Most Often (AWS and Azure Edition)
Cloud environments introduce a new class of security risk that traditional network testing misses entirely. These are the misconfigurations our team encounters most frequently — and how to fix them.
Cloud security assessments have become a core part of our service offering, and for good reason: the shift to AWS, Azure, and GCP has introduced an entirely new attack surface that traditional network penetration testing does not cover. The good news is that the most impactful misconfigurations are consistently the same ones — which means they are also consistently fixable.
Overpermissive IAM Roles
The single most common finding across both AWS and Azure is IAM roles and service principals with far more permissions than required. In AWS, we routinely find EC2 instances with AdministratorAccess attached, meaning any code execution vulnerability on that instance immediately yields full account compromise. The fix is straightforward: enforce least privilege, use IAM Access Analyzer to identify unused permissions, and audit role trust policies.
Publicly Exposed Storage
S3 buckets and Azure Blob containers with public read access remain a persistent finding despite years of industry attention. We have found customer PII, internal API keys, database backups, and source code in publicly accessible buckets during assessments. Enable S3 Block Public Access at the account level and use Azure Policy to enforce private-only blob containers.
IMDS Exploitation
The Instance Metadata Service (IMDS) on AWS EC2 instances exposes temporary credentials for the attached IAM role. If an application running on the instance is vulnerable to SSRF, an attacker can retrieve these credentials and pivot to the AWS control plane. Enforce IMDSv2 (which requires a PUT request with a session token, blocking simple SSRF) on all instances.
Logging and Monitoring Gaps
Many organisations enable CloudTrail or Azure Monitor but do not configure alerts for high-risk API calls: IAM policy changes, new access key creation, security group modifications, or data exfiltration patterns. Without detection, even a successful compromise may go unnoticed for months. Ensure logging is enabled in all regions, logs are shipped to an immutable destination, and alerting covers the critical control plane operations.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Cloud Security Assessment serviceYour Scanner Says You're Fine. Here's Why That's Not the Whole Story.
Vulnerability scanners are fast, cheap, and useful — but they look at your systems very differently from how an attacker does. Here is what they miss, and when you need a human instead.
We hear this a lot on first calls: "We already run a vulnerability scanner every month, so we're covered." It's a fair thing to think. The scanner produces a long report, the dashboard turns green after a few patches, and everyone moves on.
The problem is that scanners and attackers look at your systems in very different ways. Knowing that difference can save you from a very bad week.
What a Scanner Actually Does
A vulnerability scanner is a checklist on autopilot. It knocks on every door it can find and compares what it sees against a database of known problems. Old software version? Flagged. Missing security header? Flagged. Expired certificate? Flagged.
That's useful. Scanners are fast, cheap to run often, and great at catching the boring stuff. If you're not scanning at all, start today. But a scanner only finds what it already knows to look for. It doesn't understand your application. It doesn't know that user A should never see user B's invoices. It has no idea that your "forgot password" flow can be abused, or that a debug page someone left online three years ago is quietly handing out server details.
What a Penetration Tester Does Differently
A penetration test is a person (or a small team) trying to break in the way a real attacker would, with your permission and within agreed rules. The difference shows up in three places.
Business logic. We test what your app is supposed to do, then try to make it do something else. Change an ID in a request and see someone else's data. Skip a payment step. Approve your own refund. No scanner signature exists for "this feature works exactly as coded but shouldn't."
Chaining. Attackers rarely win with one big hole. They combine three small ones. A low-severity information leak plus a weak permission check plus a forgotten endpoint can add up to full control of a server. A scanner reports each piece as "low" and moves on. A tester asks what happens when you put them together.
Proof. A scanner says something might be vulnerable. A pentest shows you that it is, what an attacker could actually reach, and how bad that would be for your business. That makes it much easier to decide what to fix first.
A Real Example
In one recent engagement, the client's automated tools had reported nothing critical. During manual testing we found a leftover development file on the production server. On its own, it looked like a minor misconfiguration. Combined with how the app handled certain data, it let us run commands on the server without logging in. That's the worst outcome there is, and no scanner had raised it.
The fix itself was simple: remove the file and lock down the setting behind it. Finding it took a human who was curious about why that file was there.
When a Pentest Makes the Most Sense
Before launching a new product or a major release. When a big client or partner sends you a security questionnaire. When you fall under NIS2, ISO 27001 or SOC 2 and need documented testing. After moving to the cloud or changing how users log in. If it's been more than a year since anyone tried to break in on purpose.
The Bottom Line
Think of the scanner as your smoke detector and the pentest as the fire inspector who walks through the building. You want the smoke detector on all the time. You also want someone to check now and then that the fire doors actually close. A clean scan means you've dealt with the known problems. It doesn't mean nobody can get in. If you'd like to know what a real attacker would find, that's exactly what we do. Book a 15-minute call and we'll tell you honestly whether you need a pentest right now, and if so, what kind.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Web Application Pentesting serviceNIS2 in Romania, in Plain Words: What It Means for Your Security Testing
Romania transposed NIS2 through OUG 155/2024 and Legea 124/2025. We skip the legal jargon and answer the practical question: what does this mean for how you test your security?
If you run IT or security at a Romanian company, you've probably had NIS2 land on your desk by now. Maybe from your board, maybe from a client asking "are you NIS2 compliant?" in a questionnaire. This post skips the legal jargon and answers the practical question: what does NIS2 mean for how you test your security?
Quick note: we're security testers, not lawyers. Use this as a starting point and check your specific situation with legal counsel.
The Short Version
NIS2 is an EU directive that raises the minimum cybersecurity bar for a lot of companies. Romania turned it into national law through OUG 155/2024, which came into force at the end of 2024. Parliament approved and amended it through Legea 124/2025, in force since July 2025, and that amendment actually widened the list of companies covered. The authority in charge is DNSC (Directoratul Național de Securitate Cibernetică). It registers companies, checks them, and can fine them.
Am I Covered?
The law sorts companies into two groups, "essential" and "important", based on their sector and size. The sectors are listed in Annex 1 and Annex 2 of OUG 155/2024. They include the obvious ones like energy, transport, banking, health and digital infrastructure, but also areas many people don't expect: food production, manufacturing, waste management, postal services, and digital providers such as online marketplaces and cloud services.
If you're in one of those sectors and you're a medium or large company, assume you're in scope until someone tells you otherwise. Registration with DNSC was due in September 2025, so if you haven't looked into this yet, now is the time. Even if you're not covered directly, you might be pulled in anyway. Covered companies have to manage the security of their suppliers. If your clients are banks, hospitals or energy companies, expect them to ask you for proof of security testing.
What Does the Law Actually Ask For?
Here's something that surprises people: NIS2 doesn't say "do a penetration test every year" in those words. What it does require is that you manage your cybersecurity risks with proper technical and organisational measures, check that those measures actually work, handle vulnerabilities and report serious incidents to DNSC quickly, secure your supply chain, and have management take personal responsibility for all of this.
That second point is where testing comes in. It's very hard to prove your security measures work without someone trying to get past them. A penetration test is the most direct evidence you can give an auditor, DNSC, or a client that your defences hold up in real conditions.
Why This Isn't Just Paperwork
Two things make NIS2 different from older rules. The fines are real: essential entities can be fined up to €10 million or 2% of worldwide annual turnover. Important entities face up to €7 million or 1.4%. Each type of breach — like failing to register or skipping required audits — can be sanctioned on its own. Management is also on the hook. The law makes the people running the company personally responsible for cybersecurity. "IT was handling it" is no longer a defence. Executives are expected to understand and approve how risk is managed.
A Practical Starting Plan
Check if you're in scope — look at the annexes of OUG 155/2024 and confirm your registration status with DNSC. Know what you have: list your websites, apps, cloud accounts, internal network and Active Directory. Test the things that matter most, starting with what faces the internet and what holds sensitive data. Fix and retest — a report sitting in a drawer helps no one. And make it a habit: test yearly and after big changes. Security isn't a one-time project.
We're a Cluj-based team that does manual penetration testing for web apps, APIs, cloud, internal networks and Active Directory. Every engagement ends with a technical report for your developers, a short summary for management, and a free retest once you've fixed things. Book a 15-minute call and we'll help you figure out what to test first for NIS2.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Incident Response Planning serviceOne API Request, Full Database Access: What We Found on a Travel Booking Platform
The client's automated tools reported nothing critical. Manual testing found an unauthenticated endpoint that gave full read and write access to every record in the database. Here is how it happened and what other companies can learn from it.
The client builds and runs the booking platform behind travel agency websites. Every day it handles customer bookings, personal details and partner data. Like many growing tech companies, they had no in-house security team and had never had the platform tested by an outside attacker. Their automated tools had reported nothing critical.
What We Found
The platform talks to its database through an internal API. That API is supposed to check who you are and what you're allowed to touch before answering. It didn't — at least not properly. By shaping requests in a specific way, we could skip the permission check entirely. No account, no password, no special access. Just a request from the internet.
Once past that check, the API would happily return data from any table in the database. Worse, it would also accept changes. An attacker could have read customer records, bookings and personal data; changed prices, bookings or account details; and created or modified user accounts. In short, full control of the data behind the business. This was rated Critical — the highest severity we use.
How We Handled It
A finding like this is stressful for the client, so how you deliver it matters as much as finding it. We stopped and reported right away, without digging through real customer data beyond what was needed to prove the issue. We wrote it up clearly: a full report with step-by-step proof, the business impact, and exact fixes, translated into Romanian so the whole team could use it. We followed responsible disclosure, sharing it privately and directly with the people who could fix it. We stayed available to answer the developers' questions while they worked on fixes, then retested once everything was in to confirm every issue was actually closed.
The Result
The client validated every finding, fixed all of them, and told us they appreciated how the process was handled. Then they did something we see as the best compliment possible: they asked us to test every major release of the platform going forward. Security is now part of how they ship, not an afterthought.
What Other Companies Can Learn
Internal APIs are still exposed APIs. If the internet can reach it, attackers will test it. "Only our frontend calls it" is not a security control. Authorization bugs are also invisible to scanners — the platform looked perfectly healthy to automated tools. It took a human asking "what if I'm not supposed to be here?" to find it. And test at every big release: new features bring new ways in, and a yearly test can miss a hole that ships the month after.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Web Application Pentesting serviceOne Request, Hundreds of Client Records: The Firebase Mistake We Keep Finding
Firebase makes it easy to ship fast. It also makes it easy to leave your Firestore database open to the internet without realising it. Here is what we found, why it keeps happening, and how to check your own project in 10 minutes.
Firebase is great. You can get a website with a database, a contact form and notifications running in an afternoon, without managing a single server. That speed is exactly why it's everywhere. It's also why we keep finding the same problem: a Cloud Firestore database that anyone on the internet can read.
What We Found
During a recent authorised test of a professional services firm's website, we looked at how the site's contact and notification features worked. The site stored submitted data in a Firestore collection. With a single unauthenticated request — no login and no special tools — we could list that collection. One response returned hundreds of records: client names, contact details, fiscal information, and details about third parties the firm was dealing with on clients' behalf.
We confirmed the data could be read, checked that writing was blocked, and stopped there. Then we reported it privately to the firm so they could close it.
Why This Keeps Happening
Firestore has no traditional backend sitting in front of it. The browser talks to the database directly. The only thing standing between a visitor and your data is your Security Rules. The catch is that your Firebase config (project ID, API key) is visible in your site's JavaScript. That's by design and not a secret — it does mean anyone can see which project you use and send requests to it themselves, outside your website. So if the rules are too loose, your website's UI doesn't matter. Someone can skip it and ask the database directly.
We usually see one of three causes: test mode that never ended (Firebase offers an open "test mode" to get started quickly, and somebody means to lock it down later — later never comes); rules written for writes but not reads (a contact form needs anonymous visitors to create a record, but the rule also lets anyone read or list everything); or agency handover (the site was built by a freelancer or agency, handed over, and nobody on the client side knows the rules exist).
How to Fix It
For a typical contact-form-saves-to-Firestore setup, allow create with strict field validation and explicitly deny read, update, and delete. Then go further: only staff should read submissions, through authenticated access or the Firebase console, never through public rules. Consider moving writes to a Cloud Function so the database itself stays closed to the public. Turn on App Check as an extra layer. And don't keep what you don't need — if submissions get emailed to the team, delete old records on a schedule.
How to Check Your Own Project in 10 Minutes
Open the Firebase console, go to Firestore, then Rules. Look for "if true" anywhere. Check for rules that allow read without request.auth != null. Use the Rules Playground in the console to simulate an unauthenticated read of each collection. Do the same for Realtime Database and Cloud Storage — they have their own separate rules. And check the Firebase dashboard for any "your rules are insecure" warnings you've been ignoring.
The Takeaway
If your site uses Firebase, your Security Rules are your backend security. They deserve the same review as any server code. If you're not sure yours are right — or the person who wrote them has moved on — we're happy to take a look. Book a 15-minute call for a quick review of your Firebase or cloud setup.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Cloud Security Assessment serviceBuying a Pentest? Answer These 10 Questions First.
Most bad penetration tests go wrong before anyone starts testing. The scope was vague, the wrong things got tested, or nobody agreed on what 'done' looked like. Here are the questions we go through with every client before we quote.
Most bad penetration tests go wrong before anyone starts testing. The scope was vague, the wrong things got tested, or nobody agreed on what "done" looked like. You end up paying for a report that doesn't answer the question you actually had. The good news is that a bit of preparation fixes most of this. Here are the questions we go through with every client before we quote.
1. Why Are You Doing This Now?
A client questionnaire, NIS2, ISO 27001, a new product launch, a recent scare? The reason shapes everything else. A compliance-driven test needs clean documentation. A pre-launch test needs to fit your release date.
2. What Exactly Is in Scope?
List it out: domains, IP addresses, web apps, APIs, mobile apps, cloud accounts, internal network, Active Directory. Be specific. "Our website" might mean one marketing page or a platform with forty features.
3. What's Out of Scope?
Just as important. Third-party services you don't own (payment providers, SaaS tools), production systems that can't be touched, or anything shared with other customers. Testing something you don't own without permission can create legal trouble for everyone.
4. Who Are the Users?
For web apps, tell us about the roles: regular user, admin, partner, reseller. Many of the most serious bugs live in the gap between roles — a normal user reaching admin functions. We'll usually ask for a test account for each role.
5. How Much Do We Know Going In?
Black box means we start with nothing, like an outside attacker. Grey box means we get user accounts and some documentation. White box means we get access to code or architecture details. Grey box is usually the best value — you don't pay us to spend days guessing things you could tell us in five minutes.
6. Production or Staging?
Testing a staging copy is safer, but only useful if it matches production closely. Testing production is more realistic, but needs extra care and clear rules. Either is fine, as long as everyone knows which one it is.
7. What Are the Rules of Engagement?
Agree on the details upfront: testing hours (business hours, nights, weekends), the IP addresses we'll test from so your team can recognise us, anything off limits such as denial of service or social engineering, and what happens if we find something critical mid-test. Our answer: we tell you right away.
8. Who's the Contact on Your Side?
You need one technical contact who can answer questions quickly and act if something breaks. Also decide who gets the final report — it will contain sensitive details.
9. What Do You Need at the End?
A technical report for developers? A summary for management or the board? A letter for a client or auditor confirming the test happened? Tell us early so the output fits your audience. Our standard delivery includes a full technical report, an executive summary, and a retest once fixes are in.
10. Is This a One-Off or a Habit?
If you ship new features every few months, a single yearly test leaves long gaps. Many of our clients test at each major release instead. It keeps each test smaller and cheaper, and catches problems closer to when they were introduced.
Make It Easy on Yourself
We have a short scoping questionnaire that covers all of the above. Fill it in once and we can usually send a fixed-price quote within a couple of days. Book a 15-minute call or ask us for the questionnaire, and we'll help you scope a test that answers the question you actually have.
Want us to test your environment?
Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.
See our Web Application Pentesting service