First, once the ship has been stabilized, an underwater platform will be built and watertight boxes, or caissons, fixed to the side of the ship that is above water.
They lack the firepower to inflict any serious damage to an LCS (Littoral Combat Ship) or a carrier but they are perfect for slipping through and hitting a platform.