Hacker News new | ask | show | jobs
by Iwillgetby 2189 days ago
devops should be done from 2 systems.

Dev (local administrator access ok, production access not ok)

Ops (local admin access not ok, production access ok)

1 comments

Nobody should directly have access to production, it should be controlled via CD flows which are gated on approvals from other team members or metrics.
I can see that being somewhat impractical in real life, but you’re not wrong.

In the ideal setup NotPetya would have been less of an issue for Mærsk should only have allowed whitelisted software to run on computers controlling critical infrastructure. It’s just a solution very few choose to deploy.

How would that have helped? The finance software that started the breach was legitimately needed and would have been whitelisted.
One of two things:

Either the malware modifies the finance software, and is executed as part of the finance software, but the checksum for the software is now different and can't run.

Or: The executable malware code is separate and only triggered by the finance software, which will fail to execute it, because the malware isn't a whitelisted application.

At any rate, the malware would never be able to escape beyond the finance software computers. This means that yes you could have some issues with invoicing, new orders and so on, but you most likely didn't have to shutdown ports, because the computers there aren't allowed to run the finance software.

NotPetya authors penetrated the accounting software vendor and planted their attack code in a regular update.
I am with you on this.