Need help with smogcloud?
Click the β€œchat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

246 Stars 33 Forks 11 Commits 2 Opened issues


Find cloud assets that no one wants exposed πŸ”Ž ☁️

Services available


Need anything else?

Contributors list

No Data

☁️ Smogcloud

Find exposed AWS cloud assets that you did not know you had. A comprehensive asset inventory is step one to any capable security program. We made smogcloud to enable security engineers, penetration testers, and AWS administrators to monitor the collective changes that create dynamic and ephemeral internet-facing assets on a more frequent basis. May be useful to identify:

  • Internet-facing FQDNs and IPs across one or hundreds of AWS accounts
  • Misconfigurations or vulnerabilities
  • Assets that are no longer in use
  • Services not currently monitored
  • Shadow IT

πŸ›  Getting Started

  1. Install and setup golang
  2. Install smogcloud using the following command

        go get -u
  3. Set up aws environment variable for the account you wish to query. We suggest utilizing a read-only Security Auditor role. The following commands can be used to set environment variables:

    export AWS_ACCOUNT_ID=''            # Describe account
    export AWS_ACCESS_KEY_ID=''         # Access key for aws account
    export AWS_SECRET_ACCESS_KEY=''     # Secret key for aws account
  4. Run the application



    go run main.go

πŸ•΅οΈ Current Services

Supported services for extracting internet exposures:

* API Gateway
* CloudFront
* EC2
* Elastic Kubernetes Service
* Elastic Beanstalk
* Elastic Search
* Elastic Load Balancing 
* IoT
* Lightsail
* MediaStore
* Relational Database Service
* Redshift
* Route53
* S3

πŸ”Ž AWS Patterns

From studying Open API documentation on RESTful AWS endpoints we determined these are the patterns of exposure URIs that you may find in AWS accounts. It is important to understand how to interact with these native services to test them for vulnerabilities and other misconfigurations. Security engineers may want to monitor Cloudtrail logs or build DNS monitoring for requests to these services.

  • s3
    • https://{user_provided}
  • cloudfront
    • https://{random_id}
  • ec2
    • ec2-{ip-seperated}
  • es
    • https://{userprovided}-{randomid}.{region}
  • elb
    • http://{userprovided}-{randomid}.{region}
    • https://{userprovided}-{randomid}.{region}
  • elbv2
    • https://{userprovided}-{randomid}.{region}
  • rds
    • mysql://{userprovided}.{randomid}.{region}
    • postgres://{userprovided}.{randomid}.{region}
  • route53
    • {user_provided}
  • execute-api
    • https://{randomid}.execute-api.{region}{userprovided}
  • cloudsearch
    • https://doc-{userprovided}-{randomid}.{region}
  • transfer
    • sftp://s-{random_id}.server.transfer.{region}
  • iot
    • mqtt://{random_id}.iot.{region}
    • https://{random_id}.iot.{region}
    • https://{random_id}.iot.{region}
  • mq
    • https://b-{random_id}-{1,2}.mq.{region}
    • ssl://b-{random_id}-{1,2}.mq.{region}
  • kafka
    • b-{1,2,3,4}.{userprovided}.{randomid}.c{1,2}.kafka.{region}
    • {userprovided}.{randomid}.c{1,2}.kafka.{region}
  • cloud9
    • https://{random_id}.vfs.cloud9.{region}
  • mediastore
    • https://{random_id}.data.mediastore.{region}
  • kinesisvideo
    • https://{random_id}.kinesisvideo.{region}
  • mediaconvert
    • https://{random_id}.mediaconvert.{region}
  • mediapackage
    • https://{randomid}.mediapackage.{region}{randomid}/channel
  • elasticbeanstalk
    • https://{randomid}.{userprovided}
  • cognito
    • https://{user_provided}.auth.{region}

πŸ“Œ References

πŸ‘¨β€πŸ’» Authors

✨ Contributions

We do our best to maintain our tools, but can't always keep them as up to date as we'd like. So, we always appreciate code contributions, feature requests, and bug reports.

πŸ“£ Acknowledgments

Thank you for inspiration * Cloudmapper * AWS Public IPs * John Backes & Tiros * IAM Access Analyzer * Cartography

πŸ“„ License

Smogcloud is licensed under GPLv3, some subcomponents have seperate licenses.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.