def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="")
                    == "C:\\Program Files\\Windows Media Player\\osk.exe",
                    all(
                        [
                            event.deep_get("Image", default="") == "C:\\Windows\\System32\\cmd.exe",
                            event.deep_get("ParentCommandLine", default="")
                            == '"C:\\Windows\\system32\\mmc.exe" "C:\\Windows\\system32\\eventvwr.msc" /s',
                        ]
                    ),
                ]
            ),
            event.deep_get("IntegrityLevel", default="")
            in ["High", "System", "S-1-16-16384", "S-1-16-12288"],
        ]
    ):
        return True
    return False
