Skip to content

A Neuro-Symbolic Defense Framework for AI-SOC: Using SIEM Decoders and NeMo Guardrails to Block Log Poisoning Prompt InjectionArchitecting the Secure AI-SOC: A Neurosymbolic Framework for Pipeline Integrity and Threat Mitigation

arXiv: Agent & MCP Security· arXiv:2609.10707· Anna Gazani, Spyridon Kounoupidis, Panagiotis Katsaros, Nikolaos Kekatos, Grigorios Tsoumakas, Georgios Koutidis·Indexed by this site · 2026-10-01· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors use Wazuh and NeMo to protect AI-SOC; on Gemma 3 (12B), Layer 2 intercepted 18/20 in N=20.

Threat modelAttackers without direct access to the SIEM backend and LLM API keys use indirect prompt injection to place payloads in logs or CTI/API, causing the system to bring them into the cognitive domain during retrieval. The paper assumes the worst case: attackers can embed any content needed for successful injection. Subsequent impacts include overriding system prompts, exfiltration, context exhaustion, and unauthorized action commands.

Questions
Once an LLM is integrated into a SOC, adversaries can hide instructions in system logs or external CTI, and use the SIEM to feed them into the model context, forming a promptware kill chain. The authors believe that regex sanitization alone will miss semantic obfuscation, while neural-only checking has latency and overhead unsuitable for massive logs and can be overwhelmed by volume padding.
Methods
The architecture has two layers. The Wazuh decoder extracts suspicious fields before correlation, truncates by length, and replaces known signatures; the NeMo input rail and output rail have the LLM self-check alerts and responses, and block on a Yes answer. Blocked events are written back to logs and shown to the analyst on the dashboard.
Experiments and results
On local Gemma 3 (12B), in synthetic Wazuh alerts N=20, Layer 1 intercepted 3, Layer 2 intercepted 18; missed were 1 tool abuse and 1 instruction override jailbreak. Another SSH padding poisoning was sanitized at ingestion. The paper does not report timing, false positives, or number of repetitions.
Limitations and future work
The authors state that when handling alerts individually, multi-turn drift and cross-session memory poisoning can still occur, and PCRE2 also cannot handle image or audio promptware. Future plans include session-level intent classification and adding lightweight vision to pre-filtering. Experiments only used Gemma 3 (12B), with a main set of N=20; time and false positives were not reported.
Experimental setupGemma 3 (12B) · 合成Wazuh安全告警(N=20)、MITRE ATT&CK et al. · 拦截次数(N=20)
Evaluated models
Gemma 3 (12B)
Benchmarks
合成Wazuh安全告警(N=20)MITRE ATT&CKMITRE ATLAS
Metrics
拦截次数(N=20)
AI summaryThe paper proposes a neurosymbolic defense-in-depth architecture to secure the pipeline integrity of LLM-integrated Security Operations Centers (SOC) against indirect prompt injection via log poisoning. The authors point out that attackers can embed malicious payloads in system logs to form multi-step promptware attack chains that hijack the LLM's operational logic; deterministic defenses are semantically blind, and purely neural evaluation has high latency and probabilistic flaws. The framework's first layer uses a custom SIEM decoder as a deterministic pre-filter, performing structured sanitization at the data ingestion edge to eliminate volume padding and signature-based injections; the second layer uses NeMo Guardrails to perform self-checking semantic boundary validation on structured SIEM alerts before LLM processing; it also integrates a closed-loop telemetry system that provides visibility of blocked attacks for human intervention in the SOC dashboard.

