Skip to content

A tool PoC that demonstrate how to leverage Osquery interactive shell named pipe implementation to enumerate windows machines.

Notifications You must be signed in to change notification settings

tahadraidia/OSQueryED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSQueryED

OSquery Enumeration and Discovery (OSqueryED) is a PoC that demonstrate how to leverage Osquery interactive shell named pipe implementation to enumerate windows machines.

Read more: https://www.darkwaves.io/insights/think-offensive-leverage-osquery-for-discovery-and-enumeration

Build Instructions

go get && go build

Add/Custom Queries

Feel free to edit WindowsQueries in helpers/windows.go.

var WindowsQueries = []string {
  "select * from os_version", // OS Version.
  "select * from patches", // Windows OS Patches.
  "select device_name, image from drivers where image != ''", // List unused drivers.
  "select groupname, group_sid from groups", // list local groups.
  "select type, user, host, pid from logged_in_users", // Logged in users;
  "select user, logon_domain, authentication_package from logon_sessions", // logon sessions.
  "select * from ntdomains", // Active Directory.
  "select * from pipes", // listing pipes.
  }

Happy hacking!

About

A tool PoC that demonstrate how to leverage Osquery interactive shell named pipe implementation to enumerate windows machines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages