def rule(event):
    if any(
        [
            "Remove-EtwTraceProvider " in event.deep_get("ScriptBlockText", default=""),
            all(
                [
                    "Set-EtwTraceProvider " in event.deep_get("ScriptBlockText", default=""),
                    "0x11" in event.deep_get("ScriptBlockText", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
