System Services (sec-services)

Monitors system services for changes, unexpected new services, and failed auto-start services.

Configuration

ParameterTypeDefaultDescription
enabledbooltrueEnable/disable module
ignore_service_patternslist["user@*", "session-*"]Ignore services matching these patterns
check_failedbooltrueReport failed auto-start services

YAML Example

sec_services:
  enabled: true
  ignore_service_patterns:
    - "user@*"
    - "session-*"
    - "snap.*"
  check_failed: true

Diagnostic Codes

Linux

CodeSeverityMeaningRecommendation
72000No issues with systemd services
72011New service file (not from package)Verify origin
72021Service file modifiedVerify change
72042Auto-start service failedCheck systemctl status

Windows

CodeSeverityMeaningRecommendation
82000No issues with services
82011New auto-start service detectedVerify origin
82021Auto-start service stoppedStart or disable the service
82031Service running under unusual accountReview service account
82041Service removed from baselineVerify removal

Platform Support

  • Linux: Analyzes systemd unit files, compares with package manager origin.
  • Windows: Checks Windows services via sc query and WMI.