Anatomy of an Attack on the Industrial IoT