Reading or Modifying Downloaded Files Database via SQLite Utility
Description
Identifies the sqlite3 utility being used to search or manipulate the database containing metadata on downloaded files. Attackers may configure their malware to check the downloaded files database and determine the URL that their malware was downloaded from in order to track their infections during a campaign.
Query · eql
process where event.action == "exec" and
(process.name in ("sqlite3", "bash", "sh", "zsh", "dash", "csh", "tcsh", "ksh", "tclsh", "fish") or process.name like "tclsh*") and process.command_line : "*sqlite*LSQuarantineDataURLString*" and
(process.parent.code_signature.trusted == false or process.parent.code_signature.exists == false)