Your team must find all SUID/SGID binaries on servers and remove unnecessary ones. How?
IntermediateScenarioSecurity, hardening and incident response
Answer
Situation read → SUID binaries are privilege escalation targets.
What I'd do →
sudo find / -xdev \( -perm -4000 -o -perm -2000 \) -type f -exec ls -l {} \; 2>/dev/null
Compare against a known-good baseline per distro. Remove SUID where not needed: chmod u-s /usr/bin/<tool>. Make sure nothing suid lives in /home, /tmp or /opt from unknown sources, and mount those with nosuid.
Why → A new SUID root binary in an odd place is a classic backdoor.
Interview tip → Mention GTFOBins as the reference for abusable binaries.
More on Security, hardening and incident response
Monitoring shows a web server making outbound connections to an unknown IP on port 4444 at 2 AM. You suspect it is compromised. What do you do?AdvancedAfter the compromise you need to find how the attacker got in. Where do you look?AdvancedYour CISO asks you to harden a fresh Linux server baseline. What's on your list?IntermediateA developer says "SELinux keeps breaking my app, can we just disable it?" How do you respond and what do you do?IntermediateYou need to know when anyone modifies `/etc/sudoers`, `/etc/passwd` or SSH config. How?IntermediateA critical OpenSSL CVE is announced. How do you find and patch affected servers quickly?Intermediate