SEAKSES · 30+ Global DNS Resolvers, SSL/PKI Suite & Open REST APISpotted a bug or have an idea?

Cloud Audit Passed ISO 27001 but Skipped VAPT? UU PDP Needs Technical Proof Too

By Candra Octavian Ramadhani·2026-11-30T16:24:28+08:00·7 min read
Key Takeaway

Your cloud provider holds an ISO 27001 certificate and you filed the DPO paperwork, but you never ran a penetration test against the actual infrastructure handling personal data. After reading, you will know which technical controls—VAPT, encryption verification, access-log audits—UU PDP compliance actually requires beyond administrative checkboxes.

A common situation: your cloud provider shows an ISO 27001 certificate, your company appointed a Data Protection Officer (DPO), and the privacy SOPs are signed and filed. Then an auditor or a security reviewer asks for something different. They want a penetration test report for the servers that hold customer data, proof that the database connection is encrypted, and evidence that someone reviews who logs in. Nobody can produce any of it, because nobody ever generated it.

This article walks through that gap in post-mortem form: impact, investigation, discovery, short-term mitigation, and the structural fix. It describes a pattern that comes up often. It is not a record of one specific event.

Initial impact: the evidence request nobody could answer

The first sign is usually a document request. UU PDP (Law No. 27 of 2022 on Personal Data Protection) requires data controllers and processors to protect personal data from unauthorized access, loss, and leakage. Compliance guides commonly point to Articles 35 and 39 for these security duties. Those obligations describe outcomes. To show that you meet them, you need evidence from the systems themselves, and a certificate on a provider's website is not that evidence.

The administrative pile usually looks complete: DPO appointment letter, privacy policy, data processing SOPs, a records-of-processing spreadsheet, and the provider's ISO 27001 certificate. The technical pile is empty. There is no vulnerability assessment, no penetration test, no record of encryption settings, and no log review history.

The immediate impact is a finding or an open item that blocks sign-off. The larger risk is that a real breach would land on a system nobody had tested. UU PDP also has breach notification duties, and the clock on those does not wait for you to finish collecting evidence.

Investigation: following the certificate down to the servers

The first investigation step is to read what the certificate actually covers. ISO 27001 certifies an organization's information security management system (ISMS), meaning its process for identifying risks, choosing controls, and reviewing them continuously. When a cloud provider holds the certificate, it covers the provider's own ISMS within a stated scope, typically its data centers, physical security, hypervisor layer, and internal operations.

The certificate does not cover the virtual machines you deployed, the WordPress install with an admin panel open to the internet, the MySQL user with a weak password, or the firewall rule someone opened during a migration and never closed. Those sit on your side of the shared responsibility line. The SGS write-up on UU PDP and ISO 27001 makes the same distinction. ISO 27001 helps align with UU PDP, but the two are separate things. If you need the full gap map between them, including data subject rights and DPIA (data protection impact assessment), that is covered in mapping ISO 27001 gaps against UU PDP.

The second step is an inventory of what you own in the stack. For a typical VPS or IaaS setup, that list includes:

  1. The operating system and its patch level.
  2. Every exposed service and port.
  3. The application and its plugins or dependencies.
  4. The database and the way the application connects to it.
  5. Accounts: SSH users, panel users, database users, cloud console users.
  6. Backups and snapshots, and where they are stored.

In support work, this is often where customers get confused. They point to the provider's certificate when asked about their own server's security. The provider's controls stop at the hypervisor or the managed service boundary, and the provider has no visibility into whether your wp-admin is protected.

The discovery: nobody had tested the system that holds the data

The key finding in this pattern is simple. No one had ever attacked the production environment, even in a controlled test.

This is the job of VAPT (Vulnerability Assessment and Penetration Testing). The two halves do different jobs. A vulnerability assessment is a broad scan that lists known weaknesses, such as outdated software versions, misconfigurations, and exposed services. A penetration test goes further. A tester tries to exploit those weaknesses the way an attacker would, for example by chaining a leaked credential with an exposed admin panel to reach the database. The research context for this topic describes VAPT as a simulated attack on applications and cloud infrastructure to test resistance to data theft. That simulation is the part a paperwork audit never touches.

VAPT also tests the claims in your SOPs. A document might say "database access is restricted to the application server." A port scan from outside either confirms that or shows port 3306 open to the world. A document might say "all admin access uses MFA." A tester either gets in without a second factor or does not.

