☼
⌃
☰

Windows Exploit Suggester

Table of Contents

Windows Exploit Suggester

Description

WES-NG is a crucial tool in the Post Exploitation phase of an attack on a Windows machine. After an attacker has gained a low-privileged shell, one of the first steps is to determine if the operating system kernel or other system components have known, unpatched vulnerabilities that can be exploited to gain higher privileges (e.g., NT AUTHORITY\SYSTEM).

How WES-NG Works

WES-NG operates in two distinct phases:

  1. Data Collection (Target): The attacker executes the built-in Windows command systeminfo on the compromised machine. This command outputs a detailed list of the operating system version, architecture, and, most importantly, all currently installed Hotfixes (patches). The attacker copies this output off the victim machine.
  2. Analysis (Attacker): The attacker runs WES-NG on their local machine, feeding it the systeminfo output file. WES-NG works by:
    • Database Update: It first downloads the latest list of known vulnerabilities and available patches from Microsoft's public security resources (e.g., the Microsoft Security Bulletin, now the Security Update Guide).
    • Comparison: It compares the list of missing patches (determined by looking at the patch list in the systeminfo output) against its database of known, exploitable vulnerabilities.
    • Suggestion: It generates a report listing potential vulnerabilities, their Common Vulnerabilities and Exposures (CVE) identifiers, and links to public proof-of-concept exploits (often in the Metasploit Framework).

WES-NG vs. WinPEAS

While both WES-NG and WinPEAS are used for Privilege Escalation, they focus on different vectors:

  • WES-NG (Kernel/Patch Focus): Primarily identifies missing patches that expose kernel vulnerabilities (software flaws).
  • WinPEAS (Configuration Focus): Primarily identifies misconfigurations and weak permissions (system setup flaws).