The paper proposes a neurosymbolic defense-in-depth architecture to secure the pipeline integrity of LLM-integrated Security Operations Centers (SOC) against indirect prompt injection via log poisoning. The authors point out that attackers can embed malicious payloads in system logs to form multi-step promptware attack chains that hijack the LLM's operational logic; deterministic defenses are semantically blind, and purely neural evaluation has high latency and probabilistic flaws. The framework's first layer uses a custom SIEM decoder as a deterministic pre-filter, performing structured sanitization at the data ingestion edge to eliminate volume padding and signature-based injections; the second layer uses NeMo Guardrails to perform self-checking semantic boundary validation on structured SIEM alerts before LLM processing; it also integrates a closed-loop telemetry system that provides visibility of blocked attacks for human intervention in the SOC dashboard.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    In AI-SOC, indirect injection in logs or CTI can hijack the backend LLM along the promptware kill chain.

    When AI-SOC feeds logs and CTI into an LLM, indirect prompt injection can hijack the cognitive domain along the promptware kill chain.

    • Scenario: The authors believe that once the LLM handles CTI analysis, triage, and response, payloads appearing in logs the SIEM will read or in external intelligence can override operational logic, and lead to exfiltration, context exhaustion, or unauthorized actions.
    • Existing approaches: The authors divide single-layer defenses into two categories: regex, classifiers, input filtering, and plan-then-execute are lighter, but the authors state they are blind to semantic obfuscation and require continuous signature updates; adversarial training, instruction hierarchy, and LLM behavior monitoring are probabilistic, and the authors believe they are unsuitable for directly scanning massive raw logs. Standalone programmable guardrails can also have their context exhausted by volume padding.
    • Observation: The authors believe the defense should be decomposed: a symbolic layer handles volume and known signatures, a neural layer reviews only structured alerts, and telemetry returns events to the analyst.
    • Proposed architecture: The authors propose a neuro-symbolic defense-in-depth architecture: Wazuh decoders and atomic rules do pre-filtering, NeMo input rails and output rails do self-checking, and blocked events return to the dashboard. Evaluation maps to MITRE ATLAS.
    • Threat model:
      • Goal: Enter the cognitive domain without direct access to the SIEM backend and LLM API keys. The listed impacts include overriding the system prompt, exfiltration, context exhaustion, and unauthorized action commands.
      • Knowledge: Indirect prompt injection. The authors state the attack targets external content the system will necessarily process, not the model interface itself; and they take the worst-case assumption that the attacker can embed whatever content is needed for a successful injection.
      • Capability: Internally, log poisoning, writing to fields such as user agents, authentication errors, or DNS. Externally, poisoning CTI descriptions, or rewriting API-returned JSON via MitM or compromised third parties; the authors state the latter is a persistence that depends on retrieval.
      • Victim system: Untrusted telemetry enters a semi-trusted SIEM (example: Wazuh). Correlated alerts containing payloads are fed into what the authors call a "trusted but vulnerable" LLM context.
  2. What related research exists?

    Related work covers agent isolation, promptware, structural defenses, and programmable guardrails; the authors move defense to the ingestion pipeline.

    The authors place related work in LLMs in SOCs, and structural defenses and neural guardrails against prompt injection.

    LLMs in SOCs and Agent Protection

    • Survey: Zhang et al. (2025) survey LLMs for traffic analysis, vulnerability report correlation, and CTI generation. The paper does not use it as an experimental baseline.
    • Runtime isolation: Wu et al.'s IsolateGPT (2024) isolates the sensitive data accessible to compromised agents; Hu et al.'s AgentSentinel (2025) monitors and verifies agent intent in real time in computer-use tasks. The authors state these two focus on runtime isolation and behavior monitoring, while they move the defense earlier into the SIEM ingestion pipeline.

    Indirect injection and promptware

    • Entry point: The introduction uses Greshake et al.'s (2023) indirect prompt injection, and log poisoning literature [20, 16], to show payloads can be written into logs that SOCs will collect.
    • Kill chain: Brodt et al. (2026) frame prompt injection as multi-step malware delivery, i.e., promptware. The authors use this framing to organize initial access, privilege escalation, persistence, and goal achievement, and map them by ATLAS ID in Section 3.5.

    Structural defenses, neural alignment, and guardrails

    • Structural route: The introduction classifies regex or simple classifiers, input filtering [13], and plan-then-execute [5] as deterministic defenses, and states they are blind to semantic obfuscation. Chen et al.'s (2025) StruQ separates data and control with predefined patterns; Li et al.'s (2025) ACE uses plan-then-execute; Debenedetti et al. (2025) advocate programmatic instruction-data separation.
    • Filtering tools: Pienaar and Anver's Rebuff (2023) uses multi-stage heuristics and classifiers to detect injection. The authors state the community is shifting toward structural and architectural defenses, and state that applying programmable rails or plan-then-execute alone to raw SIEM logs incurs overhead and latency, and is exposed to AML.T0040.
    • Neural and guardrails: The introduction classifies adversarial training (Niu et al., 2024), instruction hierarchy (Wallace et al., 2024), and SmoothLLM (Robey et al., 2023) as purely neural routes, stating they can still hallucinate and encounter zero-day jailbreaks. Rebedea et al.'s NeMo Guardrails (2023) uses programmable rails for policy-based intent classification. The authors place it after deterministic pre-filtering.

    The authors frame the difference as: the focus is on the ingestion pipeline rather than the agent runtime, and SIEM decoders serve as a front-end to the neural guardrail, so the guardrail only processes structured alerts. The paper does not list the above systems as same-set experimental baselines.

  3. How does the paper address this problem?

    Wazuh performs truncation and signature sanitization at ingestion; NeMo input/output rails self-check structured alerts.

    The authors' Neurosymbolic Defense-in-Depth architecture chains deterministic pre-filtering and semantic self-checking on the same SOC pipeline. The symbolic layer handles length and structure; the neural layer then performs policy self-checking; blocked records return to the dashboard rather than being silently dropped.

    Trust Boundaries and Two-Layer Division

    • Three domains: External telemetry is untrusted, including endpoint logs and third-party CTI; the SIEM correlation domain is semi-trusted, with the engine in the paper being Wazuh; the cognitive domain performs triage, summarization, and automated response on structured alerts, which the authors call trusted but vulnerable.
    • Failure point: The authors believe that when system instructions and untrusted logs are concatenated into the same context, the LLM struggles to separate them. The interface from SIEM to the context window is called the most critical trust boundary by the authors.
    • Division: The symbolic layer normalizes at ingestion, limits length, cleans malformed structures (the paper cites JSON injection), and discards known signatures or encodings like Base64. The neural layer only performs semantic checks, including conversational jailbreaks, roleplay, and unauthorized tool calls. The authors state this prevents the neural layer from being overwhelmed by volume noise.

    Wazuh Deterministic Pre-filtering

    • Timing: The custom decoder is located after native pre-decoding and before multi-event correlation, handling endpoint, authentication, OS, network, cloud, and CTI. Figure 1 shows Raw System Logs and Poisoned CTI Feeds entering Layer 1; if length exceeds limits, Drop Event, and writes llm_injection_payload and Structural Sanitization.
    • Extraction and rules: The PCRE2 decoder performs prematch based on known instruction override heuristics, placing suspicious strings into llm_injection_payload and preserving forensic metadata. The atomic rule in the text is Rule ID 100050, Level 10 (local_rules.xml). Figure 1 text says Level 0/1 Triggers. The paper does not explain this discrepancy.
    • Sanitization: When the rule triggers, active response first truncates to a predefined limit, but the paper does not give the value; then pattern matching replaces known injection constructs with immutable safe markers. The authors map truncation to AML.T0040 and tagging to AML.T0051.
    • Latency claims: The introduction says zero latency, Section 3.1 says near-zero latency and states overhead is minimal. The paper does not report timing.

    NeMo Input and Output Rails

    • Encapsulation: A Python service wraps NeMo. Section 4.2 states that Colang is used to define semantic checks, and gives examples of underlying models such as Llama 3 or GPT-4. Figure 2 order: Sanitized Alert, Input Rails, Safe Prompt, AI-SOC LLM Engine, Raw Output, Output Rails, Safe Response, SOC Dashboard.
    • Input rails: The self-check prompt is given to the LLM along with the alert to judge instruction override, role manipulation, prompt extraction, unauthorized actions, and instructions hidden in logs or documents that target the model rather than the analyst. If Yes, it does not enter the main flow. Section 4.2 states that security discussions that are not attacks are not blocked. Appendix A.1 gives the full prompt.
    • Output rails: Before responses return to the dashboard or execution pipeline, the model checks whether it is valid JSON with an action, whether the action belongs to the approved set block_ip, delete_file, kill_process, none, and whether there are arbitrary commands, shell, or actions claimed to be executed but not actually executed. If Yes, it blocks. Appendix A.2 gives the full prompt.
    • Analysis template: After passing, the orchestrator uses the active_response template in Appendix A.3, requiring the model to output thought, action, action_input, reasoning, injection_attempt, and threat_indicators as a SOC analyst. The appendix gives the full prompt.

    Telemetry Loop and ATLAS Mapping

    • HITL: The authors believe silent dropping creates a black box. Input rails return SOC_INPUT_RAIL_BLOCKED, output rails return SOC_OUTPUT_RAIL_BLOCKED. The orchestrator sends a predefined fallback JSON and writes the reason, triggered rail, and context to /var/ossec/logs/injection-alerts.log. Wazuh uses Rule ID 100300, Level 12 to categorize events into llm and injection groups, and the dashboard marks PROMPT_INJECTION_ATTEMPT.
    • Mapping: The authors state the design breaks down what they call the seven-stage promptware kill chain, naming initial access, privilege escalation, reconnaissance, retrieval-dependent persistence, C2, lateral movement, and goal achievement. AML.T0051 is placed at the ingestion edge; AML.T0054 and reconnaissance are handled by self-checking; persistence is blocked before forming C2; AML.T0053 and AML.T0057 rely on tool validation and output scanning to cut off unauthorized SOAR commands and AML.T0040. This is the architectural mapping in Section 3.5, not staged empirical testing.
  4. What experiments did the paper conduct?

    On Gemma 3 (12B) with N=20: Layer 1 is 3/20, Layer 2 is 18/20, and two categories each miss 1.

    Experimental Setup

    • Environment and models: In the simulated AI-SOC, the orchestrator feeds Wazuh alerts one by one as JSONL into the full pipeline. The analysis prompt is submitted to Gemma 3 (12B) on a local Ollama. The paper does not state temperature, seed, or other models tested. The Llama 3 and GPT-4 in Section 4.2 are only implementation examples.
    • Main set: Synthetic Wazuh alerts N=20. Background telemetry corresponds to four ATT&CK categories: T1070 (Windows audit log clearing, Event ID 1102), T1098 (account modification, 4738), T1484 (removing a member from the local Administrators group, 4733), T1499 (memory exhaustion, the paper does not give an Event ID). Injections are written into the raw fields of these logs before SIEM ingestion.
    • Injection composition: 8 direct instruction overrides (AML.T0054); 3 role-play or persona adoption, the paper does not give ATLAS numbers; 6 unauthorized tool misuse and lateral movement (AML.T0053); 3 goal achievement and data exfiltration (AML.T0057). There is also 1 SSH login failure poisoning, not counted in these 8/3/6/3.
    • Baselines: The paper sets no control defense and does not compare with Rebuff, StruQ, or ACE on the same set.
    • Decision: Both the input track and the output track are self-checked by the LLM, and answering Yes blocks. The paper writes the pipeline's underlying model as Gemma 3 (12B), and does not give a separate reviewer model, score threshold, or human review.
    • Repetition: Each alert goes through the pipeline once. The paper does not report the number of repetitions. The SSH case is a single simulation.

    Main Results

    ObservationResultConditions and source
    Layer 1 (Wazuh pre-filtering)3/20Synthetic alerts N=20, Section 5
    Layer 2 (semantic guardrail)18/20Same N=20; underlying model Gemma 3 (12B), Section 5
    Layer 2 not blocked2/20Same as above, Section 5
    • The authors state that the design focus of Layer 1 is structural anomalies and explicit signatures, not deep semantics. The paper does not give Layer 1's block counts separately by the four injection categories, nor state whether the hits of the two layers are mutually exclusive, so there is no end-to-end joint result.
    • The unblocked cases belong to unauthorized tool misuse (lateral movement) and complex instruction override; the authors state that the latter has formed a model jailbreak, and state that this corresponds to a probabilistic limitation under zero-day semantic manipulation.
    • Section 5 suggests enriching Colang intents with bypass samples, upgrading the embedding model and tightening the intent similarity threshold, adding few-shot to the classification prompt, and forcing the output track as a final check. The paper does not give the current embedding model name and threshold, nor report new results after these changes.

    SSH Log Poisoning Case

    • What was tested: In failed SSH authentication, the username is replaced with an explicit override instruction and padded with a large number of random characters, targeting AML.T0051-style context hijacking and exhaustion.
    • Result: The authors state that the custom decoder identifies structural anomalies and predefined heuristics before cognitive processing, completes sanitization, and triggers Rule 100300 (Level 12), with only normalized telemetry entering the neural layer.
    • Rule wording: Section 4.1 writes payload extraction as Rule 100050 (Level 10); Section 4.3 writes Rule 100300 (Level 12) as the rule triggered after guardrail telemetry is written back. Section 5 records the same-numbered rule on this ingestion-side block. The paper does not explain the relationship between the two numbers.

    Other Ablations and Analyses

    • The paper does not report ablations, threshold sweeps, false blocks of benign alerts, latency, or statistical tests.
    • The zero latency in the introduction and the near-zero latency in Section 3.1 both lack timing numbers from Section 5.
    • The 3 role-play and 3 exfiltration cases have no separate block counts; the paper only names 1 failure each for two categories.
  5. What are some points that can be further explored?

    The authors state that in the single-alert setting, multi-turn drift, cross-session memory poisoning, and multimodal payloads may still be effective.

    Limitations and future directions noted by the authors

    • Single-instance processing: The current implementation treats SIEM alerts as isolated instances. The authors state that if the cognitive engine retains cross-session state, the pipeline may still be vulnerable to multi-turn semantic attacks (context shifting) and retrieval-independent persistence (memory poisoning). From Section 7.
    • Modalities: The authors state that Layer 1's text PCRE2 decoder is blind to multimodal promptware, such as adversarial instructions steganographically embedded in image or audio CTI. From Section 7.
    • Session state: The authors plan to add stateful, session-aware intent classification to the semantic guardrails. From Section 7.
    • Visual pre-filtering: The authors plan to augment the deterministic pre-filter with a lightweight computer vision module to intercept multimodal anomalies before they reach the LLM. From Section 7.

    Experimental coverage

    • The tested model is Gemma 3 (12B) on Ollama, 1 model in total. Section 4.2 gives Llama 3 or GPT-4 as examples, and Section 5 has no results for either.
    • The main set is synthetic Wazuh alerts N=20, with injections written into the raw fields of four telemetry categories: T1070, T1098, T1484, T1499; there is also 1 SSH login failure poisoning with padding.
    • The twenty items break down as: instruction coverage 8, role-playing 3, tool abuse 6, exfiltration 3. The paper reports combined interception across the two layers and names 1 failure in each of two categories; the paper does not report the end-to-end joint count, per-category counts for the remaining categories, number of repetitions, benign alert false positives, human agreement, latency, or number of queries.
    • Blocking is determined by the LLM's self-check Yes/No. The paper does not specify an independent review model, score threshold, or sampling settings.
    • Section 2.2 defines two entry points: log poisoning and CTI/API. Section 5 states that payloads are embedded in raw log fields, plus one SSH username field replacement. Section 5 proposes modifying the guardrails based on bypass samples but gives no updated numbers.
  6. Summarize the main content of the paper

    On Gemma 3 (12B) with N=20, the two layers intercept 3 and 18 times respectively; the authors state multi-turn and multimodal cases may still bypass.

    Neurosymbolic defense-in-depth distributes indirect prompt injection in AI-SOC across the Wazuh ingestion layer and NeMo self-checking layer, and writes blocks back to the analyst dashboard.

    • Problem: Even without SIEM backend or LLM API keys, adversaries can still deliver promptware into the model context via log poisoning or poisoned CTI/API, aiming for system prompt override, exfiltration, context exhaustion, or unauthorized actions.
    • Method: A PCRE2 decoder extracts suspicious strings into llm_injection_payload, and atomic rules then perform length truncation and signature tagging; input and output rails let the LLM self-check, blocking if Yes. Approved actions are limited to four fixed items. Guardrail blocks are written back to logs and escalated to alerts by Rule 100300 (Level 12).
    • Results: On local Gemma 3 (12B) and synthetic Wazuh alerts N=20, the deterministic layer intercepted 3 times, the semantic layer intercepted 18 times; missed were 1 tool abuse and 1 instruction override that formed a jailbreak. One padded SSH poisoning was sanitized at ingestion. The paper does not give the joint success rate of the two layers or timing.
    • Authors' conclusion: The authors state that the two layers together can dismantle the promptware kill chain, wrap LLM stochasticity with verifiable constraints, and maintain HITL visibility. The authors also state that when handling alerts individually, multi-turn context drift and cross-session memory poisoning can still occur, and text decoders cannot handle payloads in images or audio.

Related papers

Read originalarxiv.org