BlackHat Webcast

BlackHat Webcast
1 / 22
Slide 1 of BlackHat Webcast
Slide 2 of BlackHat Webcast
Slide 3 of BlackHat Webcast
Slide 4 of BlackHat Webcast
Slide 5 of BlackHat Webcast
Slide 6 of BlackHat Webcast
Slide 7 of BlackHat Webcast
Slide 8 of BlackHat Webcast
Slide 9 of BlackHat Webcast
Slide 10 of BlackHat Webcast
Slide 11 of BlackHat Webcast
Slide 12 of BlackHat Webcast
Slide 13 of BlackHat Webcast
Slide 14 of BlackHat Webcast
Slide 15 of BlackHat Webcast
Slide 16 of BlackHat Webcast
Slide 17 of BlackHat Webcast
Slide 18 of BlackHat Webcast
Slide 19 of BlackHat Webcast
Slide 20 of BlackHat Webcast
Slide 21 of BlackHat Webcast
Slide 22 of BlackHat Webcast

Abstract

A comprehensive overview of cloud security from an offensive perspective, mapping real-world attack techniques across storage, IAM, and serverless services to the MITRE ATT&CK framework.

AI Generated Summary

AI Generated Content Disclaimer

Note: This summary is AI-generated and may contain inaccuracies, errors, or omissions. If you spot any issues, please contact the site owner for corrections. Errors or omissions are unintended.

This deck is “Stealing the Silver Lining from Your Cloud”, a Black Hat WebCast from 2021 delivered by NotSoSecure’s Technical Director. It opens with the current state of cloud adoption and migration strategies, walks the shared responsibility matrix across service models, compares native and third-party security tooling, and then maps real world cloud attack techniques to the MITRE ATT&CK framework: storage service attacks, Azure blob and SAS URL exploitation, an AWS Elastic Beanstalk SSRF chain, IAM privilege escalation via shadow admins, and AWS Cognito misconfigurations.

Summary

Everyone wants cloud: cloud computing is the “In” thing, 2020 made it clear remote working is here to stay, and data centers and physical network boundaries are aging. Organizations split into those born in the cloud (cloud native startups, SaaS providers and aggregators) and those migrating via five strategies: Rehost (lift and shift), Refactor (modernized but largely IaaS), Rearchitect (monolith to microservices, containers and orchestration), Rebuild (cloud native rewrite) and Replace (SaaS alternatives). The migration security slide warns that conventional wisdom and controls just won’t work, listing misconfigurations as the biggest concern, then insecure APIs and interfaces, credential leakage, unintended public data exposure, and data loss and sovereignty under GDPR.

The responsibility matrix breaks ownership across On-prem, IaaS, CaaS, PaaS, FaaS and SaaS for thirteen responsibility rows: the tenant always keeps client side, data and IAM across every model, while provider duties grow from virtualization upward until, at SaaS, the provider owns everything except functional logic, client side, data and IAM. On tooling, native vendor offerings give larger visibility but hide internals and resist output changes, while third-party tools suit multi-cloud and hybrid environments with flexible outputs but see only what is exposed; most vendors provide only a basic set, so third parties remain necessary.

The attack half is framed by MITRE and walks an ATT&CK-aligned methodology starting from enumeration. Storage accounts are declared the lynchpin of cloud existence, with statistics showing 2 percent of public S3 buckets lack write protection and are exposed to ransom attacks. The Azure case study loads an overly privileged SAS URL into Azure Storage Explorer, identifies assets, reaches an Azure function’s source code, plants a backdoor that runs on next invocation, then hides it. The Elastic Beanstalk case chains from SSRF: metadata yields account id, region and security-credentials, the bucket name is derived from account id and region, source code is pulled via the AWS S3 CLI, and CI/CD pushes a backdoor in the bucket that deploys a shell on the official website, with SummitRoute’s research documenting more naming patterns.

The IAM section defines cloud shadow admins as accounts whose permissions attackers abuse to escalate privileges and take hold of the entire environment, overlooked because they are not members of privileged groups like Domain Admin. The AWS case study shows the AmazonElasticTranscoderFullAccess managed policy carried iam:PutRolePolicy, letting an inline policy be attached to any role for effectively root admin access; AWS fixed it with the replacement AmazonElasticTranscoder_FullAccess policy. The Cognito case study notes the unauthenticated and authenticated credential types, credits Andres Riancho’s BlackHat 2019 analysis of unauthenticated credentials, and describes NotSoSecure’s follow-up leveraging hidden signup features on authenticated credentials.

