Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Enumprotections_BOF — A BOF to enumerate system process, their protection levels, and more. | Kitploit
Tools/GitHubGitHub/octoberfest7/enumprotections_bof
Privilege EscalationReconnaissanceVulnerability AnalysisInformation GatheringPost-ExploitationPenetration TestingRed Teaming
GitHuboctoberfest7/enumprotections_bof

Enumprotections_BOF

A BOF to enumerate system process, their protection levels, and more.

View Repository
126731 year agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Enumprotections BOF

This BOF can be used to enumerate system processes and identify the protection level of each one. Additional information, like service relation, user, session, and path, are also returned. This information in combination can be used to identify good candidates to explore for SYSTEM level DLL hijacks. Ideal processes will be:

  1. Unprotected
  2. Associated with a service, thus being start/stoppable
  3. 3rd party software. Microsoft is good at ID'ing hijacks of Microsoft components.

Usage

alt text

Compilation

This tool was written without the use of normal BOF API declarations (e.g. a bofdefs.h file). As outlined in this blog post by Matt Ehrnschwender, it's possible to use objcopy to patch the proper symbols of format DLL$API into the BOF post-compilation. The Makefile for this tool calls objcopy, passing an imports_enumprotectionsXX.txt file containing the proper symbol replacements to the tool which then renders the BOF usable.

I have written a tool called BOFPatcher that automates this process. This allows users to write BOFs as normal C without worrying about cumbersome API declarations:

alt text

This tool is available to those who purchase my BOF Development and Tradecraft course.

Credits

Thanks to hasherezade for this snippet as well as Gabriel Landau for NoFault.

Also shoutout to the many talented individuals whose work was scraped by ChatGPT and used by me.

Download Tool