2022-12-02 23:21:36 +11:00
|
|
|
title: Potential Suspicious Activity Using SeCEdit
|
|
|
|
|
id: c2c76b77-32be-4d1f-82c9-7e544bdfe0eb
|
2023-11-02 10:48:45 +01:00
|
|
|
status: test
|
2022-12-02 23:21:36 +11:00
|
|
|
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
|
2024-08-12 12:02:50 +02:00
|
|
|
date: 2022-11-18
|
|
|
|
|
modified: 2022-12-30
|
2022-12-02 23:21:36 +11:00
|
|
|
tags:
|
|
|
|
|
- attack.discovery
|
|
|
|
|
- attack.persistence
|
2024-08-12 12:02:50 +02:00
|
|
|
- attack.defense-evasion
|
|
|
|
|
- attack.credential-access
|
|
|
|
|
- attack.privilege-escalation
|
2022-12-02 23:21:36 +11:00
|
|
|
- attack.t1562.002
|
|
|
|
|
- attack.t1547.001
|
|
|
|
|
- attack.t1505.005
|
|
|
|
|
- attack.t1556.002
|
|
|
|
|
- attack.t1562
|
|
|
|
|
- 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
|
2023-03-06 00:39:26 +01:00
|
|
|
detection:
|
2022-12-02 23:21:36 +11:00
|
|
|
selection_img:
|
|
|
|
|
- Image|endswith: '\secedit.exe'
|
|
|
|
|
- OriginalFileName: 'SeCEdit'
|
|
|
|
|
selection_flags_discovery:
|
|
|
|
|
CommandLine|contains|all:
|
|
|
|
|
- '/export'
|
|
|
|
|
- '/cfg'
|
|
|
|
|
selection_flags_configure:
|
|
|
|
|
CommandLine|contains|all:
|
|
|
|
|
- '/configure'
|
|
|
|
|
- '/db'
|
2023-10-18 11:53:44 +02:00
|
|
|
# filter:
|
|
|
|
|
# SubjectUserName|endswith: '$' SubjectUserName is from event ID 4719 in the Windows Security log
|
2022-12-30 11:46:21 +01:00
|
|
|
condition: selection_img and (1 of selection_flags_*)
|
2022-12-02 23:21:36 +11:00
|
|
|
falsepositives:
|
|
|
|
|
- Legitimate administrative use
|
|
|
|
|
level: medium
|