Yes, ransomware can infect cloud storage, however, it is not as common as it is on local computers and networks.
Ransomware is a type of malicious software that encrypts data and locks users out of their systems until a ransom is paid. While ransomware can infect cloud storage, it is much less likely because cloud storage providers have security measures in place to protect data. These measures include authentication, encryption, and regular backups, which can help prevent ransomware attacks. Additionally, cloud storage providers typically have monitoring systems in place to detect any suspicious activity and take appropriate action. While ransomware can still infect cloud storage, it is much less common than on local computers and networks.