Query: Sigma rule for Detects potential suspicious behaviour using secedit.exe. Such as exporting or modifying the security policy
Matching passage: Sigma rule: Detects potential suspicious behaviour using secedit.exe. Such as exporting or modifying the security policy. Logsource: windows / process_creation. Rule: title: Potential Suspicious Activity Using SeCEdit id: c2c76b77-32be-4d1f-82c9-7e544bdfe0eb status: test description: Detects potential suspicious behaviour using secedit.exe. Such as exporting or modifying the security policy references: - https://blueteamops.medium.com/secedit-and-i-know-it-595056dee53d - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/secedit author: Janantha Marasinghe date: 2022-11-18 modified: 2022-12-30 tags: - attack.collection - attack.discovery - attack.persistence - attack.credential-access - attack.privilege-escalation - attack.execution - attack.stealth - attack.defense-impairment - attack.t1685.001 - attack.t1547.001 - attack.t1505.005 - attack.t1556.002 - attack.t1685 - attack.t1574.007 - attack.t1564.002 - attack.t1546.008 - attack.t1546.007 - attack.t1547.014 - attack.t1547.010 - attack.t1547.002 - attack.t1557 - attack.t1082 logsource: category: process_creation product: windows detection: selection_img: - Image|endswith: \secedit.exe - OriginalFileName: SeCEdit selection_flags_discovery: CommandLine|contains|all: - /export - /cfg selection_flags_configure: CommandLine|contains|all: - /configure - /db condition: selection_img and (1 of selection_flags_*) falsepositives: - Legitimate administrative use level: medium
Near-miss passage: Sigma rule: Detects enumeration of local system accounts on MacOS systems. This can be used by attackers to identify accounts for la. Logsource: macos / process_creation. Rule: title: Local System Accounts Discovery - MacOs id: ddf36b67-e872-4507-ab2e-46bda21b842c status: test description: 'Detects enumeration of local system accounts on MacOS systems. This can be used by attackers to identify accounts for lateral movement or privilege escalation. ' references: - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1087.001/T1087.001.md - https://ss64.com/osx/dscl.html - https://ss64.com/mac/dscacheutil.html author: Alejandro Ortuno, oscd.community date: 2020-10-08 modified: 2026-07-07 tags: - attack.discovery - attack.t1087.001 logsource: category: process_creation product: macos detection: selection_dscl: Image|endswith: /dscl CommandLine|contains|all: - list - /users selection_dscacheutil: Image|endswith: /dscacheutil CommandLine|contains|all: - -q - user selection_root: CommandLine|contains: '''*:0:''' selection_passwd_sudo: Image|endswith: - /cat - /awk - /grep CommandLine|contains: - /etc/passwd - /etc/sudoers selection_id: Image|endswith: /id selection_lsof: Image|endswith: /lsof CommandLine|contains: -u selection_logged_in_users: Image|endswith: - /who - /w - /users - /last selection_home_dir_listing: Image|endswith: /ls CommandLine|endswith: - /Users - /Users' - /Users" selection_loginwindow_prefs: Image|endswith: - /defaults - /plutil CommandLine|contains: com.apple.loginwindow condition: 1 of selection* falsepositives: - Legitimate administration activities level: low