3GPP standards (e.g., LTE and 5G New Radio (NR)) have revolutionized commercial broadband access. Unfortunately, the openness of 3GPP specifications and high-level of adaptability make fifth-generation (5G) networks increasingly sensitive to unsophisticated attacks in the network. While 5G NR has introduced frequency hopping (FH) for massive machine-type communications (mMTC), there has not been a unified approach to designing the FH patterns in practical 5G systems. In this paper, we investigate the multi-user FH design problem at the physical resource grid of the 5G communication networks. We present various criteria for FH pattern design and propose two algorithms that are implementable with low complexity. The first scheme utilizes known interference patterns to design a set of user equipment (UE) FH patterns that are immune to interfering attacks. The second scheme leverages interference statistics and minimizes the expected number of hits by the interferer. Through numerical simulations and analytical modeling, we demonstrate the efficacy of the proposed schemes, which outperform the uniform FH pattern and achieve near-optimal performance.