SlideShare ist ein Scribd-Unternehmen logo
1 von 52
Downloaden Sie, um offline zu lesen
From Complexity to Clarity:
The Tale of AWS Access Evolution
AWS Summit AMS
2024-04-09
www.fivexl.io | hello@fivexl.io
What is the
problem?
www.fivexl.io | hello@fivexl.io
First day as a new CISO
www.fivexl.io | hello@fivexl.io
How did we get
there?
Those Who Do Not Learn History Are Doomed To Repeat It
www.fivexl.io | hello@fivexl.io
First day as a new CISO
www.fivexl.io | hello@fivexl.io
Authentication vs.
Authorization
www.fivexl.io | hello@fivexl.io
Andrey Devyatkin
Co-Host @ DevSecOps Talks
podcast
Principal AWS Consultant
AWS Community Builder
Security and Identity
Co-Founder @ FivexL
AWS User Group Leader
UG Las Palmas de GC
www.fivexl.io | hello@fivexl.io
Type of credentials Credentials TTL Permission duration
www.fivexl.io | hello@fivexl.io
https://aws.amazon.com/blogs/aws/happy-10th-birthday-aws-identity-and-access-management/
2011
IAM, users and
policies
www.fivexl.io | hello@fivexl.io
www.fivexl.io | hello@fivexl.io
Type of credentials Credentials TTL Permission duration
IAM user / root user Permanent Permanent
www.fivexl.io | hello@fivexl.io
How do we change
permanent nature of
access and permissions?
Profound question
www.fivexl.io | hello@fivexl.io
https://github.com/fivexl/terraform-aws-cloudtrail-to-slack
www.fivexl.io | hello@fivexl.io
{
"Version": "2012-10-17",
"Statement": [
{
"Action": "*",
"Resource": "*",
"Effect": "Deny",
"Condition": {
"StringLike": {
"aws:PrincipalArn": [
"arn:aws:iam::*:root"
]
}
}
}
]
}
https://asecure.cloud/a/scp_root_account/
www.fivexl.io | hello@fivexl.io
Problems with IAM
users
Static
www.fivexl.io | hello@fivexl.io
Problems with IAM
users
Static
User per account
www.fivexl.io | hello@fivexl.io
Problems with IAM
users
Static
User per account
Require password
management / think
rotation and
revocation
www.fivexl.io | hello@fivexl.io
https://www.cisecurity.org/benchmark/amazon_web_services
www.fivexl.io | hello@fivexl.io
A good idea, not the best outcome
www.fivexl.io | hello@fivexl.io
Credentials TTL Permission duration
IAM user / root user Permanent Permanent
Static user + role chaining Permanent Permanent/Temporary
www.fivexl.io | hello@fivexl.io
Problems with
Role chaining
Hard to get a big picture
www.fivexl.io | hello@fivexl.io
Problems with
Role chaining
Hard to get a big
picture
Hard to manage
www.fivexl.io | hello@fivexl.io
Problems with
Role chaining
Hard to get a big
picture
Hard to manage
Who did that?
www.fivexl.io | hello@fivexl.io
First day as a new CISO
www.fivexl.io | hello@fivexl.io
An alternative way - May 2015
www.fivexl.io | hello@fivexl.io
www.fivexl.io | hello@fivexl.io
Credentials TTL Permission duration
IAM user / root user Permanent Permanent
Static user + role chaining Permanent Permanent/Temporary
HashiCorp Vault Temporary Permanent
www.fivexl.io | hello@fivexl.io
www.fivexl.io | hello@fivexl.io
Credentials TTL Permission duration
IAM user / root user Permanent Permanent
Static user + role chaining Permanent Permanent/Temporary
HashiCorp Vault Temporary Permanent/Temporary
HashiCorp Vault + Foxpass Temporary Temporary
www.fivexl.io | hello@fivexl.io
Problems with
HashiCorp Vault
Self-hosted (before
HCP)
www.fivexl.io | hello@fivexl.io
Problems with
HashiCorp Vault
Self-hosted (before
HCP)
One more system to
audit
www.fivexl.io | hello@fivexl.io
Problems with
HashiCorp Vault
Self-hosted (before
HCP)
One more system to
audit
Gets pricy at scale
www.fivexl.io | hello@fivexl.io
https://aws.amazon.com/blogs/aws/happy-10th-birthday-aws-identity-and-access-management/
2017
AWS
Organizations
AWS SSO
www.fivexl.io | hello@fivexl.io
www.fivexl.io | hello@fivexl.io
Credentials TTL Permission duration
IAM user / root user Permanent Permanent
Static user + role chaining Permanent Permanent/Temporary
HashiCorp Vault Temporary Permanent
HashiCorp Vault + Foxpass Temporary Temporary
SSO Temporary Permanent
www.fivexl.io | hello@fivexl.io
Credentials TTL Permission duration
IAM user / root user Permanent Permanent
Static user + role chaining Permanent Permanent/Temporary
HashiCorp Vault Temporary Permanent
HashiCorp Vault + Foxpass Temporary Temporary
SSO Temporary Permanent
SSO + role chaining Temporary Permanent/Temporary
www.fivexl.io | hello@fivexl.io
Tools
aws sso
aws-vault
leapp
aws-sso-cli
www.fivexl.io | hello@fivexl.io
FivexL SSO Elevator (2020)
More info: https://github.com/fivexl/terraform-aws-sso-elevator
www.fivexl.io | hello@fivexl.io
www.fivexl.io | hello@fivexl.io
FivexL SSO Elevator goes Open Source (2023)
www.fivexl.io | hello@fivexl.io
https://aws.amazon.com/blogs/security/temporary-elevated-access-management-with-iam-identity-center/
www.fivexl.io | hello@fivexl.io
Credentials TTL Permission duration
IAM user / root user Permanent Permanent
Static user + role chaining Permanent Permanent/Temporary
HashiCorp Vault Temporary Permanent
HashiCorp Vault + Foxpass Temporary Temporary
SSO Temporary Permanent
SSO + role chaining Temporary Permanent/Temporary
SSO + TEA Temporary Temporary
www.fivexl.io | hello@fivexl.io
First day as a new CISO
www.fivexl.io | hello@fivexl.io
How do we implement
Temporary Elevated
Access?
www.fivexl.io | hello@fivexl.io
AWS Organisations
www.fivexl.io | hello@fivexl.io
AWS IAM Identity Center + IDP
www.fivexl.io | hello@fivexl.io
Using any of those?
www.fivexl.io | hello@fivexl.io
Temporary elevated access management (TEAM)
More info: https://aws-samples.github.io/iam-identity-center-team/
www.fivexl.io | hello@fivexl.io
Not related but still important. Openid Connect for CI/CD
https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services
https://docs.gitlab.com/ee/ci/cloud_services/aws/
www.fivexl.io | hello@fivexl.io
Recap
Strive to avoid permanent
credentials
You can’t lose what you do not have
Avoid having permanent
high-privilege permission
assignments
Reduced risk allows for development
productivity
www.fivexl.io | hello@fivexl.io
Credentials TTL Permission duration
IAM user / root user Permanent Permanent
Static user + role chaining Permanent Permanent/Temporary
HashiCorp Vault Temporary Permanent/Temporary
HashiCorp Vault + Foxpass Temporary Temporary
SSO Temporary Permanent
SSO + role chaining Temporary Permanent/Temporary
SSO + TEA Temporary Temporary
Thank you
https://www.linkedin.com/in/andreydevyatkin
https://andreydevyatkin.com
https://devsecops.fm
https://www.youtube.com/@fivexl/streams
https://www.meetup.com/aws-las-palmas-user-group

