All articles

Compliance

Compliance Is Not Security: What GDPR, PCI DSS, and NIS2 Won't Protect You From

Passing audits is not the same as being defensible. Where the major frameworks stop, what attackers exploit anyway, and how to bridge the gap.

Sylvio Sorel··7 min read
Compliance binders next to a padlock — paperwork is not protection.

Your organisation just passed its annual compliance audit. GDPR? Check. PCI DSS? Compliant. ISO 27001? Certified. Your compliance officer breathes a sigh of relief, your CEO celebrates avoiding regulatory fines, and everyone assumes the business is now secure.

Then you get breached.

How is this possible? You followed all the regulations. You implemented the required controls. You passed the audits. Yet attackers still got in, data was still compromised, and customers are still furious.

Here’s the uncomfortable truth that compliance frameworks don’t advertise: compliance is not security. They’re related, they overlap, but they’re not the same thing. And understanding the difference could be what saves your business from the next major breach.

The fundamental difference: checkboxes vs. protection

Compliance frameworks are designed to establish a baseline — a minimum standard that organisations must meet to operate in regulated industries or handle sensitive data. They’re inherently backward-looking, updated periodically based on past incidents and known threats.

Security, on the other hand, is about protecting against current and emerging threats. It’s forward-looking, adaptive, and focused on preventing, detecting, and responding to attacks as they happen — including attacks that didn’t exist when the compliance framework was last updated.

Think of it this way: compliance is like passing your driving test. It proves you understand basic rules and can operate a vehicle safely under controlled conditions. Security is like actually driving in real-world traffic — where you face distracted drivers, unexpected weather, road hazards, and situations not covered in the test. The licence doesn’t prevent accidents; it just proves you met minimum requirements at a specific point in time.

What compliance frameworks actually require

Let’s look at what major frameworks mandate and, more importantly, what they don’t.

GDPR

GDPR is primarily a privacy regulation, not a security regulation. Its core concern is how personal data is collected, processed, stored, and shared. Security requirements exist to support privacy goals, but they’re often stated in general terms:

  • Article 32 requires “appropriate technical and organisational measures” to ensure security.
  • It mandates risk-based security but doesn’t specify exactly what controls to implement.
  • It requires breach notification within 72 hours but doesn’t prevent the breach.

What GDPR doesn’t do: specify which encryption algorithms to use, require multi-factor authentication, mandate EDR solutions, or tell you how to detect sophisticated attacks. These decisions are left to your “risk assessment” — which many organisations conduct superficially just to check a compliance box.

PCI DSS

PCI DSS is more prescriptive than GDPR, with specific technical requirements for organisations handling payment card data. But it still has significant gaps:

  • It requires quarterly vulnerability scans, but sophisticated attackers exploit zero-day vulnerabilities that won’t appear in those scans.
  • It mandates firewalls and access controls, but doesn’t prevent social engineering attacks that bypass those controls.
  • It requires security awareness training, but one annual session doesn’t create lasting behavioural change.
  • Compliance is point-in-time — you’re assessed annually or quarterly, but security needs to be continuous.

What PCI DSS doesn’t do: protect against ransomware targeting your non-PCI systems, prevent business email compromise fraud, or detect insider threats exfiltrating data through approved channels.

NIS2

NIS2, which applies to thousands of organisations across the EU, represents a more modern approach with stronger security requirements:

  • Mandates risk management measures covering supply chain security, incident handling, business continuity, and security in network and information systems.
  • Requires organisations to take measures to prevent and minimise the impact of incidents.
  • Imposes significant penalties for non-compliance (up to €10 million or 2% of global turnover).

But even NIS2 has limitations:

  • Like other frameworks, it establishes minimum requirements, not comprehensive protection.
  • Implementation details are often left to national authorities and organisations’ own risk assessments.
  • It focuses heavily on critical infrastructure sectors, with varying requirements for different entity types.

What NIS2 doesn’t do: specify exactly how to secure remote work environments, protect against AI-powered social engineering, or defend against supply chain attacks using novel techniques.

ISO 27001

ISO 27001 is a comprehensive information security management system (ISMS) framework. It’s arguably the most security-focused of the major compliance standards, but it’s still primarily about process and documentation:

  • Requires risk assessments, but doesn’t dictate the methodology.
  • Mandates certain controls from Annex A, but allows justification for exclusions.
  • Focuses heavily on policies, procedures, and documentation.
  • Assessed through audits that verify processes exist, not that they’re effective against real attacks.

What ISO 27001 doesn’t do: guarantee your controls actually work in practice, ensure your team can respond effectively to sophisticated attacks, or adapt quickly to emerging threats between annual audits.

The dangerous compliance mindset

