Skip to content
MoftgateMoftgate Docs
Product guide

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.

The Problem: False Positive Blocks
Modern endpoint protection platforms (CrowdStrike, SentinelOne, Microsoft Defender for Endpoint, Sophos, Trend Micro, Trellix) heavily analyze runtime behavior. Tools that execute remote administrative scripts, capture process trees, or monitor USB bus events can trigger heuristic alerts categorized as Riskware, Hacktool, or Potentially Unwanted Application (PUA).

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 / TargetFile System PathPurpose
Windows (Agent Service)C:\Program Files\Moftgate\moftgate-agent.exeMain background service, telemetry emitter, and policy execution daemon.
Windows (System Tray)C:\Program Files\Moftgate\moftgate-tray.exeInteractive 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-agentPrivileged system daemon managed via launchd.
macOS (App Bundle & Tray)/Applications/Moftgate.app/Contents/MacOS/moftgate-trayUser agent GUI and menu bar integration.
Linux (Agent Binary)/usr/local/bin/moftgate-agentSingle static or dynamic binary managed via systemd unit.
Linux (Runtime State)/var/lib/moftgate/*Local SQLite state database, audit buffer, and TLS keys.
Process Name Exclusions
Whenever supported by your EDR console, configure Process Exclusions in addition to folder paths: moftgate-agent.exe and moftgate-tray.exe on Windows, moftgate-agent and moftgate-tray on macOS/Linux.

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 FieldValue
Subject / PublisherMoftgate Cyber Technologies Inc.
IssuerDigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1
Signature Algorithmsha256RSA / SHA-256 with RSA Encryption
Key UsageDigital 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:

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:

powershell
# 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:

  1. 1
    Configure Central EDR/AV Whitelist First

    Apply certificate or folder path exclusions across your security management console before attempting agent reinstallation.

  2. 2
    Release Files from Quarantine

    If binaries were quarantined, restore them from your EDR quarantine log. This restores service execution immediately without file re-downloads.

  3. 3
    Restart Endpoint Daemon

    Issue a service restart via PowerShell, Terminal, or remote management tooling (e.g. Restart-Service moftgate-agent).

  4. 4
    Confirm Heartbeat in Moftgate Console

    Verify that the endpoint status flips from offline to active green in the Fleet Intelligence inventory view.

Frequently Asked Questions#

Why does our security software flag Moftgate as a PUA or PUP?
Moftgate operates as an enterprise unified endpoint management and data security agent. It executes administrative scripts, collects hardware and software inventory, interacts with system sockets, and enforces kernel-level DLP rules. Antivirus behavioral heuristics often classify these legitimate management capabilities as Potentially Unwanted Applications unless excluded.
Why did some endpoints stay connected while identical devices went offline?
EDR solutions employ adaptive learning and machine-learning risk scores. Devices where Moftgate performed active administrative tasks (such as mass script distribution or registry checks) can trigger behavioral tripwires sooner than idle machines. Furthermore, staggered definition updates across your fleet can cause disparate detection timings.
Why are certificate-based exclusions preferred over path-based exclusions?
Path exclusions depend on fixed file locations and executable names. If an attacker plants malicious files in an excluded directory, security is weakened. Certificate exclusions explicitly check the cryptographic digital signature of Moftgate Cyber Technologies Inc. Even during weekly auto-updates with varying file hashes, valid signed binaries remain permitted without manual rule updates.
Can our AV block Moftgate without generating a quarantine alert?
Yes. Modern EDR network inspection and memory shields can silently terminate persistent WebSocket connections or throttle local RPC calls without generating desktop user popups. If an endpoint is offline while the service appears running, inspect local EDR event viewer telemetry.
Should I reinstall the Moftgate agent if it was blocked by AV?
Do not reinstall before configuring exclusions. If the root cause was an EDR heuristic block, the newly installed files will be quarantined again during initialization, creating duplicate endpoint records.