A ransomware attack targeting organizations, businesses and hospitals is spreading across about 100 countries.