The document presents a method for detecting distributed denial of service (DDoS) and false data injection attacks in cyber-physical systems, specifically targeting smart grids. It describes the use of chi-square detectors and fuzzy logic-based classifiers to improve attack detection accuracy and outlines an intrusion detection algorithm tested in a simulated environment. The findings aim to enhance the security of interconnected physical systems vulnerable to cyber threats.