Skip to content
Threat Feed
medium advisory

LLM Attack Chain Triage by Host - Multiple Alert Correlation

This detection logic correlates multiple alerts on a single host to triage potential attack chains targeting Large Language Models (LLMs).

CVE search metadata

CVE search record: CVE-2023-46604. KEV: no. Brief: LLM Attack Chain Triage by Host - Multiple Alert Correlation. Brief link: https://feed.craftedsignal.io/briefs/2024-01-02-llm-attack-chain-triage/

Triage facts

Revision 2
Evidence
Unknown
Severity
Medium
Sources
1 public source
Freshness
Revision 2Jan 2, 12:00 UTC
Detection
2 rules
Vulnerabilities
1 CVE
Revision history 1 entry · Revision 2
  1. Revision 2

    Repaired a legacy canonical identity collision

    Changed: slug

This detection strategy focuses on identifying potential attack chains targeting Large Language Models (LLMs) by correlating multiple alerts originating from a single host. While the provided source material lacks specific details on threat actors or campaigns, the underlying logic aims to proactively identify potentially malicious sequences of events. This is particularly important as LLMs become increasingly integrated into various systems, making them attractive targets for adversaries. Defenders need to focus on attack sequences and identifying unusual combinations of events that may indicate malicious activities, particularly where those activities impact the models themselves.

Attack Chain

  1. Initial Access: (Hypothetical based on potential attack vectors) An attacker gains initial access to a system with access to LLMs through methods such as exploiting a vulnerability in a web application (e.g., CVE-2023-46604 if it provides remote code execution).
  2. Privilege Escalation: The attacker attempts to escalate privileges using techniques like exploiting kernel vulnerabilities (e.g., using a publicly available exploit for a known privilege escalation vulnerability).
  3. Discovery: The attacker performs reconnaissance activities to identify LLM-related resources, such as configuration files, API endpoints, or data stores. This may involve using tools like find or grep to search for specific file names or patterns.
  4. Credential Access: The attacker attempts to obtain credentials that can be used to access LLMs, such as API keys or database credentials. They may use tools like Mimikatz (if on Windows) or attempt to read configuration files containing credentials.
  5. Lateral Movement: The attacker uses compromised credentials or exploits vulnerabilities to move laterally to other systems within the network that have access to LLMs. This might involve using SSH or RDP to connect to other systems.
  6. Data Exfiltration/Model Poisoning: The attacker attempts to exfiltrate sensitive data from the LLM or poison the model by injecting malicious data or code. Data exfiltration might involve using tools like scp or rsync to copy data to an external server. Model poisoning might involve manipulating training data or model parameters.
  7. Impact: The attacker achieves their objective, such as stealing sensitive information, disrupting services, or compromising the integrity of the LLM.

Impact

Successful exploitation of LLMs can lead to significant consequences, including data breaches, service disruptions, and reputational damage. Compromised LLMs can be used to generate disinformation, manipulate financial markets, or even control critical infrastructure systems. The lack of concrete numbers in the source material prevents quantifying victim counts or sectors targeted, but the potential for widespread impact underscores the importance of proactive detection measures.

Detection coverage 2

Detect Multiple High Severity Alerts on Same Host

high

Detects when multiple high severity alerts occur on the same host within a short time frame, potentially indicating an active attack chain.

sigma tactics: defense_evasion techniques: T1027 sources: alert, elastic

Detect Suspicious Process Execution Followed by Network Connection

medium

Detects a process creation event followed by a network connection within a short timeframe, potentially indicating command and control activity.

sigma tactics: command_and_control techniques: T1071.001 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →