From the course: Stealth Penetration Testing with Advanced Enumeration

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Stealthy linux enumeration

Stealthy linux enumeration

- LinPEAS is an enumeration script which can be used to search for privilege escalation paths, on a Linux system. It's fairly quiet as it doesn't write anything to disc. It also runs fairly quickly, needing only a minute or so to do the basic checks and it has a limited brute force check included. We'll be stealthy and we'll run this from memory. We can download LinPEAS directly from GitHub. Okay. We can run it stealthily by executing it in memory rather than uploading the file to the target. We'll set up a web server so that we can access the LinPEAS script from our target in order to run it. python3 -m http.server on port 80. We'll also set a listener up so that we can send our output directly back to Kali. nc -lp 2222 and we'll tee that into linpeas .out. We're on our Linux target the Mutillidae II server, and we can now connect to and execute the LinPEAS script in memory, leaving no traces…

Contents