IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Security Software Discovery via Grep
editSecurity Software Discovery via Grep
editIdentifies the use of the grep command to discover known third-party macOS and Linux security tools, such as Antivirus or Host Firewall details.
Rule type: eql
Rule indices:
- logs-endpoint.events.*
- auditbeat-*
Severity: medium
Risk score: 47
Runs every: 5m
Searches indices from: now-9m (Date Math format, see also Additional look-back time
)
Maximum alerts per execution: 100
References: None
Tags:
- Elastic
- Host
- macOS
- Linux
- Threat Detection
- Discovery
Version: 3
Rule authors:
- Elastic
Rule license: Elastic License v2
Investigation guide
edit## Config If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2, events will not define `event.ingested` and default fallback for EQL rules was not added until 8.2, so you will need to add a custom pipeline to populate `event.ingested` to @timestamp for this rule to work.
Rule query
editprocess where event.type == "start" and process.name : "grep" and user.id != "0" and not process.parent.executable : "/Library/Application Support/*" and process.args : ("Little Snitch*", "Avast*", "Avira*", "ESET*", "BlockBlock*", "360Sec*", "LuLu*", "KnockKnock*", "kav", "KIS", "RTProtectionDaemon*", "Malware*", "VShieldScanner*", "WebProtection*", "webinspectord*", "McAfee*", "isecespd*", "macmnsvc*", "masvc*", "kesl*", "avscan*", "guard*", "rtvscand*", "symcfgd*", "scmdaemon*", "symantec*", "sophos*", "osquery*", "elastic-endpoint*" ) and not (process.args : "Avast" and process.args : "Passwords")
Framework: MITRE ATT&CKTM
-
Tactic:
- Name: Discovery
- ID: TA0007
- Reference URL: https://attack.mitre.org/tactics/TA0007/
-
Technique:
- Name: Software Discovery
- ID: T1518
- Reference URL: https://attack.mitre.org/techniques/T1518/
-
Sub-technique:
- Name: Security Software Discovery
- ID: T1518.001
- Reference URL: https://attack.mitre.org/techniques/T1518/001/