{"id":"5a2b21ee-6aaa-4234-ac9d-59a59edf90a1","title":"Persistence Via New SIP Provider","description":"Detects when an attacker register a new SIP provider for persistence and defense evasion","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-07-21","modified":"2023-08-17","tags":["attack.persistence","attack.defense-impairment","attack.t1553.003"],"technique_ids":["T1553.003"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Legitimate SIP being registered by the OS or different software."],"references":["https://persistence-info.github.io/Data/codesigning.html","https://github.com/gtworek/PSBits/tree/master/SIP","https://specterops.io/assets/resources/SpecterOps_Subverting_Trust_in_Windows.pdf"],"source_path":"rules/windows/registry/registry_set/registry_set_sip_persistence.yml","source_sha256":"3bcd6abed0c06f2e81b5050dbed6b1460d5cdfe6a5bde5ae4c5a85f7332aac50","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_sip_persistence.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Persistence Via New SIP Provider\nid: 5a2b21ee-6aaa-4234-ac9d-59a59edf90a1\nstatus: test\ndescription: Detects when an attacker register a new SIP provider for persistence and defense evasion\nreferences:\n    - https://persistence-info.github.io/Data/codesigning.html\n    - https://github.com/gtworek/PSBits/tree/master/SIP\n    - https://specterops.io/assets/resources/SpecterOps_Subverting_Trust_in_Windows.pdf\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-07-21\nmodified: 2023-08-17\ntags:\n    - attack.persistence\n    - attack.defense-impairment\n    - attack.t1553.003\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection_root:\n        TargetObject|contains:\n            - '\\SOFTWARE\\Microsoft\\Cryptography\\Providers\\'\n            - '\\SOFTWARE\\Microsoft\\Cryptography\\OID\\EncodingType'\n            - '\\SOFTWARE\\WOW6432Node\\Microsoft\\Cryptography\\Providers\\'\n            - '\\SOFTWARE\\WOW6432Node\\Microsoft\\Cryptography\\OID\\EncodingType'\n    selection_dll:\n        TargetObject|contains:\n            - '\\Dll'\n            - '\\$DLL'\n    filter:\n        Details:\n            # Add more legitimate SIP providers according to your env\n            - WINTRUST.DLL\n            - mso.dll\n    filter_poqexec:\n        Image: 'C:\\Windows\\System32\\poqexec.exe'\n        TargetObject|contains: '\\CryptSIPDll'\n        Details: 'C:\\Windows\\System32\\PsfSip.dll'\n    condition: all of selection_* and not 1 of filter*\nfalsepositives:\n    - Legitimate SIP being registered by the OS or different software.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1553.003","id":"T1553.003","name":"SIP and Trust Provider Hijacking","page":"techniques/enterprise/T1553.003/"}],"data_path":"data/detection-rules/5a2b21ee-6aaa-4234-ac9d-59a59edf90a1.json","kind":"sigma"}
