Module lessons (3/4)
Spotting & Killing Malicious Persistence
Trace rogue Python workers via ps aux, terminate the offending PID, and eradicate persistent webshell scripts from disk.
What you'll learn in this lesson
- Enumerate live system processes via
ps auxto pinpoint unauthorized background persistence workers (python script.py). - Extract indicators of compromise (IOCs) from dropped persistence scripts before unlinking files.
- Eradicate live malware (
kill -9 <pid>+rm) AND harden writable upload/source directories against re-infection.
Overview
Blocking one suspicious request leaves an attacker inside the perimeter whenever they have already launched a persistent daemon (python script.py) or uploaded an executable webshell (/var/www/app/uploads/shell.sh). On Linux, unlinking the file alone leaves the running process alive through its open file descriptor in RAM!
Follow the disciplined four-phase containment sequence:
Sections covered in this lesson
- 11. Process Inspection, Open Inodes & Full Eradication
- 22. Interactive Explorer: Trust Boundaries & Containment
- 33. Progressive Labs: Warm-Up → Attack → Defend → Harden
- 44. Checkpoints & Code Review
Unlock "Spotting & Killing Malicious Persistence" and the full Application & Web Security curriculum
Trace rogue Python workers via ps aux, terminate the offending PID, and eradicate persistent webshell scripts from disk.
Unlock all 6 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.
- Instant access to all advanced modules in Application & Web Security plus 17 more courses
- Hands-on browser exercises with automated test suites and solutions
- 14-day money-back guarantee processed via Paddle.com
14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.