Fixing the “Error connecting…” issue in Kali KeX on WSL (updated: 2023. 01. 12.)

Requirements: Time to time the Kali desktop on WSL stops working and spits out the following message: Of course the “solution” from the error message does not work.

Continue reading →

What is LUKS and how to use it? Let’s encrypt our filesystem on Linux!

LUKS stands for Linux Unified Key Setup. It is an encryption specification that was written for Linux systems in 2004. LUKS is used to encrypt block devices and partitions. This encryption helps to keep our data safe in rest.

Continue reading →

Basic NMAP commands survival guide

It is just a quick survival guide to NMAP commands without investigating the rabbit hole of live host discovery, port scanning and firewall evasion techniques.

Continue reading →

How to install a Debian Linux Penetration Testing machine?

There are excellent Linux distributions for Cyber Security professionals like Kali. They ship all the the bells and whistles that is needed for the tasks. If we want to learn how to put together our own Penetration Testing system we can use a fresh Debian Linux box. I created a small setup from the NetInstall…

Continue reading →

Cyber Security landscape 2023

As we just dipped our pinky into 2023 the articles about Cyber Security in 2023 started to pop up on the internet. Some of them are exploring the the field as a career path and others talk about the new threats and vulnerabilities. I will review what I see about these topics.

Continue reading →

How to check the accommodation for hidden devices

Here is the winter holiday season and a lot of people travel and use apartments, hotel rooms, AirBNB etc. Hidden cameras and sound recording devices are small and stealthy. There is no way to be 100% sure that our room is not “wired”, but we can look around in the network if we use it…

Continue reading →

What is the Logical Volume Manager (LVM) and how to use it?

LVM stands for Logical Volume Manager, it is a tool for file system and disk management on Linux. It can work in different ways like allocating whole devices, but the general usage is putting the LVM on a partition. One of the most common System [Engineer|Administrator] and DevOps interview topic is creating and resizing LVM…

Continue reading →

Understanding the Linux Cron and Crontab

The UNIX/Linux systems have a powerful tool for scheduling tasks while the computer is running. The daemon that is responsible for initiating the tasks (called cronjobs) is called cron, while the tool that lets us edit the configuration is the crontab. Once we understand the basics of cron we can easily master editing the cron…

Continue reading →

How to upgrade to Debian Bullseye from Buster in WSL?

If we installed a Debian WSL distro on our computer, there is a chance that in 6-9 months a new release will come out. We want to keep our system updated, so a distribution upgrade should happen in our WSL ecosystem.

Continue reading →

Understanding the Linux file permissions

Linux supports multiple users and groups on the system to log in, create, modify and delete files and folders. System files and folders must be protected from the ordinary users to avoid accidental deletion or modification. Configuration files can contain sensitive data like passwords and certificates. Our home user directory can contain our private secrets…

Continue reading →

How to backup and restore a distro on WSL?

Backing up and restoring WSL distros are easy! Simply exporting the stopped distro into an archive file works pretty well. The archive can be moved on an external disk or cloud share. Restoring a backup is importing back the generated archive. Moreover we can add multiple instances of the same distro with exporting then importing…

Continue reading →

How to rename (or backup) a Python virtual environment?

I find it much easier to create a venv with the same packages than renaming one. I found magic sed commands and directory traversal scripts, but they did a half work or nothing. I found out that recreating an env is easier and faster.

Continue reading →

How to install a secure Apache2 web server on Debian 11?

The expected outcome is:

Continue reading →

Ubuntu upgrade FAIL!

I try out the systems I advise to the people. I am a Linux user with a significant background in debugging and solving errors in the system. Being a Debian user since the Woody/Sarge times I welcomed Ubuntu Linux early when it was released the first time. It was a solid, user friendly system for…

Continue reading →