Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries Linux, macOS, and Windows endpoints with osquery SQL for forensic evidence collection, threat hunting, and incident response.
Use this skill ↓87% 96%+9 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 20 of 23 without it.
When running osqueryd for forensic chain-of-custody, which specific daemon flag enables detailed audit logging for security compliance?
Identifies the osqueryd CLI flag as --audit.
3 of 3 safety checks passed
osquery transforms operating systems into queryable relational databases, enabling security analysts to investigate compromises using SQL rather than traditional CLI tools. This skill provides forensic investigation workflows, common detection queries, and incident response patterns for rapid evidence collection across Linux, macOS, and Windows endpoints.
Core capabilities:
# Launch interactive shell
osqueryi
# Check running processes
SELECT pid, name, path, cmdline, uid FROM processes WHERE name LIKE '%suspicious%';
# Identify listening network services
SELECT DISTINCT processes.name, listening_ports.port, listening_ports.address, processes.pid, processes.path
FROM listening_ports
JOIN processes USING (pid)
WHERE listening_ports.address != '127.0.0.1';
# Find processes with deleted executables (potential malware)
SELECT name, path, pid, cmdline FROM processes WHERE on_disk = 0;
# Check persistence mechanisms (Linux/macOS cron jobs)
SELECT command, path FROM crontab;
Next to this one in the catalogue, plus more from the same author.