def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\msiexec.exe"),
                    event.deep_get("OriginalFileName", default="") == "\\msiexec.exe",
                ]
            ),
            any(
                [
                    " -z " in event.deep_get("CommandLine", default=""),
                    " /z " in event.deep_get("CommandLine", default=""),
                    " –z " in event.deep_get("CommandLine", default=""),
                    " —z " in event.deep_get("CommandLine", default=""),
                    " ―z " in event.deep_get("CommandLine", default=""),
                ]
            ),
            ".dll" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
