Detection rules › Sigma

Security Software Discovery - MacOs

Status
test
Severity
medium
Log source
product macos, category process_creation
Author
Daniil Yugoslavskiy, oscd.community
Source
github.com/SigmaHQ/sigma

Detects usage of system utilities (only grep for now) to discover security software discovery

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
ESFexecProcess Execution (Notify)

Rule body yaml

title: Security Software Discovery - MacOs
id: 0ed75b9c-c73b-424d-9e7d-496cd565fbe0
status: test
description: Detects usage of system utilities (only grep for now) to discover security software discovery
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1518.001/T1518.001.md
author: Daniil Yugoslavskiy, oscd.community
date: 2020-10-19
modified: 2022-11-27
tags:
    - attack.discovery
    - attack.t1518.001
logsource:
    category: process_creation
    product: macos
detection:
    image:
        Image: '/usr/bin/grep'
    selection_cli_1:
        CommandLine|contains:
            - 'nessusd'        # nessus vulnerability scanner
            - 'santad'         # google santa
            - 'CbDefense'      # carbon black
            - 'falcond'        # crowdstrike falcon
            - 'td-agent'       # fluentd log shipper
            - 'packetbeat'     # elastic network logger/shipper
            - 'filebeat'       # elastic log file shipper
            - 'auditbeat'      # elastic auditing agent/log shipper
            - 'osqueryd'       # facebook osquery
            - 'BlockBlock'     # Objective-See persistence locations watcher/blocker
            - 'LuLu'           # Objective-See firewall management utility
    selection_cli_2: # Objective Development Software firewall management utility
        CommandLine|contains|all:
            - 'Little'
            - 'Snitch'
    condition: image and 1 of selection_cli_*
falsepositives:
    - Legitimate activities
level: medium

Stages and Predicates

Stage 0: condition

image and 1 of selection_cli_*

Stage 1: image

image:
    Image: '/usr/bin/grep'

Stage 2: selection_cli_1

selection_cli_1:
    CommandLine|contains:
        - 'nessusd'
        - 'santad'
        - 'CbDefense'
        - 'falcond'
        - 'td-agent'
        - 'packetbeat'
        - 'filebeat'
        - 'auditbeat'
        - 'osqueryd'
        - 'BlockBlock'
        - 'LuLu'

Stage 3: selection_cli_2

selection_cli_2:
    CommandLine|contains|all:
        - 'Little'
        - 'Snitch'

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
  • BlockBlock
  • CbDefense
  • Little
  • LuLu
  • Snitch
  • auditbeat
  • falcond
  • filebeat
  • nessusd
  • osqueryd
  • packetbeat
  • santad
  • td-agent
Imageeq
  • /usr/bin/grep