Coder Social home page Coder Social logo

netflix-skunkworks / diffy Goto Github PK

View Code? Open in Web Editor NEW
635.0 635.0 60.0 1.13 MB

:no_entry: (DEPRECATED) Diffy is a triage tool used during cloud-centric security incidents, to help digital forensics and incident response (DFIR) teams quickly identify suspicious hosts on which to focus their response.

License: Apache License 2.0

Python 100.00%
dfir forensics security

diffy's People

Contributors

dependabot[bot] avatar forestmonster avatar kevgliss avatar maxbachmann avatar pyup-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

diffy's Issues

Support local baseline capture

Allow users to capture a local baseline of their system, store it, and then compare system state to that baseline at a later date. Useful for demo and test purposes. One example would be to baseline a VM, infect it in someway, and then run analysis to confirm detection of the infection.

Update Jinaj2 due to security issue.

Jinja < 2.10.1 has a security vulnerability. We pull this in via flask, we should roll our web-requirements.in and pickup a newer version for the library with the vulnerability fixed.

getting error while executing $ pip install -r dev-requirements.txt

The Error is

`compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/home/harry/diffy/env/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-xihzs_85/python-levenshtein/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-0losak7n/install-record.txt --single-version-externally-managed --compile --install-headers /home/harry/diffy/env/include/site/python3.6/python-levenshtein" failed with error code 1 in /tmp/pip-install-xihzs_85/python-levenshtein/`

Add background processing to diffy API.

Today diffy attempts to send all commands within the request window. For larger clusters completion time may exceed a reasonable request limit.

The api should background analysis requests such that it does not block additional web requests. It should return a worker ID that can be queried for status.

Issue warning for smaller host counts.

If no baseline is available, diffy will attempt to cluster the hosts. Diffy should issue a warning that the results of this cluster may not be meaningful when the number of hosts is low, e.g. <30.

Create baseline based on tags?

It looks like diffy only supports creating baselines based on auto-scaling groups.

Unfortunately, I'm not using auto-scaling groups, and it's not an option for me to do so... but I do have tags.

Would it be possible/desirable to allow diffy to work based on tags in addition to ASGs?

I'm writing some PoC code to experiment with this but would love your feedback.

Thanks!

Allow the comparison of multiple commands.

We allow multiple commands to be specified by:
https://github.com/Netflix-Skunkworks/diffy/blob/master/diffy/config.py#L199

and
https://github.com/Netflix-Skunkworks/diffy/blob/master/diffy/config.py#L194

These are then issued in series on the host. However when multiple commands are passed the output is not properly collected in a valid json format. Moreover we have no way to separate out multiple outputs.

We should allow for multiple collection commands is a format like:

{
    "<command1>": {"some": "output"},
    "<command2>": {"some": "output"}
}

This will likely mean that instead of having the commands executed directly we will need some script to execute and collect the output of multiple commands in the above format.

Video for OSDFCon talk

I really would like to understand how Diffy works, and noticed that you gave a talk at OSDFCon. I've checked out the slides, just wanted to know if a video will be released.

Thanks

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.