I have photographed these several times but never sure of ID. Suspect a species of Xenocarcinus. They are considerably smaller than Xenocarcinus conicus, more cryptic and tend not to move (which is why I have photographed them!).
These were taken at night in the Maldives. In fact I have only photographed them in the Maldives - don't remember looking/finding them elsewhere. Although suspect they are - despite their lack of appearance in the ID books I have here.
Alex