Having played around with SecurityOnion I was starting to look into Threat/Intel feeds, which lead me to a few applications: OpenCTI, and MISP to name a few. Today I am going to look at setting up a Docker instance of OpenCTI on Ubuntu 22.04 VM.
While researching OpenCTI I found documentation of setting up OpenCTI with Portainer. Having never heard of Portainer, I first wanted to see what that was all about.
From the website for Portainer: Container Management made easy. Sold! I have used Docker a few times, but mostly basic stuff like setting up a container, inspecting the container, ect. So I don't really have much experience, but from the looks of Portainer, it has a GUI front end and works with Docker and Kubernetes. I figured I could use it as I was going to use this system later to install a Docker instance of MISP on the same machine.
The basis of the install procedures came from here.
I had selected "Docker" option while installing Ubuntu 20.24 server. So I skipped the first part, and started with creating a swarm (On one computer mind)
docker swarm init --advertise-addr 192.168.1.100
This will setup a Docker swarm and my machine is the Manager node.
Installing Portainer
mkdir -p /opt/portainer cd /opt/portainer curl -L https://downloads.portainer.io/portainer-agent-stack.yml -o portainer-agent-stack.yml
Last step is deploy the Docker container
docker stack deploy --compose-file=portainer-agent-stack.yml portainer
No comments:
Post a Comment