Web shell on a public-facing server
A web shell is a foothold that looks like ordinary web traffic. The detection is usually a file or a process ancestry that makes no sense, and the investigation is mostly about how long it has been there.
035 min70
- 01
Capture connections and process ancestry
by 10 minexpiresA web server process with a shell or interpreter as its child is the whole finding. Record the established connections at the same moment, because they name the other end.
- 02
Preserve the web root and the access logs
by 25 minexpiresCopy the file with its timestamps intact, do not open it in place on a live server, and pull the access logs before rotation. The request that first hit the shell dates the foothold.