https://github.com/bmedicke/snort-demo
Docker Compose based Snort containers for quick demos, BSA bachelor Smart Homes and Assistive Technologies ๐ ๐ฆนโโ๏ธ
https://github.com/bmedicke/snort-demo
bsa docker docker-compose ids ips itsec snort
Last synced: about 2 months ago
JSON representation
Docker Compose based Snort containers for quick demos, BSA bachelor Smart Homes and Assistive Technologies ๐ ๐ฆนโโ๏ธ
- Host: GitHub
- URL: https://github.com/bmedicke/snort-demo
- Owner: bmedicke
- Created: 2018-06-08T05:45:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T07:22:58.000Z (about 5 years ago)
- Last Synced: 2025-10-06T19:02:42.306Z (8 months ago)
- Topics: bsa, docker, docker-compose, ids, ips, itsec, snort
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# requirements
- [Docker](https://www.docker.com/community-edition#/download)
- [Docker Compose](https://docs.docker.com/compose/install/)
# getting started
- install docker on your host machine
- clone this repo `git pull https://github.com/bmedicke/snort-demo.git && cd snort-demo`
- build the containers: `docker-compose build`
- start the containers: `docker-compose up`
- source the aliases on the host for easier management: `source alias`
- use the `red` and `blue` aliases to connect to the respective host
# blue host
- edit `snort.conf` to your hearts content (skip to end of files for demo rules)
- _note_: you can do this outside of the container
- run snort via `snort -c /etc/snort/snort.conf -A console` or the `s` alias
- for the SSH dictionary attack:
- change your root password with `passwd`
- start the ssh server in a new tmux pane `/usr/sbin/sshd -D`
# red host
- start probing the blue host and see what happens
- things to try:
- `ping -c1 blue` send single ping probe
- `nmap -sV blue` version detection scan
- `hydra -l root -P 500-worst-passwords.txt blue ssh` ssh dictionary attack
# slides
* https://docs.google.com/presentation/d/163TAQcNwgagrOAgt2Lnf7sQgrNOGqU50169eBsMDbs0
# recommended talks
- [Martin Roesch | From The Garage To NASDAQ With Open Source The Sourcefire Experience](https://www.youtube.com/watch?v=nfHyN4O9VyY)