Weitere ähnliche Inhalte

Ähnlich wie 2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf

Aw some day_essentials3.2ish_072214
Aw some day_essentials3.2ish_072214Aw some day_essentials3.2ish_072214
Aw some day_essentials3.2ish_072214
Amazon Web Services
 
Amazon
AmazonAmazon
Amazon
iamzkz
 

Ähnlich wie 2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf (20)

Build a Server-less Event-driven Backend with AWS Lambda and Amazon API Gateway
Build a Server-less Event-driven Backend with AWS Lambda and Amazon API GatewayBuild a Server-less Event-driven Backend with AWS Lambda and Amazon API Gateway
Build a Server-less Event-driven Backend with AWS Lambda and Amazon API Gateway
 
Amazon ECS Deep Dive
Amazon ECS Deep DiveAmazon ECS Deep Dive
Amazon ECS Deep Dive
 
Amazon Amazon Elastic Container Service (Amazon ECS)
Amazon Amazon Elastic Container Service (Amazon ECS)Amazon Amazon Elastic Container Service (Amazon ECS)
Amazon Amazon Elastic Container Service (Amazon ECS)
 
SID344-Soup to Nuts Identity Federation for AWS
SID344-Soup to Nuts Identity Federation for AWSSID344-Soup to Nuts Identity Federation for AWS
SID344-Soup to Nuts Identity Federation for AWS
 
Automate static website deployment from Github to S3 using AWS CodePipeline.pdf
Automate static website deployment from Github to S3 using AWS CodePipeline.pdfAutomate static website deployment from Github to S3 using AWS CodePipeline.pdf
Automate static website deployment from Github to S3 using AWS CodePipeline.pdf
 
Threat Hunting on AWS using Azure Sentinel
Threat Hunting on AWS using Azure SentinelThreat Hunting on AWS using Azure Sentinel
Threat Hunting on AWS using Azure Sentinel
 
Aw some day_essentials3.2ish_072214
Aw some day_essentials3.2ish_072214Aw some day_essentials3.2ish_072214
Aw some day_essentials3.2ish_072214
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Containers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdfContainers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdf
 
2023-11-23-AWS-UG-Las-Palmas-Increase-your-security-posture-with-temporary-el...
2023-11-23-AWS-UG-Las-Palmas-Increase-your-security-posture-with-temporary-el...2023-11-23-AWS-UG-Las-Palmas-Increase-your-security-posture-with-temporary-el...
2023-11-23-AWS-UG-Las-Palmas-Increase-your-security-posture-with-temporary-el...
 
Amazon
AmazonAmazon
Amazon
 
