The retail giant’s chair confirmed the breach was caused by ransomware.