Emmanuel Konan

Linux persistence mechanisms

Emmanuel Konan · · 1 min read

Persistence mechanisms let an attacker regain execution or access after a compromise. My note was prompted by John Hammond’s Black Hat USA 2025 material and covers prevention, detection and removal.

For each mechanism, the questions are: what executes, which privileges are needed, what traces remain and what causes it to run again?

Removing a suspicious startup entry is only part of recovery. The investigation also needs to establish the original compromise and which parts of the system can still be trusted. The guide is intended for authorized defensive learning and testing.