Sentry Console Technical Reference
Welcome to the technical documentation for Sentry Console. This reference documents the underlying binary parsing pipeline, deterministic heuristic detection rules, exact detection thresholds, REST API specifications, and operational incident response workflows.
Engine Architecture Whitepaper
Sentry Console processes network traffic and static files using a zero-dependency deterministic pipeline. Binary network captures are decoded directly from JavaScript ArrayBuffer memory buffers using custom endian-aware DataViews.
1. Endian-Aware Binary Parsing Pipeline
Classic libpcap captures start with magic bytes 0xa1b2c3d4 (Little-Endian) or 0xd4c3b2a1 (Big-Endian). The parser inspects the magic number dynamically to set DataView byte-swapping getters:
2. Deterministic Heuristics vs. Machine Learning Tradeoffs
Sentry Console intentionally uses deterministic rate and pattern matching heuristics instead of black-box Machine Learning models:
- Precision & Predictability: Heuristic thresholds produce zero non-deterministic hallucinations. Every alert maps to explicit packet counters or stream regex patterns.
- Zero Training Overhead: Operates instantly in-browser without downloading multi-megabyte model weights or requiring server GPU inference.
- Tradeoff & Evasion Limitation: Low-and-slow attacks (e.g. 1 port probe every 60 seconds) will bypass sliding window thresholds (5.0s window). High-throughput legitimate vulnerability scanners (Nessus, Qualys) can trigger false positive alerts on internal subnets.
Network Traffic Analysis Rules (PCAP / PCAPNG)
NET-01: TCP Port Scan Detection
Detects rapid network probing of multiple ports on target hosts from a single originating source IP.
Source Code Implementation & Thresholds:
Trigger Conditions:
- Source IP initiates connections to
≥ 15 distinct destination portswithin any5.0 second window.
False Positives & Evasion:
Authorized security vulnerability scanners (Nmap, Masscan) will trip this rule. Evasion: Slow stealth scans executing < 15 ports per 5 seconds bypass detection.
Remediation Workflow:
1. Verify if originating source IP belongs to an authorized vulnerability scanner.
2. Block unauthorized external IPs at perimeter firewall.
NET-02: TCP SYN Flood / DDoS
Detects high-volume TCP SYN packet bursts designed to exhaust target connection queues (SYN-RECEIVED state).
Trigger Conditions:
- Target host receives
≥ 80 TCP SYNs/secondwith≤ 30% ACK completion ratio.
NET-03: ICMP Echo Flood
NET-04: Credential Brute Force
NET-05: ARP Cache Poisoning
File-Based Threat Detection Rules
FILE-PDF-01: PDF Embedded Scripting
FILE-EML-01: Email Sender Spoofing
Backend API Specification
POST /api/scan/url
Runs server-side website security assessment for target URL.