PurposeThe purpose of this paper is to achieve effective governance of online rumors through the proposed rumor propagation model and immunization strategy.Design/methodology/approachThe paper leverages the agent-based modeling (ABM) method to model individuals from two aspects, behavior and attitude. Based on the analysis and research of online data, we propose a rumor propagation model, namely the Untouched view transmit removed-Susceptible hesitate agree disagree (Unite-Shad), and devise an immunization strategy, namely the Gravity Immunization Strategy (GIS). A graph-based framework, namely Pregel, is used to carry out the rumor propagation simulation experiments. Through the experiments, the rationality of the Unite-Shad and the effectiveness of the GIS are verified.FindingsThe study discovers that the inconsistency between human behaviors and attitudes in rumor propagation can be explained by the Unite-shad model. Besides, the GIS, which shows better performance in small-world networks than in scale-free networks, can effectively suppress rumor propagation in the early stage.Research limitations/implicationsThis paper provides an effective immunization strategy for rumor governance. Specifically, the Unite-Shad model reveals the mechanism of rumor propagation, and the GIS provides an effective governance method for selecting immune nodes.Originality/valueThe inconsistency of human behaviors and attitudes in real scenes is modeled in the Unite-Shad model. Combined with the model, the definition of diffusion domain is proposed and a novel immunization strategy, namely GIS, is designed, which is significant for the social governance of rumor propagation.