After a GTFOBins comparison of a host's sudo and set-user-ID lists finds no match, what can the audit still have missed, and why is that no clean bill?
answer
- a name match is shallow
- what the list cannot name
- thin context coverage
- absence is not assessment
basics
~20 sThe comparison is by name, so it misses wrapper scripts and custom or vendor programs with the same functions, thinly covered file capabilities, container images and uncatalogued programs. Absence from GTFOBins is not evidence of safety.
solid answer
~40 sA clean comparison says only that no catalogued name appeared in the inventories you built. It does not cover a vendor script or wrapper that runs other programs or takes paths from its caller, custom binaries nobody catalogued, interpreters granted as tools, or the contents of container images, which have their own filesystems. File capabilities are also thin: in the 2026-10-04 clone only a handful of entries carry a Capabilities example, far fewer than Sudo or SUID. And the catalogue is a community list with no completeness claim. So reason from the function a grant hands over, ask what each granted program can read, write or run, and word the result as what was checked, not as safe.
go deeper
Remember that absence from GTFOBins is not evidence a program is safe.
List the blind spots of a name match: wrappers, uncatalogued programs, file capabilities, container images and version differences.
Cover the gaps by reasoning from functions and by auditing images, and write the finding as what was checked and what was not.
Set the assurance claim a team may make from a catalogue-based audit and require the stated coverage to travel with the result.
## Why a name match is shallow GTFOBins is keyed by **executable name**. An audit that joins your inventories to it by name can only find programs somebody has already catalogued, in the form they catalogued them. Everything else is invisible to it. A clean result is therefore a statement about the *join*, not about the *host*. ## The blind spots | Blind spot | Why a name match misses it | What to do instead | |---|---|---| | Wrapper scripts and vendor helpers | The script's name is not in the catalogue, yet it may call listed programs or accept a path or option from its caller. | Read the script; check what it executes and what input it trusts. | | Interpreters and runtimes granted as tools | The catalogue covers many of them, but a grant of a runtime lets the user run whatever code they supply. | Treat a granted interpreter as a grant of everything the privileged account can do. | | Custom and in-house binaries | No contributor has seen them. | Review by function: what does it read, write, execute and load? | | File capabilities | Few entries use the Capabilities context in the 2026-10-04 clone (eight entries, against hundreds for Sudo and SUID). | Judge each capability from the list it holds, not from catalogue coverage. | | Container images | Host sudo and set-user-ID lists do not describe the filesystems inside images. | Run the inventory inside the image or against its layers. | | Version and distribution differences | An entry says what *can* happen; a different version of the program may behave otherwise, in either direction. | Confirm on a lab copy with the owner's agreement. | ## Other things a join cannot see - **Grants outside sudo and the bit.** A service that runs as a privileged user and reads a file an unprivileged account can write is a privilege path, but not a catalogue match. Chaining rights into reach is a separate topic. - **Aliases and relationships.** The catalogue contains alias entries and Inherit references, so a program may be reachable through another's entry. - **Time.** The inventory is a snapshot; a package update can restore a set-user-ID bit or a configuration run can add a rule after the audit. ## How to work without false assurance 1. **Reason from functions.** For every granted program ask the same questions the catalogue asks: can it read or write arbitrary paths, run other programs, load libraries, or make network connections? 2. **Treat anything that runs other programs as broad.** A granted tool that executes what the user passes it hands over the privileged account. 3. **Cover the whole estate.** Audit images and hosts, not only hosts. 4. **Pin the reference.** Record the catalogue's date or commit. The list changes as contributors add entries. 5. **Word the finding honestly.** "No granted or SUID program matched a catalogued entry; wrappers, uncatalogued programs and image contents were not assessed" is accurate. "The host has no privilege-escalation paths" is not. ## Questions to ask in the review - **Who owns the grant and when was it last justified?** An undated grant is usually inherited, not designed. - **Does the granted program run other programs, or take a path from its caller?** If so, treat it as broad whether or not it is catalogued. - **Is the same grant present in images, templates and configuration management?** Fixing one host while the template re-creates the grant fixes nothing. - **Which of these hosts are jump or administration hosts?** Exposure is worse where many people hold accounts and the host reaches sensitive networks. - **What happens to the finding if the program is updated?** Often nothing, because the behaviour is intended; a version change does not remove the question. ## Why this matters for the report A clean comparison is easy to read as clearance, and a reader who treats it so stops looking. The role of the catalogue is to find known, cheap-to-spot grants quickly; the role of the reviewer is to cover the rest by function. State both in the report. ## Summary The catalogue narrows where to look first. It does not decide where you can stop.
- Why do the few Capabilities entries not make file capabilities low risk?Coverage reflects what contributors have documented, not how risky capabilities are. A file capability can be powerful whether or not an entry names the program, so read each file's capability list and judge what it permits. How capabilities work is the Linux capability topic's job; here, do not let sparse entries stand in for review.
- How do you assess a granted program the catalogue does not list?Ask the catalogue's own questions of it: can it read or write arbitrary paths, run other programs, load code or open connections? Review its options and what input it trusts from the caller, and if you must test, do so on a lab copy with the system owner's agreement. Then narrow or remove the grant by what it hands over.
- Calls a host clean because no inventory name matched
- Assumes the catalogue lists every dangerous executable
- Audits the host's lists and ignores container images
- Ignores vendor wrapper scripts since they are uncatalogued
- Skips file capabilities because few entries use that context