AI-Assisted Cyber Defense: Verifiable Firewalls, Trusted Hosts and Resilient Server Systems =========================================================================================== A research thesis on evidence-driven detection, constrained automation and experimentally testable security architecture Research team | 31 October 2026 | Version 1.1 Technical research thesis & analytical study ABSTRACT Figure audit, 31 October 2026: all plotted values independently checked against the disclosed equations and units. Plots show conditional calculations, not original experimental or production measurements; exported images now carry that provenance. Problem: Enterprise defense increasingly combines identity controls, firewalls, endpoint instrumentation, cloud telemetry and machine learning. Their integration creates a difficult assurance problem: a detector may be statistically accurate while the complete system remains operationally unsafe, overloaded or dependent on a compromised control plane. Research objective: This thesis investigates how an AI-assisted defender can improve the quality and timeliness of security decisions while keeping production authority explicit, limited and independently verifiable. It connects network policy, workstation and server hardening, software provenance, evidence handling and recovery within a common threat model. Methods: A focused synthesis of primary research, standards and implementation documentation is combined with three reproducible analytical studies: rare-event alert precision, analyst queueing and common-mode detection failures. A reference architecture and prospective evaluation protocol distinguish detector performance, authorization correctness, business impact and recovery assurance. Analytical findings: For an assumed ten million decisions per day, malicious prevalence of 10⁻⁵ and sensitivity of 0.95, a false-positive probability of 10⁻³ produces about 10,000 false flags and only 0.94% alert precision. Reducing that probability to 10⁻⁶ raises expected precision to 90.48%. In an independent four-analyst queue model, increasing utilization from 75% to 95% increases mean waiting time from 7.64 to 66.86 minutes. Two detectors with fixed 10% marginal miss rates have a 1% joint miss rate only under independence; a 5% common-mode failure probability raises the joint miss rate to 5.26%. Contribution: The resulting design treats AI output as an evidence-linked proposal, routes consequential actions through a separate authorization boundary, and evaluates the entire observation-to-recovery chain. The numerical results are calculated examples rather than measurements of a deployed defender or evidence of product superiority. 1. Research problem, scope and contribution A modern intrusion rarely respects the organizational boundary between a network appliance, an endpoint agent, an identity service and a cloud control plane. A legitimate account may authorize a harmful operation; a permitted encrypted connection may carry unauthorized data; an apparently healthy server may depend on an untrusted build artifact. Defense therefore requires a chain of justified decisions rather than a collection of nominally powerful products. The practical research problem is to establish what the combined system observes, what it can safely infer and which actions its evidence actually authorizes. This thesis uses “AI-assisted defender” to mean a system that combines deterministic policy, statistical detection and an optional language-model assistant with explicit enforcement mechanisms. The term does not imply autonomous administrative access. Antivirus, endpoint detection and response, network detection, application protection and identity analytics contribute different observations. None is assumed to provide complete visibility. Their value depends on deployment coverage, event quality, adversarial robustness and the ability of an operating team to act before a harmful outcome occurs. The scope includes managed workstations, mobile access, internet-facing applications, private services, physical and virtual servers, container workloads, cloud administration and the defender’s own backend. It excludes a claim that one architecture solves every operational-technology or safety-critical deployment. Such environments require separate hazard analysis and availability constraints. The paper develops a reference design, original analytical examples and a prospective validation program; it does not report an installed security product, customer incident dataset or a completed field trial. The contribution has four parts: an explicit separation between evidence, inference and authority; a policy-oriented treatment of firewalls and workload identity; a connected model of host, server and supply-chain trust; and quantitative evaluation criteria that account for base rates, human capacity and correlated failure. The novelty sought by the proposed research is not a new classifier family. It is an experimentally testable assurance argument for the complete system that uses a classifier. 2. Research questions and falsifiable hypotheses RQ1 asks whether combining identity, endpoint and network evidence improves incident-level detection at a fixed operational review budget, compared with a documented rules-only baseline. RQ2 asks whether an independently enforced authorization boundary can bound harmful automated actions when the analytical model is mistaken or influenced by hostile input. RQ3 asks how detector correlation, event loss and response queues change the practical value of additional sensors. RQ4 asks whether recovery remains possible when the monitoring or identity control plane is unavailable. H1 is that a multimodal analytical pipeline improves recall at a prespecified false-case and review-time budget on held-out environments. H2 is that typed actions, bounded scope and independent policy checks prevent out-of-scope execution during all enumerated negative tests, while exposing any cases that require escalation. H3 is that observed joint detector failures explain the performance of combined detection better than an independence calculation. H4 is that independently provisioned recovery credentials and tested restoration reduce recovery dependency on the potentially compromised operational plane. Each hypothesis requires a counterfactual and an observation boundary. A lower raw-alert count does not establish H1 unless missed incidents are also measured. A model’s refusal to produce an unsafe instruction does not establish H2 because the enforcement boundary must reject an invalid request even when the model produces it. A successful backup job does not establish H4 unless a clean service, its data and the required identity relationships can actually be restored. Failure cases are part of the result, not exceptions to be removed from the evaluation. 3. Evidence review and methodological foundations This is a focused technical synthesis rather than a systematic review or a meta-analysis. Sources were selected to cover zero-trust architecture, practical intrusion-detection evaluation, temporal experimental bias, adversarial machine learning, system hardening, software provenance and incident recovery. Primary research and first-party standards or implementation documents were checked on 29 October 2026. The corpus combines foundational studies with current guidance; it is not an exhaustive catalogue of products or a ranking of vendors. Standards describe requirements or principles, whereas experimental papers establish results only within their tested conditions. TESSERACT demonstrates how spatial and temporal biases can inflate malware-classification evaluation, motivating deployment-representative test distributions and chronological separation. The pragmatic-assessment study by Apruzzese and colleagues examines network-intrusion methods across operational factors, including hardware and adversarial settings. Kitsune provides a concrete example of online anomaly detection using an autoencoder ensemble. These works justify careful evaluation of deployment assumptions; none establishes that a particular contemporary enterprise defender achieves its reported laboratory performance in another environment. [2][3][4] The evidence should be read at the appropriate level. A packet classifier, an incident-level detector, an alert-prioritization service and a response system have different denominators. Similarly, a formal policy invariant, an implementation test and an operator study answer different assurance questions. This thesis therefore avoids pooling incompatible accuracy scores. Its quantitative results are derived from disclosed assumptions and interpreted as design dependencies, with a separate protocol specifying how those dependencies would be measured in a real deployment. Table 1. Selected foundations and the specific role they play in this thesis. Source | Established contribution | Boundary of inference NIST SP 800-207 [1] | Resource- and identity-centered zero-trust architectural principles. | An architectural framework is not evidence that a deployment implements its policies correctly. TESSERACT, USENIX Security 2019 [2] | Analysis of spatial and temporal evaluation bias in malware classification. | A methodological result, not a universal estimate of enterprise detection rates. Pragmatic assessment, 2023 [3] | Evaluation of ML network detection under deployment-relevant factors. | Operational value must be re-established for the target environment and hardware. Kitsune, NDSS 2018 [4] | Online anomaly detection using an ensemble of autoencoders. | Anomaly score is not a calibrated probability or authorization to intervene. NIST AI 100-2e2025 [5] | Taxonomy of adversarial ML goals, capabilities and lifecycle threats. | Threat vocabulary does not certify that a mitigation is effective. NIST SP 800-204D [7] | Software-supply-chain security within CI/CD pipelines. | A signed artifact can still contain an authorized but vulnerable change. NIST SP 800-61 Rev. 3 [14] | Incident response integrated with cybersecurity risk management. | Organizational guidance must be converted into exercised local procedures. 4. Threat model and assurance boundaries 4.1 Assets, adversaries and trust assumptions Protected assets include service availability, confidential information, integrity of business transactions, administrative credentials, software artifacts, telemetry and the ability to recover. Adversary capabilities are considered in stages: influence over external content and traffic; possession of a legitimate low-privilege account; compromise of a workload; attempted movement across trust boundaries; and interference with the defender’s inputs. A separate stronger scenario considers loss of host-kernel or identity-administration trust. Claims must state which of these conditions they survive. The proposed trusted computing base includes the authorization engine, response broker, key-management boundary, selected platform roots and independently controlled recovery material. This is an assumption to test and minimize, not a declaration that these components are invulnerable. If the same identity can alter the model, its policy, its audit trail and its recovery configuration, the intended separation collapses. Administrators should therefore document which principal can change each component and how another authority can detect, stop or recover from that change. 4.2 Define security properties before choosing tools Execute(a) ⇒ Authorized(s,a,o,t) ∧ Scoped(a) ∧ Fresh(e) ∧ Audited(a) LaTeX: \operatorname{Execute}(a)\Rightarrow\operatorname{Authorized}(s,a,o,t)\land\operatorname{Scoped}(a)\land\operatorname{Fresh}(e)\land\operatorname{Audited}(a) Equation 1. Proposed execution invariant: action a requires an authorized subject s, target object o, valid time t and sufficiently fresh evidence e. Scope and audit requirements are independent of the model’s recommendation. This invariant must be implemented in the action path and tested at its interfaces. Availability is also a security property. Blocking an essential shared service may cause more immediate harm than the activity under investigation. Define permitted degradation modes by service class: rejecting a new privileged session may be acceptable, while terminating an already approved critical transaction may require a different control. Document behavior when identity, policy, logging or control-plane connectivity is unavailable. “Fail closed” and “fail open” are not adequate system-wide specifications without identifying the operation, time limit and responsible owner. Table 2. Representative defensive test scenarios. These are proposed test cases, not instructions for intrusion. Scenario | Evidence required | Property to verify Compromised user session | Identity events, device context and resource actions. | Revoke scoped access while preserving independent administrator recovery. Compromised workload | Process ancestry, workload identity and service connections. | Contain the affected workload without granting cross-tenant response privileges. Host telemetry interruption | Heartbeat, event counters and transport acknowledgements. | Report loss of visibility; do not silently classify missing evidence as benign. Hostile content in an investigation | Provenance of retrieved text and proposed action arguments. | Untrusted content cannot override policy or acquire credentials. Defender control-plane outage | Enforcement state, policy cache and restoration records. | Maintain declared bounded behavior and an independent recovery path. Malicious or erroneous policy change | Signed policy version, approvals and test results. | Detect invalid changes, stage deployment and restore a known-good version. 5. Reference architecture: observation, reasoning and authority Figure 1. Proposed reference architecture. The analytical model can create an evidence-linked proposal; it has no direct command path to production enforcement. Authorization, response credentials, postcondition verification and recovery are distinct responsibilities. Figure: cybersecurity-ai-defense/defense-architecture.svg The observation plane collects endpoint and server events, firewall decisions, flow and DNS metadata, application records, identity changes and cloud control-plane actions. The evidence plane normalizes these observations while preserving source identity, original records and uncertainty. The analytical plane combines rules, statistical models and optional language-model retrieval. The authority plane validates a proposed action against independent policy before a response broker invokes a limited interface. A final verification path checks whether the intended security and service conditions actually hold. An event should carry a source identifier, event time, ingest time, schema version, tenant context, collection-health information and a stable reference to its original record. A normalized field is an interpretation, so transformations should be versioned and reversible where practical. Correlation must preserve uncertainty when identity resolution or clock alignment is ambiguous. Joint logging guidance emphasizes high-value events and protected, centralized correlation; the proposed design adds an explicit requirement to measure collection loss and the consequences of incorrect joins. [13] The response broker exposes a small set of typed actions rather than a general shell. An action request specifies target identity, allowed scope, expiry, evidence references, expected impact, approval state and rollback conditions. The broker authenticates the requesting service and validates those fields. Execution is idempotent where possible, rate-limited and acknowledged by the enforcement point. A successful API response is not enough: verification must check a postcondition such as terminated access, installed rule version or a preserved service-health constraint. Tenant separation must hold through search, model context, caching, message queues and the action path. An assistant that retrieves one tenant’s incident while reasoning about another has already crossed a confidentiality boundary before any action occurs. Service identities should receive only the data and tools required for their stage. Audit records need access controls and independent retention so that an operator with power to intervene cannot silently rewrite the evidence describing that intervention. 6. Firewalls, segmentation and encrypted networks 6.1 A firewall is an enforceable policy with lifecycle semantics A network policy should identify the initiating principal or workload, destination service, protocol, permitted operation, environmental conditions and validity interval. IP addresses remain useful routing and enforcement attributes but may be transient, shared or reused. Zero-trust architecture shifts the authorization question toward the resource and the requesting identity; it does not make network boundaries irrelevant. Segmentation still constrains reachable paths and limits the set of systems exposed when another control fails. [1] Permit(s,o,x,t) = I(s,t) ∧ P(s,o,x,t) ∧ C(s,t) ∧ V(t) LaTeX: \operatorname{Permit}(s,o,x,t)=I(s,t)\land P(s,o,x,t)\land C(s,t)\land V(t) Equation 2. Illustrative conjunctive policy: I verifies identity, P permits operation x on object o, C checks required context and V checks policy validity. The notation does not prescribe a specific policy language; an implementation must define unknown values, revocation semantics and evaluation order. Research should treat rule compilation and deployment as part of the security boundary. A high-level policy may be translated into network ACLs, host rules, service-mesh configuration and cloud controls. Test whether the resulting reachability matches the declared policy, including precedence, default rules, IPv4/IPv6 parity and failure during partial rollout. Rule ownership, expiry, emergency exceptions and rollback should be explicit. A rule that was correct at creation can become wrong when a service moves or an address is reassigned. Stateful enforcement creates a further question: what happens to existing sessions after authorization changes? A rule update may affect only new connections unless the implementation explicitly reevaluates established state. Tests should therefore distinguish new connection refusal, revocation of an active session and the bounded lifetime of cached decisions. Measure propagation delay and version disagreement across enforcement points. A dashboard showing a new desired rule does not establish that all affected paths enforce it. 6.2 Encryption changes visibility, not the need for evidence The current Transport Layer Security (TLS) 1.3 specification is RFC 9846, which obsoletes RFC 8446. Protocol selection, identity verification and key handling remain distinct configuration responsibilities. Encrypted application traffic reduces the visibility available to passive inspection; this makes endpoint, application and identity evidence more important. Authorized decryption at a controlled boundary can provide additional observations, but it introduces key-management, privacy, trust and performance obligations. It should not be treated as a universal prerequisite or as proof that inspected content is safe. [11] A research benchmark should include encrypted and unencrypted paths, connection migration, identity renewal and relevant application protocols, without assuming that a classifier can infer arbitrary encrypted content. Measure metadata-based inference under deliberate distribution changes. Account for DNS-over-encrypted-transport and application use of QUIC when defining coverage. Any test of inspection should record where plaintext exists, who may access it and whether its collection is necessary for the stated research question. 6.3 Internet-facing applications and distributed abuse Edge filtering, application-aware controls and backend authorization answer different questions. Volumetric protection concerns capacity and upstream dependencies; application rate limits concern a meaningful decision unit such as an account, operation or workload. A web application firewall can reduce some exposure but cannot repair a missing object-level authorization check in application logic. Proposed controls should therefore be evaluated against both harmful requests and legitimate high-volume use, including the effect of NAT, shared networks and exceptional business events. 7. Workstation, operating-system and server assurance 7.1 Establish a trustworthy execution baseline For managed computers, begin with supported software, constrained administrative access, protected credential storage, device inventory and a controlled update path. Prevention, antivirus and behavioral detection are complementary to this baseline. A detector that identifies a process after it has obtained a long-lived administrative credential has a different opportunity to intervene from one that prevents the initial privileged operation. Record these timing relationships instead of compressing all outcomes into a single “blocked” metric. Server assurance also begins below the operating system. Firmware protection, detection of unauthorized changes and recovery are separate requirements in NIST’s platform-resiliency guidance. Inventory management interfaces, firmware-update authorities, boot configuration and recovery media. Separate out-of-band administration from ordinary workload traffic and constrain its identities. A successful operating-system rebuild does not establish that firmware or a management controller is trustworthy; the restoration procedure must state which platform components it verifies. [8] Kernel self-protection reduces exposed attack surface and constrains classes of exploitation through memory permissions and other mechanisms. In a research deployment, choose hardening appropriate to the kernel, hardware and workload rather than copying a universal configuration. Test application compatibility, update behavior and measurable performance impact. Reducing privileges and executable surface is valuable even when no AI model can confidently classify the activity that would otherwise reach that surface. [16][17] 7.2 Runtime instrumentation must account for its own failure Linux Security Module (LSM) eBPF programs allow privileged attachment of policy and audit logic to security hooks. This provides a concrete implementation option for selected runtime controls, not a guarantee that all activity is observed or that the agent remains trustworthy after kernel compromise. Instrumentation research should measure event loss, overhead, kernel-version compatibility, program rollout, verifier restrictions and coexistence with other policy modules. Privileged loading authority must itself be limited and audited. [9] Coverage should distinguish process execution, file access, privilege transitions, network activity, identity changes and control-plane operations. An agent heartbeat verifies only one aspect of health. Collection queues can overflow while the agent remains alive; a timestamp can be present while its clock is wrong. Compare independent counters and expected event sequences, inject benign marker events and report missed observations. Do not interpret sensor silence as evidence that a workload is safe. 7.3 Virtual machines, containers and shared compute In virtualized and containerized systems, the security boundary must be identified explicitly: a process, container, namespace, virtual machine, physical node or administrative domain. Limit service-account authority, host mounts, privileged execution and secret exposure. Bind deployment policy to a verified artifact identity rather than a mutable image tag. Account for control-plane credentials, orchestration permissions and admission decisions; restricting network paths cannot compensate for an identity that can deploy a privileged workload. Shared AI servers introduce additional questions about accelerator access, device assignment, memory reuse and privileged management components. These require hardware- and vendor-specific validation. Remote attestation can provide evidence of a defined platform state, but the relying party still needs an appraisal policy, reference values and freshness checks. The remote-attestation architecture in RFC 9334 separates evidence generation, verification and reliance. It does not establish that an attested application is bug-free, that all runtime behavior is benign or that every shared-resource side channel has been removed. [10] 8. Cloud identity, software provenance and cryptographic readiness Cloud security depends on both the data plane and the administrative plane that creates resources and changes policy. Record API actions, role changes, key use and changes to logging or network controls. Favor scoped, short-lived workload credentials where the platform supports them, and test how revocation propagates. Administrative ownership should remain visible when a service spans infrastructure providers and managed platforms. “Cloud monitored” is not a meaningful assurance claim without stating which administrative events and workloads are actually covered. A secure build pipeline needs separation of source change, build execution, artifact storage and deployment authorization. NIST SP 800-204D addresses software-supply-chain security in CI/CD. The proposed evaluation records source and dependency versions, build identity, provenance verification, policy decisions and the deployed digest. It tests rollback and the effect of an unavailable verifier. A signature establishes a relationship to a signing authority under specified assumptions; it does not prove that an authorized developer introduced no vulnerability. [7] Security updates should be prioritized using exposure, asset criticality, exploit evidence and the feasibility of compensating controls, rather than severity alone. Exceptions need an owner, expiry and a tested mitigation. Research on memory safety is particularly relevant because eliminating vulnerability classes can change the attack surface before detection is necessary. The secure-by-design guidance supports treating such prevention as a product-engineering responsibility; adopting a memory-safe language does not remove authorization flaws, unsafe interfaces or dependency risk. [17] Cryptographic migration is an inventory and interoperability problem as well as an algorithm choice. FIPS 203 specifies ML-KEM; its publication record also identifies pending corrections that implementers should check. A migration program should enumerate long-lived secrets, certificate and protocol dependencies, key lifecycles and the duration for which confidentiality matters. Use maintained implementations and applicable protocol profiles. Do not describe an unreviewed combination of algorithms as post-quantum secure merely because one primitive has been standardized. [12] 9. AI-assisted detection and constrained response 9.1 Assign a separate purpose to each analytical component Deterministic rules encode explicit policy violations and well-defined behavior. Statistical models identify patterns whose importance depends on the deployment distribution. Graph analysis can connect identities, processes, resources and events. A language-model assistant can summarize evidence and help an analyst inspect hypotheses. These roles should remain identifiable so that an evaluator can determine which component contributed to an outcome. A fluent explanation should not be treated as a calibrated security probability or independent evidence that an incident occurred. For an investigation assistant, retrieval should be tenant-scoped and permission-aware. Its output should cite stable evidence records, distinguish observation from inference and preserve unresolved contradictions. Retrieved logs, documents and messages are untrusted data. They may contain instructions that conflict with the actual task. The assistant should have no ability to convert such text into a change of privilege or an unrestricted production command. A policy gate must enforce this property even if prompt-level defenses fail. [5][6] a*(e) = argmin over allowed actions a of E[L(a,Y) | e] LaTeX: a^*(e)=\underset{a\in\mathcal A_{\mathrm{allowed}}}{\operatorname{argmin}}\;\mathbb E[L(a,Y)\mid e] Equation 3. Proposed decision formulation: select among independently authorized actions using the expected loss given evidence e and unknown state Y. The loss includes security and service impact. The admissible set is defined outside the model; an estimated posterior cannot authorize an otherwise forbidden action. The allowed-action set can distinguish gathering additional evidence, requesting analyst review, imposing a short-lived restriction and undertaking a disruptive containment action. Higher-impact actions require stronger evidence, narrower targeting, explicit approval or all three. Model abstention should be a normal outcome when evidence is missing, contradictory or outside the validated operating conditions. The action record must retain the model version, evidence, applicable policy and approval, so that later review can reconstruct the decision rather than infer it from a conversational transcript. 9.2 Defend the model and its operating environment The model lifecycle introduces poisoning, evasion, confidentiality and misuse risks. Training data, feature extraction, model artifacts, retrieval indexes and evaluation records therefore need provenance and access control. Online learning is not automatically safer or more current: an adversary may influence the data that defines “normal.” Establish a protected baseline, quarantine unreviewed updates and retain a rollback path. The adversarial-ML taxonomy and secure-deployment guidance provide vocabulary and lifecycle considerations; effectiveness still requires experiments against the actual model and environment. [5][6] A practical design should allow operation without the language-model component. The authorization service and critical deterministic controls should not depend on a model API being available. Measure latency, resource usage, cost, data-retention behavior and information sent to external inference services. If a model is hosted locally, its serving runtime, dependencies and credentials remain part of the server-security problem. If it is hosted elsewhere, outsourcing inference does not outsource responsibility for tenant boundaries or the correctness of an action. 10. Analytical methods and assumptions 10.1 Rare-event precision PPV = rπ / [rπ + f(1 − π)]; E[TP] = Nrπ; E[FP] = Nf(1 − π) LaTeX: \operatorname{PPV}=\frac{r\pi}{r\pi+f(1-\pi)},\qquad \mathbb E[\mathrm{TP}]=Nr\pi,\quad\mathbb E[\mathrm{FP}]=Nf(1-\pi) Equation 4. Bayes calculation for a consistently defined decision unit. π is malicious prevalence, r the true-positive probability conditional on maliciousness, f the false-positive probability conditional on benignness, and N the daily decision count. Expected values need not be integers. Correlated observations affect uncertainty and operational grouping even when these expectation identities hold. The hypothetical scenario uses ten million decisions per day, prevalence 10⁻⁵ and sensitivity 0.95. False-positive probability spans 10⁻⁷ to 10⁻². The decision unit could be a prespecified event or session, but it must be the same unit in both classes and in the reported rates. These are analyst-selected inputs, not enterprise telemetry or measured classifier performance. A raw flagged decision is not an incident or a case; the effect of deduplication and incident grouping is deliberately not inferred from this calculation. f ≤ rπ(1 − P*) / [P*(1 − π)] LaTeX: f\leq\frac{r\pi(1-P_*)}{P_*(1-\pi)} Equation 5. Maximum false-positive probability for a target precision P*, provided the assumed prevalence and sensitivity hold. For P* = 0.90 in the illustrative scenario, the limit is approximately 1.056 × 10⁻⁶. A distribution shift can invalidate the assumed operating point. 10.2 Analyst review capacity ρ = λ/(cμ) < 1; P_W = [aᶜ/(c!(1 − ρ))] / [Σₖ₌₀ᶜ⁻¹ aᵏ/k! + aᶜ/(c!(1 − ρ))]; a = λ/μ LaTeX: \rho=\frac{\lambda}{c\mu}<1,\qquad P_W=\frac{a^c/[c!(1-\rho)]}{\sum_{k=0}^{c-1}a^k/k!+a^c/[c!(1-\rho)]},\quad a=\lambda/\mu Equation 6. Erlang-C waiting probability for a stationary M/M/c queue: Poisson case arrivals λ, c parallel analysts, independent exponential service rate μ per analyst, a single FIFO queue and no abandonment. Rates use cases per hour. This model begins with cases reaching review, not raw sensor events. E[W_q] = P_W / (cμ − λ) LaTeX: \mathbb E[W_q]=\frac{P_W}{c\mu-\lambda} Equation 7. Mean waiting time before service, in hours when rates are hourly. Four analysts each process four cases per hour on average. The example excludes priority, escalation, shifts, burst arrivals and fatigue. When utilization reaches one, this stationary infinite-buffer model has no finite mean waiting time. The case-arrival process is modeled independently of the raw detection scenario because there is no empirically specified event-to-case transformation. Four concurrent analysts and a mean service time of fifteen minutes define the selected capacity. A logarithmic plot exposes the growth of average waiting time as utilization approaches one. This is a sensitivity analysis, not a staffing recommendation or a prediction of a particular security operations center. Measured service-time distributions and arrival bursts are needed for a realistic operational forecast. 10.3 Correlated detection failures P(M₁) = P(M₂) = p; r_c = (p − q)/(1 − q); P(M₁ ∩ M₂) = q + (1 − q)r_c² LaTeX: P(M_1)=P(M_2)=p,\qquad r_c=\frac{p-q}{1-q},\qquad P(M_1\cap M_2)=q+(1-q)r_c^2 Equation 8. Two detectors each have fixed marginal miss probability p = 0.10. A common-mode event of probability q causes both to miss; outside it, misses are independent with probability r_c. The permitted range is 0 ≤ q ≤ p. Fixing the marginals avoids confusing increased correlation with an assumed deterioration of each detector. The combined system is assumed to miss only when both detectors miss the same defined malicious decision. This is an idealized OR combination of their detections; a production pipeline may have other logic. Shared collection failures, identical upstream features or a shared identity blind spot can create dependence. The model does not estimate how often such failures occur. It shows how a declared common-mode assumption changes the result while preserving each detector’s nominal marginal miss rate. 11. Analytical results and engineering implications Figure 2. Original rare-event calculations. All rates and the decision volume are assumed. The left panel shows expected precision; the right distinguishes false flags from the 95 expected true-positive flags per day. Neither panel estimates real attacks or analyst cases. Figure: cybersecurity-ai-defense/base-rate.svg Table 3. Expected daily outcomes at N = 10,000,000, π = 10⁻⁵ and r = 0.95. Rounded values are calculated, not measured. False-positive probability | Expected true flags | Expected false flags | Expected precision 10⁻³ | 95 | 9,999.9 | 0.94% 10⁻⁴ | 95 | 999.99 | 8.68% 10⁻⁵ | 95 | 99.999 | 48.72% 10⁻⁶ | 95 | 9.9999 | 90.48% High sensitivity does not imply a useful alert stream when malicious decisions are rare. In this example the same 95% sensitivity yields precision below one percent at a false-positive probability of 10⁻³. Reducing false positives by three orders of magnitude changes the posterior value of a flag substantially. The engineering implication is to define and measure the decision unit, baseline prevalence and false-positive rate before presenting a headline accuracy. A low alert count is not an improvement if it is obtained by suppressing the evidence needed to detect true incidents. Figure 3. Erlang-C mean waiting time under the stated M/M/4 assumptions. The graph describes waiting before review, not total containment time or a response-time percentile. A real burst-driven incident queue may behave very differently. Figure: cybersecurity-ai-defense/review-queue.svg Table 4. Independent review-queue examples: four analysts, each with mean service rate four cases per hour. Case arrivals / hour | Utilization | Probability of waiting | Mean queue wait 8 | 50% | 17.39% | 1.30 min 12 | 75% | 50.94% | 7.64 min 14 | 87.5% | 73.79% | 22.14 min 15.2 | 95% | 89.14% | 66.86 min Utilization is a poor standalone measure of operational efficiency. Under the selected assumptions, increasing utilization from 75% to 95% increases mean waiting time by a factor of about 8.75. Delays can therefore grow substantially without a comparable change in the number of analysts or cases. A defender evaluation should record the time between observable activity, ingestion, detection, review, approval, enforcement and verified recovery. Improving inference latency by seconds may provide little practical benefit if the decision waits in an overloaded review queue. Figure 4. Fixed-marginal common-mode analysis. The independence estimate is 1%; at a common-mode probability of 5%, joint miss is 5.26%. Shared upstream dependencies can erase much of the apparent benefit of an additional detection layer. Figure: cybersecurity-ai-defense/shared-failure.svg Two detectors do not provide two independent opportunities merely because they are different products or model families. With ten-percent marginal miss rates, independence gives one-percent joint miss. The selected common-mode scenario raises that result more than fivefold while preserving both marginals. The practical response is to measure joint errors on the same held-out decisions and enumerate shared dependencies. Diversity of collection, identity resolution and policy authority can matter as much as diversity of classifier architecture. None of these numbers should be advertised as a product’s protection rate. 12. Experimental design and validation protocol Figure 5. Proposed evaluation sequence. Each stage has an explicit boundary between development and assessment. Operational rollout is conditional on both security and service outcomes, not a model score alone. Figure: cybersecurity-ai-defense/validation-path.svg 12.1 Build a representative, bounded test environment Use an isolated, owned test environment that reproduces relevant workstation, server, network and cloud configurations. Define normal workflows, identities, service dependencies and expected load before selecting adversarial scenarios. Use benign markers and controlled, non-destructive scenario emulation to exercise the observation and response path. Ground truth should record intended actions, their timing and whether a security property was violated; it should not be assigned solely from the defender’s alert. Record environment versions and deviations from production. Choose baselines that reveal the contribution of each component: policy and deterministic rules alone; rules with endpoint/network correlation; correlation with a statistical detector; and the same pipeline with an investigation assistant. Hold policy authority constant when comparing analytical models. Perform ablations that remove an evidence source, disable a correlation stage or withhold the assistant. A model should not receive credit for improvements caused by a separate policy or telemetry change introduced at the same time. 12.2 Separate development, calibration and evaluation Split data chronologically and group related activity so that the same incident, device lineage, artifact family or near-duplicate does not appear on both sides of a test boundary. Use separate calibration data for score-to-probability mapping and decision thresholds. Reserve entire environments or organizational units where feasible. Freeze extraction rules, model versions, thresholds and evaluation code before final assessment. Report how labeling ambiguity, late-arriving logs and uncertain incident boundaries are handled. [2][3] Measure sensitivity at a fixed false-case and analyst-time budget, precision-recall behavior, calibration quality, time-to-detection and missed-incident characteristics. Report per-scenario outcomes and performance on important subgroups, not only an aggregate. For open-set and drift tests, distinguish genuinely unseen behavior from minor variations of training examples. Include benign operational changes such as software rollout, backup traffic and new services so that robustness is tested against the organization’s own evolution. 12.3 Evaluate the authority boundary directly Construct negative tests for wrong tenant, stale evidence, expired approval, target ambiguity, unsupported operation, repeated action identifier and response credentials outside scope. The expected result is a recorded refusal at the policy or broker boundary, regardless of the model output. Include benign content that resembles an instruction to change privileges and verify that it remains data. Test both policy and implementation: a correct policy document is insufficient if an alternative interface bypasses it. Evaluate reversibility and postcondition verification using low-impact canaries. Define the exact service and security conditions that must remain true, the maximum permitted action scope and stop criteria. Observe response propagation and conflicting rule versions. A containment canary that disrupts a shared dependency should be counted as a harmful outcome even if the targeted process is stopped. Escalate authority only after the next scope of action has an independently reviewed test plan. 12.4 Stress failures and recovery dependencies Exercise sensor loss, clock skew, event bursts, model unavailability, delayed identity updates and interrupted control-plane connectivity. Verify the declared failure behavior and recovery path, then repeat after software and policy updates. Restoration tests should use independently protected credentials and a clean target environment where necessary. Measure whether the team can recover identity, configuration, data and service dependencies in a meaningful order. NIST’s incident-response guidance supports integrating preparedness and recovery into risk management rather than treating detection as the whole response capability. [14] Table 5. Proposed evaluation matrix and evidence needed to accept a claim. Claim | Required measurement | Failure that must remain visible Better detection | Held-out incident recall at fixed false-case and review-time budgets. | Missed scenarios, unknown labels and scenario-specific regression. Safe automation | Policy/broker negative tests plus verified bounded postconditions. | Wrong-target action, excessive scope, approval bypass and irreversible impact. Firewall correctness | Reachability, revocation and rollout tests across declared protocols and paths. | Stale sessions, rule shadowing, IPv6 gaps and partial enforcement. Server visibility | Independent marker events, event-loss counters and overhead tests. | Collector saturation, missing kernel coverage and incompatible updates. Resilient operations | Queue delay, response completion and clean restoration exercises. | Backlog, identity dependency, failed rollback and hidden data loss. Useful investigation assistant | Blinded assessment of factual support, analyst effort and consequential errors. | Unsupported conclusions, cross-tenant retrieval and action-boundary violations. 13. Metrics, uncertainty and research validity The unit of inference should match the claim. Packet- or event-level tests are useful for a component, but millions of correlated events do not constitute millions of independent incidents. For deployment-level conclusions, use incident groups, hosts, sites or time blocks as appropriate and preserve their dependence structure when estimating uncertainty. Report confidence intervals and the number of independent groups. A randomly shuffled test set can give a precise estimate of the wrong deployment scenario. One-sided upper failure-probability bound = 1 − α^(1/n) LaTeX: P(\mathrm{failure})_{\mathrm{upper}}=1-\alpha^{1/n} Equation 9. Exact binomial upper bound after zero failures in n independent, identically distributed trials, at confidence 1 − α. For α = 0.05 the large-n approximation is about 3/n. Independence and representativeness are strong assumptions; passing a finite test suite is not proof that an action boundary can never fail. For precision estimates, account for incomplete and biased labels. Analysts are more likely to investigate high-scoring alerts, which can make unreviewed low-score regions appear harmless. Sample or audit those regions with a documented design and report unresolved cases. If thresholds are adjusted after looking at the test results, the affected results become development evidence rather than an untouched confirmation. Detector calibration should be assessed within the intended deployment conditions, including prevalence changes and data-collection changes. For operational outcomes, report distributions and censored cases rather than only averages. Detection may be absent, containment may remain incomplete and recovery may extend beyond observation. These are meaningful outcomes. Queue models require observed arrival and service patterns; theoretical stability does not guarantee an acceptable tail delay. Separate detector latency from waiting, approval and enforcement latency. Record resource overhead, service errors and the analyst time consumed by both true and false cases. The central validity threats are nonrepresentative scenarios, data leakage, incomplete ground truth, unmeasured shared failures, operator-learning effects and changes introduced alongside the system under test. Mitigate them with chronological holdouts, grouped evaluation, versioned experiment manifests, blinded assessment where feasible and predefined endpoints. Determine sample size from a useful effect or error bound and the observed variance of the actual experimental unit. The analytical curves in this paper cannot justify a universal participant, incident or packet count. 14. Research and development agenda 14.1 Verified policy compilation and continuous reachability A valuable research direction is a policy compiler that preserves a small set of explicit invariants across cloud controls, host firewalls and service-layer authorization. The experiment would compare declared intent with observed reachability before and after changes, including stale sessions and partial deployment. Success would mean fewer policy inconsistencies and bounded rollout risk at a stated scale, not simply a faster rule generator. AI can assist policy authoring, but compilation, verification and authorization should remain independently testable. 14.2 Provenance-aware multimodal evidence Another direction is an evidence graph that represents uncertainty and provenance instead of treating all joined records as equally reliable. Research questions include how incorrect identity joins affect incident conclusions, how sensor loss changes confidence and whether explanations help an analyst locate contradictory evidence. A useful benchmark would publish synthetic or appropriately sanitized graphs with known missing and ambiguous edges. The outcome should be measured against correct decisions and analyst effort, not the plausibility of generated narrative. 14.3 Constrained agents and adversarially robust workflows For agent-based defense, investigate action contracts, typed tool schemas, independent policy evaluation, capability expiry and verifiable postconditions. Compare prompt-level restrictions with enforcement outside the model under the same hostile-input cases. The desired evidence is a clearly delimited reduction in consequential errors, with failures reported. Model robustness and workflow robustness are different properties: a model can remain persuadable while a correctly designed broker still prevents an unauthorized production action. 14.4 Hardware, privacy and cryptographic transitions Hardware-backed state evidence, protected key operations and isolated execution warrant evaluation alongside firmware recovery and administrator separation. Measure the complete reliance chain and the cases outside its protection, rather than equating attestation with trustworthiness. Privacy-preserving analytics should be tested for detection utility, operational cost and residual information leakage. Cryptographic-agility research should evaluate migration, failure handling and interoperability under approved profiles, including the effect of larger messages and new dependencies on constrained devices and long-lived server fleets. 15. Discussion and limitations The analysis suggests that useful defense is constrained as much by evidence quality and operations as by model capability. Rare malicious decisions impose a demanding false-positive budget. Human review creates a queue whose delay can dominate a fast classifier. Shared dependencies undermine naive multiplication of detection rates. These results reinforce a design in which detection is connected to, but does not own, production authority. The intended outcome is justified and recoverable intervention under stated conditions, not maximum automation. The analytical studies deliberately isolate three dependencies. They do not model a complete organization, classifier, adaptive adversary or economic loss distribution. The prevalence and rates are hypothetical; raw decisions are not mapped into analyst cases. The queue assumes stationary Poisson arrivals and exponential service, whereas real incident work can be bursty and heavy-tailed. The two-detector mixture represents one specific dependence structure. These limitations prevent using the curves as a deployment forecast or a comparison between vendors. The reference architecture also depends on trusted policy, identity, execution and recovery components. It cannot promise correct enforcement after every possible compromise of those components. Some operational environments cannot tolerate the proposed instrumentation, latency or intervention model without adaptation. The literature selection is purposive and may miss relevant findings. A stronger subsequent study would preregister environment-specific hypotheses, release evaluation manifests and report negative results from independent deployments. MITRE ATT&CK can organize threat scenarios and reveal coverage gaps, but counting mapped techniques is not a measure of prevented harm. A research report should explain the observable behavior, required evidence and expected control response for each selected scenario. Coverage should be revisited when the environment, threat model or collection path changes. The meaningful comparison is between an explicitly bounded claim and the evidence that tests it. [15] 16. Conclusions An advanced cyber defender should be judged by the complete path from observation to verified recovery. This thesis proposes that identity-aware network policy, trustworthy host and server baselines, protected evidence and constrained automation be evaluated as one assurance problem. AI can contribute detection and investigative assistance, while a separate authority boundary enforces what actions are permitted and how their consequences are checked. The original calculations quantify why high sensitivity, busy analysts and multiple detectors can each give misleading reassurance when considered alone. The proposed next step is a controlled, versioned evaluation with held-out environments, explicit false-case and review budgets, direct tests of authorization invariants and independent restoration exercises. That program would establish where the architecture is useful, where it fails and which research improvements produce a measurable operational benefit. 17. Reproducibility, data and research declarations All numerical figures are deterministic calculations from scripts/cybersecurity_study.py. The download package contains the source snapshot, pinned numerical dependencies, CSV series, parameter and result manifest, SVG figures and high-resolution PNGs. The architecture and validation diagrams are original code-generated explanatory figures. No captured network traffic, malware execution, exploit program, customer record or operational incident dataset is included. Reproduction runs locally without making network requests. This technical thesis combines a literature synthesis, original analytical models and a proposed validation program. The experimental protocols have not been carried out for this article. No human-subject or customer experiment is reported. Before a future operator study, define consent, privacy and organizational review requirements. The article is hosted on a commercial technology website; its calculations do not establish product efficacy or independent certification. Sources are cited for verification, and published results remain attributable to their original authors. REFERENCES [1] Rose, S., Borchert, O., Mitchell, S., and Connelly, S. Zero Trust Architecture. NIST SP 800-207 (2020). https://doi.org/10.6028/NIST.SP.800-207 [2] Pendlebury, F., Pierazzi, F., Jordaney, R., Kinder, J., and Cavallaro, L. TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Time. 28th USENIX Security Symposium, 729–746 (2019). https://www.usenix.org/conference/usenixsecurity19/presentation/pendlebury [3] Apruzzese, G., Laskov, P., and Schneider, J. SoK: Pragmatic Assessment of Machine Learning for Network Intrusion Detection. Author manuscript, arXiv:2305.00550 (2023). https://arxiv.org/abs/2305.00550 [4] Mirsky, Y., Doitshman, T., Elovici, Y., and Shabtai, A. Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection. Network and Distributed System Security Symposium (2018). https://www.ndss-symposium.org/wp-content/uploads/2018/02/ndss2018_03A-3_Mirsky_paper.pdf [5] Vassilev, A., et al. Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations. NIST AI 100-2e2025 (2025); consult publication updates. https://csrc.nist.gov/pubs/ai/100/2/e2025/final [6] NSA, CISA, and international partners. Deploying AI Systems Securely: Best Practices for Deploying Secure and Resilient AI Systems. Joint Cybersecurity Information, April 2024. https://media.defense.gov/2024/Apr/15/2003439257/-1/-1/0/CSI-DEPLOYING-AI-SYSTEMS-SECURELY.PDF [7] Chandramouli, R., Kautz, F., and Torres-Arias, S. Strategies for the Integration of Software Supply Chain Security in DevSecOps CI/CD Pipelines. NIST SP 800-204D (2024). https://doi.org/10.6028/NIST.SP.800-204D [8] Regenscheid, A. Platform Firmware Resiliency Guidelines. NIST SP 800-193 (2018). https://doi.org/10.6028/NIST.SP.800-193 [9] Linux kernel contributors. LSM BPF Programs. Linux kernel implementation documentation; accessed 29 October 2026. https://docs.kernel.org/bpf/prog_lsm.html [10] Birkholz, H., Thaler, D., Richardson, M., Smith, N., and Pan, W. Remote ATtestation procedureS (RATS) Architecture. RFC 9334, informational architecture (2023). https://www.rfc-editor.org/info/rfc9334/ [11] Rescorla, E. The Transport Layer Security (TLS) Protocol Version 1.3. RFC 9846 (2026), obsoletes RFC 8446; consult current errata. https://www.rfc-editor.org/info/rfc9846/ [12] National Institute of Standards and Technology. Module-Lattice-Based Key-Encapsulation Mechanism Standard. FIPS 203 (2024); consult the publication’s potential updates. https://csrc.nist.gov/pubs/fips/203/final [13] ASD’s ACSC and international partners. Best practices for event logging and threat detection. Joint guidance, 22 August 2024. https://www.cyber.gov.au/publication/best-practices-for-event-logging-and-threat-detection [14] Nelson, A., Rekhi, S., Souppaya, M., and Scarfone, K. Incident Response Recommendations and Considerations for Cybersecurity Risk Management: A CSF 2.0 Community Profile. NIST SP 800-61 Rev. 3 (2025). https://doi.org/10.6028/NIST.SP.800-61r3 [15] MITRE. ATT&CK: knowledge base of adversary tactics and techniques. Living knowledge base; accessed 29 October 2026. https://attack.mitre.org/ [16] Linux kernel contributors. Kernel Self-Protection. Linux kernel implementation documentation; accessed 29 October 2026. https://docs.kernel.org/security/self-protection.html [17] CISA, NSA, FBI, and international partners. Shifting the Balance of Cybersecurity Risk: Principles and Approaches for Secure by Design Software. Joint guidance, October 2023. https://www.cisa.gov/sites/default/files/2023-10/Shifting-the-Balance-of-Cybersecurity-Risk-Principles-and-Approaches-for-Secure-by-Design-Software.pdf DATA AND CODE cybersecurity-ai-defense/base-rate.csv cybersecurity-ai-defense/review-queue.csv cybersecurity-ai-defense/shared-failure.csv cybersecurity-ai-defense/model-parameters.json cybersecurity-ai-defense/cybersecurity_study.py cybersecurity-ai-defense/requirements.txt cybersecurity-ai-defense/base-rate.png cybersecurity-ai-defense/review-queue.png cybersecurity-ai-defense/shared-failure.png cybersecurity-ai-defense/defense-architecture.png cybersecurity-ai-defense/validation-path.png