Cyber security

XZ-Vulnerable-Honeypot : A New SSH Defense Mechanism With CVE-2024-3094

An innovative SSH honeypot equipped with the XZ backdoor, identified by CVE-2024-3094.

Designed to bait and study potential attackers, this tool offers a unique glimpse into the tactics and techniques used by cyber adversaries.

By simulating vulnerabilities, it provides invaluable insights into securing networks against sophisticated threats.

Installation

PLEASE run this on a separate isolated system. Docker is not used for isolation, but for getting the libraries working.

The bpf hook alsoo prints EVERY call to execve, including ones outside the container.

Just run

docker compose up

Logs are stored in ./logs/. The current monitoring includes bpftrace monitoring execve syscalls where the parent process is ‘sshd’, strace monitoring execve syscalls on the parent sshd process, tcpdump recording a pcap (TODO: rotate this) and sshd logging it’s regular output (TODO: patch something to log the RSA key).

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Comments in Bash Scripts

What Are Bash Comments? In Bash scripting, comments are notes in your code that the…

1 day ago

Shebang (#!) in Bash Script

When you write a Bash script in Linux, you want it to run correctly every…

2 days ago

Bash String Concatenation – Bash Scripting

Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…

2 days ago

Learn Bash Scripting: How to Create and Run Shell Scripts for Beginners

What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…

3 days ago

Bash if…else Statement – Bash Scripting

When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…

3 days ago

Bash Functions Explained: Syntax, Examples, and Best Practices

Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…

5 days ago