Linux Doas Tool Execution
Detects the doas tool execution in linux host platform. This utility tool allow standard users to perform tasks as root, the same way sudo does.
Detection logic
selection
Image|endswith: /doasCondition
selectionRaw YAML
title: Linux Doas Tool Execution
id: 067d8238-7127-451c-a9ec-fa78045b618b
status: stable
description: Detects the doas tool execution in linux host platform. This utility tool allow standard users to perform tasks as root, the same way sudo does.
references:
- https://research.splunk.com/endpoint/linux_doas_tool_execution/
- https://www.makeuseof.com/how-to-install-and-use-doas/
author: Sittikorn S, Teoderick Contreras
date: 2022-01-20
tags:
- attack.privilege-escalation
- attack.t1548
logsource:
product: linux
category: process_creation
detection:
selection:
Image|endswith: '/doas'
condition: selection
falsepositives:
- Unlikely
level: lowFalse positives
- Unlikely
References
Similar rules
Linux Setgid Capability Set on a Binary via Setcap Utility
lowlinux · Shares T1548
Linux Setuid Capability Set on a Binary via Setcap Utility
lowlinux · Shares T1548
Potential Exploitation of CVE-2025-5054 or CVE-2025-4598
mediumlinux · Shares T1548
Abused Debug Privilege by Arbitrary Parent Processes
highwindows · Shares T1548