arXiv:2609.09087cs.CRSep 2026

Manuscript Offprint

arXiv:2609.09087

PrivEscalate: Measuring and Augmenting the Threat of LLM-Automated Linux Privilege Escalation

Yixuan Liu, Zilong Zhen, Yin Wu, Yi Li

Yixuan Liu

Nanyang Technological University

Singapore, Singapore

LIUY0255@e.ntu.edu.sg

Yin Wu

Xi'an Jiaotong University

Xi'an, China

wuyin@stu.xjtu.edu.cn

Zilong Zhen

Nanyang Technological University

Singapore, Singapore

ZILONG001@e.ntu.edu.sg

Yi Li

Nanyang Technological University

Singapore, Singapore

yi_li@ntu.edu.sg

Abstract

As Large Language Model (LLM) agents increasingly automate offensive operations across the cyber kill chain, their efficacy in complex local post-exploitation tasks remains inadequately quantified. Among these, Linux privilege escalation is a key step between initial access and full system compromise. However, existing evaluations for this task are limited by small sample sizes (<15 scenarios), lacking the scale to compare model capabilities under executable verification. To address this, we present PRIVESCALATE, a large-scale benchmark for Linux privilege escalation, comprising 531 Dockerized scenarios spanning 14 distinct sub-categories. To measure sensitivity to environmental distractors, we additionally derive 329 parameterized variant scenarios so that each model's demonstrated successes can be retested under matched perturbations.

Evaluating six LLMs across three agent architectures reveals: (i) Model capability is heterogeneous across vulnerability classes, with no single model dominating across the high-prevalence classes, motivating multi-dimensional risk assessments. (ii) LLM successes are sensitive to environmental perturbation, so configuration rotation can disrupt some exploit attempts but does not eliminate the measured risk. (iii) Agent architectures can materially change success rates and reorder model rankings, though the magnitude is model-dependent. Leveraging these insights, we develop PRIVEscA-GENT, a domain-specialized wrapper that augments a generic ReAct agent with deterministic enumeration, category matching, and step planning. PRIVESCAGENT improves over prior Linux privilege-escalation agent baselines without underlying LLM modifications. We release PRIVESCALATE as an open-source, Dockerized measurement instrument supporting both LLM agent evaluation and broader Linux privilege escalation research, including defensive tool validation and red-team training.

CCS Concepts

• Security and privacy → Systems security; • Computing methodologies → Artificial intelligence;

References (15)