mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-07-20 22:40:58 +03:00
1.4 KiB
1.4 KiB
name, description, domain, subdomain, tags, version, author, license
| name | description | domain | subdomain | tags | version | author | license | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| implementing-osquery-for-endpoint-monitoring | Deploy osquery scheduled queries for continuous endpoint monitoring covering process inventory, network connections, file integrity, and persistence mechanisms. Generates osquery.conf with query packs, configures differential result logging, and analyzes query results to detect suspicious processes, unauthorized listeners, and file modifications in system directories. | cybersecurity | security-operations |
|
1.0 | mahipal | MIT |
Instructions
- Install dependencies:
pip install requests(osquery installed on endpoints) - Generate
osquery.confwith scheduled query packs for:- Process monitoring: new processes, unusual parent-child relationships
- Network listeners: unexpected listening ports and outbound connections
- File integrity: modifications in /etc, /usr/bin, system32
- Persistence: cron jobs, startup items, scheduled tasks, services
- Deploy configuration to endpoints.
- Analyze differential results from osquery log output.
- Generate security findings report.
python scripts/agent.py --results-dir /var/log/osquery/results/ --output osquery_report.json
Examples
Osquery Scheduled Query
{"schedule": {"process_snapshot": {"query": "SELECT pid, name, path, cmdline, uid FROM processes WHERE on_disk = 0;", "interval": 300}}}