def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\WerFaultSecure.exe"),
                    event.deep_get("OriginalFileName", default="") == "WerFaultSecure.exe",
                ]
            ),
            " /h " in event.deep_get("CommandLine", default=""),
            " /pid " in event.deep_get("CommandLine", default=""),
            " /tid " in event.deep_get("CommandLine", default=""),
            " /encfile " in event.deep_get("CommandLine", default=""),
            " /cancel " in event.deep_get("CommandLine", default=""),
            " /type " in event.deep_get("CommandLine", default=""),
            " 268310" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
