aboutsummaryrefslogtreecommitdiffstats
path: root/nushin
diff options
context:
space:
mode:
Diffstat (limited to 'nushin')
-rw-r--r--nushin/docker-compose.yaml18
-rw-r--r--nushin/spoofer/Dockerfile4
-rw-r--r--nushin/victim/Dockerfile4
3 files changed, 21 insertions, 5 deletions
diff --git a/nushin/docker-compose.yaml b/nushin/docker-compose.yaml
index 8ae0a51..67d4a94 100644
--- a/nushin/docker-compose.yaml
+++ b/nushin/docker-compose.yaml
@@ -14,7 +14,21 @@ services:
networks:
- hacknet
entrypoint: ["tail", "-f", "/dev/null"]
+ privileged: true
+ # hids:
+ # # image: atomicorp/ossec-docker
+ # build:
+ # context: ./ossec-docker
+ # networks:
+ # - hacknet
+ # # entrypoint: ["tail", "-f", "/dev/null"]
+ # # volumes:
+ # # - hids-config:/var/ossec/
+ # volumes:
+ # - /sys/fs/cgroup:/sys/fs/cgroup:ro
networks:
hacknet:
- driver: overlay
- attachable: true
+ driver: bridge
+ # attachable: true
+volumes:
+ hids-config:
diff --git a/nushin/spoofer/Dockerfile b/nushin/spoofer/Dockerfile
index 7bf4b33..9bbdf21 100644
--- a/nushin/spoofer/Dockerfile
+++ b/nushin/spoofer/Dockerfile
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
-RUN apt update && apt ugprade -y
-RUN apt install -y ettercap
+RUN apt update && apt upgrade -y
+RUN DEBIAN_FRONTEND="noninteractive" apt install -y ettercap-text-only vim
diff --git a/nushin/victim/Dockerfile b/nushin/victim/Dockerfile
index 1e0b9df..af88684 100644
--- a/nushin/victim/Dockerfile
+++ b/nushin/victim/Dockerfile
@@ -1,4 +1,6 @@
FROM debian:buster-slim
RUN apt update && apt upgrade -y
-RUN apt install snort -y
+RUN DEBIAN_FRONTEND="noninteractive" apt install -y snort rsyslog vim
+
+COPY ./rsyslog.conf /etc/