Detecting Privilege Escalation Through Enumeration Bursts in Linux Logs
A DEV Community article describes a method for spotting attackers during the reconnaissance stage, before they escalate privileges. It notes that a service account running several enumeration commands within a few minutes is unusual in normal operations. The author proposes counting distinct enumeration command types per user ID per minute and alerting when three or more appear, excluding root. In testing on a synthetic log, the detector flagged a burst from one account using four command types while ordinary single- or double-command admin activity stayed silent. The author recommends allow-listing known inventory jobs by user ID and source to reduce false positives, and says a Windows version is planned.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in