Key Themes

  • Cloud Adoption Landscape: Cloud is the “In” thing, remote work cemented it in 2020, and physical boundary concepts are aging; organizations are either born in cloud (startups, SaaS providers, aggregators) or migrating.
  • Five Migration Strategies: Rehost (lift and shift), Refactor (modernized but still largely IaaS), Rearchitect (monolith to microservices and containers), Rebuild (cloud native rewrite) and Replace (SaaS alternatives).
  • Cloud Migration Security Concerns: Misconfigurations as the biggest concern, followed by insecure APIs and interfaces, credential leakage, unintended public data exposure, and data loss and sovereignty under GDPR.
  • Shared Responsibility Matrix: The tenant always owns client side, data and IAM across On-prem through SaaS; provider ownership grows from virtualization at IaaS to nearly everything except functional logic, client side, data and IAM at SaaS.
  • Security Tooling in the Cloud: Native tools give larger visibility but hide internals and resist output changes; third-party tools suit multi-cloud and hybrid environments but see only what is exposed.
  • ATT&CK Mapping and Storage as the Lynchpin: The MITRE ATT&CK framework structures the attack methodology from enumeration, with storage accounts the lynchpin of cloud existence and 2 percent of public S3 buckets lacking write protection.
  • Case Study Chains: Overly privileged Azure SAS URLs reaching Storage Explorer and planted function backdoors, and the Elastic Beanstalk SSRF chain deploying a shell through CI/CD.
  • IAM Shadow Admins and Cognito: Privilege-escalating permissions outside privileged groups (AmazonElasticTranscoderFullAccess and iam:PutRolePolicy), and Cognito authenticated credential abuse via hidden signup features.

Notable Points

  1. Migration strategies listed: Rehost (Lift and Shift), Refactor (modernize for cloud but stick largely to IaaS), Rearchitect (monolith to microservices, containers and orchestration), Rebuild (rewrite as cloud native), Replace (leveraging other SaaS options).
  2. The responsibility matrix tracks 13 responsibility rows (client side, data, IAM, functional logic, applications, runtime, middleware, OS, virtualization, load balancing, networking, servers, physical security) across On-prem, IaaS, CaaS, PaaS, FaaS and SaaS.
  3. Tenant-retained responsibilities across every model: all things client side, data (transit and cloud), and identity and access management.
  4. Native vendor tools give larger visibility but hide internals and limit output modification; third-party tools suit multi-cloud or hybrid environments with more output flexibility but see only exposed data.
  5. Statistics cited from BleepingComputer and HTTPCS: 2 percent of Amazon S3 public buckets are not write protected, exposing them to ransom attacks.
  6. Azure Storage SAS URL chain: obtain the SAS URL, load it in Azure Storage Explorer, identify assets, access the Azure function source code, plant a backdoor that runs on next invocation, then hide it.
  7. Elastic Beanstalk chain: SSRF yields metadata (account id, region, security-credentials); the bucket name is enumerated from account id and region; source code is accessed via AWS S3 CLI; CI/CD deploys the planted backdoor as a shell on the official website.
  8. Cloud shadow admins are accounts with permissions attackers abuse to escalate privileges and take over the environment; they are overlooked because they are not members of privileged groups such as Domain Admin.
  9. The AmazonElasticTranscoderFullAccess managed policy included iam:PutRolePolicy, allowing inline policy attachment to any role and effectively root admin access; AWS fixed it with AmazonElasticTranscoder_FullAccess.
  10. AWS Cognito supports unauthenticated and authenticated credential types; Andres Riancho’s BlackHat 2019 research covered unauthenticated credentials, and NotSoSecure’s follow-up found ways to leverage hidden signup features on authenticated credentials.

Notable Quotes

“STEALING THE SILVER LINING FROM YOUR CLOUD”

“Cloud Computing is the β€œIn” thing.”

“2020 has made it pretty clear remote working is here to stay.”

“Conventional wisdom and controls just won’t work”

“Misconfigurations are the biggest concerns”

“Lynchpin of cloud existance”

Video

BrightTalk Webcast

πŸ”— View Link

Resources

Embed This Presentation

See Also