Detection rules › Sigma

Suspicious Camera and Microphone Access

Status
test
Severity
high
Log source
product windows, category registry_event
Author
Den Iuzvyk
Source
github.com/SigmaHQ/sigma

Detects Processes accessing the camera and microphone from suspicious folder

MITRE ATT&CK coverage

TacticTechniques
CollectionT1123 Audio Capture, T1125 Video Capture

Event coverage

Rule body yaml

title: Suspicious Camera and Microphone Access
id: 62120148-6b7a-42be-8b91-271c04e281a3
status: test
description: Detects Processes accessing the camera and microphone from suspicious folder
references:
    - https://medium.com/@7a616368/can-you-track-processes-accessing-the-camera-and-microphone-7e6885b37072
author: Den Iuzvyk
date: 2020-06-07
modified: 2022-10-09
tags:
    - attack.collection
    - attack.t1125
    - attack.t1123
logsource:
    category: registry_event
    product: windows
detection:
    selection_1:
        TargetObject|contains|all:
            - '\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\'
            - '\NonPackaged'
    selection_2:
        TargetObject|contains:
            - microphone
            - webcam
    selection_3:
        TargetObject|contains:
            - ':#Windows#Temp#'
            - ':#$Recycle.bin#'
            - ':#Temp#'
            - ':#Users#Public#'
            - ':#Users#Default#'
            - ':#Users#Desktop#'
    condition: all of selection_*
falsepositives:
    - Unlikely, there could be conferencing software running from a Temp folder accessing the devices
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_1

selection_1:
    TargetObject|contains|all:
        - '\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\'
        - '\NonPackaged'

Stage 2: selection_2

selection_2:
    TargetObject|contains:
        - microphone
        - webcam

Stage 3: selection_3

selection_3:
    TargetObject|contains:
        - ':#Windows#Temp#'
        - ':#$Recycle.bin#'
        - ':#Temp#'
        - ':#Users#Public#'
        - ':#Users#Default#'
        - ':#Users#Desktop#'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
TargetObjectmatch
  • :#$Recycle.bin#
  • :#Temp#
  • :#Users#Default#
  • :#Users#Desktop#
  • :#Users#Public#
  • :#Windows#Temp#
  • \NonPackaged
  • \Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\
  • microphone
  • webcam