def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("TargetFilename", default="").endswith(".iso.lnk"),
                    event.deep_get("TargetFilename", default="").endswith(".img.lnk"),
                    event.deep_get("TargetFilename", default="").endswith(".vhd.lnk"),
                    event.deep_get("TargetFilename", default="").endswith(".vhdx.lnk"),
                ]
            ),
            "\\Microsoft\\Windows\\Recent\\" in event.deep_get("TargetFilename", default=""),
        ]
    ):
        return True
    return False
