Detection rules › Sigma

SQLite Chromium Profile Data DB Access

Status
test
Severity
high
Log source
product windows, category process_creation
Author
TropChaud
Source
github.com/SigmaHQ/sigma

Detect usage of the "sqlite" binary to query databases in Chromium-based browsers for potential data stealing.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: SQLite Chromium Profile Data DB Access
id: 24c77512-782b-448a-8950-eddb0785fc71
status: test
description: Detect usage of the "sqlite" binary to query databases in Chromium-based browsers for potential data stealing.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/84d9edaaaa2c5511144521b0e4af726d1c7276ce/atomics/T1539/T1539.md#atomic-test-2---steal-chrome-cookies-windows
    - https://blog.cyble.com/2022/04/21/prynt-stealer-a-new-info-stealer-performing-clipper-and-keylogger-activities/
author: TropChaud
date: 2022-12-19
modified: 2023-01-19
tags:
    - attack.credential-access
    - attack.t1539
    - attack.t1555.003
    - attack.collection
    - attack.t1005
logsource:
    category: process_creation
    product: windows
detection:
    selection_sql:
        - Product: SQLite
        - Image|endswith:
              - '\sqlite.exe'
              - '\sqlite3.exe'
    selection_chromium:
        CommandLine|contains:
            - '\User Data\' # Most common folder for user profile data among Chromium browsers
            - '\Opera Software\' # Opera
            - '\ChromiumViewer\' # Sleipnir (Fenrir)
    selection_data:
        CommandLine|contains:
            - 'Login Data' # Passwords
            - 'Cookies'
            - 'Web Data' # Credit cards, autofill data
            - 'History'
            - 'Bookmarks'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_sql

selection_sql:
    - Product: SQLite
    - Image|endswith:
          - '\sqlite.exe'
          - '\sqlite3.exe'

Stage 2: selection_chromium

selection_chromium:
    CommandLine|contains:
        - '\User Data\'
        - '\Opera Software\'
        - '\ChromiumViewer\'

Stage 3: selection_data

selection_data:
    CommandLine|contains:
        - 'Login Data'
        - 'Cookies'
        - 'Web Data'
        - 'History'
        - 'Bookmarks'

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
CommandLinematch
  • Bookmarks corpus 2 (sigma 2)
  • Cookies corpus 2 (sigma 2)
  • History corpus 2 (sigma 2)
  • Login Data corpus 3 (sigma 2, panther 1)
  • Web Data
  • \ChromiumViewer\
  • \Opera Software\
  • \User Data\
Imageends_with
  • \sqlite.exe corpus 2 (sigma 2)
  • \sqlite3.exe corpus 2 (sigma 2)
Producteq
  • SQLite corpus 2 (sigma 2)