If the goal is to stop companies from paying ransom, then why not just make that illegal?
https://home.treasury.gov/policy-issues/financial-sanctions/...
https://home.treasury.gov/policy-issues/financial-sanctions/...