def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\msiexec.exe"),
            event.deep_get("TargetFilename", default="").startswith(
                "C:\\Program Files (x86)\\Microsoft\\Edge\\Application"
            ),
            event.deep_get("TargetFilename", default="").endswith("\\elevation_service.exe"),
        ]
    ):
        return True
    return False
