Reproduce “Towards Automatic Hands-on-Keyboard Attack Detection Using LLMs in EDR Solutions” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Amit Portnoy, Ehud Azikri, Shay Kels

Researchers at Microsoft Security AI Research developed an LLM-based pipeline to detect Hands-on-Keyboard (HOK) attacks within Endpoint Detection and Remediation (EDR) solutions by transforming raw endpoint data into narrative "endpoint stories." This system demonstrated superior True-Positive Rates compared to traditional machine learning methods at a 1% False-Positive Rate.

Key insights

  • Large Language Models can effectively interpret the contextual and sequential information in narrative-formatted endpoint data to identify subtle HOK attack patterns.
  • Converting raw security telemetry into coherent "endpoint stories" is crucial for bridging the gap between low-level system events and the advanced understanding capabilities of LLMs.
  • A dual-stage LLM architecture that separates window embedding generation from a sequential classification head provides a practical solution for handling long input sequences in real-world EDR data.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.