Access of Stored Browser Credentials

edit

Identifies the execution of a process with arguments pointing to known browser files that store passwords and cookies. Adversaries may acquire credentials from web browsers by reading files specific to the target browser.

Rule type: eql

Rule indices:

  • auditbeat-*
  • logs-endpoint.events.*

Severity: high

Risk score: 73

Runs every: 5 minutes

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References:

Tags:

  • Elastic
  • Host
  • macOS
  • Threat Detection
  • Credential Access

Version: 4 (version history)

Added (Elastic Stack release): 7.12.0

Last modified (Elastic Stack release): 8.4.0

Rule authors: Elastic

Rule license: Elastic License v2

Investigation guide

edit

Rule query

edit
process where event.type in ("start", "process_started") and
process.args : ( "/Users/*/Library/Application
Support/Google/Chrome/Default/Login Data",
"/Users/*/Library/Application Support/Google/Chrome/Default/Cookies",
"/Users/*/Library/Application Support/Google/Chrome/Profile*/Cookies",
"/Users/*/Library/Cookies*", "/Users/*/Library/Application
Support/Firefox/Profiles/*.default/cookies.sqlite",
"/Users/*/Library/Application
Support/Firefox/Profiles/*.default/key*.db",
"/Users/*/Library/Application
Support/Firefox/Profiles/*.default/logins.json", "Login Data",
"Cookies.binarycookies", "key4.db", "key3.db",
"logins.json", "cookies.sqlite" )

Threat mapping

edit

Framework: MITRE ATT&CKTM

Rule version history

edit
Version 4 (8.4.0 release)
  • Updated query, changed from:

    process where event.type in ("start", "process_started") and
    process.args : ( "/Users/*/Library/Application
    Support/Google/Chrome/Default/Login Data",
    "/Users/*/Library/Application Support/Google/Chrome/Default/Cookies",
    "/Users/*/Library/Cookies*", "/Users/*/Library/Application
    Support/Firefox/Profiles/*.default/cookies.sqlite",
    "/Users/*/Library/Application
    Support/Firefox/Profiles/*.default/key*.db",
    "/Users/*/Library/Application
    Support/Firefox/Profiles/*.default/logins.json", "Login Data",
    "Cookies.binarycookies", "key4.db", "key3.db",
    "logins.json", "cookies.sqlite" )
Version 2 (8.2.0 release)
  • Formatting only