Possible Audio Capture (via auditd)
This rule detects attempts to record audio using the arecord and ecasound utilities.
SigmalowLinuxv1
sigma
possible-audio-capture-via-auditd
title: Possible Audio Capture (via auditd)
id: f079c7ef-d096-59f6-92e3-f994120b467c
status: stable
description: This rule detects attempts to record audio using the arecord and ecasound utilities.
references:
- https://attack.mitre.org/techniques/T1123/
- https://linux.die.net/man/1/arecord
- https://linuxconfig.org/how-to-test-microphone-with-audio-linux-sound-architecture-alsa
- https://manpages.debian.org/unstable/ecasound/ecasound.1.en.html
- https://ecasound.seul.org/ecasound/Documentation/examples.html#fconversions
author: Huntrule Team
date: 2026-02-25
tags:
- attack.collection
- attack.t1123
logsource:
product: linux
service: auditd
detection:
selection_execve:
type: EXECVE
a0: arecord
a1: '-vv'
a2: '-fdat'
selection_syscall_memfd_create:
type: SYSCALL
exe|endswith: "/ecasound"
SYSCALL: 'memfd_create'
condition: 1 of selection_*
falsepositives:
- Unknown
level: low
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.