All Projects → uber-common → Metta

uber-common / Metta

Licence: mit
An information security preparedness tool to do adversarial simulation.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Metta

Pynms
A vendor-agnostic NMS for carrier-grade network simulation and automation
Stars: ✭ 73 (-91.58%)
Mutual labels:  yaml, network, networking
Vagrant Projects
Vagrant projects for Oracle products and other examples
Stars: ✭ 642 (-25.95%)
Mutual labels:  vagrant, virtualbox
Redbeat
RedBeat is a Celery Beat Scheduler that stores the scheduled tasks and runtime metadata in Redis.
Stars: ✭ 639 (-26.3%)
Mutual labels:  redis, celery
Java Knowledge Mind Map
【🌱🌱Java服务端知识技能图谱】用思维脑图梳理汇总Java服务端知识技能
Stars: ✭ 787 (-9.23%)
Mutual labels:  redis, network
Fast Android Networking
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Stars: ✭ 5,346 (+516.61%)
Mutual labels:  network, networking
Pentest Env
Pentest environment deployer (kali linux + targets) using vagrant and chef.
Stars: ✭ 610 (-29.64%)
Mutual labels:  vagrant, virtualbox
Shadow
Shadow is a unique discrete-event network simulator that runs real applications like Tor, and distributed systems of thousands of nodes on a single machine. Shadow combines the accuracy of emulation with the efficiency and control of simulation, achieving the best of both approaches.
Stars: ✭ 769 (-11.3%)
Mutual labels:  networking, simulation
Gns3 Server
GNS3 server
Stars: ✭ 477 (-44.98%)
Mutual labels:  network, networking
Nexer
Content based network multiplexer or redirector made with love and Go
Stars: ✭ 7 (-99.19%)
Mutual labels:  network, networking
P2p
Practice project to demonstrate p2p file sharing.
Stars: ✭ 16 (-98.15%)
Mutual labels:  network, networking
Vagrant Docker
A lightweight Docker based development environment
Stars: ✭ 17 (-98.04%)
Mutual labels:  vagrant, virtualbox
Macinbox
Puts macOS in a Vagrant box
Stars: ✭ 599 (-30.91%)
Mutual labels:  vagrant, virtualbox
Flower
Real-time monitor and web admin for Celery distributed task queue
Stars: ✭ 5,036 (+480.85%)
Mutual labels:  redis, celery
Grassmarlin
Provides situational awareness of Industrial Control Systems (ICS) and Supervisory Control and Data Acquisition (SCADA) networks in support of network security assessments. #nsacyber
Stars: ✭ 621 (-28.37%)
Mutual labels:  network, networking
Packer Boxes
Jeff Geerling's Packer build configurations for Vagrant boxes.
Stars: ✭ 495 (-42.91%)
Mutual labels:  vagrant, virtualbox
Node Celery
Celery client for Node.js
Stars: ✭ 648 (-25.26%)
Mutual labels:  redis, celery
Deep Learning Vm
Sets up a VM with Keras, TensorFlow, TFLearn and Theano installed
Stars: ✭ 23 (-97.35%)
Mutual labels:  vagrant, virtualbox
Packer Templates
Packer templates for Vagrant base boxes
Stars: ✭ 471 (-45.67%)
Mutual labels:  vagrant, virtualbox
Gofamily
🔥 大厂 BAT 面试高频知识点,后端技术体系。包含了 C GO Python, 网络,Redis ,MySQL ,消息队列 ,高并发,微服务,缓存,操作系统,算法,LeetCode 刷题等知识
Stars: ✭ 474 (-45.33%)
Mutual labels:  redis, network
Bmon
bandwidth monitor and rate estimator
Stars: ✭ 787 (-9.23%)
Mutual labels:  network, networking

Metta

Metta is an information security preparedness tool.

This project uses Redis/Celery, python, and vagrant with virtualbox to do adversarial simulation. This allows you to test (mostly) your host based instrumentation but may also allow you to test any network based detection and controls depending on how you set up your vagrants.

The project parses yaml files with actions and uses celery to queue these actions up and run them one at a time without interaction.


Installation

see setup.md

There is also a wiki

Running actions

The various actions live in the MITRE folder sorted by MITRE ATT&CK phases and also in Adversarial_Simulation

Just run the python and yaml file of your choice

$ python run_simulation_yaml.py -f MITRE/Discovery/discovery_win_account.yml
YAML FILE: MITRE/Discovery/discovery_account.yaml
OS matched windows...sending to the windows vagrant
Running: cmd.exe /c net group \"Domain Admins\" /domain
Running: cmd.exe /c net user /add
Running: cmd.exe /c net user /domain
Running: cmd.exe /c net localgroup administrators
Running: cmd.exe /c net share
Running: cmd.exe /c net use
Running: cmd.exe /c net accounts
Running: cmd.exe /c net config workstation
Running: cmd.exe /c dsquery server
Running: cmd.exe /c dsquery user -name smith* | dsget user -dn -desc
Running: cmd.exe /c wmic useraccount list /format:list
Running: cmd.exe /c wmic ntdomain
Running: cmd.exe /c wmic group list /format:list
Running: cmd.exe /c wmic sysaccount list /format:list

Making actions

The actions and scenarios live in the MITRE folder sorted by MITRE ATT&CK phases and also in Adversarial_Simulation actions example

The most important parts are the OS field and the purple_actions

os: will tell the tool which vagrant to send the command to, obviously *nix commands on windows wont work out so well

purple_actions: an array of commands to run sequentially

Making scenarios

Scenarios are a list of paths to actions.

The code will be looking for a scenario: True field and scenario_actions list. Example below: scenario example

Gotchas

The tool takes the string from purple_actions and encapsulates it in quotes. Therefore you need to escape any other quotes, ticks, weird shell characters in your command.

Use the output of the vagrant/celery piece to make sure things are working like they should

Why Metta?

Metta (Pali) Loving kindness, gentle friendship; a practice for generating loving kindness said to be first taught by the Buddha as an antidote to fear. It helps cultivate our natural capacity for an open and loving heart and is traditionally offered along with other Brahma-vihara meditations that enrich compassion, joy in the happiness of others and equanimity. These practices lead to the development of concentration, fearlessness, happiness and a greater ability to love.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].