Join our Newsletter — 33% off our NHI Course
Home› Guides› D3-SDM System Daemon Monitoring: Catching Stopped and Tampered…
Guide SOC & Detection Engineering

D3-SDM System Daemon Monitoring: Catching Stopped and Tampered Security Services

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 11 min read
On this page

An intruder who can stop the antivirus service, turn off the firewall or kill the logging daemon can then work unseen, so the state of critical system services is itself a detection signal. MITRE D3FEND calls this countermeasure System Daemon Monitoring (D3-SDM) and defines it as "Tracking changes to the state or configuration of critical system level processes." It is a Detect technique under Operating System Monitoring, and its digital artefact is the Operating System Process. This card covers what to watch, which ATT&CK techniques D3FEND relates it to, the native and product signals on Windows, Linux and macOS, how to prove the alerts fire, and how attackers get around them. It is for SOC analysts, detection engineers and endpoint owners; the wider parent topic is covered in D3-OSM Operating System Monitoring.

Key takeaways

  • Watch the watchers. D3FEND's article names firewall and antivirus services as popular targets and notes that disabling system logs lets an attacker's actions go unnoticed.
  • Two approaches. D3FEND suggests monitoring hardened system services, and monitoring registry updates for changes to security settings.
  • The ATT&CK link is defence impairment. D3FEND relates D3-SDM to Disable or Modify Tools (T1685 in ATT&CK v20) and, through the Scheduled Job sub-artefact, to Scheduled Task (T1053.005).
  • Silence is the hardest signal. A stopped agent cannot report that it stopped, so the most reliable control is a heartbeat or missing-telemetry check from a system the attacker does not control.
  • Prevention beats detection here. Tamper protection, protected processes and service recovery settings stop many attempts; D3-SDM catches what gets through and the attempts themselves.

D3-SDM at a glance

AttributeValue
D3FEND IDD3-SDM (d3f:SystemDaemonMonitoring)
TacticDetect
Parent techniqueOperating System Monitoring (D3-OSM)
Digital artefactOperating System Process (D3FEND relation: monitors)
D3FEND referencesMITRE CAR-2016-04-003 User Activity from Stopping Windows Defensive Services; a Sophos patent on host intrusion prevention using software and user behaviour analysis; a Symantec patent on kernel-mode assistance to detect threats that block their own removal
What it watchesStart, stop, crash, disable and configuration changes of security and logging services, and registry or configuration file changes to their settings
Typical data sourcesWindows System log, Sysmon, endpoint agent tamper events, Linux audit and journal records, management platform health status
EffortLow for a first rule set; medium to keep allow-lists for patching and maintenance accurate

How it works

D3FEND's article explains that attackers may manipulate system settings or services to disable logging or the monitoring of security tools, and that analysis of logs, registries and process monitoring helps defenders find signs of tampering. In practice a D3-SDM programme watches three kinds of change.

  • State changes: a protected service moves to stopped, is set to disabled, or its process exits unexpectedly.
  • Configuration changes: a security product's policy, exclusions or real-time protection settings change, through the registry, a configuration file or a management command.
  • Health gaps: an agent or log forwarder that used to report stops reporting, which is often the only trace of a successful kill.

The MITRE CAR analytic referenced by D3FEND is the simplest example: in the Windows System log, event 7036 where the service name is Windows Defender or Windows Firewall and the new state is "stopped". CAR rates its own ATT&CK coverage as low, which is a fair reminder that one event rule is a start, not a programme.

ATT&CK techniques D3FEND relates to D3-SDM

Relationship type: inferred only. D3FEND lists these relations as "inferred and experimental", derived through the Operating System Process artefact (D3FEND 1.6.0, checked November 2026). D3FEND still shows Disable or Modify Tools under its pre-v20 ID as a sub-technique of Impair Defenses; ATT&CK v20 revoked that ID and its successor is T1685, used below. Each ID was checked against ATT&CK v20.

