Skip to content

Conversation

@CheraghiMilad
Copy link
Contributor

@CheraghiMilad CheraghiMilad commented Apr 26, 2025

Summary of the Pull Request

The Audio Capture technique detects attempts to record audio using the arecord and ecasound utilities. These tools are commonly used in Linux environments for audio recording and sound manipulation. arecord is a command-line utility for recording audio via ALSA (Advanced Linux Sound Architecture), while ecasound is an audio processing tool that provides advanced features for multi-track recording. Detection rules are based on monitoring for specific execution commands or system calls that involve these utilities.

Changelog

  • update: Audio Capture - add ecasound detection

Example Log Event

{
  "type": "SYSCALL",
  "msg": "audit(1745697050.075:2344):",
  "arch": "c000003e",
  "syscall": 319,
  "success": "yes",
  "exit": 19,
  "a0": "7ffe5b4fdb40",
  "a1": 3,
  "a2": 0,
  "a3": 0,
  "items": 0,
  "ppid": 17756,
  "pid": 18259,
  "auid": 1000,
  "uid": 1000,
  "gid": 1000,
  "euid": 1000,
  "suid": 1000,
  "fsuid": 1000,
  "egid": 1000,
  "sgid": 1000,
  "fsgid": 1000,
  "tty": "pts3",
  "ses": 3,
  "comm": "ecasound",
  "exe": "/usr/bin/ecasound",
  "subj": "unconfined",
  "key": "anon_file_create"
}

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

@github-actions github-actions bot added Rules Linux Pull request add/update linux related rules labels Apr 26, 2025
Copy link
Member

@frack113 frack113 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nasbench nasbench requested a review from phantinuss May 20, 2025 21:10
@nasbench nasbench added 2nd Review Needed PR need a second approval and removed Ready to Merge labels May 20, 2025
@phantinuss phantinuss merged commit 304b019 into SigmaHQ:master May 21, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2nd Review Needed PR need a second approval Linux Pull request add/update linux related rules Rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants