# Smart Attacks Learning Machine Advisor System for Protecting Smart Cities from Smart Threats
## 1 Introduction  
According to studies from throughout the globe, cities are growing in size and population [1]. As a result of the scarcity of services and resources, such as medical, transportation, environment, and education, daily living in metropolitan areas will become even more difficult. The phrase \"smart city\" is used to adopt and to apply mobile computing systems across all of a city's components and levels via realistic data management networks [1]. To become more innovative, cities emphasize the use of technology for networked data management, such as the Internet of Things (IoT) [2], cloud computing, and big data. These data management systems enhance several elements of operations and organizations in the smart city, including traffic control, sustainable resource management, life quality, and infrastructure. Novel strategies for effective data management necessarily need to be developed in order to achieve the long-term sustainability of these services in metropolitan settings. The following components contribute to a smart city:  
1. Smart Infrastructure, including city facilities with embedded smart technology, e.g., buildings, streets, energy, and water networks, smart grids, and sensors, etc. 2. Smart individuals, including strategies for motivating individuals to be more creative and receptive to new ideas. 3. Smart Mobility: Transportation networks with increased embedded systems for genuine management and surveillance. 4. Smart Services: Using technology and ICT to provide services throughout the city in education, safety, surveillance, health, and tourism, etc. Smart Governance: The formation of smart governments in metropolitan areas, facilitated by technology service engagement, delivery, and participation. * [6] Smart Economy: Using technological advancement to help companies grow, create jobs, and expand their communities. * [7] Smart Environment: Using information and communication technologies, and innovation to safeguard and to manage resources (emission control, pollution monitoring sensors, systems for waste management, and recycling, etc.). * [8] Smart Living: Urban development that increases sustainability and life quality. These elements are inextricably linked; therefore, data collection and infrastructure facilities must be integrated into the city's physical Infrastructure. Governance is required to manage such subsystems and to achieve the goal of digitalization [3] and depicts a multilayer design for smart cities in general [4]. From top to bottom, this n-tier design must incorporate both physical and soft infrastructures, and the following layers [3]. * Layer (1) Natural Environment: This refers to all of the natural characteristics in the city's location (sea, rivers, forests, landscape, and lakes, etc.). * Layer (2) Hard Infrastructure (non-ICT-based): All of the recognized urban characteristics are included in this layer as a result of human activity, and are required for city functioning (water-energy-waste, roads, buildings, bridges, and utilities, etc.) * Layer (3) Hard Infrastructure (ICT-based): this refers to all smart gear that is used to provide SSC services (servers, supercomputers, networks, sensors, and data centers, etc.) * Layer (4) Services: A plethora of intelligent city services, categorized according to worldwide urban key performance indicators and grouped into the six aspects of smart cities. * Layer (5) Soft Infrastructure: the endpoint that consumes the services. Physical Infrastructure is represented in Layers 1, 2, and 3, while the rest of the layers represent Soft Infrastructure in the Figure 1.  
Even as cities try to become smart, the aforementioned growing application technologies raise several security issues, and privacy problems and obstacles. Cyber-attacks in the smart city may affect any device linked to the network, which can have major issues when essential systems such as a city's electricity grid are connected.