ATT&CK IDTechniqueD3FEND relation (inferred via artefact)What D3-SDM can catch
T1685Disable or Modify ToolsSame artefact: disables Operating System ProcessSecurity or logging services stopped, disabled, uninstalled or reconfigured
T1053.005Scheduled TaskSub-artefact: Scheduled Job (a kind of Operating System Process)Tasks created to run as system processes, including tasks that stop or reconfigure defences on a timer

Two neighbours are worth watching with the same rules, though D3FEND does not relate them to D3-SDM: Service Stop (T1489), used before ransomware encryption, and Create or Modify System Process (T1543), where the attacker installs a service rather than stopping one. See the T1685 Disable or Modify Tools Defensive Guide, the T1053 Scheduled Task/Job Defensive Guide and MITRE ATT&CK T1489 Service Stop.

Signals to collect

Platforms are listed alphabetically; order is not a ranking. Event numbers are documented by the source named in each row.

Platform or sourceSignalWhat it shows
Elastic DefendAgent tamper protection ("Prevent agent tampering" in the Fleet agent policy) requires a per-policy uninstall token to remove Elastic Agent and Elastic Endpoint; agent status in FleetUnauthorised uninstall attempts blocked; agents that stop checking in. Availability: Elastic documents a Platinum or higher subscription (or the Endpoint Protection Complete serverless tier) and Elastic Agent 8.11.0 or later
Linux (auditd)Audit rules on security tool binaries and configuration paths, using the -a always,exit -F path=... -F perm=wa -F key=... form; syscall rules for process termination where neededChanges to daemon configuration and binaries, keyed for search
Linux (systemd)Unit state changes in the journal; Restart=on-failure and WatchdogSec= on critical unitsA unit that stops, fails or stops pinging its watchdog; systemd terminates a unit that misses its watchdog interval
Microsoft Defender for EndpointAdvanced hunting DeviceEvents where ActionType == "TamperingAttempt"; Windows event 5013 when tamper protection blocks a change; alerts such as "Tamper Protection bypass"Attempts to change protected antivirus settings, blocked or not; Microsoft also documents tamper protection for macOS and Linux
SysmonEvent 4 (Sysmon service state changed), event 16 (Sysmon configuration change), event 13 (registry value set)Sysmon itself stopped or reconfigured; registry writes to security product settings
Windows System logEvent 7036 (service entered a state), as used by MITRE CAR-2016-04-003Defensive services stopping
Central monitoringLast-seen time per agent and per log sourceAgents that went quiet, which per-host events cannot show

Deeper collection guidance is in the Sysmon Guide, the Windows Event Log Guide and the Linux Logging and auditd for Defenders Guide.

Where identity fits

Stopping a protected service normally needs local administrator or root rights, and in many incidents those rights come from a management or deployment account, not a person. Alert enrichment should record which account changed the service and whether that account is a known automation identity. Patch, backup and software deployment service accounts that legitimately restart security agents should be scoped to that action and listed in the allow-list by name, so a stolen one used outside its window stands out.

Implementation steps

  1. List the critical daemons. For each platform, name the services whose loss blinds you: antivirus and EDR agents, host firewall, event log and audit daemons, log forwarders, Sysmon, backup agents. This list is the scope of D3-SDM.
  2. Turn on prevention first. Enable tamper protection where the product offers it (for example, "Prevent agent tampering" in an Elastic Defend agent policy, or "Tamper protection (device)" in a Microsoft Intune Antivirus policy for Microsoft Defender for Endpoint) and set service recovery or systemd Restart= for critical units.
  3. Write state and configuration rules. Alert on stop, disable and uninstall events for the listed services, and on writes to their registry keys or configuration files. Key Linux audit rules so results are searchable by name.
  4. Add the missing-telemetry rule. In the SIEM, alert when an asset that reported in the last day has sent no agent or log data for a set window. An example window is 30 to 60 minutes for servers; this is an NHI Mgmt Group suggestion, not a standard.
  5. Build the maintenance allow-list. Record approved patch windows, deployment tools and their service accounts. Suppress only matching events, never a whole host.
  6. Pilot and tune. Run in alert-only mode on one server group for two weeks, fix benign triggers at the source, then extend.
  7. Define the response. A security service stopped outside a change window is treated as possible hands-on-keyboard activity: isolate through the network or the EDR console if it still responds, restore the service and collect logs from a central copy, not the host. The EDR Tampering and BYOVD Response Playbook covers the full response.

