Back to library
Defensive Intermediate Free

Hash a system binary.

Hash a system binary.

Osquery / Endpoint Security

Log in to save

Command

osqueryi "select path,sha256 from hash where path='/bin/bash';"

Syntax

osqueryi "select path,sha256 from hash where path='/bin/bash';"

Use case

Use during authorized defensive operations, lab simulations, or audit preparation to understand expected telemetry and command structure.

Explanation

Hash a system binary. This reference is stored in the database and rendered dynamically for safe education, audit, and simulation workflows.

Example output

SIMULATED OUTPUT
status=ok
records=12
note="Database seeded command reference."

More examples

Expanded library example

osqueryi "select path,sha256 from hash where path='/bin/bash';"

Hash a system binary.

windows linux macos osquery endpoint-security expanded-library

Related

Defensive Advanced Premium

Run a local Velociraptor information query.

Run a local Velociraptor information query.

velociraptor query "SELECT * FROM info()"
velociraptor endpoint-security expanded-library
Velociraptor / Endpoint Security Open
Defensive Advanced Premium

List Windows-focused artifacts.

List Windows-focused artifacts.

velociraptor artifacts list | grep Windows
velociraptor endpoint-security expanded-library
Velociraptor / Endpoint Security Open
Defensive Advanced Premium

Inspect running process telemetry.

Inspect running process telemetry.

velociraptor query "SELECT Name, CommandLine FROM pslist()"
velociraptor endpoint-security expanded-library
Velociraptor / Endpoint Security Open