def rule(event):
    if any(
        [
            all(
                [
                    "\\AppData\\Local\\Temp\\" in event.deep_get("TargetFilename", default=""),
                    ".zip\\" in event.deep_get("TargetFilename", default=""),
                    event.deep_get("TargetFilename", default="").endswith(".iso"),
                ]
            ),
            all(
                [
                    "\\AppData\\Local\\Microsoft\\Windows\\INetCache\\Content.Outlook\\"
                    in event.deep_get("TargetFilename", default=""),
                    event.deep_get("TargetFilename", default="").endswith(".iso"),
                ]
            ),
        ]
    ):
        return True
    return False
