Now days due to huge application of IOT, cyber attack is tremendously affecting all over the world under. Hence designing of cyber security approach in order to avoid cyber attack is today's basic need. Cyber security is the application of technologies, processes and controls to protect systems, networks, programs, devices and data from cyber attacks. It aims to reduce the risk of cyber attacks and protect against the unauthorized exploitation of systems, networks and technologies. Traditional security methods are not adequate to prevent data breaches in case of cyber attacks. Cybercriminals have learned how to use new techniques and robust tools to hack, attack, and breach data. Fortunately, Artificial Intelligence (AI) technologies have been introduced into cyberspace to construct smart models for defending systems from attacks. There is rapid development of technology; Artificial intelligence has shown the promising results in cyber security analyzing the data through its decision making. This paper represents AI technique which is being used in various applications in the battle against the Cyber attack.