Linux Detective Toolkit - 360° debugging and black-box analysis without printf() or GDB

Prelekcja
Bartosz Moczulski

Bartosz Moczulski

Bartosz Moczulski - software engineer and consultant with 20 years of commercial experience in the digital TV industry, proud holder of MSc degree in Computer Science from Wroclaw University of Technology. Big fan of the GNU/Linux ecosystem and open-source in general. Likes to call himself a Linux detective and rarely leaves a bug investigation unsolved. Experienced in C, C++, Linux security, and embedded systems integration, seeking an opportunity to pick some Rust soon. Never afraid to descend to the assembler level or spawn a disassembler when the situation demands it. Passionate about knowledge sharing, ran numerous well-received internal trainings and workshops in the companies he used to work for. In his spare time he maintains his home lab and makes wine - both for the advantage of his friends and family. His current passion is medieval calligraphy which, being a left-hander, he has to write upside-down. He prefers a quill over a broad-edge nib and his favourite letters are ſ (long s) and þ (thorn).

Czas: 17:00 - 18:00

Miejsce: Sala A

Ścieżka: Prelekcje #1

Mysterious segmentation fault? Docker container keeps restarting? Application transfers unknown data over HTTPS? Process getting terminated by Out of Memory Killer? Or maybe it got stuck and appears to be doing nothing at all? Without access to source code, IDE with a debugger, or at least extensive logs it is often hard to tell what a Linux process is doing and why. But don't worry! A lot can be said about a black-box application by carefully inspecting its runtime environment. Linux and system libraries offer numerous tools and APIs to help you with this challenging task. Starting with /proc filesystem, and resource monitoring, through call tracing, and runtime overloads, up to various interception hooks, and observability interfaces. Tedious disassembling is rarely necessary, although always possible if that gives you a kick. Whether you are a system programmer, home-lab enthusiast, software integrator, aspiring security researcher, penetration tester, or simply a hobby-hacker - these techniques can help you understand what is actually happening under the hood and how to fix it. Want to learn some of them? Come and see them explained and demonstrated on my laptop, live during the talk.

Kategorie:
  • Programowanie
  • Hacking
  • Narzędzia