Beginner Lab
aws
Remediate Risks with Prowler and AWS Security Hub
Explore Prowler and report its findings to AWS Security Hub. This duo will provide valuable insights into the security and compliance state of the cloud!
Description
In this lab, you will explore Prowler, an impressive open-source tool for Cloud Security Posture Management (CSPM), and report its findings to AWS Security Hub. This duo will provide valuable insights into the security and compliance state of the cloud!
Scenario
We are implementing Prowler, a tool that enables us to assess, audit, and enhance the security of Huge Logistic's AWS cloud environment. To provide a centralized reporting platform, we will ingest the findings into AWS Security Hub and create an automated remediation workflow for specific findings.
Lab prerequisites
- Familiarity with AWS
- Familiarity with the command line
Learning outcomes
- Use Prowler to assess the security and compliance posture of AWS and find exposed credentials.
- Use AWS Security Hub to auto-remediate security findings.
Real-world context
Cloud Security Posture Management (CSPM) solutions are essential for organizations to gain visibility, scale, and maintain a secure and compliant cloud environment. Additionally, many organizations must adhere to industry standards such as NIST, CIS, HIPAA, and more. Prowler can provide a comprehensive overview of a cloud environment and be further customized to meet an organization's unique requirements.
KEY TAKEAWAY
Posture assessment tools produce far more findings than any team can act on, so their value is entirely in triage and automation. A scan that generates two thousand findings and no owner has changed nothing.
What this lab covers
You run Prowler against an AWS environment, aggregate the findings in Security Hub, and build automated remediation for the categories where a machine can safely act without a human deciding.
The lab is deliberately about operationalising rather than scanning. Running the tool is straightforward, and the difficulty is what happens to the output, which is where most posture management programs fail.
It assumes no prior AWS experience and suits anyone responsible for cloud posture or compliance evidence.
How posture assessment and auto-remediation work
Prowler evaluates an account against hundreds of checks covering identity, logging, networking, encryption and service configuration, and maps results to compliance frameworks. It is read-only and open source, so it can be run against production without change risk.
Security Hub aggregates findings from multiple sources into one format and one place. That normalisation matters more than it sounds, because it lets findings from different tools be triaged, suppressed and routed by the same rules.
Automated remediation attaches actions to findings through event rules and functions. The judgement is which findings are safe to remediate automatically. Enabling encryption or removing public access rarely breaks anything, while changing network rules or deleting resources can, so the split is between reversible low-impact fixes and everything else.
How to detect this in your own environment
Alert on new findings in the categories you care about rather than reviewing the full list periodically. A bucket becoming public matters immediately, and a missing tag does not.
Track finding age. The metric that predicts incidents is not how many findings you have but how long the serious ones stay open, and that number is usually uncomfortable.
Record and review suppressions with a reason and an owner. Suppression is legitimate and it is also how findings quietly disappear without being fixed.
How to prevent it
Automate only what is safe to automate, and be explicit about the boundary. Enabling encryption, revoking public access and turning on logging are good candidates. Modifying security groups or deleting resources generally are not.
Fix classes rather than instances. A finding that recurs indicates a pipeline or template producing it, so changing the template removes it permanently while remediating instances is endless.
Push checks left into deployment. The same rules applied in your infrastructure pipeline prevent the finding rather than detecting it, which is the only approach that scales.
Real-world context
Cloud misconfiguration remains one of the most consistently reported causes of cloud data exposure, and the underlying cause is rarely ignorance of the correct setting. It is that nobody knew the resource existed or that the setting had drifted.
Posture management tools have become standard, and the common failure mode is well documented: a large finding count, no ownership, and remediation rates low enough that the tool becomes a compliance artifact rather than a control.
It addresses the conditions behind MITRE ATT&CK T1530 Data from Cloud Storage Object and T1078.004 Cloud Accounts by removing exposure before it is used.
Applying this at work
- Run Prowler against your accounts this week. It is free, read-only and safe against production.
- Aggregate findings in Security Hub so multiple sources are triaged in one place and one format.
- Pick two or three finding types that are safe to auto-remediate and automate only those.
- Measure time to remediate for high severity findings rather than total finding count.
- For any finding that recurs, fix the template or pipeline that produces it rather than the instance.
Frequently asked questions
What does Prowler check?
Hundreds of configuration checks across identity, logging, networking, encryption and service settings, mapped to common compliance frameworks. It is read-only and open source, so it can be run against production accounts safely.
Which findings are safe to remediate automatically?
Reversible, low-impact changes such as enabling encryption, revoking public access and turning on logging. Changes to network rules or resource deletion carry availability risk and should stay with a human.
Why do posture tools often fail to improve security?
Because they produce more findings than teams can act on, without ownership or prioritization. The measure that matters is how quickly serious findings are closed, not how many were detected.
Do I need my own AWS account to practice this?
No. The lab runs in a live AWS environment that Pwned Labs provisions for you, so there is nothing to set up and no risk to your own infrastructure.
Which certification covers this in depth?
The Amazon Cloud Red Team Professional (ACRTP) covers AWS attack and detection paths in full, including IAM abuse and privilege escalation, and is assessed hands-on in a live AWS account.
Cloud Security Training To Protect Your Business
Pwned Labs for Business gives your team access to dedicated business content, including labs and cyber ranges.
We also offer in-person or remote workshops, and our cloud penetration services are helping businesses become more secure!