US retailer Kmart has fallen victim to an Egregor ransomware attack.