Detection rules › Splunk

Windows Non Discord App Access Discord LevelDB

Author
Teoderick Contreras, Splunk
Source
upstream

The following analytic detects non-Discord applications accessing the Discord LevelDB database. It leverages Windows Security Event logs, specifically event code 4663, to identify file access attempts to the LevelDB directory by processes other than Discord. This activity is significant as it may indicate attempts to steal Discord credentials or access sensitive user data. If confirmed malicious, this could lead to unauthorized access to user profiles, messages, and other critical information, potentially compromising the security and privacy of the affected users.

MITRE ATT&CK coverage

TacticTechniques
DiscoveryT1012 Query Registry

Event coverage

ProviderEvent IDTitle
Security-Auditing4663An attempt was made to access an object.

Stages and Predicates

Stage 1: search

search NOT process_path IN ("*:\\Program Files*", "*:\\Windows\\*", "*:\\Windows\\SysWow64\\*", "*:\\Windows\\System32\\*") EventCode=4663 object_file_path="*\\discord\\Local Storage\\leveldb*" process_name!="*\\\\discord.exe"

Stage 2: stats

stats BY object_file_name, object_file_path, process_name, process_path, process_id, EventCode, dest

Stage 3: search

search

Stage 4: search

search

Stage 5: search

search `macro`

Exclusions

Top-level NOT(...) conjuncts — predicates this rule actively suppresses.

StageFieldKindExcluded values
1process_namein"*:\\Program Files*", "*:\\Windows\\*", "*:\\Windows\\SysWow64\\*", "*:\\Windows\\System32\\*"

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
EventCodeeq
  • 4663 corpus 16 (splunk 16)
object_file_pathin
  • "*\\discord\\Local Storage\\leveldb*"
process_namene
  • *\\discord.exe

Neighbors

Broader alternatives (more inclusive than this rule)

These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.