{"id":"c0e0bdec-3e3d-47aa-9974-05539c999c89","title":"Registry Modification for OCI DLL Redirection","description":"Detects registry modifications related to 'OracleOciLib' and 'OracleOciLibPath' under 'MSDTC' settings.\nThreat actors may modify these registry keys to redirect the loading of 'oci.dll' to a malicious DLL, facilitating phantom DLL hijacking via the MSDTC service.\n","author":"Swachchhanda Shrawan Poudel (Nextron Systems)","status":"experimental","level":"high","date":"2026-01-24","modified":"","tags":["attack.persistence","attack.privilege-escalation","attack.execution","attack.stealth","attack.defense-impairment","attack.t1112","attack.t1574.001"],"technique_ids":["T1112","T1574.001"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Unlikely"],"references":["https://www.crowdstrike.com/en-us/blog/4-ways-adversaries-hijack-dlls/"],"source_path":"rules/windows/registry/registry_set/registry_set_potential_oci_dll_redirection.yml","source_sha256":"e2c3187e37e750b09c5133b325408456aac7beffe32dce557a7fafbc102076a6","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_potential_oci_dll_redirection.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Registry Modification for OCI DLL Redirection\nid: c0e0bdec-3e3d-47aa-9974-05539c999c89\nstatus: experimental\ndescription: |\n    Detects registry modifications related to 'OracleOciLib' and 'OracleOciLibPath' under 'MSDTC' settings.\n    Threat actors may modify these registry keys to redirect the loading of 'oci.dll' to a malicious DLL, facilitating phantom DLL hijacking via the MSDTC service.\nreferences:\n    - https://www.crowdstrike.com/en-us/blog/4-ways-adversaries-hijack-dlls/\nauthor: Swachchhanda Shrawan Poudel (Nextron Systems)\ndate: 2026-01-24\ntags:\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.execution\n    - attack.stealth\n    - attack.defense-impairment\n    - attack.t1112\n    - attack.t1574.001\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection_ocilib:\n        TargetObject|endswith: '\\SOFTWARE\\Microsoft\\MSDTC\\MTxOCI\\OracleOciLib'\n    filter_main_ocilib_file:\n        # it is looking when oci.dll name is changed to something else like evil.dll\n        Details|contains: 'oci.dll'\n    selection_ocilibpath:\n        TargetObject|endswith: '\\SOFTWARE\\Microsoft\\MSDTC\\MTxOCI\\OracleOciLibPath'\n    filter_main_ocilibpath:\n        # it is looking when oci.dll path is changed to something else like 'C:\\Windows\\Temp\\'\n        Details|contains: '%SystemRoot%\\System32\\'\n    condition: (selection_ocilib and not filter_main_ocilib_file) or (selection_ocilibpath and not filter_main_ocilibpath)\nfalsepositives:\n    - Unlikely\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/"},{"key":"enterprise/T1574.001","id":"T1574.001","name":"DLL","page":"techniques/enterprise/T1574.001/"}],"data_path":"data/detection-rules/c0e0bdec-3e3d-47aa-9974-05539c999c89.json","kind":"sigma"}
