TLDR: This research introduces a new method using Large Language Models (LLMs) to analyze hacker behavior and quantify cognitive biases like loss aversion. By examining operational notes from a controlled cyber experiment, the study found that hackers with lower risk-taking tendencies (indicating higher loss aversion) employed more persistence techniques to maintain access to compromised systems. This approach offers a way to enhance cyber defense by understanding and anticipating attacker decision-making in real-time.
Cybersecurity is a constant battle against evolving threats, where understanding the human element behind attacks remains a significant challenge. Traditional defense strategies often focus on fortifying systems, but a new approach seeks to anticipate and counter threats by delving into the cognitive biases of cyber adversaries. A recent paper, titled Quantifying Loss Aversion in Cyber Adversaries via LLM Analysis, introduces a novel methodology that leverages large language models (LLMs) to gain quantifiable insights into a specific cognitive bias: loss aversion, as it manifests in hacker behavior.
The research, conducted by Soham Hans and Nikolos Gurney from the USC Institute for Creative Technologies, and Stacy Marsella and Sofia Hirschmann from Northeastern University, addresses a critical gap in cybersecurity. While some methods attempt to map attacker strategies to cognitive vulnerabilities, they often fall short in dynamically interpreting ongoing attacks. This work aligns with the Intelligence Advanced Research Projects Activity (IARPA)’s ReSCIND program, which aims to infer, defend against, and even exploit attacker cognitive traits to rebalance the asymmetry in cyber conflict.
Unpacking Loss Aversion in Cyber Operations
Loss aversion is a well-documented phenomenon in behavioral economics, where individuals tend to prefer avoiding losses over acquiring equivalent gains. In the context of cyber operations, this bias could mean an attacker prioritizes maintaining access to a compromised system or preserving persistence mechanisms, even when doing so increases their risk of detection. The researchers hypothesized that attackers exhibiting loss aversion would allocate more attention and resources to implementing persistence mechanisms, even if not strictly necessary for their objectives.
The Experimental Setup and Data Collection
To investigate this, the study utilized data from “Operation 418,” a controlled academic cybersecurity experiment. Trained cybersecurity professionals, acting as penetration testers, were tasked with compromising a simulated corporate network over two days. Participants were required to document their activities through detailed, timestamped operational notes (OPNOTES). These notes provided a unique window into the attackers’ thought processes and decision sequences, forming the primary data source for the study.
Leveraging LLMs for Behavioral Analysis
The core of the methodology involved a multi-stage annotation pipeline centered around LLM reasoning, specifically using OpenAI’s GPT-4o. The LLM was used to parse each participant’s notes, segmenting them into discrete actions and generating concise descriptions. Crucially, each action was then analyzed in the context of surrounding actions to determine if it reflected a persistence technique, as defined by the MITRE ATT&CK framework. The LLM was prompted to provide explicit reasoning steps for its classifications, enhancing interpretability and allowing for verification.
This LLM-based pipeline transformed free-form textual logs into structured sequences of attacker actions, enabling downstream analysis of cognitive traits and technical strategies. Rather than fine-tuning the model, the researchers designed the LLM interaction to mirror a stepwise analytical workflow, ensuring transparency and consistency.
Key Findings: Risk Propensity and Persistence
The analysis included 17 participants, who, on average, employed approximately 13.88 persistence-related techniques. The most frequently observed techniques included modifying authentication processes, account manipulation, and using valid accounts, all indicating a strong focus on maintaining access.
To assess the presence of loss-averse behavior, the researchers correlated the observed use of persistence techniques with established psychological instruments: the General Risk Propensity Scale (GRiPS) and components of the Adult Decision-Making Competence (ADMC) assessment. The GRiPS quantifies general risk-taking, while ADMC focuses on susceptibility to framing effects.
The study found a statistically significant negative relationship between GRiPS scores and persistence usage. This indicates that participants with a lower general risk-taking propensity—a surrogate for higher loss aversion—tended to employ more persistence techniques. This finding supports the hypothesis that risk-averse individuals exhibit behaviors consistent with loss aversion by prioritizing access retention. The ADMC subscales, however, did not significantly predict persistence behavior in this context.
Also Read:
- Unpacking LLM Strategic Reasoning: A New Benchmark Approach
- How AI Shapes User Personas: An Analysis of Prompting Strategies in Research
Implications for Future Cyber Defense
This research provides compelling evidence that LLMs can serve as powerful tools for real-time interpretation of adversary behavior, dissecting and quantifying cognitive patterns that were previously difficult to observe systematically. The findings suggest that general risk propensity plays a more consistent role in shaping persistence behaviors during offensive cyber operations than framing-based vulnerabilities.
Looking ahead, the researchers propose several promising avenues for future work. This includes scaling the methodology to detect other cognitive biases like overconfidence or the sunk-cost fallacy, applying the approach to machine-generated data sources (like network logs) for large-scale analysis, and integrating these models into active defense platforms for proactive, anticipatory security. Diversifying the dataset to include broader demographics and skill levels is also crucial for building more generalizable models of attacker cognition.
Ultimately, this study highlights the transformative potential of LLMs in cybersecurity, laying a foundation for next-generation defensive systems that leverage behavioral insights to stay ahead of adaptive threats.


