Distributed & real time digital forensics at the speed of the cloud
Перейти к файлу
Julien Vehent 6290e47229 [minor/bug] fix errors generation in agent command parser 2014-11-24 13:25:32 -05:00
conf [minor] move list of available modules into global mig conf 2014-11-24 12:50:50 -05:00
doc [doc] add integration test at end of standalone install script 2014-11-17 23:52:15 -05:00
examples [minor] update python example client to token v1 2014-11-15 18:00:40 -05:00
src/mig [minor/bug] fix errors generation in agent command parser 2014-11-24 13:25:32 -05:00
.gitignore [doc] commit html doc 2014-09-14 13:19:52 -04:00
AUTHORS [doc] add missing AUTHORS file 2014-02-03 10:44:32 -05:00
LICENSE [medium] Makefile support 2014-02-03 10:42:36 -05:00
Makefile [minor] move list of available modules into global mig conf 2014-11-24 12:50:50 -05:00
README.md [doc] added warning to readme 2014-11-02 21:52:22 -05:00
inotify_make.sh [doc] inotify update to compile client 2014-11-06 23:14:14 -05:00

README.md

MIG: Mozilla InvestiGator

Note: MIG is under heavy development. The code is unstable, and non-backward compatible changes are still in progress. Be warned.

MIG is OpSec's platform for investigative surgery of remote endpoints.

MIG is composed of agents installed on all systems of an infrastructure. The agents can be queried in real-time using a messenging protocol implemented in the MIG Scheduler. MIG has an API, a database, RabbitMQ relays and a console client. It allows investigators to send actions to pools of agents, and check for indicator of compromision, verify the state of a configuration, block an account, create a firewall rule, update a blacklist and so on.

MIG logo

For example: an investigator launches an action to search for an apache module that matches a given md5 value. MIG will register the action, find all the relevant targets and send commands to each target agent with the detail of the action. Each agent then individually runs the action using built-in modules, and sends the results back to the MIG platform.

Agents are designed to be lightweight, secure, and easy to deploy. All parameters are built into the agent at compile time, include the list of investigator's public keys. The agent binary is statically compiled for a target platform and can be shipped without any external dependency. Deploying an agent is as easy as wget -O /sbin/mig-agent https://fileserver/mig-agent && /sbin/mig-agent

MIG is designed to be fast, and asynchronous. It uses AMQP to distribute actions to endpoints, and relies on Go channels to prevent components from blocking. Running actions and commands are stored on disk cache, and don't rely on running processes for reliability.

Speed is a strong requirement. Most actions will only take a few hundreds milliseconds to run. Larger ones, for example when looking for a hash in a large directory, should run in less than a minute or two.

Privacy and security are paramount. Agents never send raw data back to the platform, but only reply to questions instead. All actions are signed by GPG keys that are not stored in the platform, thus preventing a compromision from taking over the entire infrastructure.

Discussion

Join #mig on irc.mozilla.org

Video presentation

Check out this 10 minutes video for a more general presentation and a demo of the console interface.

MIG youtube video

Goals

  • Query a pool of endpoints to verify the presence of a specific indicators (similar to IOC, but we use a different format)
  • Provide response mechanisms to lock down compromised endpoints
  • Periodically verify endpoint's compliance with the security requirements

Features

  • Provide strong authentication of investigators
    • Actions must have a valid GPG signature, each investigator has a different key, for tracking.
  • Provide a way to inspect remote systems for indicators of compromise (IOC). At the moment, this is limited to :
    • file by name
    • file content by regex
    • file hashes: md5, sha1, sha256, sha384, sha512, sha3_224,sha3_256, sha3_384, sha3_512
    • connected IPs
  • Protect data security, investigate without intruding:
    • Raw data must not be readily available to investigators

In the work:

  • More agent modules
    • low level devices (memory, file system blocks, network cards)
    • firewall rules (read & write)
    • network sniffer
    • accounts creation & destruction
    • lots more ...
  • Provide response mechanisms, including:
    • dynamic firewall rules additions & removal
    • system password changes
    • process execution (execve) & destruction (kill)
  • Input/Output IOCs, Yara, ... through the API
  • Output results in standard format for alerting
  • Investigation console

MIG Console demo

Documentation

All documentation is available in the 'doc' directory.

Bug & Issue tracker

We use Bugzilla to track the work on MIG.