Detection rules › Splunk
Windows Non Discord App Access Discord LevelDB
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
| Tactic | Techniques |
|---|---|
| Discovery | T1012 Query Registry |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Security-Auditing | 4663 | An 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.
| Stage | Field | Kind | Excluded values |
|---|---|---|---|
| 1 | process_name | in | "*:\\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.
| Field | Kind | Values |
|---|---|---|
EventCode | eq |
|
object_file_path | in |
|
process_name | ne |
|
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.
- Windows Credential Access From Browser Password Store (drops 3 filters this rule applies)