GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - grimh3xx/daclseek: Read-only Windows privilege-escalation misconfiguration enumerator (Rust)

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
src
src
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

daclseek

build license Rust platform read-only

A local Windows privilege-escalation misconfiguration enumerator, in Rust. It is the spiritual successor to the archived PowerShell Sherlock and C# Watson — but it takes the opposite approach. Those shipped a hand-maintained CVE → fixing-KB table and checked the patch level, so they rotted the moment their authors stopped updating them (both archived in 2021, blind on modern builds). daclseek instead enumerates misconfigurations that are exploitable regardless of patch level — the class of findings that never goes stale. Strictly read-only: it inspects the host and reports, with remediation guidance. It never exploits, modifies, downloads or exfiltrates anything.

daclseek privesc scan demo

⚠️ For authorised security assessments, hardening reviews and defensive baselining only. Run it solely on systems you own or are explicitly permitted to test.

What it checks

Check What it reports
Token privileges (PRIV) Dangerous privileges held by the current token — SeImpersonate, SeDebug, SeBackup, SeRestore, SeTakeOwnership, SeLoadDriver, SeTcb, … — with the risk each one carries. A privilege the token holds is reported even when currently disabled.
Services (SVC) Reconfigurable services (SERVICE_CHANGE_CONFIG via the SCM DACL) and writable service registry keys — both let the binary path be rewritten — plus unquoted paths with a writable segment, writable service binaries, and writable service directories.
Scheduled tasks (TASK) Tasks whose action binary — or its directory — is writable by the current user, read straight from the on-disk task XML.
AlwaysInstallElevated (AIE) The installer policy that applies MSI packages with elevated rights for standard users.
Autoruns (RUN) Run/RunOnce entries, Winlogon Shell/Userinit hooks, AppInit_DLLs, Image File Execution Options debuggers, and writable Startup folders — flagged on a writable target or on presence of a hijack hook.
PATH (PATH) User-writable directories on the system PATH — a name-based resolution exposure.
UAC (UAC) Weak UAC configuration: disabled, silent admin elevation, or no secure desktop.
Credentials (CRED) Credential-exposure surfaces: registry autologon password, unattend/sysprep answer files, security-hive backups, PuTTY/WinSCP/VNC stored passwords, OpenSSH private keys, PowerShell history, cloud-SDK credential files, and Group Policy Preferences cpassword.

Findings are ranked worst-first, tagged INFO / LOW / MEDIUM / HIGH / CRITICAL, and each carries the concrete evidence plus a remediation step.

How the write-access checks work

The "is X writable by me?" checks are not heuristics. For each target, daclseek:

  1. reads the object's security descriptor (GetNamedSecurityInfoW),
  2. duplicates the current process token to an impersonation token,
  3. runs a real kernel AccessCheck for write / modify / delete / take-ownership.

So group membership, inheritance and explicit deny-ACEs are all honoured — a positive result means the current context genuinely has that access, not that an ACL merely looks loose.

Build

Native build on Windows (needs the Rust toolchain):

cargo build --release

Cross-compile from Linux / WSL:

rustup target add x86_64-pc-windows-gnu
cargo build --release --target x86_64-pc-windows-gnu

Output is a single ~300 KB static binary with no .NET runtime required on the target — a direct win over Watson.

Usage

daclseek [OPTIONS]

OPTIONS:
    --json              Emit findings as JSON (for pipelines / triage)
    --no-color          Disable ANSI colours
    --only <check>      Run one check: privileges, services, tasks, installer,
                        autoruns, path, uac, credentials
    --min-severity <s>  Hide findings below <s> (info|low|medium|high|critical)
    -h, --help
    -V, --version

The process exit code reflects the worst shown finding — 0 none/info, 1 low, 2 medium, 3 high, 4 critical — so it drops straight into a CI gate:

daclseek --min-severity high   # exits non-zero only on a high/critical finding

Run it as the user whose context you want to assess — most findings are privilege-relative; a path writable by a low-privileged user is the interesting case.

daclseek                  # full console report
daclseek --json           # machine-readable
daclseek --only services  # just the service checks

Design

  • No external data file, no network — findings come from live host state, so there is nothing to keep up to date.
  • Adding a check is one file in src/checks/ plus one line in src/main.rs.
  • Natural next modules: DLL-search-order gaps in application directories, and an optional WES-NG-style offline KB-diff module if missing-patch coverage is also wanted.

The animated demo above is regenerated with python3 tools/gen_demo.py.

License

MIT

About

Read-only Windows privilege-escalation misconfiguration enumerator (Rust)

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.