Sigma rule: OMIGOD SCX RunAsProvider ExecuteScript
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-033ee71469a2, updated 2022-10-05T00:00:00.000Z.
Rule
- Title
- OMIGOD SCX RunAsProvider ExecuteScript
- Status
- test
- Level
- high
- Author
- Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC
- Date
- 2021-10-15
- Modified
- 2022-10-05
- File
- rules/linux/process_creation/proc_creation_lnx_omigod_scx_runasprovider_executescript.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Rule to detect the use of the SCX RunAsProvider ExecuteScript to execute any UNIX/Linux script using the /bin/sh shell.
Script being executed gets created as a temp file in /tmp folder with a scx* prefix.
Then it is invoked from the following directory /etc/opt/microsoft/scx/conf/tmpdir/.
The file in that directory has the same prefix scx*. SCXcore, started as the Microsoft Operations Manager UNIX/Linux Agent, is now used in a host of products including
Microsoft Operations Manager, Microsoft Azure, and Microsoft Operations Management Suite.
Log source
- product
- linux
- category
- process_creation
Detection
selection:
User: root
LogonId: 0
CurrentDirectory: '/var/opt/microsoft/scx/tmp'
CommandLine|contains: '/etc/opt/microsoft/scx/conf/tmpdir/scx'
condition: selectionFalse positives (as the rule lists them)
- Legitimate use of SCX RunAsProvider ExecuteScript.
Tags
- attack.privilege-escalation
- attack.initial-access
- attack.execution
- attack.t1068
- attack.t1190
- attack.t1203
MITRE ATT&CK ids this rule names
References
- https://www.wiz.io/blog/omigod-critical-vulnerabilities-in-omi-azure
- https://github.com/Azure/Azure-Sentinel/pull/3059
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_omigod_scx_runasprovider_executescript.yml
Sources and licences
SigmaHQ
"OMIGOD SCX RunAsProvider ExecuteScript" by Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_omigod_scx_runasprovider_executescript.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: OMIGOD SCX RunAsProvider ExecuteScript",
entity page, dataset version ref-033ee71469a2, updated 2022-10-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6eea1bf6-f8d2-488a-a742-e6ef6c1b67db (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6eea1bf6-f8d2-488a-a742-e6ef6c1b67db, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.