GithubHelp home page GithubHelp logo

aboutsecurity / opencna Goto Github PK

View Code? Open in Web Editor NEW

This project forked from foundstone/opencna

1.0 2.0 0.0 1.63 MB

OpenCNA (Collection & Normalization & Analysis)

License: Other

Python 98.61% Shell 1.39%

opencna's Introduction

OpenCNA

OpenCNA (Collection, Normalization and Analysis) tool, to collect data from endpoints (actually, we use rastrea2r to do that), normalize (parse) that data and analyze it.

Requirements

In order to make it easy to deploy, we rely on docker:

Deployment

Currently, the docker images are NOT in the docker hub. You have to deploy them first:

sh build.sh

That will create the opencna command line tool and a set of docker images. You can see them, by running:

docker images

Running

Currently, there are two commands for opencna:

  • normalize: parses the data in the snapshots and create csv files as output. Example:

    opencna normalize -i data/collector/ -o data/normalizer/

    The snapshots in data/collector/ will be parsed and the result stored in data/normalizer/. The folders in -i and -o will be loaded as volumes in docker. Make sure these folders can be volumes.

  • analyze: in this case, the functions work with piping. They read from stdin and write to stdout. Examples:

    • web-history:
      cat data/normalizer/webhistory-WIN81/20171126083616/20171126083616-WIN81-webhist-demouser1.csv | opencna analyze web-history -c URL -o naked_IP
    • random-process-name:
      cat data/normalizer/triage-WIN81/20171126084231-WIN81-process-list.csv | opencna analyze random-process-name -c Name -o is_random_name
    • process-uncommon-nsrl:
      cat data/normalizer/triage-WIN81/20171126084231-WIN81-process-list.csv | opencna analyze process-uncommon-nsrl -c Name -o is_uncommon

    In general, for analyzers, the following arguments must be passed:

    • -c: csv column name(s) to process
    • -o: csv column name(s) generated

opencna's People

Contributors

aboutsecurity avatar

Stargazers

 avatar

Watchers

 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.