The U.S. division of the Industrial and Commercial Bank of China says it was targeted in a ransomware attack this week.