[NOT A PAID ENDORSEMENT]
Digital Ruby's IPBan -- it scans log files and can ban IPs based on regex recipes -- it's what we use for situations like this. Runs on Windows and Linux hosts.
Getting the regex rules right can be tricky but it definitely cuts down on the bad traffic. Ours is set for 90 day blocks, but you have options. Make sure to safe-list necessary external and internal IPs before anything else.
MailEnable survivor / convert --