Add Bitcoin data directory to exclusions. Check if that block has been moved to quarantine. You might be able to recover it. Here is the reason why Avast was triggered.
It's actually not because of randomness. People have been intentionally embedding viruses (or their signatures) in the blockchain so that antivirus software are triggered.