{"id":"ad89044a-8f49-4673-9a55-cbd88a1b374f","title":"Enabling COR Profiler Environment Variables","description":"Detects .NET Framework CLR and .NET Core CLR \"cor_enable_profiling\" and \"cor_profiler\" variables being set and configured.","author":"Jose Rodriguez (@Cyb3rPandaH), OTR (Open Threat Research), Jimmy Bayne (@bohops)","status":"test","level":"medium","date":"2020-09-10","modified":"2023-11-24","tags":["attack.persistence","attack.privilege-escalation","attack.execution","attack.stealth","attack.t1574.012"],"technique_ids":["T1574.012"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":[],"references":["https://twitter.com/jamieantisocial/status/1304520651248668673","https://www.slideshare.net/JamieWilliams130/started-from-the-bottom-exploiting-data-sources-to-uncover-attck-behaviors","https://www.sans.org/cyber-security-summit/archives","https://learn.microsoft.com/en-us/dotnet/core/runtime-config/debugging-profiling"],"source_path":"rules/windows/registry/registry_set/registry_set_enabling_cor_profiler_env_variables.yml","source_sha256":"a0f1d2b57e614d472ea017a50d96cad926f7466e5049585db8f361a79864c4b9","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_enabling_cor_profiler_env_variables.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Enabling COR Profiler Environment Variables\nid: ad89044a-8f49-4673-9a55-cbd88a1b374f\nstatus: test\ndescription: Detects .NET Framework CLR and .NET Core CLR \"cor_enable_profiling\" and \"cor_profiler\" variables being set and configured.\nreferences:\n    - https://twitter.com/jamieantisocial/status/1304520651248668673\n    - https://www.slideshare.net/JamieWilliams130/started-from-the-bottom-exploiting-data-sources-to-uncover-attck-behaviors\n    - https://www.sans.org/cyber-security-summit/archives\n    - https://learn.microsoft.com/en-us/dotnet/core/runtime-config/debugging-profiling\nauthor: Jose Rodriguez (@Cyb3rPandaH), OTR (Open Threat Research), Jimmy Bayne (@bohops)\ndate: 2020-09-10\nmodified: 2023-11-24\ntags:\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.execution\n    - attack.stealth\n    - attack.t1574.012\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection_1:\n        TargetObject|endswith:\n            - '\\COR_ENABLE_PROFILING'\n            - '\\COR_PROFILER'\n            - '\\CORECLR_ENABLE_PROFILING'\n    selection_2:\n        TargetObject|contains: '\\CORECLR_PROFILER_PATH'\n    condition: 1 of selection_*\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1574.012","id":"T1574.012","name":"COR_PROFILER","page":"techniques/enterprise/T1574.012/"}],"data_path":"data/detection-rules/ad89044a-8f49-4673-9a55-cbd88a1b374f.json","kind":"sigma"}
