AV/EDR False Detections & Exclusions
Comprehensive troubleshooting guide, binary paths, certificate specifications, and exclusion rules for Antivirus and EDR coexistence.
Why Antivirus & EDR Solutions Flag Unified Agents#
Moftgate provides comprehensive endpoint management, data loss prevention (DLP), and system state discovery across enterprise fleets. To perform these administrative duties without constant user interaction, the Moftgate agent runs with elevated system privileges.
When your security software flags an agent component, endpoints may suddenly drop offline in the console, fail policy syncs, or report incomplete software inventories. Implementing authoritative exclusion policies ensures uninterrupted telemetry without compromising endpoint security.
Behavioral Interference & Silent Drops#
Not all EDR actions produce visible quarantine notifications. In many enterprise deployments, security software degrades or throttles agent capabilities silently:
- WebSocket & Network Connection Termination: Deep packet inspection modules intercept and drop long-lived TLS websocket connections to port 4222 or 443.
- Parent-Child Process Blocking: Blocking the agent daemon from invoking PowerShell, cmd.exe, bash, or internal diagnostic helpers.
- WMI & Registry Throttling: Denying hardware telemetry queries, causing devices to report partial inventory information.
- Silent Memory Termination: Forcibly killing background worker threads when high I/O spikes occur during full-disk DLP scans.
File Path and Directory Exclusions#
If your security tooling relies on path-based rules, whitelist the following binaries and runtime directories across your managed operating systems:
| Component / Target | File System Path | Purpose |
|---|---|---|
| Windows (Agent Service) | C:\Program Files\Moftgate\moftgate-agent.exe | Main background service, telemetry emitter, and policy execution daemon. |
| Windows (System Tray) | C:\Program Files\Moftgate\moftgate-tray.exe | Interactive user-session component for alerts, consent, and user feedback. |
| Windows (Installer & Cache) | C:\ProgramData\Moftgate\* | Local policy database, offline buffer queue, and staging bundles. |
| macOS (Agent Daemon) | /Library/Application Support/Moftgate/moftgate-agent | Privileged system daemon managed via launchd. |
| macOS (App Bundle & Tray) | /Applications/Moftgate.app/Contents/MacOS/moftgate-tray | User agent GUI and menu bar integration. |
| Linux (Agent Binary) | /usr/local/bin/moftgate-agent | Single static or dynamic binary managed via systemd unit. |
| Linux (Runtime State) | /var/lib/moftgate/* | Local SQLite state database, audit buffer, and TLS keys. |
Certificate-Based Exclusions (Recommended)#
Certificate exclusions are significantly more robust than folder path rules. Weekly minor updates or vulnerability hotfixes change binary SHA-256 hashes, but the cryptographic signing certificate remains identical. By trusting the publisher certificate, your endpoints accept new releases without manual administrator intervention.
| Certificate Field | Value |
|---|---|
| Subject / Publisher | Moftgate Cyber Technologies Inc. |
| Issuer | DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1 |
| Signature Algorithm | sha256RSA / SHA-256 with RSA Encryption |
| Key Usage | Digital Signature, Code Signing (1.3.6.1.5.5.7.3.3) |
You can inspect and extract the digital signature on any Windows device using PowerShell:
(Get-AuthenticodeSignature "C:\Program Files\Moftgate\moftgate-agent.exe").SignerCertificate | Format-List Subject, Issuer, Thumbprint, NotAfter
Windows Defender Automation Script#
For standalone hosts, staging environments, or Active Directory Group Policy deployment, execute the following PowerShell commands with local administrative privileges:
# Moftgate AV/EDR Exclusion Script for Microsoft Defender Write-Host "Configuring Microsoft Defender exclusions for Moftgate..." -ForegroundColor Cyan # 1. Path Exclusions Add-MpPreference -ExclusionPath "C:\Program Files\Moftgate" Add-MpPreference -ExclusionPath "C:\ProgramData\Moftgate" # 2. Process Exclusions Add-MpPreference -ExclusionProcess "moftgate-agent.exe" Add-MpPreference -ExclusionProcess "moftgate-tray.exe" # 3. Verify applied exclusions Get-MpPreference | Select-Object -Property ExclusionPath, ExclusionProcess Write-Host "Exclusions configured successfully." -ForegroundColor Green
Recovering Devices That Went Offline#
If your security software has already quarantined or terminated the Moftgate agent across fleet endpoints, follow this sequence to restore operational visibility:
- 1Configure Central EDR/AV Whitelist First
Apply certificate or folder path exclusions across your security management console before attempting agent reinstallation.
- 2Release Files from Quarantine
If binaries were quarantined, restore them from your EDR quarantine log. This restores service execution immediately without file re-downloads.
- 3Restart Endpoint Daemon
Issue a service restart via PowerShell, Terminal, or remote management tooling (e.g. Restart-Service moftgate-agent).
- 4Confirm Heartbeat in Moftgate Console
Verify that the endpoint status flips from offline to active green in the Fleet Intelligence inventory view.