Indeed. The amount of rocketry required to get a rock throwing base up and running would dwarf the effort of maintaining a ICBM nuke arsenal. It makes 0 zero sense logistically. One reason to do it is is to build it in a place where you could launch unobserved for first strike capability. Now, I do do not know how many satellites orbit the moon now but it's going to be a lot more the moment you start building Moonbase David, so that unseen launch advantages goes away before you get so much as a pebble ready for lobbing over.
No you build it on the darkside (to earth).
Lunar escape velocity is about 21% of earth escape velocity.
IIRC earth escape velocity is around 25,000mph, so you'd need about 5300 mph to escape lunar orbit.
The infrastructure is the hard part. But you don't do that all at once.
You build earth side first, then you build dark side (to support scientific research all the while developing your nefarious plot) and viola: DFG I, First Supreme Poobah of the Terran System.
I shall be merciful....maybe.....sure.......ah, screw it, your all goners....