Skip to content

TepidJesus/CloudCrack

Repository files navigation

CloudCrack

LinkedIn Stars Downloads

      _______  ___      _______  __   __  ______   _______  ______    _______  _______  ___   _ 
     |       ||   |    |       ||  | |  ||      | |       ||    _ |  |   _   ||       ||   | | |
     |       ||   |    |   _   ||  | |  ||  _    ||       ||   | ||  |  |_|  ||       ||   |_| |
     |       ||   |    |  | |  ||  |_|  || | |   ||       ||   |_||_ |       ||       ||      _|
     |      _||   |___ |  |_|  ||       || |_|   ||      _||    __  ||       ||      _||     |_ 
     |     |_ |       ||       ||       ||       ||     |_ |   |  | ||   _   ||     |_ |    _  |
     |_______||_______||_______||_______||______| |_______||___|  |_||__| |__||_______||___| |_| v1.2

Features

CloudCrack is a powerful CLI program that leverages AWS EC2 services to de-hash passwords at an effectively infinite scale, right from the command line. Key features include:

  • Scalable Password De-hashing: Utilize the power of AWS EC2 services to perform password de-hashing on a massive scale, enabling quick retrieval of acquired from engagements.
  • Cost-Effective: CloudCrack allows you to utilize AWS EC2 services without any upfront costs. However, please note that you are responsible for all AWS usage fees incurred. CloudCrack features and auto-shutdown system to close idle EC2 instances to minimize costs.
  • Zero Overhead: The AWS infrastructure that supports CloudCrack runs entirely within the AWS Free-Tier. The only costs you pay for are directly related to the de-hashing of passwords.
  • AWS Account Requirement: CloudCrack runs entirely within your own AWS account. Please ensure that you have an AWS account already setup.
  • Easy Setup: CloudCrack provides step-by-step instructions to guide you through the setup process, including creating an AWS IAM user and applying for higher vCPU limits.
  • User Friendly Design: CloudCrack has been built from the ground up to make large-scale password recovery easy and intuitive. Errors are handled gracefully and verbosely and in many cases handled before affecting you.

Setup

Follow the steps below to set up and run CloudCrack:

  1. Download the latest release:

    • Download the latest release (the .zip file) from the 'Releases' tab.
    • Extract the file contents
    • Open Terminal / CMD in the extracted folder
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Apply For P-Instance Quota increase using AWS Service Quota menu:
    As CloudCrack runs entirely on your AWS account you need to apply for an increase in your P-Instance vCPU allowance. If you've never applied for an increase before a good place to start is 8 vCPU's, as this will likely be accepted. If you are a frequent AWS user and routinely have a high active vCPU count you can apply for much greater limits. CloudCrack will work with any limit greater than 4 vCPU's. Apply Here

  4. Navigate to the IAM page of AWS and create a new IAM user with the following permissions:
    Navigation: IAM > Users > Create User > Attach Policies Directly

    • EC2FullAccess
    • S3FullAccess
    • SQSFullAccess
    • IAMFullAccess
    • ServiceQuotesReadOnlyAccess
  5. Fetch the Access Key and Secret Key for the IAM User you just created:
    Navigation: IAM > Users > Your_User > Security Credentials > Create Access Key > Other > Create Key
    Keep this window open, you will need these credentials when you start CloudCrack

  6. Navigate to your install location and launch CloudCrack and enter your AWS IAM user credentials when prompted:

    python3 cloudcrack.py

Usage

  • CloudCrack currently supports HashCats' Mask and Dictionary attack modes.
    • To Perform A Mask Attack: (Full Release)

      1. Enter 'Create' Mode
      2. Set Options And Run
        • set mode mask
        • set mask <mask_string> (Syntax Found Here)
        • set type <hash_type_code> (Codes Found Here)
        • set hash <hash_string> or set hashes <hash_file_location>
        • set output <output_file_name.txt> (Optional, will output to CLI if not specified)
        • run

      Example Mask Job

    • To Perform Dictionary Attack: (Full Release)

      1. Enter 'Create' Mode
      2. Set Options And Run
        • set mode dictionary
        • set dictionary <dictionary_file_location>
        • set type <hash_type_code> (Codes Found Here)
        • set hash <hash_string> or set hashes <hash_file_location>
        • set output <output_file_name.txt> (Optional, will output to CLI if not specified)
        • run

      Example Dictionary Job

Commands:

  • Help - Show help menu for current page
  • Exit - Leave a page or quit (if on homescreen)
  • Create - Enter create mode
  • Show all - Show all hash jobs and their status for this session
  • Show <job_num> - Show the status of a specific hash job
  • Cancel <job_num> - Cancel a job

Known Issues (PLEASE READ!)

  • After an EC2 instance shuts down there is current a ~2 minute period before AWS releases the assocaited vCPU's back to your account. This means if you have a low limit you may have two wait ~2 minutes between submitting jobs if you let the instance sit idle for 60 seconds without submitting another hash job as this triggers the cost-saving auto shutdown. FIX IN PROGRESS
  • It is currently not possible to cancel a job that is not being completed. E.g if status of the Job is 'QUEUED' it cannot be canceled. The current work around is to wait until the job is 'RUNNING' before canceling or exit CloudCrack as this will delete the queues. This is an AWS SQS FIFO Queue limitation that I'm working on.

Future Development

The future development of CloudCrack will focus on the following areas:

  • Better Hashcat Integration: Expanding support for HashCat features such as more advanced mask options and more attack modes and adding some of the more niche Hashcat features (e.g the Brain server function).
  • Live Progress Updates: Adding support for auto-refresh of job progress and other QoL UI improvements.
  • Improved User Experience: Incorporating user feedback to enhance the usability, performance, and efficiency of CloudCrack. This will also include more verbose error handling and recovery methods.

We welcome contributions and suggestions from the community to make CloudCrack even better.

About the Author

CloudCrack is developed and maintained by Thomas Holdom, a passionate Computer Science and Commerce student at the University of Auckland with experience in penetration testing, cloud security and software development.

Legal Disclaimer

CloudCrack is an educational tool intended to be used for legitimate purposes only. The developers of CloudCrack are not responsible for any illegal or unauthorized use of this software.

About

[RELEASED] A CLI tool for large-scale password recovery operations using AWS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages