Australia's government on Wednesday said two Aussie companies have been struck by a ransomware attack that is likely the same virus affecting computers across the world.