Real-Time Sentinel & Execution Guard
The Real-Time Sentinel & Execution Guard is DodaShield’s always-on, 24/7 background security watch. It monitors every file read, write, download, and execution attempt across your system, stopping cyber attacks before they can touch your computer.
1. Why On-Demand Scanners Alone Are Not Enough
An on-demand scanner only checks your computer when you manually remember to press “Scan”. If an attack occurs while you are browsing the web, opening an email attachment, or plugging in a friend’s USB flash drive, an on-demand scanner offers zero protection.
Without active Real-Time Protection:
- A malicious executable downloaded through your browser runs immediately upon download.
- A weaponized macro inside an Excel spreadsheet executes malicious PowerShell commands behind your back.
- An infected USB drive spreads worms across your local network the instant it is inserted.
With DodaShield Real-Time Sentinel:
- Every single file is intercepted and analyzed before the operating system allows it to open or execute.
- If a file contains malware, ransomware, or an evasive exploit script, DodaShield blocks access in under 5 milliseconds and isolates the binary into the encrypted Quarantine Vault.
2. Real-Time Defense Architecture
graph TD
USER["User Action (Download / Click / Extract / Insert USB)"] --> OS["Windows Operating System File Event"]
OS --> HOOK["DodaShield Minifilter Driver / File System Watchdog"]
subgraph SENTINEL ["Real-Time Inspection Pipeline"]
HOOK --> EVAL{"Instant Evaluation"}
EVAL --> SCRIPT["Script Blocker (PowerShell, VBScript, Batch)"]
EVAL --> EXEC["Execution Guard (Untrusted Binaries)"]
EVAL --> INTEL["Hash & YARA Instant Verification"]
end
SCRIPT -- "Malicious Activity" --> BLOCK["Block Execution & Terminate PID"]
EXEC -- "Untrusted Code" --> PROMPT["User Approval Prompt"]
INTEL -- "Malware Detected" --> QUAR["Move to Quarantine Vault & Notify User"]
INTEL -- "Clean" --> ALLOW["Allow Safe Execution"]
3. How to Use & Configure Real-Time Protection
Checking Status
- Navigate to Protection → Real-Time Protection in the sidebar.
- The top status card will read Real-Time File Monitor: Active.
- The counter displays:
- Events Inspected: Total background file reads/writes inspected since boot.
- Threats Intercepted: Number of real-time attacks successfully neutralized.
- Last Threat Neutralized: Details and timestamp of the latest intercepted hazard.
Adjusting Shield Sensitivity
Under the Configuration sub-tab:
- Heuristic Sensitivity: Select between Balanced (recommended for normal users) and Aggressive (maximum security for high-risk workstations).
- Scan On Read vs. Scan On Write: Enable both for complete coverage, or scan on write only for low-power laptops.
- Archive Scanning: Automatically decompress and inspect downloaded
.zip,.rar, and.7zarchives in real time.
4. Under the Hood: Kernel Minifilters & Execution Guard
DodaShield’s real-time engine (durga_av/monitor/file_monitor.py and durga_av/engine/exec_guard.py) operates with surgical precision:
- Low-Latency File System Interception: Leverages Windows File System Minifilter drivers and native event queues. Unlike clunky third-party scanners that choke file copying, DodaShield utilizes asynchronous worker pools with non-blocking I/O, ensuring that disk throughput and game loading times remain unaffected.
- Execution Guard (
exec_guard.py): Monitors suspicious executable paths (such as files attempting to run directly from%TEMP%,%APPDATA%\Roaming, or browser download staging areas). Legitimate installers are evaluated, while rogue stealth scripts attempting to spawn hidden command prompts are instantly blocked. - Deadlock-Free Architectural Design: DodaShield’s monitoring engine incorporates recursive handle guards to ensure that its own scanning and logging threads never trigger internal file-lock loops.
5. Comparison: Without DodaShield vs. With DodaShield
| Attack Scenario | Without Real-Time Shield | With DodaShield Real-Time Sentinel |
|---|---|---|
| Drive-By Browser Download | An infected script drops a payload into %TEMP% and executes automatically. | Minifilter intercepts the file creation event in %TEMP%, flags malware bytes, and blocks execution before launch. |
| Weaponized Macro in Word | Macro spawns a hidden background PowerShell thread to download a keylogger. | Execution Guard catches the unapproved child process spawning from Word and freezes the thread. |
| Infected USB Drive Plug-in | USB auto-run script executes silently upon insertion. | USB sentinel scans drive root immediately upon mount, isolating infected autorun files before user interaction. |
Related Security Modules
- Malware Scanner — Run scheduled deep-cleaning passes alongside real-time kernel monitoring.
- Encrypted Quarantine Vault — Review isolated payloads intercepted during on-access file checks.
- Process Monitor & Enterprise EDR — Detect memory injection, reflective DLL loading, and process hollowing attempts.
- Ransomware Canary Shield — Stop unauthorized encryption attempts before files are permanently damaged.