Skip to content
Home

Kernel exploit suggesters: WES-NG, Windows Exploit Suggester, Linux Exploit Suggester

Compare a target's patch level/kernel version against known CVEs to shortlist privesc exploits.

bash·1 min read··INE Certification

All three of these programs do the same job for different targets: take a system’s patch/kernel information and cross-reference it against a known-vulnerability database to shortlist which kernel exploits are worth trying, instead of guessing.

WES-NG (Windows Exploit Suggester - Next Generation)

wes.py --update                          # refresh its vulnerability database

# [target] capture systeminfo, then feed it to WES-NG on the attacker box
systeminfo > info.txt
wes.py info.txt --muc-lookup

# or generate the missing-KBs list directly on the target and feed that instead
# [target] .\missingkbs.ps1   (or missingkbs.vbs)
wes.py -m missing.txt

Windows Exploit Suggester (legacy)

windows-exploit-suggester.py --update                                    # builds an .xls database
windows-exploit-suggester.py --database database.xls --systeminfo systeminfo.txt

Linux Exploit Suggester

wget https://raw.githubusercontent.com/mzet-/linux-exploit-suggester/master/linux-exploit-suggester.sh
chmod +x linux-exploit-suggester.sh
./linux-exploit-suggester.sh

Comparison

ToolTargetNotes
WES-NGWindowsActively maintained, takes systeminfo output
Windows Exploit SuggesterWindowsLegacy, Python 2, finicky .xls database
Linux Exploit SuggesterLinuxSingle shell script, no dependencies

Also worth knowing: Metasploit’s own post/multi/recon/local_exploit_suggester module and meterpreter’s getsystem command both attempt a similar job automatically from an existing session, without needing to transfer a separate script.