Bypassing ptrace calls with LD_PRELOAD on Linux

Hello, Here's a quick article on how to bypass calls to ptrace when debugging a Linux executable. By calling ptrace with the PTRACE_TRACEME option, a process can detect if it's being debugged and execute different instructions. This an effective anti-debugging technique. For example, take the following C program: #include <stdio.h> #include <sys/ptrace.h> int main() { … Continue reading Bypassing ptrace calls with LD_PRELOAD on Linux

Hack The Box – Travexec Write-up

Hello, Here's my write-up for the Traverxec machine. Initial Shell: google User Hint: Read the configuration carefully and `ls` dem directories, and don't forget, you're the web server! Root Hint: In linux you can configure commands to be executed without requiring a password. The password for the PDF is the root flag. Link: BananaPr1nc3-Traverxec.pdf