GithubHelp home page GithubHelp logo

vectra-ai-research / zerotoimpact Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 0.0 9.13 MB

A web-based educational platform that simulates cyberattacks in cloud environments, offering insights into attack strategies and defenses. It features a user-friendly interface for one-click attack initiation, enabling comprehensive exploration, simulation, and analysis of cyber threats

License: GNU General Public License v3.0

Python 60.38% TypeScript 37.78% CSS 1.62% JavaScript 0.22%

zerotoimpact's Introduction

ZeroToImpact

The ZeroToImpact Project: Simulate, understand, and mitigate cybersecurity threats from inception to impact.

zti

An interactive, web-based educational platform meticulously crafted to emulate cyberattacks across cloud environments, providing a comprehensive understanding of attack methodologies and defense strategies. Featuring a seamless one-click attack initiation, our dedicated application delivers a user-friendly, hands-on learning experience tailored to attack emulation, empowering users to explore, simulate, and analyze cyber threats from inception to resolution.

Setup Instructions

1. Install Node.js, Python, and AWS CLI: If not already installed, download and install Node.js, Python, AWS CLI

2. Navigate to the application directory:

cd .\zerotoimpact\

3. Create a Python Virtual Environment:

python3 -m venv .venv

4. Activate the Virtual Environment:

Windows

.venv/Scripts/activate

Linux

source .venv/bin/activate

5. Install Dependencies:

npm install

6. Set Enviroment Variable:

AWS Profile Permissions The AWS profile requires AdministratorAccess permission to deploy the vulnerable infrastructure. However, the profile will not be used to execute the attacks

Windows

$env:AWS_DEFAULT_PROFILE="your_aws_profile_to_use"

Linux

export AWS_DEFAULT_PROFILE="your_aws_profile_to_use"

7. Run the Development Server:

npm run dev

8. Access the Application: Open http://localhost:3000 in your browser to access the application.

Note: The Flask server will be running on http://127.0.0.1:5328 โ€“ feel free to change the port in package.json' (you'll also need to update it in 'next.config.js').

Usage

  • Explore Attack Scenarios: Use the interactive interface to explore different attack scenarios categorized by MITRE ATT&CK tactics.

  • Analyze Attack Paths: Analyze the progression of attacks from initial compromise to lateral movement and exfiltration.

  • Mitigate Attacks: Implement mitigation strategies based on the insights gained from analyzing attack paths.

Troubleshooting

If an error occurs, the application's Activity Log section will notify you and may suggest destroying resources created during the attack. It's crucial to remove these resources to avoid unnecessary charges and because you must destroy the resources before rerunning the attack with the same username.

Important: Before destroying resources, navigate to the application directory and retrieve the logs from the current application run. Destroying resources through the application also wipes out these logs.

Logs can be found in the api/{attack_emulation}/instances directory as a JSON file.

For example, logs generated during the 'IAM Policy Rollback to S3 Ransomware via KMS key' attack emulation are located in the api/policy_ransom_exploit/instances directory.

Acknowledgments

Maintainer: @alexgroyz

Contact

If you found this tool useful, want to share an interesting use-case, bring issues to attention, whatever the reason - share them. You can email at: [email protected].

zerotoimpact's People

Contributors

agroyz avatar

Stargazers

Basit Mustafa avatar

Watchers

Syed Ashrafulla avatar Colin Jermain avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.