SkillAgentSearch skills...

SsnRetrieval

Loads NTDLL, parses the PE file, extracts "Zw" functions, retrieves their System Service Numbers (SSNs), and prints each function’s name, SSN, and address.

Install / Use

/learn @KiExitDispatcher/SsnRetrieval
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SsnRetrieval

Loads NTDLL, parses the PE file, extracts "Zw" functions, retrieves their System Service Numbers (SSNs), and prints each function’s name, SSN, and address.

Execution Process:

  • 1st > Load the NTDLL Libary.
  • 2nd > Parse the PE file to get the structure and find important directories like the export directory.
  • 3rd > Extract function names and addresses, look for functions that start with "Zw", and find their System Service Numbers (SSNs).
  • 4th > Collect and print the SSN, function name, and address for each "Zw" function.

Build Process

  • 1st -> go build main.go
  • if you want to run and test go run main.go

Enjoy - Made by EByte :Happy

PoC

image

License

This project is licensed under the MIT License. See the LICENSE file for details.

Related Skills

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated1mo ago
Forks2

Languages

Go

Security Score

80/100

Audited on Feb 13, 2026

No findings