Xinhua indexes
幸 under the
干 radical at the base. Originally the bottom half of a manacle (the device one was lucky to escape), the modern silhouette has converged on a clean
干 shape — pedagogically 'lucky to escape the shield/blow', the dictionary anchor.