The document proposes a two-phase framework for detecting and attributing cyber attacks in IoT-enabled cyber-physical systems. The first phase uses deep representation learning to detect attacks in imbalanced data. The second phase uses an ensemble of one-vs-all classifiers to attribute different attack types. The proposed framework achieves better recall and F-measure than previous works in detecting known and unknown attacks. Future work includes building a normal system profile to identify anomalies not detected in the first phase.