Coder Social home page Coder Social logo

6un9-h0-dan / cuckoo-aws Goto Github PK

View Code? Open in Web Editor NEW

This project forked from checkpointsw/cuckoo-aws

0.0 0.0 0.0 15 MB

Extension to Cuckoo Sandbox open source projects, adds support to AWS cloud functionalities and enables running emulation on auto-scaling infrastructure

License: Other

Python 31.34% Shell 0.53% DTrace 0.13% YARA 0.08% JavaScript 47.87% CSS 11.45% HTML 4.15% Mako 0.02% Makefile 0.01% C 0.15% SCSS 4.09% Handlebars 0.19%

cuckoo-aws's Introduction

Cuckoo SandBox on AWS

By Oran Kabarity @ Check Point Software Technologies

Overview

The project is an extension to Cuckoo Sandbox open source project; it adds support to AWS cloud functionalities and enables running emulations on auto-scaling infrastructure.

This blog post explains in detail the theory and functionality of Cuckoo Sandbox over AWS cloud.
https://research.checkpoint.com/cuckoo-system-on-aws/

Installation instructions - Nest Setup

• We added cloudformation stack: cuckoo-aws-cloudformation.yaml, All you need to do is running it and you will receive an EC2 instance with all the requirements installed in it

• Run cuckoo with debug output

cuckoo –d

• The first run should build the configuration files and save them in some location. The location is shown in the output of the run (should contain “.cuckoo” library). It is strongly advised to remember that location for the following steps and for future usages

• Edit ".cuckoo/conf/cuckoo.conf"

machinery = aws
[resultserver] ip = <the private IP of this machine>

• Edit ".cuckoo/conf/aws.conf" according to the instructions in the file

• Run

cuckoo 

Image and snapshot setup

• Cuckoo are recommending to run guest VMs on 64-bit Windows 7. You can import your regular VM to AMI using this manual. https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html

• Launch a new Windows 7 instance to setup the guest

• Install Python and Pillow library https://cuckoo.sh/docs/installation/guest/requirements.html

• Disable Windows Firewall and the Automatic Updates https://cuckoo.sh/docs/installation/guest/network.html

• Install Cuckoo agent https://cuckoo.sh/docs/installation/guest/agent.html

• For malware network analysis, each guest should have the Nest as their default route

• Save this instace as a new image(AMI). This action will also create a new snapshot(snapshot-id can be found under the AMI details)

Changes from official Cuckoo repository

In order to make it compatible with AWS we made the following changes.

• Added a new machinery (at cuckoo/machinery/aws.py)

• Added a new config template (at cuckoo/private/cwd/conf/aws.conf)

• Modified the config object (at cuckoo/common/config.py) in a way that will support the new configuration file.

cuckoo-aws's People

Contributors

chkp-mostafaw avatar chkp-orank avatar dependabot[bot] 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.