def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("\\Inveigh.exe"),
            event.deep_get("OriginalFileName", default="") in ["\\Inveigh.exe", "\\Inveigh.dll"],
            event.deep_get("Description", default="") == "Inveigh",
            any(
                [
                    " -SpooferIP" in event.deep_get("CommandLine", default=""),
                    " -ReplyToIPs " in event.deep_get("CommandLine", default=""),
                    " -ReplyToDomains " in event.deep_get("CommandLine", default=""),
                    " -ReplyToMACs " in event.deep_get("CommandLine", default=""),
                    " -SnifferIP" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
