Table of Contents
  • Home
  • /
  • Blog
  • /
  • How to Quickly Find and Fix Vulnerabilities on Windows in No Time?
December 1, 2023

How to Quickly Find and Fix Vulnerabilities on Windows in No Time?

How To Quickly Find And Fix Vulnerabilities On Windows In No Time

No matter what the reason is. Still, Microsoft Windows tops the position in malware infection. According to Statista report, In 2020, Windows has seen more than 83% of cyber attacks against other operating systems. This clearly tells that Windows is the hot cake for hackers, cybercriminals, and threat actors. All Windows users should pay more attention to Security than any other. Vulnerability is one of the common attack vectors to consider. When it comes to the Windows operating system, it tops the list. In Exploit DB, we found around 10K vulnerabilities related to Windows alone. It is the responsibility of each Windows user to keep track of all the newly discovered vulnerabilities regularly and fix them at the right time. We knew it was a great troublesome and laborious task to do. In this article, we are going to show how to find and fix the vulnerabilities on your Windows OS quickly.

Operating systems most affected by malware in 2020

Stats of Operating System’s share in the Market.

Do you know how many vulnerabilities your system has? How many exploits are available for them? How much of them are critical? Then how do you fix them? We will show you a quick method that will give answers to all such questions. We have a tool called Windows Exploit Suggester — Next Generation (WES-NG) developed on Python that will answer all these questions.

Windows Exploit Suggester — Next Generation (WES-NG):

WES-NG is a python tool that discovers vulnerabilities, including the available exploits information for the discovered vulnerabilities on the system by analyzing the output of Windows’ systeminfo utility. You can use this Python tool to find and fix the vulnerabilities on any Windows desktop operating system from Windows XP to Windows 10 and server operating system from Windows server 2003 to Windows server 2019.

How Does Windows Exploit Suggester — Next Generation (WES-NG) Work?

As we said earlier, WES-NG users the built-in utility ‘systeminfo.exe‘. If you don’t know about systeminfo, it is a command-line utility used to print detailed system information. It prints information about the processor, ram, operating system, network cards, BIOS, and system boot, and there are a plethora of things. WES-NG uses this information as input and checks for the associated vulnerabilities in its database. Its database is considered more accurate than Microsoft’s as it reefers multiple sources to create a comprehensive database. Its report shows which vulnerabilities were found in the system. Their CVV ID, associated services, available exploits, and how to fix them.

sysinfo command

Pros & Cons of Windows Exploit Suggester — Next Generation (WES-NG):


The important thing to note is that it doesn’t scan the system to determine the vulnerabilities. It just provides the list of vulnerabilities based on the version, build, and patch installed on the machine. You can see the manually fixed vulnerabilities in the list, as it doesn’t scan the system for vulnerabilities. This makes it less accurate, and you may see a few false positives, either. None of the tools available in the market is perfect, right?


However, it gives the result in no time. It’s totally free to use. It doesn’t take a lot of time to give results, unlike other tools. It’s a perfect tool for a quick check. No technical knowledge is required to run the tool. All these properties will make this tool perfect for individual users and small businesses.

Sources From Were Windows Exploit Suggester — Next Generation (WES-NG) Collects The Updates:

It gathers the data from these three sources. So this makes it more valuable.

  • Microsoft Security Bulletin: KB articles for older systems

  • MSRC: The Microsoft Security Update API of the Microsoft Security Response Center (MSRC): Standard source of information for modern Microsoft Updates

  • NIST National Vulnerability Database (NVD): Complement vulnerabilities with Exploit-DB links These are combined into a single .csv file which is compressed and hosted on GitHub repository.

How to Quickly Find and Fix Vulnerabilities On Windows?

Step #1: Clone the Git repo or just download the code from GitHub:

Step 1.

Clone the Git repo or just download the code from GitHub:

Step 2.

Navigate to the location where it is stored. In my case, I have stored it in: C:\Windows\System32\cmd.exe

Step 3.

Run the script from Python. Download and install the Python from if Python is not installed on your machine. It is very easy, simple, and direct procedure to install Python on the Windows machine. Make sure to add Python to the PATH. This creates a PATH environment variable to run the Python script.

Step 4.

Install the chardet library.

>pip install chardet

Step 5.

Store the systeminfo output in a file. Use the ‘>’ symbol to store the output of the systeminfo command.> systeminfo > sysinfo.txt

Step 6.

1st Machine:
Run the script using Python.Syntex to run the script is:Python full path of ‘sysinfo.txt’> python sysinfo.txtThis tool can be run through a few filters.Example:Filter to print only critical vulnerabilities with ‘-s critical’> python sysinfo.txt -s criticalFilter to print only exploit available critical vulnerabilities with ‘-e’> python sysinfo.txt -eGet help> python .\ -h

Step 7.

Analyze the report. In this case, the first three-block shows the three vulnerabilities in my machine. Forth and last block shows the two missing patches. This system is in good shape. Suppose you found more critical vulnerabilities in the system. Apply the recommended patches written at the end of the report.

Step 8. Download and install the Windows Updates
Step 9. No vulnerabilities. This shows that we have fixed all the vulnerabilities.
Step 10.

2nd machine:

We found 89 vulnerabilities. The report suggested three patches to fix all 89 vulnerabilities.

Step 11. WES-NG Critical vulnerabilities filter

Filter to print only critical vulnerabilities with ‘-s critical’> python sysinfo.txt -s critical

Step 12. WES-NG available exploit vulnerabilities filter

Filter to print only exploit available critical vulnerabilities with ‘-e’> python sysinfo.txt -e

Step 13. Reboot to complete Windows Update

After applying patches, the system will ask to restart.

Step 14. Windows Updates after reboot

Patches were applied after the reboot.

Step 15. No vulnerabilities mean all patches were applied.

This completes the process. This is how you can quickly find and fix vulnerabilities on Windows in no time.

Thanks for reading the article. Please share your comments to if you like this demo. Read more such interesting articles here:

Arun KL

Arun KL is a cybersecurity professional with 15+ years of experience in IT infrastructure, cloud security, vulnerability management, Penetration Testing, security operations, and incident response. He is adept at designing and implementing robust security solutions to safeguard systems and data. Arun holds multiple industry certifications including CCNA, CCNA Security, RHCE, CEH, and AWS Security.

Recently added

Cloud & OS Platforms

View All

Learn More About Cyber Security Security & Technology

“Knowledge Arsenal: Empowering Your Security Journey through Continuous Learning”

Cybersecurity All-in-One For Dummies - 1st Edition

"Cybersecurity All-in-One For Dummies" offers a comprehensive guide to securing personal and business digital assets from cyber threats, with actionable insights from industry experts.



View All

Learn Something New with Free Email subscription