def rule(event):
    if all(
        [
            event.deep_get("OriginalFileName", default="")
            in ["mavinject32.exe", "mavinject64.exe"],
            not any(
                [
                    event.deep_get("Image", default="").endswith("\\mavinject32.exe"),
                    event.deep_get("Image", default="").endswith("\\mavinject64.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
