SigmaHQ / sigma

Main Sigma Rule Repository
Other
8.19k stars 2.17k forks source link

Update proc_creation_macos_xattr_gatekeeper_bypass.yml #4823

Closed pratinavchandra closed 5 months ago

pratinavchandra commented 5 months ago

Summary of the Pull Request

Updating rule proc_creation_macos_xattr_gatekeeper_bypass.yml

The current rule checks for the wrong option. The actual option that deletes the attribute is -d The current rule will miss cases where the quarantine attribute is removed using only the -d option. xattr -d com.apple.quarantine FILE

Checking for only the -d option also covers when attributes are removed recursively using xattr -d -r com.apple.quarantine /path/

man page for xattr:

image

Changelog

update: Gatekeeper Bypass via Xattr - Update command line flag

Example Log Event

image

Fixed Issues

SigmaHQ Rule Creation Conventions

nasbench commented 5 months ago

Thanks for the contribution @pratinavchandra Unfortunately you can't claim authorship of a rule for just fixing a small typo. You will be credited in the release section in the coming days

Thanks :)

pratinavchandra commented 5 months ago

Oh okay! In my view, I didn't think of it as just a typo, I thought of it as a logical error in which command line option to detect. I understand though :) Thanks!