The real problem isn’t the frameworks themselves — they provide valuable structure and baseline security. The problem is how organisations approach them:

  • Minimum-effort mentality. Many organisations aim to do the bare minimum to pass audits. They implement controls that look good on paper but aren’t effectively deployed, monitored, or maintained.
  • Point-in-time thinking. Compliance assessments happen annually or quarterly. Organisations scramble to prepare for audits, pass them, then let security practices drift until the next assessment cycle.
  • Documentation over implementation. Compliance heavily emphasises documented policies and procedures. Some organisations spend more time writing security policies than actually implementing security controls.
  • False sense of security. Perhaps most dangerous, achieving compliance creates organisational complacency. Executives assume “we’re compliant, so we’re secure,” reducing willingness to invest in security beyond compliance requirements.
  • Checkbox mentality. Complex security controls get reduced to simple yes/no questions on audit checklists. “Do you have a firewall?” Yes. But is it configured correctly? Is it monitored? Is it effective against current threats? The audit doesn’t ask.

What attackers don’t care about

While you’re focused on compliance frameworks, attackers are focused on exploiting weaknesses. They don’t care if you:

  • Have a documented incident response plan (if you’ve never tested it and your team doesn’t know how to execute it).
  • Conduct annual security awareness training (if employees still click phishing links the other 364 days).
  • Encrypt data at rest (if the encryption keys are stored insecurely or the data is compromised before encryption).
  • Have passed your most recent audit (conducted six months ago, while they compromised you last week).
  • Meet regulatory requirements (if those requirements don’t address the specific attack vectors they’re using).

Real-world attacks exploit:

  • Zero-day vulnerabilities that your compliance-mandated quarterly scans won’t detect.
  • Social engineering that bypasses all your technical controls.
  • Insider threats using legitimate credentials and authorised access.
  • Supply chain compromises through vendors who may themselves be compliant but still get breached.
  • Configuration errors in cloud services that weren’t even imagined when the compliance framework was written.
  • AI-powered attacks that adapt faster than compliance frameworks can update.

What actual security looks like

Effective security starts with compliance but extends far beyond it:

  • Continuous monitoring and improvement. Security isn’t a project with a finish line. It’s an ongoing operational discipline. Threats evolve daily, and your defences must evolve with them.
  • Defence in depth. Assume every control will eventually fail. Layer multiple controls so that when one is bypassed, others provide protection. Compliance often mandates specific controls; security requires redundancy and resilience.
  • Threat-based approach. Understand what attackers are actually doing in the wild, not just what compliance frameworks say you should protect against. Threat intelligence, incident response experience, and security research inform real security in ways that compliance checklists cannot.
  • Skilled human expertise. Technology and policies are necessary but not sufficient. You need skilled security professionals who can interpret alerts, investigate anomalies, respond to incidents, and make risk-based decisions. Compliance can be achieved with documentation; security requires expertise.
  • Proactive testing. Penetration testing, red team exercises, tabletop simulations, and continuous security validation tell you whether your controls actually work. Compliance audits verify controls exist; security testing proves they’re effective.
  • Business-aligned risk management. Security decisions should be based on your specific business risks, not just regulatory requirements. What data is most valuable to attackers? What systems are most critical? What attacks are most likely in your industry? These questions should drive security investments, with compliance as a baseline.

How to bridge the gap

You can’t ignore compliance — regulatory penalties and legal liability are real consequences. But you must go beyond it:

  • Treat compliance as the floor, not the ceiling. Meet regulatory requirements, then ask: “What additional security do we need for our specific risks?”
  • Implement security controls for protection, not just compliance. Don’t just check the boxes; ensure controls are properly configured, actively monitored, and regularly tested.
  • Invest in security expertise. Most SMBs achieve compliance through consultants and auditors but lack ongoing security expertise. A Virtual CISO provides strategic oversight that bridges compliance requirements with real-world security needs.
  • Focus on outcomes, not just outputs. Don’t measure security by number of policies written or audits passed. Measure it by ability to detect, respond to, and recover from actual attacks.
  • Test your assumptions. Conduct realistic attack simulations. Verify that your incident response plan actually works. Challenge your own controls to find weaknesses before attackers do.

At Cyber-Management, our compliance expertise ensures you meet GDPR, NIS2, PCI DSS, ISO 27001, and other regulatory requirements. But our Virtual CISO services, security training, and internal audits go further — implementing practical security that actually protects against modern threats.

Compliance opens doors and avoids penalties, but security is what protects your business, your customers, and your reputation when attackers come knocking.

Compliance gets you past auditors. Security gets you past attackers.

Sylvio Sorel

CISSP, PECB ISO/IEC 27001 and ISO/IEC 42001 Lead Auditor — founder, Cyber-Management.

Take the next step

Talk to a security practitioner, not a salesperson.

Twenty-five minutes, no slide deck, no follow-up sequence. We'll talk through where you are, what's coming up next on your regulatory horizon, and whether we can help.