Suspicious Recursive Takeown

Adversaries can interact with the DACLs using built-in Windows commands takeown which can grant adversaries higher permissions on specific files and folders

Sigma rule (View on GitHub)

 1title: Suspicious Recursive Takeown
 2id: 554601fb-9b71-4bcc-abf4-21a611be4fde
 3status: test
 4description: Adversaries can interact with the DACLs using built-in Windows commands takeown which can grant adversaries higher permissions on specific files and folders
 5references:
 6    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/takeown
 7    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1222.001/T1222.001.md#atomic-test-1---take-ownership-using-takeown-utility
 8author: frack113
 9date: 2022/01/30
10modified: 2022/11/21
11tags:
12    - attack.defense_evasion
13    - attack.t1222.001
14logsource:
15    category: process_creation
16    product: windows
17detection:
18    selection:
19        Image|endswith: '\takeown.exe'
20        CommandLine|contains|all:
21            - '/f '
22            - '/r'
23    condition: selection
24fields:
25    - CommandLine
26    - ParentCommandLine
27falsepositives:
28    - Scripts created by developers and admins
29    - Administrative activity
30level: medium

References

Related rules

to-top