Detection rules › Sigma

Suspicious Teams Application Related ObjectAcess Event

Status
test
Severity
high
Log source
product windows, service security
Author
@SerkinValery
Source
github.com/SigmaHQ/sigma

Detects an access to authentication tokens and accounts of Microsoft Teams desktop application.

MITRE ATT&CK coverage

TacticTechniques
Credential Access

Telemetry coverage

Rule body

title: Suspicious Teams Application Related ObjectAcess Event
id: 25cde13e-8e20-4c29-b949-4e795b76f16f
status: test
description: Detects an access to authentication tokens and accounts of Microsoft Teams desktop application.
references:
    - https://www.bleepingcomputer.com/news/security/microsoft-teams-stores-auth-tokens-as-cleartext-in-windows-linux-macs/
    - https://www.vectra.ai/blogpost/undermining-microsoft-teams-security-by-mining-tokens
author: '@SerkinValery'
date: 2022-09-16
tags:
    - attack.credential-access
    - attack.t1528
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 4663
        ObjectName|contains:
            - '\Microsoft\Teams\Cookies'
            - '\Microsoft\Teams\Local Storage\leveldb'
    filter:
        ProcessName|contains: '\Microsoft\Teams\current\Teams.exe'
    condition: selection and not filter
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    EventID: 4663
    ObjectName|contains:
        - '\Microsoft\Teams\Cookies'
        - '\Microsoft\Teams\Local Storage\leveldb'

Stage 2: not filter

filter:
    ProcessName|contains: '\Microsoft\Teams\current\Teams.exe'

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ProcessNamematch\Microsoft\Teams\current\Teams.exeexcludes:ProcessName field:"ProcessName" value:"\Microsoft\Teams\current\Teams.exe"

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ObjectNamematch
  • \Microsoft\Teams\Cookies
  • \Microsoft\Teams\Local Storage\leveldb
field:"ObjectName" kind:match