So you have hacked a linux box. Next step should be leave a persistent backdoor so in case, it is rebooted, you have to repeat all those steps again and again. There are multiple methods available to create a persistent backdoor. Today I’m going to explain how you can create a backdoor in webservers. Tools needed socat weevely some common sense Installing Tools weevely Install weevely if you don’t have it.
Read, in the Name of your Lord Who created. created humans from a clinging clot. Read! And your Lord is the Most Generous. Who taught by the pen.
So you have installed OpenBSD as main OS. Most of the things will work out of the box. But still you have to configure some things. Lock screen on suspend/hibernate/resume Login as root and create /etc/apm directory if it isn’t there already. 1 2 3 4 5 6 7 mkdir /etc/apm echo "pkill -USR1 xidle" > /etc/apm/suspend echo "pkill -USR1 xidle" > /etc/apm/resume echo "pkill -USR1 xidle" > /etc/apm/hibernate chmod +x /etc/apm/suspend chmod +x /etc/apm/hibernate chmod +x /etc/apm/resume On lid closure, machines mostly get suspended.
So this is how you can have a fully encrypted OpenBSD installation. Getting OpenBSD Go to OpenBSD website and download the .img file for your hardware. Creating install media If you are on some linux or mac, you can use dd command to burn it to USB drive. Suppose your USB drive is appearing as /dev/sdb in lsblk’s output: 1 dd if=install.img of=/dev/sdb bs=1M Boot from install media Plug the new install media and reboot the system.
OpenBSD as new OS So I started using OpenBSD in start of 2021. My blog readers know I keep my dotfiles on Github/Gitlab. Most of the programs I have been using in past were okay with this change. But I had to configure many things. New Dotfiles I created a new directory dot in my home dir. And cherry picked some of my old dots. But still that wasn’t enough. It took me 2 months to figure things out as per my liking.
So here is new bike for 2021. Here are some pictures. I hope you’ll like them… Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125 Honda 125" Honda 125
Unlike other operating systems, in linux everything starts from /. This is called root directory. You can use cd command to navigate in filesystem. If you’re inside some directory and you want to know where you’re inside the directory tree, just type pwd and it will show you the current working directory. pwd stands for print working directory. cd command needs some arguments if you want to visit some other directory.