ChatGPT has the potential to write viruses, but currently, it is unable to deploy said viruses. Writing code to download files and upload it to an FTP isn't hard. Writing code that does that while remaining hidden and not being caught on AV scans is another thing entirely.