Run or commission VAPT only against systems you own or are explicitly authorized to test, with a written scope. Scanning a provider's shared infrastructure, or another tenant's IP range, usually violates the provider's terms. It may also be illegal. Check your provider's penetration testing policy before scheduling anything.

Temporary mitigation: produce evidence you can collect this week

While a proper VAPT gets scoped and scheduled, you can close part of the evidence gap with read-only checks. Save the output with a date, the hostname, and who ran it. Evidence that no one can trace back to a system and a time carries little weight.

Start with encryption, because "we use encryption" is the claim most often made and least often verified. Check both data in transit and data at rest:

# In transit: does this client connection to MySQL/MariaDB use TLS?
# An empty Value means the session is NOT encrypted.
mysql -h db.internal.example -u audit_user -p -e "SHOW SESSION STATUS LIKE 'Ssl_cipher';"

# Server side: does the server refuse unencrypted connections?
mysql -h db.internal.example -u audit_user -p -e "SHOW GLOBAL VARIABLES LIKE 'require_secure_transport';"

# At rest: is the data volume on an encrypted (dm-crypt/LUKS) device?
# Look for TYPE 'crypt' in the device tree above the data mount.
lsblk -o NAME,TYPE,FSTYPE,MOUNTPOINT

# Details for an encrypted mapping (replace cryptdata with your mapper name)
sudo cryptsetup status cryptdata

If the volume relies on provider-managed disk encryption instead of LUKS, lsblk will not show it. In that case, take the evidence from the provider console or API, and record who holds the keys. Key custody matters more than most teams expect, as explained in checking who actually holds the encryption keys.

Next, check access logs. The question an auditor asks is whether anyone looks at them, and whether they go back far enough to investigate an incident:

# Successful logins with full timestamps
last -F | head -n 50

# Failed login attempts (reads /var/log/btmp, usually needs root)
sudo lastb -F | head -n 50

# SSH daemon events for the last 30 days
# Unit is 'ssh' on Debian/Ubuntu, 'sshd' on RHEL-family systems
sudo journalctl -u ssh --since '30 days ago' | grep -E 'Accepted|Failed'

Check how far back the output goes. If logs only cover a few days because of log rotation or journald size limits, that limit is a finding in itself. Do the same for the cloud console's audit trail, which records who changed firewall rules, created API keys, or took snapshots. Where to find it and how long it is kept depends on the provider and the plan, so check the provider's documentation.

Finally, reduce exposure where the checks show obvious problems. Close database ports to the public internet, restrict admin panels by IP or VPN, and remove accounts for people who no longer need access. Each of these changes is small, reversible, and easy to document.

The structural fix: make technical proof a recurring output

The short-term evidence describes one point in time. The lasting fix is to make your infrastructure produce evidence as part of normal operations, so the next request takes hours instead of weeks.

Treat VAPT as a recurring event. A reasonable rule of thumb is to test on a fixed schedule and also after major changes, such as a migration, a new public-facing application, or a big architecture change. Track each finding to closure with a retest, because a report with open critical findings and no remediation record can look worse than having no report.

Centralize logs off the servers that generate them. If an attacker gets root on a VM, local logs on that VM cannot be trusted. Ship authentication, database, and cloud control-plane logs to a separate location with a defined retention period, and schedule a review. The review can be light, but it has to leave a record.

Turn encryption from an assumption into configuration you can check. Enforce TLS on the database server side instead of trusting every client to request it. Document which volumes are encrypted, by what mechanism, and who controls the keys.

Map your controls to a framework so your evidence has a structure. The research context lists the standards commonly used in practice: ISO/IEC 27001 for the management system, ISO/IEC 27017 for cloud-specific security controls, ISO/IEC 27018 for protecting personal data in public cloud, and the Cloud Security Alliance Cloud Controls Matrix (CSA CCM). You do not need certification in all of them. Using one as a checklist shows you which controls you can prove and which you only claim.

The practical takeaway: next time someone asks whether you are UU PDP compliant, separate the answer into the two piles. Paperwork shows that you have a process. The technical pile shows that the servers, database, and accounts holding personal data have been tested, are encrypted in a way you can demonstrate, and leave access records that someone actually reviews. If the technical pile is empty, start with the read-only checks above this week, then schedule a properly scoped VAPT.