{"id":"8f02c935-effe-45b3-8fc9-ef8696a9e41d","title":"Non-privileged Usage of Reg or Powershell","description":"Search for usage of reg or Powershell by non-privileged users to modify service configuration in registry","author":"Teymur Kheirkhabarov (idea), Ryan Plas (rule), oscd.community","status":"test","level":"high","date":"2020-10-05","modified":"2024-12-01","tags":["attack.persistence","attack.defense-impairment","attack.t1112"],"technique_ids":["T1112"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://image.slidesharecdn.com/kheirkhabarovoffzonefinal-181117201458/95/hunting-for-privilege-escalation-in-windows-environment-20-638.jpg"],"source_path":"rules/windows/process_creation/proc_creation_win_susp_non_priv_reg_or_ps.yml","source_sha256":"c5b8d3088af7a131b84785cdc44dafdaab490e7850eb23c7ff8ad2324ddfc21f","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_susp_non_priv_reg_or_ps.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Non-privileged Usage of Reg or Powershell\nid: 8f02c935-effe-45b3-8fc9-ef8696a9e41d\nstatus: test\ndescription: Search for usage of reg or Powershell by non-privileged users to modify service configuration in registry\nreferences:\n    - https://image.slidesharecdn.com/kheirkhabarovoffzonefinal-181117201458/95/hunting-for-privilege-escalation-in-windows-environment-20-638.jpg\nauthor: Teymur Kheirkhabarov (idea), Ryan Plas (rule), oscd.community\ndate: 2020-10-05\nmodified: 2024-12-01\ntags:\n    - attack.persistence\n    - attack.defense-impairment\n    - attack.t1112\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_cli:\n        - CommandLine|contains|all:\n              - 'reg '\n              - 'add'\n        - CommandLine|contains:\n              - 'powershell'\n              - 'set-itemproperty'\n              - ' sp '\n              - 'new-itemproperty'\n    selection_data:\n        IntegrityLevel:\n            - 'Medium'\n            - 'S-1-16-8192'\n        CommandLine|contains|all:\n            - 'ControlSet'\n            - 'Services'\n        CommandLine|contains:\n            - 'ImagePath'\n            - 'FailureCommand'\n            - 'ServiceDLL'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1112","id":"T1112","name":"Modify Registry","page":"techniques/enterprise/T1112/"}],"data_path":"data/detection-rules/8f02c935-effe-45b3-8fc9-ef8696a9e41d.json","kind":"sigma"}
