A few hours ago Google announced that Google Cloud Platform is now certified for compliance with PCI-DSS. Payment Card Industry – Data Security Standard are security standards built by the Payment Card Industry Council to minimize the credit card frauds. These standards are applicable to organizations who deal with payment cards including credit cards and debit cards and have to ensure that cardholder’s data is completely protected from misuse of their personal information. Compliance with this standard enables customers to hold, process, or exchange cardholder information from any branded credit card.
Amazon Web Services works upon a shared security responsibility model where AWS responsibility is to secure the underlying infrastructure and it is your responsibility to secure any connection made to and any data put upon that infrastructure. For example, it is AWS’s responsibility to ensure the security of their physical infrastructure, facilities, virtual infrastructure while when it is client’s responsibility when it comes to OS patching, data encryption, and of course the application itself.
AWS has already achieved PCI-DSS compliance for shared hosting providers and has successfully validated for Level-1 service provider under PCI-DSS version 3.0. In this post, we will see how you can achieve PCI-DSS compliance for your infrastructure on top of AWS. In any case, you should always ask for an independent Quality Security Assessor (QSA) to validate that your environment is PCI-DSS compliant. Nevertheless, the following 12-item checklist can really help you harden your infrastructure and protect your customers from frauds.
Make your application compliant with PCI-DSS on AWS: a 12-items checklist
1- Install and Maintain a Firewall configuration to protect cardholder data
- Ensure your environment is configured under Virtual Private Cloud (VPC) where components are segregated into public and private subnets, the former acting as DMZ zones.
- Ensure all critical data (like cardholder data) is stored in private subnets, not directly accessible from the Internet.
- Use a correct combination of security groups and network ACLs.
- Limit access to critical components.
- Ensure that along with ingress and egress rules for security groups and network ACLs are also controlled for critical components.
- Use Unified Threat Management (UTM) tools in DMZ zones as an additional layer of security.
- Enable a formal process of approval to all changes made to network configuration, security groups, network ACLs, etc.
2- Do not use vendor-supplied defaults for system passwords and other security parameters
- One primary function per instance, that is: using a single instance for multiple functions (like a web server, plus an SFTP, plus a database server, etc) lowers the security level for your environment. The functions with lower security levels will introduce security weaknesses for other functions.
- Remove unwanted packages, services, and scripts from your instances.
- Enable additional security measures on required services like passphrases on SSH key pairs or implement passwords for restarting services.
3- Protect stored cardholder data
- Encrypt Cardholders Data at rest:
- If cardholder data is stored on a database on EC2, the client can leverage full disk encryption to encrypt the data. There are multiple tools available on AWS Marketplace which helps us to encrypt root and additional EBS volumes.
- If cardholder data is stored on a database on RDS, the client can either leverage on transparent data encryption (TDE) or encrypt data over SQL queries. Oracle and SQL server on RDS supports transparent data encryption. If you are using MySQL or PostgreSQL, you have to rely on SQL queries to encrypt data.
- Ensure only minimal required cardholder data is stored.
- Define policies for sensitive data retention period and processes for secure deletion of sensitive data.
- Rotate encryption keys and store at fewest possible locations.
- There are multiple ways to store your encryption keys:
- Limit cardholder’s data access to necessary individuals only.
4- Encrypt transmission of cardholder data across open, public networks
- It is important to encrypt sensitive information during transmission over public networks. To enable secure transmission over public networks, you need to use the appropriate certificates on EC2 instances or ELB.
- AWS Elastic Load Balancers provides support for SSL certificates which allow you to perform SSL termination at the load balancing layer.
5- Maintain a Vulnerability Management Program
- Configure anti-virus softwares on EC2 instances and ensure all of them are timely updated.
- Use vulnerability scanners in your AWS environment. They help you to prepare for PCI-DSS audits too.
6- Develop and Maintain secure systems and applications
- Ensure all security patches are reviewed, tested and timely applied on your EC2 instances and other AWS resources.
- Keep looking at AWS related security bulletins.
- Develop your internal and external software according to PCI-DSS guidelines.
- It is a best practice to segregate your development, staging and production environment.
- Use IAM groups, roles, and users. Ensure there are no test IAM users.
- Enable MFA for IAM users with a strong password policy.
- Rotate IAM users access key and secret access key on regular intervals.
- Enable Cloudtrail logs and integrate them with Cloudwatch. Setup alerts on Cloudtrail activity. For example, send an alert email for failed user login after 3 attempts.
- If you are serving web application, ensure common coding vulnerabilities (SQL injection, Cross site scripting, directory traversal, etc) are taken care at the application level or use a web application firewall in front of your web servers.
- Any changes made to your environment has to be approved and documented.
- Perform a regular security audit of your environment.
- Avoid manual deployment. Leverage on automation.
7- Restrict access to cardholders data
- Use strict IAM user policies – limit AWS services access to individuals whose job requires such access.
- If your organization supports SAML, you can enable single sign-on (SSO) and let users of your organization directly authenticate to AWS management console without having IAM identities.
8- Identify and authenticate access to system components
- Ensure that everyone (even administrators) access the AWS management console via IAM accounts. Root account credentials shouldn’t be used in any case.
- Enable two-factor authentication for AWS accounts. AWS has support for virtual and hardware MFA devices. For virtual MFA devices, you need to install apps on your mobile phone. It supports iPhone, Android, Windows and Blackberry phones.
- There shouldn’t be any shared credentials. Assign unique IDs to individuals. This holds true for IAM accounts and EC2 instances.
- Build production ready AMI’s and launch them without key pairs. This way no one will be able to login into your instances.
9- Restrict physical access to cardholder’s data
- AWS is already PCI-DSS compliant, so that removes the burden of physically securing your cardholder’s data. No action needed here.
10- Regularly monitor and test networks
- Perform regular audits of your Cloudtrail logs to identify login details, creation, and deletion of resources, etc.
- Deploy intrusion detection and prevention systems which helps us to monitor instance login details, security events, file integrity, change detection, etc.
- Ensure all instances and resources are in the same time zone and synchronized with the same NTP server.
11- Regularly test security systems and processes
- Perform vulnerability scanning, penetration testing, file integrity monitoring, log inspection, etc. on your environment at regular intervals. It is necessary to inform AWS before performing penetration testing.
- Perform third party audit of your environment.
12- Maintain a policy that addresses information security for all personnel
- All security policies should be documented properly and pass to individuals.
- AWS inventory, login information, resource details should be regularly updated.
- Implement an incident response plan incase of a security breach. A 24×7 monitoring team can help you to immediately respond to alerts.
Which Certifications Should I Get?
As we mentioned in an earlier post, the old AWS slogan, “Cloud is the new normal” is indeed a reality today. Really, cloud has been the new normal for a while now and getting credentials has become an increasingly effective way to quickly showcase your abilities to recruiters and compan...
New Content: AWS, Azure, Typescript, Java, Docker, 13 New Labs, and Much More
This month, our Content Team released a whopping 13 new labs in real cloud environments! If you haven't tried out our labs, you might not understand why we think that number is so impressive. Our labs are not “simulated” experiences — they are real cloud environments using accounts on A...
Kickstart Your Tech Training With a Free Week on Cloud Academy
Are you looking to make a jump in your technical career? Want to get trained or certified on AWS, Azure, Google Cloud Platform, DevOps, Kubernetes, Python, or another in-demand skill?Then you'll want to mark your calendar. Starting Monday, June 22 at 12:00 a.m. PDT (3:00 a.m. EDT), ...
New Content: AZ-500 and AZ-400 Updates, 3 Google Professional Exam Preps, Practical ML Learning Path, C# Programming, and More
This month, our Content Team released tons of new content and labs in real cloud environments. Not only that, but we introduced our very first highly interactive "Office Hours" webinar. This webinar, Acing the AWS Solutions Architect Associate Certification, started with a quick overvie...
Azure vs. AWS: Which Certification Provides the Brighter Future?
More and more companies are using cloud services, prompting more and more people to switch their current IT position to something cloud-related. The problem is most people only have that much time after work to learn new technologies, and there are plenty of cloud services that you can ...
Blog Digest: 5 Reasons to Get AWS Certified, OWASP Top 10, Getting Started with VPCs, Top 10 Soft Skills, and More
Thank you for being a valued member of our community! We recently sent out a short survey to understand what type of content you would like us to add to Cloud Academy, and we want to thank everyone who gave us their input. If you would like to complete the survey, it's not too late. It ...
New Content: Alibaba, Azure Cert Prep: AI-100, AZ-104, AZ-204 & AZ-400, Amazon Athena Playground, Google Cloud Developer Challenge, and much more
This month, our Content Team released 8 new learning paths, 4 courses, 7 labs in real cloud environments, and 4 new knowledge check assessments. Not only that, but we introduced our very first course on Alibaba Cloud, and our expert instructors are working 'round the clock to create 6 n...
Top 5 Reasons to Get AWS Certified Right Now
Cloud computing trends are on the rise and have been for some time already. Fortunately, it’s never too late to start learning cloud computing. Skills like AWS and others associated with cloud computing are in high demand because cloud technologies have become crucial for many businesse...
Introducing Our Newest Lab Environments: Lab Playgrounds
Want to train in a real cloud environment, but feel slowed down by spinning up your own deployments? When you consider security or pricing costs, it can be costly and challenging to get up to speed quickly for self-training. To solve this problem, Cloud Academy created a new suite of la...
Blog Digest: AWS Breaking News, Azure DevOps, AWS Study Guide, 8 Ways to Prevent a Ransomware Attack, and More
New articles by topicAWS Azure Data Science Google Cloud Cloud Adoption Platform Updates & New Content Security Women in TechAWSBreaking News: All AWS Certification Exams Now Available Online As an Advanced AWS Technology Partner, C...
AWS Certified Solutions Architect Associate: A Study Guide
Want to take a really impactful step in your technical career? Explore the AWS Solutions Architect Associate certificate. Its new version (SAA-C02) was released on March 23, 2020, though you can still take SAA-C01 through July 1, 2020. This post will focus on version SAA-C02.The AWS...
New on Cloud Academy: AWS Solutions Architect Exam Prep, Azure Courses, GCP Engineer Exam Prep, Programming, and More
Free content on Cloud Academy More and more customers are relying on our technology and content to keep upskilling their people in these months, and we are doing our best to keep supporting them. While the world fights the COVID-19 pandemic, we wanted to make a small contribution to he...