Building Highly Scalable Web Applications
Building Highly Scalable Web ApplicationsBuilding Highly Scalable Web Applications
Building Highly Scalable Web Applications
 
Deep Dive on Amazon Elastic Container Service (ECS) I AWS Dev Day 2018
Deep Dive on Amazon Elastic Container Service (ECS) I AWS Dev Day 2018Deep Dive on Amazon Elastic Container Service (ECS) I AWS Dev Day 2018
Deep Dive on Amazon Elastic Container Service (ECS) I AWS Dev Day 2018
 
Introduction to Amazon EKS
Introduction to Amazon EKSIntroduction to Amazon EKS
Introduction to Amazon EKS
 
Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)
 
AWS CloudFront | Creating Amazon CloudFront Distribution | AWS Training | Edu...
AWS CloudFront | Creating Amazon CloudFront Distribution | AWS Training | Edu...AWS CloudFront | Creating Amazon CloudFront Distribution | AWS Training | Edu...
AWS CloudFront | Creating Amazon CloudFront Distribution | AWS Training | Edu...
 
Stacking Your Logs - Pop-up Loft TLV 2017
Stacking Your Logs - Pop-up Loft TLV 2017Stacking Your Logs - Pop-up Loft TLV 2017
Stacking Your Logs - Pop-up Loft TLV 2017
 
Recap of AWS re:invent 2015
Recap of AWS re:invent 2015Recap of AWS re:invent 2015
Recap of AWS re:invent 2015
 
使用 Amazon EKS 打造高效的服務架構設計
使用 Amazon EKS 打造高效的服務架構設計使用 Amazon EKS 打造高效的服務架構設計
使用 Amazon EKS 打造高效的服務架構設計
 
AWS Black Belt Tips for IT Operations
AWS Black Belt Tips for IT OperationsAWS Black Belt Tips for IT Operations
AWS Black Belt Tips for IT Operations
 

Mehr von Andrey Devyatkin

2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
Andrey Devyatkin
 

Mehr von Andrey Devyatkin (13)

2023-05-24 - Three problems of Terraform DevOps Pro EU.pdf
2023-05-24 - Three problems of Terraform DevOps Pro EU.pdf2023-05-24 - Three problems of Terraform DevOps Pro EU.pdf
2023-05-24 - Three problems of Terraform DevOps Pro EU.pdf
 
HashiConf Digital 2020: HashiCorp Vault configuration as code via HashiCorp T...
HashiConf Digital 2020: HashiCorp Vault configuration as code via HashiCorp T...HashiConf Digital 2020: HashiCorp Vault configuration as code via HashiCorp T...
HashiConf Digital 2020: HashiCorp Vault configuration as code via HashiCorp T...
 
2020-02-20 - HashiCorpUserGroup Madring - Integrating HashiCorp Vault and Kub...
2020-02-20 - HashiCorpUserGroup Madring - Integrating HashiCorp Vault and Kub...2020-02-20 - HashiCorpUserGroup Madring - Integrating HashiCorp Vault and Kub...
2020-02-20 - HashiCorpUserGroup Madring - Integrating HashiCorp Vault and Kub...
 
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
 
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...
 
2019 03-21 - cloud native computing las palmas meetup #1
2019 03-21 - cloud native computing las palmas meetup #12019 03-21 - cloud native computing las palmas meetup #1
2019 03-21 - cloud native computing las palmas meetup #1
 
Cloud Native Computing Las Palmas. Meetup #0
Cloud Native Computing Las Palmas. Meetup #0Cloud Native Computing Las Palmas. Meetup #0
Cloud Native Computing Las Palmas. Meetup #0
 
The state of Jenkins pipelines or do I still need freestyle jobs
The state of Jenkins pipelines or do I still need freestyle jobsThe state of Jenkins pipelines or do I still need freestyle jobs
The state of Jenkins pipelines or do I still need freestyle jobs
 
Running jenkins in a public cloud - common issues and some solutions
Running jenkins in a public cloud - common issues and some solutionsRunning jenkins in a public cloud - common issues and some solutions
Running jenkins in a public cloud - common issues and some solutions
 
Stockholm JAM September 2018
Stockholm JAM September 2018Stockholm JAM September 2018
Stockholm JAM September 2018
 
Getting Git Right @ Git Merge 2018
Getting Git Right @ Git Merge 2018Getting Git Right @ Git Merge 2018
Getting Git Right @ Git Merge 2018
 
Stockholm Jenkins Area Meetup, March 2017
Stockholm Jenkins Area Meetup, March 2017Stockholm Jenkins Area Meetup, March 2017
Stockholm Jenkins Area Meetup, March 2017
 
Synchronizing parallel delivery flows in jenkins using groovy, build flow and...
Synchronizing parallel delivery flows in jenkins using groovy, build flow and...Synchronizing parallel delivery flows in jenkins using groovy, build flow and...
Synchronizing parallel delivery flows in jenkins using groovy, build flow and...
 

Kürzlich hochgeladen

Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Lisi Hocke
 

Kürzlich hochgeladen (20)

Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
 
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in Uganda
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
 
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfAzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
 

2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf