Endpoint Agent Tampering Detected – Real Fix That Works
You'll see this alert when the agent stops unexpectedly. Root cause is usually a borked update or a conflict with another security tool. Here's how to stop the false alarms.
When This Alert Pops Up
You're working through your morning queue, and suddenly a Endpoint Agent Tampering Detected alert lights up in your security console. The agent stopped responding, the last check-in was 45 minutes ago, and now you've got a ticket from a panicked manager. This isn't a real attack – most of the time it's a botched agent update, a service that crashed during a reboot, or a conflict with another security tool that stepped on the agent's toes.
I've seen this exact alert on CrowdStrike, SentinelOne, and Carbon Black deployments. One client had it trigger every Tuesday after patch Tuesday because the agent service was set to manual instead of automatic. Another time it was a rogue Windows Defender real-time scan that killed the agent process. The pattern is always the same: the agent stops, the console screams, and you waste hours chasing ghosts.
Root Cause – What's Actually Happening
The security agent runs as a system service. When that service stops – whether from a crash, a power outage, or someone accidentally killing it from Task Manager – the console registers it as tampering. The agent's self-protection feature is supposed to prevent this, but it's not bulletproof.
Here's the short list of real-world triggers:
- Botched updates: The agent updates, but the installer doesn't restart the service properly. The update process itself can trigger the alert because the old service stops before the new one starts.
- Service dependency failure: The agent relies on something like Windows Firewall, a kernel driver, or a specific version of .NET. If that dependency breaks – say a Windows update changes the firewall behavior – the agent service won't start.
- Third-party conflict: Two security tools installed on the same machine. I've seen Symantec kill a CrowdStrike process, and McAfee block a SentinelOne driver. The tamper protection on one tool sees the other as a threat.
- Corrupted files: A disk error or an incomplete uninstall of a previous agent leaves behind a corrupted driver or DLL. The agent tries to load it and crashes.
The Fix – Step by Step
Skip the generic support advice to reboot first. Instead, do this:
- Check the agent service status. Open
services.mscon the affected machine. Find the agent service (e.g., "CrowdStrike Falcon Sensor", "SentinelOne Agent", "McAfee Endpoint Security"). If it's stopped, manually start it. If it fails to start, note the exact error message – that's your clue. - Review the agent logs. Each agent stores logs in a specific location. For CrowdStrike, it's
C:\ProgramData\CrowdStrike\Falcon\logs\. For SentinelOne, it'sC:\Program Files\SentinelOne\Sentinel Agent. Look for entries around the time the alert fired. Common entries: "Service terminated unexpectedly", "Update failed to apply", "Dependency service not found". - Reset the service dependencies. If the agent won't start, run this command in an admin PowerShell:
sc config "CrowdStrike Falcon Sensor" depend= RpcSs/TcpIp/LanmanWorkstation
Replace the service name and dependencies with the agent's actual ones. This forces the agent to wait for core Windows services to be fully up before starting. Had a client's SentinelOne agent failing after every reboot because it was trying to load before the networking stack – this fixed it. - Re-register the agent driver. Some agents use a kernel driver. If that driver is corrupted, uninstall and reinstall the agent. The cleanest way: run the agent uninstaller from the command line with the product's specific uninstall switch. For CrowdStrike, that's
msiexec /x {product-GUID} /qn. For SentinelOne, use their built-inSentinelAgent.exe /uninstall. Then reboot, download a fresh installer from your console, and reinstall. - Check for third-party conflicts. Uninstall any other security software temporarily. If the agent stabilizes, you've found the culprit. Then either exclude the agent from the other tool's real-time scans or remove the conflicting tool entirely – running two security products on the same endpoint is a bad idea.
- Disable tamper protection temporarily. If you're in the middle of an update cycle that's causing the alert, disable tamper protection from the console for 30 minutes. Run the update again. Re-enable tamper protection after it finishes. Some agents don't handle the transition well when tamper protection is active.
If It Still Fails
After all that, if the alert keeps coming back, you're likely dealing with a deeper issue:
- Check the certificate. The agent's file is digitally signed by the vendor. If the certificate expired or was revoked (rare but it happens), the service won't start. Reinstall with the latest version from the vendor's site.
- Run a system file checker. Corrupted Windows system files can break the agent's dependencies. Run
sfc /scannowanddism /online /cleanup-image /restorehealthin an admin command prompt. - Test on a clean machine. Install the agent on a fresh Windows test VM. If it works there, the problem is specific to the affected machine – maybe a bad registry entry, a leftover from a previous agent install, or a hardware issue. Use Microsoft's Sysinternals tools like Process Monitor to trace what's happening when the service tries to start.
The key is to stop chasing conspiracies. 99% of these alerts are just the agent being grumpy after an update or a reboot. Follow the steps above, and you'll cut the false positives to almost zero.
Was this solution helpful?