Sentinel Suite: Shield Edition

    Defense in Depth for
    Magento 2 Stores

    Sentinel isn't just a firewall. It's an in-house, AI-assisted framework that watches every layer of your stack, from PHP-FPM processes to Nginx request logs.

    🔰 Overview

    The Sentinel Suite is EveryHost’ in-house AI-powered security and performance framework, built specifically for Magento 2 hosting environments. Unlike generic one-size-fits-all security suites, Sentinel operates at a stack-aware level, understanding Magento’s architecture, log patterns, cron structure, search queries, and Redis/OpenSearch behaviour.

    It runs as a lightweight agent on each server, feeding JSON reports and metrics back to WHMCS dashboards, and coordinating defences through Sentinel Shield, the system’s central intelligence layer.

    🧱 Sentinel Shield (Core Defence Layer)

    Status: Active replacement for sentinel-abuse-guard.sh

    💡 Function

    Sentinel Shield is the central nervous system of the entire Sentinel stack. It continuously monitors server metrics, AI log signals, Redis activity, and PHP process data, then acts dynamically to prevent overload or abuse in real-time. Its rules filter exactly the attack classes behind recent bulletins like the APSB26-73 webhooks RCE (CVE-2026-48358): mitigation while you patch, at the web layer where these attacks arrive.

    A WAF works at the web layer, so it is worth being clear about what it cannot reach. Kernel-level local privilege-escalation flaws such as RefluXFS (CVE-2026-64600) are exploited from an account already on the machine, below the layer any WAF inspects. No WAF stops those, and any host claiming otherwise is overselling. That class of risk is answered by architecture instead: on Magento dedicated hosting UK there are no neighbouring tenants to launch the attack from, which is why we run single-tenant hardware rather than packing stores onto a shared kernel.

    🔧 Features

    • Real-time telemetry feed from loadwatch, redis-watch, and log-scan.
    • Adaptive response engine with internal scoring model.
    • Unified JSON status (shield-state.json) for WHMCS / Grafana.
    • AI-assisted decision layer (GPT-4) to differentiate spikes from bots.
    • Self-healing routines for Redis locks and PHP workers.

    Response Levels

    Level 1Log and monitor
    Level 2Throttle connections / kill processes
    Level 3CSF block offending IP or /24 subnet
    Level 4Lockdown Mode (halts cron, rate-limits PHP)

    Evolution: From Abuse Guard to Shield

    CapabilityLegacyShield
    Process Scanning✅ Real-time
    AI Logic✅ GPT-based
    Auto-healing✅ Built-in
    Inter-module SyncIsolated✅ Full Sync

    ⚙️ Core Monitoring Modules

    1. sentinel-log-scan.sh

    AI-powered analysis of Magento, Apache, PHP, Redis, and OpenSearch logs. Uses GPT to detect malicious patterns (SQLi, exploits).

    Outputs: logscan.json

    2. sentinel-cronwatch.sh

    Tracks Magento cron processes. Detects if cron exceeds runtime (3600s), auto-unlocks stuck jobs, and reports to WHMCS.

    Outputs: cronwatch.json

    3. sentinel-admin-audit.sh

    Monitors Magento admin users. Detects new user creation, role modification, or password resets. Links to 2fa-watch.

    Outputs: admin-audit.json

    4. sentinel-2fa-watch.sh

    Protects backend from brute-force. Scans admin logs for disabled 2FA accounts or failed logins. Sends instant alerts.

    5. sentinel-session-leak.sh

    Scans var/session for abnormal growth. Detects bots holding persistent sessions. Correlates spikes with IPs.

    Outputs: session-leak.json

    6. sentinel-hackwatch.sh

    File integrity checks. Detects code injection, webshells, or core modifications using regex and hash comparison.

    Outputs: hackwatch.json

    7. sentinel-geo-report.sh

    Parses logs with MaxMind GeoIP2. Identifies high-risk countries and ASNs. Feeds Shield with origin data for blocking.

    8. sentinel-searchwatch.sh

    Detects abusive search queries targeting OpenSearch. Blocks excessive query frequency and scraping bots automatically.

    Outputs: searchwatch.json

    9. sentinel-ipflood.sh

    Analyses recent access logs for flooding IPs. Uses improved timestamp parsing. Auto-blocks abusive IPs/CIDRs.

    Outputs: ipflood.json

    10. sentinel-loadwatch.sh

    Continuously tracks load, CPU, RAM, I/O. Feeds metrics to Shield. Integrates with Prometheus/Grafana.

    11. sentinel-redis-watch.sh

    Monitors Redis for excessive memory or stuck BGSAVE. Kills heavy background saves. Adjusts persistence dynamically.

    12. sentinel-config-audit.sh

    Audits CSF, PHP INI, Redis, MySQL configs using GPT. Generates scored reports and improvement suggestions.

    📈 Data, Integration, and Dashboards

    🔒 Agent + Token Model

    Every Sentinel module exposes a token-secured JSON API. Data is stored in /public_html/sentinel-agent/*.json and pulled securely by WHMCS modules.

    🖥️ WHMCS Integration

    Fully modular dashboard including IP Flood Monitor, Cron Watch, Geo Report, Search Abuse, Log Watch, and Shield Status. Supports auto-notifications.

    📊 Grafana / Prometheus Compatibility

    Sentinel exports JSON metrics compatible with Prometheus exporters. Visualize Shield state, load, and Redis usage in real-time.

    Frequently Asked Questions

    Unmatched Intelligence

    Sentinel Suite gives EveryHost and its clients Magento-specific intelligence, real-time AI detection, and unified dashboards, with zero license cost.