Skip to content

Security Mindset

Learning Path

📘 Phase 1 – Overview


By the end of this lesson, you will be able to:

  • Think like a Cloud Security Engineer.
  • Understand how attackers identify opportunities.
  • Understand how defenders reduce risk.
  • Apply core security principles before implementing cloud services.
  • Analyse systems from both attacker and defender perspectives.

📚 Lesson Information

Estimated Time: 60–90 Minutes

Difficulty: Beginner

Prerequisites: Course Overview

Hands-on Lab: Yes

Assignment: Yes


Every security decision starts with a mindset—not a tool.

Cloud Security Engineers don’t simply configure AWS services. They continuously ask:

  • What could go wrong?
  • How would an attacker abuse this?
  • How can we reduce the risk while enabling the business?

Developing this way of thinking is the foundation of every successful Cloud Security Engineer.


A security mindset is the habit of questioning assumptions and identifying weaknesses before attackers do.

Instead of asking:

“Does this application work?”

A Cloud Security Engineer asks:

  • Is it secure?
  • Who can access it?
  • What happens if credentials are stolen?
  • What if this server is compromised?
  • Are logs available?
  • Can we recover quickly?
  • Is sensitive data protected?

Security is not a product.

It is a way of thinking.


Attackers don’t start by hacking.

They start by gathering information.

A typical attack follows this process:

Reconnaissance
Identify Weaknesses
Exploit Vulnerabilities
Gain Initial Access
Escalate Privileges
Move Laterally
Steal Data
Maintain Persistence

Cloud attacks commonly begin with:

  • Public S3 buckets
  • Overly permissive IAM policies
  • Exposed API keys
  • Weak passwords
  • Missing MFA
  • Open security groups
  • Unpatched systems
  • Misconfigured cloud services

Most successful attacks exploit configuration mistakes rather than sophisticated hacking techniques.


Cloud Security Engineers work to reduce opportunities for attackers.

Ask yourself:

  • What are we protecting?
  • Who should have access?
  • What happens if this resource is compromised?
  • How can we detect suspicious behaviour?
  • How quickly can we recover?

Security is about reducing risk while enabling the business to operate effectively.


CloudNova Technologies is preparing to launch a new customer portal on AWS.

During your security review, you discover:

  • An S3 bucket allows public access.
  • IAM users have AdministratorAccess.
  • MFA has not been enabled.
  • CloudTrail logging is disabled.
  • Customer files are stored without encryption.

As the Cloud Security Engineer, answer the following questions:

  1. What are the security risks?
  2. Which issue is most critical?
  3. What should be fixed first?
  4. Which AWS services would help?
  5. How would you explain these risks to senior management?

Provide users and systems with only the permissions required to perform their tasks.

All developers receive AdministratorAccess.

Developers receive only the permissions required for their role.

Benefits:

  • Reduces accidental changes
  • Limits attacker movement
  • Minimises business impact

Never rely on a single security control.

Example:

Internet
AWS WAF
Application Load Balancer
Security Groups
Application
IAM Controls
Encryption
Logging & Monitoring

If one layer fails, additional controls continue protecting the environment.


Design systems assuming attackers may eventually gain access.

Focus on:

  • Detection
  • Containment
  • Monitoring
  • Recovery

The objective is to minimise damage.


Never trust any user or system automatically.

Always verify:

  • Identity
  • Device
  • Permissions
  • Context
  • Risk

Trust must be earned continuously.


Every new cloud resource should begin with secure settings.

Examples:

  • MFA enabled
  • Encryption enabled
  • Logging enabled
  • Private networking
  • Least privilege access

Security should never be an afterthought.


🧠 Five Questions Every Cloud Security Engineer Asks

Section titled “🧠 Five Questions Every Cloud Security Engineer Asks”

Before deploying any cloud resource, ask:

Who can access this resource?

Who can reach this resource?

Is sensitive information protected?

Can suspicious activity be detected?

What happens if this resource is compromised?

If you develop the habit of asking these questions, you’ll naturally begin thinking like a Cloud Security Engineer.


🧪 Hands-on Exercise 1 — DNS Investigation

Section titled “🧪 Hands-on Exercise 1 — DNS Investigation”

Understand how attackers begin gathering information.

Terminal window
Resolve-DnsName amazon.com
Terminal window
dig amazon.com

or

Terminal window
nslookup amazon.com
  • IP addresses
  • Name servers
  • Multiple records
  • Why are multiple IP addresses returned?
  • What does this suggest about availability?
  • How might attackers use this information?

🧪 Hands-on Exercise 2 — HTTP Header Analysis

Section titled “🧪 Hands-on Exercise 2 — HTTP Header Analysis”

Inspect a website’s response headers.

Terminal window
curl -I https://example.com

Review:

  • HTTP status code
  • Server header
  • Redirects
  • Security headers

Questions:

  • Is HTTPS enforced?
  • Are security headers present?
  • Is unnecessary information exposed?

🧪 Hands-on Exercise 3 — SSL/TLS Certificate Review

Section titled “🧪 Hands-on Exercise 3 — SSL/TLS Certificate Review”

Visit:

https://example.com

Click the padlock icon.

Review:

  • Certificate issuer
  • Subject
  • Expiration date
  • Encryption algorithm

Questions:

  • Why are certificates important?
  • What happens if a certificate expires?
  • How do browsers establish trust?

🧪 Hands-on Exercise 4 — Port Awareness

Section titled “🧪 Hands-on Exercise 4 — Port Awareness”
Terminal window
sudo apt update
sudo apt install nmap
Terminal window
sudo dnf install nmap
Terminal window
brew install nmap

Download and install Nmap from the official website.


Terminal window
nmap localhost

Observe:

  • Open ports
  • Running services

Questions:

  • Which services are listening?
  • Which ports are unnecessary?
  • How does reducing open services improve security?

Important: Only scan systems you own or have explicit permission to assess.


Imagine CloudNova Technologies launches an online shopping platform.

Assets include:

  • Customer accounts
  • Payment information
  • Product catalogue
  • Order history
  • Administrative portal

Answer:

  • What are the most valuable assets?
  • What threats exist?
  • What vulnerabilities could attackers exploit?
  • Which security controls would reduce the risk?
  • How would you detect suspicious activity?

Select one application or website that you use regularly.

Prepare a short report (1–2 pages) covering:

  • Assets
  • Threats
  • Vulnerabilities
  • Existing security controls
  • Recommended improvements
  • Business impact if compromised

After completing this lesson, you should understand:

  • Security is a mindset before it is a technology.
  • Attackers exploit weaknesses, not products.
  • Defenders reduce risk using layered security controls.
  • Every cloud resource should be evaluated from multiple security perspectives.
  • Asking the right questions is often more valuable than memorising cloud services.

  • AWS Shared Responsibility Model
  • AWS Well-Architected Framework – Security Pillar
  • NIST Cybersecurity Framework (Overview)
  • OWASP Top 10 (Introduction)

➡️ Cloud Computing Fundamentals