SlideShare a Scribd company logo
1 of 52
Download to read offline
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

More Related Content

Similar to 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
 

Similar to 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
 
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
 
Being cloudy with perl
Being cloudy with perlBeing cloudy with perl
Being cloudy with perl
 

More from 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
 

More from Andrey Devyatkin (14)

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
 
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...
 

Recently uploaded

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Recently uploaded (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 

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