From 225350ce1469cbf36bbb046b02b338502903a255 Mon Sep 17 00:00:00 2001 From: Mehdi Date: Sat, 10 Feb 2024 10:42:38 +0330 Subject: [PATCH] Create Cloud - Info Gathering.md --- Cloud - Info Gathering.md | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Cloud - Info Gathering.md diff --git a/Cloud - Info Gathering.md b/Cloud - Info Gathering.md new file mode 100644 index 0000000..b1de310 --- /dev/null +++ b/Cloud - Info Gathering.md @@ -0,0 +1,56 @@ +# Cloud Info Gathering + +```bash +# Azure IP Ranges +https://azurerange.azurewebsites.net/ + +# AWS IP Range +https://ip-ranges.amazonaws.com/ip-ranges.json +- Get creation date +jq .createDate < ip-ranges.json +- Get info for specific region +jq '.prefixes[] | select(.region=="us-east-1")' < ip-ranges.json +- Get all IPs +jq -r '.prefixes | .[].ip_prefix' < ip-ranges.json + +# Online services +https://viewdns.info/ +https://securitytrails.com/ +https://www.shodan.io/search?query=net%3A%2234.227.211.0%2F24%22 +https://censys.io/ipv4?q=s3 + +#Azure AD Recon +https://github.com/dievus/Oh365UserFinder + +#AWS Recon +https://github.com/righteousgambit/quiet-riot + +# Google Dorks +site:*.amazonaws.com -www "compute" +site:*.amazonaws.com -www "compute" "ap-south-1" +site:pastebin.com "rds.amazonaws.com" "u " pass OR password +https://storage.googleapis.com/COMPANY + +# Check certificate transparency logs +https://crt.sh +%.netfilx.com + +# Find Cloud Services +python3 cloud_enum.py -k keywork +python3 CloudScraper.py -u https://example.com + +# AWS Buckets +# Dork +site:*.s3.amazonaws.com ext:xls | ext:xlsx | ext:csv password|passwd|pass user|username|uid|email + +# AWS discovering, stealing keys and endpoints +# Nimbostratus - check against acutal profile +https://github.com/andresriancho/nimbostratus +python nimbostratus dump-credentials + +# ScoutSuite - audit AWS, GCP and Azure clouds +scout --provider aws --profile stolen + +# Prowler - AWS security assessment, auditing and hardening +https://github.com/toniblyx/prowler +```