← All projects

Rapid7 & Ivanti Service Event Monitoring

Detection engineering

Implemented Windows event monitoring for Rapid7 and Ivanti services, with detection workflows in Microsoft Defender XDR.

Accepted for production

Outcome

Security-agent interruptions are surfaced for investigation even when the service has already recovered.

PowerShellIntuneWindows Event LogsDefender XDRKQL

The task

Stopped, paused or incorrectly configured endpoint-security services can create monitoring gaps. Service state alone may not show interruptions that happened between checks.

My contribution

Implemented Windows Event-based monitoring for Rapid7 and Ivanti security-agent services using PowerShell, Microsoft Intune and Defender XDR, with KQL-based custom detection workflows.

Implementation

  • Developed detection-only PowerShell scripts to inspect service presence, running state and startup configuration.
  • Processed relevant Windows service events to record interruptions even when a service subsequently resumed.
  • Used overlapping event lookback windows and deduplication to retain distinct events without repeatedly recording the same interruption.
  • Recorded monitoring output and used Microsoft Defender telemetry and KQL custom detections to surface service-related findings.
  • Validated the monitoring with controlled stop/start tests, checked the resulting telemetry and restored services after testing.

Result

The solution improves visibility into Rapid7 and Ivanti service interruptions and supports investigation of stopped or unhealthy security-agent services.

Project scope

A service interruption may be authorised maintenance. Alerts require context, current-state checks and validation with the responsible system owner.

Discuss this project