def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\WmiPrvSe.exe"),
            not any(
                [
                    event.deep_get("LogonId", default="") in ["0x3e7", "null"],
                    any(
                        [
                            "AUTHORI" in event.deep_get("User", default=""),
                            "AUTORI" in event.deep_get("User", default=""),
                        ]
                    ),
                    event.deep_get("Image", default="").endswith("\\WmiPrvSE.exe"),
                    event.deep_get("Image", default="").endswith("\\WerFault.exe"),
                    event.deep_get("LogonId", default="") == "",
                ]
            ),
        ]
    ):
        return True
    return False
