def rule(event):
    if any(
        [
            any(
                [
                    "\\advanced_ip_scanner" in event.deep_get("Image", default=""),
                    "advanced_ip_scanner" in event.deep_get("OriginalFileName", default=""),
                    "Advanced IP Scanner" in event.deep_get("Description", default=""),
                ]
            ),
            all(
                [
                    "/portable" in event.deep_get("CommandLine", default=""),
                    "/lng" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
