def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\explorer.exe"),
            "/NOUACCHECK" in event.deep_get("CommandLine", default=""),
            not any(
                [
                    event.deep_get("ParentCommandLine", default="")
                    == "C:\\Windows\\system32\\svchost.exe -k netsvcs -p -s Schedule",
                    event.deep_get("ParentImage", default="")
                    == "C:\\Windows\\System32\\svchost.exe",
                ]
            ),
        ]
    ):
        return True
    return False
