Neither of the above. Porcelain crabs aren't "true" crabs and they have 6 walking legs rather than the regular 8 of true crabs. Xanthids usually have black tipped claws, but the dead giveaway here is the stance with the legs splayed out as well as the body that's narrower at the back than the front. It's a grapsid, or clinging crab, of some sort. You're almost certainly not going to be able to get it identified to species. Even for adult crabs that's almost impossible in most cases without consulting a specialist. For juveniles, even then it might be impossible.
Some of these guys are fine, and may be commensal on benthic critters. Others are pretty destructive, especially as they get bigger. Personally I never trust any crabs since they're almost all opportunistic.