Four robbers in a small unlit boat approached an anchored bulk carrier. The deck watch crew noticed the robbers climbing up the anchor chain and trying to remove the hawse pipe cover, and he informed the bridge. OOW immediately raised the alarm and activated the fire pump to start anchor wash. The robbers aborted the boarding and escaped in their boat. Port control and ships in the vicinity were informed.