Suspicious Recursive Takeown

 Original Source: [Sigma source]
Title: Suspicious Recursive Takeown
Status: test
Description:Adversaries can interact with the DACLs using built-in Windows commands takeown which can grant adversaries higher permissions on specific files and folders
References:
  -https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/takeown
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1222.001/T1222.001.md#atomic-test-1---take-ownership-using-takeown-utility
Author: frack113
Date: 2022-01-30
modified:2022-11-21
Tags:
  • -'attack.defense-impairment'
  • -'attack.t1222.001'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection:
    Image|endswith: '\takeown.exe'
    CommandLine|contains|all:
      -'/f '
      -'/r'

  condition:selection
Falsepositives:
  -Scripts created by developers and admins
  -Administrative activity
Level: medium