O'Reilly logo

Kali Linux Intrusion and Exploitation Cookbook by Ishan Girdhar, Dhruv Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Misconfigured software installations/insecure file permissions

In this recipe, we look at how an attacker can exploit misconfigured software installations and escalate privileges on the application. This is one of the classic examples where the installed setup is configured without considering the user's rights over the files and folders of the application.

Getting ready

For this recipe, we will need to install an application called WinSMS. This can be downloaded from https://www.exploit-db.com/exploits/40375/ and can be installed on any Windows machine running XP, Vista, 7, or 10. For demo purposes, we will be using Windows 7. Apart from this, we will need our Kali system up and running to take the reverse shell.

How to do it...

  1. Once we install ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required