AbstractIn recent years, the Internet of Things (IoT) plays a vital role in our daily life. IoT is dominating in many areas like industries, health care, smart home, social network, defense sector, and the education sector. In the last couple of years, users are facing different challenges like security issues related to social network and defense sector. In this article, our prime focus is to secure the social and defense network associated with narrowband‐Internet of Things. This article proposes the artificial intelligence (AI)‐based defense security attacks using unmanned aerial vehicle (UAV). In the first part of the article, we have proposed attack modeling on smart home scenario and finalize the critical parameter for performance analysis. In the next section, the performance analysis based on game theory (GT) (AI based) approach is attained, using different techniques like nash equilibrium and Prisoner's dilemma. In the last section, detailed hardware analysis has been carried out for analyzing attack in real‐time scenario and is illustrated with the help of step‐by‐step process. Our proposed model proves that UAV‐based router can spoof by the intruder with the probability of 0.4 using GT and hardware analysis.