Practical Guide: Zeek with Labshock - Simple & Easy
Zakhar Bernhardt
ICS/OT Cybersecurity Expert | Labshock & Patented NVIDIA AI IDS & 1st OT SIEM Creator | 10k+ Followers | Pentesting & SOC
?? Intro
You want to practice ICS security. You need a safe place to test ideas, try tools and learn. Labshock gives you that. No need for hardware, no risk to live systems.
In this guide, you set up Zeek IDS inside Labshock. You monitor network traffic, detect issues & see what’s happening in your ICS setup. Step by step, you get it running.
Simple. Fast. No extra tools.
?? Let’s go.
?? What is Labshock?
your virtual friend
Labshock is your virtual ICS lab. It’s built to help you practice and explore ICS and OT security in a safe, controlled environment. You don’t need expensive hardware or risk breaking live systems. It works for anyone, whether you’re just starting or already experienced.
Here’s what you can do with Labshock:
?? Setting Up Labshock
simple as possible
Getting Labshock up and running is simple. You only need Docker, Docker Compose, and optional Git installed on your system. No extra libraries or tools are required.
Check Labshock Github page: GitHub
Full Readme guide can be found here: Wiki
git clone https://github.com/zakharb/labshock.git
cd labshock/labshock
docker-compose build
docker-compose up
?? What is Zeek IDS
powerful network monitoring
Zeek IDS is a powerful network security monitoring tool designed to analyze and log network traffic in depth. Unlike traditional intrusion detection systems (IDS) that rely on predefined signatures, Zeek provides a flexible scripting engine to detect anomalies, track protocol behavior, and generate detailed logs for further analysis. This makes it especially useful for OT/ICS environments, where custom detections are often needed. With Zeek, you can monitor industrial protocols, identify suspicious activities, and enhance visibility into your ICS network - helping you secure your environment effectively.
?? Zeek Setup
easy as possible
0. Change IDS service in docker-compose.yml to use zeek official image:
ids:
image: zeek/zeek:latest
network_mode: host
command: tail -f /dev/null
1. Login to Zeek terminal using bash:
2. Install Nano to change configuration:
apt update
apt install nano
nano /usr/local/zeek/etc/node.cfg
3. Change interface to your name with 192.168.3.0/24 network.
In my case its "br-c3e850affc42":
4. Enter zeekctl, deploy configuration
zeekctl
deploy
5. Check Zeek logs, for example conn.log:
cat /usr/local/zeek/logs/current/conn.log
?? Wrapping Up
You set up Labshock. You added Zeek IDS. Now you can monitor traffic, detect issues, and test ideas safely.
Keep exploring. Try different ICS protocols. Write custom detection rules. Break things, fix them, and learn.
Labshock is your space. Use it.
?? please put Stars here ??
CISM | Cybersecurity | Systems & Infrastructure Security Architect | Zero Trust
2 周Are there any technical videos and tutorials? Or github doumentations? Its really interesting.
Cyber Security Senior Associated Consultant
2 周Great Post! Thanks for Sharing!
ICS/OT Cybersecurity Expert | Labshock & Patented NVIDIA AI IDS & 1st OT SIEM Creator | 10k+ Followers | Pentesting & SOC
2 周José Sánchez thx a lot for reposting!
+17K Followers ?? | Cybersecurity Analyst | Blue Team Specialist | Threat Hunting | Malware Researcher and Analyst ?? | Community Manager @SOC4M
2 周Useful tips Zakhar Bernhardt thank you for sharing!
ICS/OT Cybersecurity Expert | Labshock & Patented NVIDIA AI IDS & 1st OT SIEM Creator | 10k+ Followers | Pentesting & SOC
2 周OT SECURITY PROFESSIONALS