Onsite Cloud Security Configuration Review Workshop – DEFCON Cluj

Listen to this Post

2025-02-06

The upcoming onsite cloud security workshop at ClujHUB, organized by DEFCON Cluj, is set to cover critical aspects of cloud security, particularly focusing on AWS. With 16 out of 25 spots already filled, the event promises to be an engaging and educational experience for attendees. Below is a breakdown of the sessions and some practical commands and codes to help you get started with cloud security configuration reviews.

Session 1: Authentication in AWS and Manual Configuration Review
– Authentication in AWS: Understanding IAM roles, policies, and permissions.

aws iam list-users
aws iam list-roles
aws iam list-policies

– Validating Access: Check if your credentials have the necessary permissions.

aws sts get-caller-identity
aws iam simulate-principal-policy --policy-source-arn arn:aws:iam::123456789012:user/JohnDoe --action-names "s3:ListBucket"

– Manual Configuration Review: Start with a basic review of S3 bucket policies.

aws s3api get-bucket-policy --bucket my-bucket-name

Session 2: Leveraging Tools and Privilege Escalation

  • Leveraging Tools: Use tools like `Prowler` for automated security assessments.
    git clone https://github.com/prowler-cloud/prowler
    ./prowler -g cislevel1
    
  • Privilege Escalation: Identify misconfigured IAM roles.
    aws iam list-attached-user-policies --user-name JohnDoe
    aws iam list-attached-role-policies --role-name MyRole
    

Session 3: Architecture Issues and Reporting

  • Architecture Issues: Identify insecure configurations in your VPC.
    aws ec2 describe-vpcs
    aws ec2 describe-security-groups
    
  • Reporting: Generate a comprehensive report using CloudSploit.
    npm install -g cloudsploit
    cloudsploit scan --json > report.json
    

What Undercode Say

Cloud security is a critical aspect of modern IT infrastructure, and understanding how to configure and review it manually is essential. The commands and tools provided above are just the starting point. Here are some additional Linux and AWS commands to deepen your knowledge: