Book Image

Network Vulnerability Assessment

By : Sagar Rahalkar
Book Image

Network Vulnerability Assessment

By: Sagar Rahalkar

Overview of this book

The tech world has been taken over by digitization to a very large extent, and so it’s become extremely important for an organization to actively design security mechanisms for their network infrastructures. Analyzing vulnerabilities can be one of the best ways to secure your network infrastructure. Network Vulnerability Assessment starts with network security assessment concepts, workflows, and architectures. Then, you will use open source tools to perform both active and passive network scanning. As you make your way through the chapters, you will use these scanning results to analyze and design a threat model for network security. In the concluding chapters, you will dig deeper into concepts such as IP network analysis, Microsoft Services, and mail services. You will also get to grips with various security best practices, which will help you build your network security mechanism. By the end of this book, you will be in a position to build a security framework fit for an organization.
Table of Contents (15 chapters)

Privilege escalation on Windows

As we saw in the previous section, on a Windows system, the user with the highest privileges is known as the administrator. Once we compromise a system using any of the available exploits, our aim should be to elevate the user privileges to that of the administrator.

The following screenshot shows an exploitation of the ms08_067_netapi vulnerability with Windows XP as the target. Metasploit successfully exploited the vulnerability and gave a meterpreter session, as shown in the following screenshot:

The meterpreter provides us with the ability to escalate privileges. The getsystem command is specifically used for privilege escalation on the compromised Windows system. The following screenshot shows the use of the getsystem command in order to get the administrator-level privileges on the target system:

...