QuestionQ12

VerifiedPost-exploitation and Lateral Movement

After exploiting a vulnerability in an insecure service to gain access to a Linux system, a penetration tester runs these commands:

sudo -l  
route  
netstat -a  
last  
who  

Which option best describes the tester's purpose for running these commands?

Explanation

sudo -l identifies permitted privileged commands; route reveals network routing; netstat -a enumerates listening services and network connections; and last plus who identify historical and current user sessions. This is host and network enumeration to identify users, exposed services, and potential additional targets.

Community Discussion

No comments yet. Be the first to start the discussion!