This paper proposes a campus network security situation awareness method based on an improved factor weighting algorithm to address the issues of unstable security situations and high missed perception time limits in existing perception methods.This method firstly associates vulnerabilities and vulnerable attack points in devices,and uses attack behaviors obtained from different attack paths as security situational factors to reflect the true security situation of the network.Then,the improved factor weighting algorithm is applied to weight these factors to obtain more comprehensive network security situation results.Finally,the vulnerability status is transformed and analyzed,a campus network security situation judgment model is established,and the transformed indicators are input into the model to complete security situation awareness.The experimental results show that the trend of the situation values obtained by applying this method is consistent with the actual situation values,proving that the proposed method can accurately reflect the network security situation,and its error rate is low,the stability is good,and the application effect is good.