Microsoft in a blog post shared the procedure to prevent and detect Petya ransomware through Azure Security Center for its customers.