How to verify it works

  • Replay the CAR unit test in a lab: stop the firewall and antivirus services from an administrative console on a test host and confirm the alert arrives with the host and account. With tamper protection on, the stop should be blocked and the attempt should still be reported.
  • Check prevention status: on Windows, Get-MpComputerStatus | Select-Object IsTamperProtected, RealTimeProtectionEnabled shows whether tamper protection and real-time protection are on.
  • Test the silence rule: disconnect a test host's network and confirm the missing-telemetry alert fires within the window.
  • Test the Linux rules: modify a watched configuration file on a test host and search the audit log for the rule key.
MetricExample target (NHI Mgmt Group suggestion, not a standard)Why it matters
Critical daemons covered by a state rule100% of the listed servicesGaps are where attackers act
Endpoints with tamper protection onAll managed endpointsTurns most tampering into a blocked attempt
Time from agent silence to alertWithin the defined windowSilence is often the only sign of a kill
Service-stop alerts outside change windows that were investigated100%These are high-value alerts
Monthly lab test of each rulePassed and recordedProves the pipeline end to end

Limits, bypasses and failure patterns

  • Killed before it can speak: an agent removed through a vulnerable driver or from kernel level may send nothing. The Bring Your Own Vulnerable Driver and EDR Killers Guide covers this; the missing-telemetry rule is the backstop.
  • Logs cleared or stopped first: if the event log or audit daemon is the first thing stopped, the later service changes are never recorded locally. Forward events off-host as they happen.
  • Changes that look like administration: exclusions added through the management console with a stolen administrator account do not stop any service. Monitor configuration changes in the management plane as well as on hosts.
  • Allow-lists that are too wide: suppressing all service events during a weekly patch window gives an attacker a weekly window too.
  • Assuming every platform blocks: tamper protection modes differ by operating system and product, and some modes report rather than block. Check each product's documented mode per platform and plan audit rules and off-host forwarding for the report-only cases. Vendor documentation also notes that a local administrator can still change operating system settings, so limit who holds those rights.
  • Monitoring only Windows Defender and Firewall: the CAR example names two services. Real scope includes third-party agents, log forwarders and backup agents.

Framework mapping

FrameworkReferenceRelevance
NIST SP 800-53 Rev 5SI-4 System MonitoringMonitoring the system for attacks and unauthorised changes
NIST SP 800-53 Rev 5AU-5 Response to Audit Logging Process FailuresAlerting when logging stops
NIST SP 800-53 Rev 5AU-9 Protection of Audit Information; CM-6 Configuration SettingsProtecting logging and security settings from change
NIST CSF 2.0DE.CM-09Monitoring software and runtime environments for adverse events
MITRE ATT&CK mitigationsM1047 AuditReviewing logs and configuration for defence changes
MITRE D3FENDD3-OSM, D3-SDMParent and technique

For the audit mitigation itself, see M1047 Audit.

Practitioner checklist

  • Keep a named list of critical security and logging daemons per platform.
  • Enable tamper protection on every managed endpoint and confirm it with a status query.
  • Alert on stop, disable and uninstall of each listed daemon, including Sysmon events 4 and 16.
  • Watch registry keys and configuration files that control security product settings.
  • Run a missing-telemetry rule from the SIEM for every agent and log source.
  • Scope the maintenance allow-list to named tools, service accounts and time windows.
  • Forward logs off-host in real time so local log clearing does not erase the trail.
  • Test each rule monthly in a lab and record the result.

Standards and references

Related NHI Mgmt Group resources: T1685 Disable or Modify Tools Defensive Guide · EDR Tampering and BYOVD Response Playbook · Sysmon Guide · MITRE D3FEND Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.