Full SigmaHQ catalog

Author
Joseliyo Sanchez, @Joseliyo_Jstnk
Rule ID
13f08f54-e705-4498-91fd-cce9d9cee9f1
Collection
Core
Log source
linux / file_event
Severity
low
Maturity
test
First published
2023-06-02

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    product: linux
    category: file_event
detection:
    selection:
        TargetFilename|contains: '/etc/profile.d/'
        TargetFilename|endswith:
            - '.csh'
            - '.sh'
    condition: selection
falsepositives:
    - Legitimate shell scripts in the "profile.d" directory could be common in your environment. Apply additional filter accordingly via "image", by adding specific filenames you "trust" or by correlating it with other events.
    - Regular file creation during system update or software installation by the package manager