项目作者: eortizbrossard

项目描述 :
Basic c2-matrix analysis enviroment using Suricata + Wazuh + Elastic stack
高级语言: Shell
项目地址: git://github.com/eortizbrossard/c2matrix-analyzer.git
创建时间: 2020-04-17T23:47:29Z
项目社区:https://github.com/eortizbrossard/c2matrix-analyzer

开源协议:

下载


c2matrix-analyzer

Basic c2-matrix analysis enviroment using Suricata + Wazuh + Elastic stack

  • The agent VM has Suricata configured to use the Emerging Threats Open Rules.
  • Suricata alerts are collected by Wazuh’s agent and sent to Wazuh’s manager.
  • Wazuh Manager sends alerts to Elasticsearch and can be viewed in Kibana in both the Discover section and the Wazuh plugin.

Analysis00

Analysis01

Analysis02

Requirements:

  • Virtualbox
  • Vagrant

Enviroment:

  1. master: Manager Wazuh all in one + Elasticsearch + Kibana
    OS: Centos7
    Kibana port 5601 is attached to the local host: 5601

  2. agent: Agent Wazuh + Suricata + ET Open
    OS: Centos7

  3. c2server:
    OS: Kali / Debian / Centos7 # Choose one by changing in Vagrantfile

Instructions:

For deployment, do the following:

Extract all files in a directory, and launches the commands from this directory

To deploy the entire environment:

  1. $ vagrant up

Deploy a vm:

  1. $ vagrant up [VM_NAME]

Destroy the whole enviroment:

  1. $ vagrant destroy

Destroy a vm:

  1. $ vagrant destroy [VM_NAME]

Access Kibana:

  1. http://localhost:5601

Aacces to a vm:

  1. $ vagrant ssh [VM_NAME]

Network:

  • master_ip = “192.168.76.2”
  • agent_ip = “192.168.76.20”
  • c2server_ip = “192.168.76.30”

References:

  1. - Red Team Kali Package. Inside it has instructions for installing various C2 programs (It may apply to Debian).
  2. https://bugs.kali.org/view.php?id=6093
  3. - C2 Matrix:
  4. https://howto.thec2matrix.com/
  5. https://docs.google.com/spreadsheets/d/1b4mUxa6cDQuTV2BPC6aA-GR4zGZi0ooPYtBe4IgPsSc/edit#gid=0
  6. - Suricata
  7. https://suricata-ids.org/
  8. - Emergint Threat s
  9. https://rules.emergingthreats.net/
  10. - Wazuh
  11. https://github.com/wazuh/wazuh
  12. - Elastic
  13. https://github.com/elastic