Security · Malware
Backdoor
Cheat sheet · https://pcornel.dk/topic.php?topic=4929
Answer
A backdoor is malware or a hidden mechanism that gives an attacker persistent remote access while bypassing normal authentication, such as a web shell or a planted SSH key.
Remember
- Backdoors survive password resets.
- Look for new accounts, keys, services and scheduled tasks.
- Web shells hide in upload and web directories.
First checks
ss -tnp state established— unexpected connections- New local accounts/SSH keys — backdoor accounts
- Web shell scans on web servers — web backdoors
Verify in this order
attacker → backdoor → persistent access
Where it usually breaks
First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4929