[Osquery_manager] Add services artifact saved query #15885
Closed
+468
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Core Forensic Artifacts Coverage
Queries by Platform
🪟 Windows - Suspicious Services
Description
Detects suspicious Windows services with comprehensive risk scoring (0-100). Identifies services in user-writable directories, unsigned/untrusted binaries, ServiceDLL hijacking, failure command persistence, and privilege escalation patterns.
Query returned No results, not sure if my query is wrong (should not be ;) ) , or I just do not have suspicious services running on my VM :P Can somebody help validate this?
Platform
windowsInterval
3600seconds (1 hour)SQL Query
Key Detection Capabilities
🍎 macOS - Suspicious Launch Daemons/Agents
Description
Detects suspicious launchd persistence on macOS with multi-factor risk scoring. Monitors all standard LaunchAgents/LaunchDaemons locations, analyzes program paths, detects label masquerading, and prioritizes high-risk entries.
Platform
darwin(macOS)Interval
3600seconds (1 hour)SQL Query
Key Detection Capabilities
🐧 Linux - Suspicious Systemd Units
Description
Detects suspicious systemd persistence on Linux with multi-factor risk scoring. Monitors /etc/systemd/system/ (80% of malware), user systemd units, runtime units, and temporary locations. Prioritizes socket/timer units and recently created entries.
Platform
linuxInterval
3600seconds (1 hour)SQL Query
Key Detection Capabilities
Risk Score Interpretation