Potential Suspicious Activity Using SeCEdit

Detects potential suspicious behaviour using secedit.exe. Such as exporting or modifying the security policy

Sigma rule (View on GitHub)

 1title: Potential Suspicious Activity Using SeCEdit
 2id: c2c76b77-32be-4d1f-82c9-7e544bdfe0eb
 3status: test
 4description: Detects potential suspicious behaviour using secedit.exe. Such as exporting or modifying the security policy
 5references:
 6    - https://blueteamops.medium.com/secedit-and-i-know-it-595056dee53d
 7    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/secedit
 8author: Janantha Marasinghe
 9date: 2022-11-18
10modified: 2022-12-30
11tags:
12    - attack.collection
13    - attack.discovery
14    - attack.persistence
15    - attack.credential-access
16    - attack.privilege-escalation
17    - attack.execution
18    - attack.stealth
19    - attack.defense-impairment
20    - attack.t1685.001
21    - attack.t1547.001
22    - attack.t1505.005
23    - attack.t1556.002
24    - attack.t1685
25    - attack.t1574.007
26    - attack.t1564.002
27    - attack.t1546.008
28    - attack.t1546.007
29    - attack.t1547.014
30    - attack.t1547.010
31    - attack.t1547.002
32    - attack.t1557
33    - attack.t1082
34logsource:
35    category: process_creation
36    product: windows
37detection:
38    selection_img:
39        - Image|endswith: '\secedit.exe'
40        - OriginalFileName: 'SeCEdit'
41    selection_flags_discovery:
42        CommandLine|contains|all:
43            - '/export'
44            - '/cfg'
45    selection_flags_configure:
46        CommandLine|contains|all:
47            - '/configure'
48            - '/db'
49    # filter:
50    #     SubjectUserName|endswith: '$'  SubjectUserName is from event ID 4719 in the Windows Security log
51    condition: selection_img and (1 of selection_flags_*)
52falsepositives:
53    - Legitimate administrative use
54level: medium

References

Related rules

to-top