Reducing the attack surface by selectively colocating applications on a host computer

By collocating applications with similar resource footprints and removing unused resources, the method addresses the limitations of existing network security solutions, enhancing security and reducing attack surfaces in network environments.

JP7573637B2Active Publication Date: 2024-10-25INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2022552683
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-03-24
Filing Date
2021-03-17
Publication Date
2024-10-25
Estimated Expiration
2041-03-17

AI Technical Summary

Technical Problem

Existing network security solutions are inadequate in preventing unauthorized access and attacks, as they often focus on individual host computers or applications, have high performance overhead, and can be circumvented by attackers, missing vulnerabilities and failing to prevent certain types of attacks.

Method used

A method and system for selectively collocating applications with similar system resource utilization footprints on the same host computer, measuring and profiling resource usage to identify and group applications with similar footprints, and removing unused resources to reduce the attack surface.

Benefits of technology

This approach enhances overall security and trust in the data processing environment by reducing the likelihood of successful attacks, minimizing the attack surface, and improving vulnerability protection across multiple host computers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007573637000001
    Figure 0007573637000001
  • Figure 0007573637000002
    Figure 0007573637000002
  • Figure 0007573637000003
    Figure 0007573637000003
Patent Text Reader

Abstract

A method is provided for reducing the attack surface by selectively colocating applications on a host computer. The system resources utilized by each application running on multiple host computers in a data processing environment are measured. It is determined which applications running on the multiple host computers utilize similar system resources. Applications utilizing similar system resources are colocated on each host computer.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to network and system security, and more particularly to reducing the attack surface on a host computer by selectively colocating a set of applications that have a similar system resource utilization footprint on the same host computer. [Background technology]

[0002] Network security consists of the policies and practices used to prevent and monitor unauthorized access, misuse, alteration, or denial of computer networks and network-accessible resources. Network security involves the authorization of access to a computer network and its resources. For example, once a network user is authenticated, a firewall can enforce rules and policies that define which resources the network user is permitted to access.

[0003] Nevertheless, an attacker (i.e., an unauthorized user) may exploit one or more system resources corresponding to a targeted host computer to circumvent network security and execute an attack. Such system resources may include, for example, the code of an application or shared resources, such as libraries, or the system stack, such as an operating system. In addition, an attacker may leverage reachable network assets, such as application programming interface endpoints and services, to execute a lateral movement attack. An attacker may also execute a privilege escalation attack against a targeted host computer that houses privileged user accounts and / or applications. A privilege escalation attack is a type of network intrusion that takes advantage of a programming error or design flaw to give an attacker elevated access to a network and its resources, such as privileged accounts and applications.

[0004] Currently, several solutions targeting network security already exist. Typically, these solutions protect against known attacks or identify malicious user behavior. Furthermore, existing solutions can only focus on one host computer or one application at a time, for example, using isolation and restriction. Furthermore, existing control flow integrity solutions have high performance overhead and are not precise enough to prevent bypasses. Moreover, existing address space layout randomization solutions can also be bypassed due to base address leakage. Furthermore, vulnerability scanning of applications and libraries can miss certain vulnerabilities and cannot prevent return-oriented programming attacks. As a result, there is a need for improved network and system security to reduce the likelihood of unauthorized user access and attacks. Summary of the Invention

[0005] According to one aspect of the present invention, a computer-implemented method is provided for reducing an attack surface by selectively colocating applications on a host computer. System resources utilized by each application running on a plurality of host computers in a data processing environment are measured. It is determined which applications running on the plurality of host computers utilize similar system resources. Applications utilizing similar system resources are colocated on respective host computers. According to other illustrative embodiments, a computer system and computer program product are provided for reducing an attack surface by selectively colocating applications on a host computer.

[0006] Illustrative embodiments also include performing a bootstrap operation on a plurality of host computers in the data processing environment, deploying applications on the plurality of host computers, profiling the applications running on the plurality of host computers to obtain a system resource utilization footprint for each respective application, identifying a plurality of distinct sets of applications having similar system resource utilization footprints based on the profiling of the applications, obtaining a list of system resources corresponding to each respective host computer in the plurality of host computers, identifying a set of in-use system resources in the list of system resources corresponding to each respective host computer that are utilized by the running resident applications, and transmitting the set of in-use system resources to each respective host computer. determining a set of unused system resources corresponding to each respective host computer by subtracting from a list of system resources corresponding to the respective host computer a set of unused system resources corresponding to the respective host computer; determining a maximum amount of attack surface reduction for each respective host computer based on placing the particular set of applications having a similar system resource utilization footprint on the particular host computer and removing the determined set of unused system resources corresponding to the particular host computer running the particular set of applications; assigning each respective set of applications having a similar system resource utilization footprint to a designated host computer having the determined maximum amount of attack surface reduction; and placing each respective set of applications having a similar system resource utilization footprint on its assigned host computer within the data processing environment.

[0007] As a result, the illustrative embodiments improve the overall security and trust of the data processing environment through application co-location based on application attack surface measurements, reducing the likelihood of a successful attack. Additionally, the illustrative embodiments reduce the vulnerability of the data processing environment to being accessed by malicious actors. Thus, the illustrative embodiments provide a technical solution that overcomes a technical problem by providing overall environment security. As a result, these one or more technical solutions provide technical effects and practical applications in the field of network and system security. [Brief description of the drawings]

[0008] [Figure 1] 1 is a pictorial representation of a network of data processing systems in which illustrative embodiments may be implemented; [Diagram 2] FIG. 1 is a diagram of a data processing system in which illustrative embodiments may be implemented. [Diagram 3] FIG. 1 illustrates a cloud computing environment in which illustrative embodiments may be implemented. [Figure 4] A diagram illustrating an example of abstraction layers in a cloud computing environment in accordance with an illustrative embodiment. [Diagram 5] FIG. 1 illustrates an example of a system architecture in accordance with an illustrative embodiment. [Figure 6] FIG. 1 illustrates an example of an application collocation and attack surface reduction process in accordance with an illustrative embodiment. [Figure 7] FIG. 1 illustrates an example of shared attack surface resources in different application deployment models, according to an illustrative embodiment. [Figure 8] 11 is a flowchart illustrating a process for application deployment during system bootstrap, in accordance with an illustrative embodiment. [Figure 9] 11 is a flowchart illustrating a process for application deployment during system run time in accordance with an illustrative embodiment. [Figure 10]1 is a flowchart illustrating a process for reducing a host computer attack surface during runtime in accordance with an illustrative embodiment. [Figure 11] 1 is a flowchart illustrating a process for reducing an attack surface by selectively colocating applications on a host computer, in accordance with an illustrative embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] The present invention may be a system, method, or computer program product, or combination thereof, at any possible level of technical detail of integration. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions for causing a processor to carry out aspects of the present invention.

[0010] A computer readable storage medium can be a tangible device capable of holding and storing instructions for use in an instruction execution device. A computer readable storage medium can be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge-in-groove structures having instructions recorded thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, should not be interpreted as being signals that are transitory in nature, such as electric waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted through wires.

[0011] The computer readable program instructions described herein may be downloaded from a computer readable storage medium to each computing / processing device or to an external computer or storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may comprise copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing / processing device.

[0012] The computer readable program instructions for carrying out the operations of the present invention may be either assembler instructions, instruction set architecture (ISA) instructions, machine language instructions, machine dependent instructions, microcode, firmware instructions, state setting data, configuration data for integrated circuit devices, or source or object code written in any combination of one or more programming languages, including object oriented programming languages ​​such as Smalltalk®, C++, or the like, and procedural programming languages ​​such as the “C” programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, or partially on the user's computer, as a stand-alone software package, or partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (e.g., through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic device, a field programmable gate array (FPGA), or a programmable logic array (PLA) can execute computer readable program instructions by utilizing state information of the computer readable program instructions to individualize the electronic circuitry to perform aspects of the present invention.

[0013] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0014] These computer readable program instructions may be provided to a computer processor or other programmable data processing apparatus to produce a machine, the instructions for execution by the computer processor or other programmable data processing apparatus to produce means for performing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored on a computer readable storage medium such that the computer readable storage medium having stored thereon instructions comprises an article of manufacture including instructions for performing aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams, and may instruct a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner.

[0015] The computer readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device to cause the computer, other programmable apparatus, or other device to perform a series of operational steps such that the instructions executing on the computer, other programmable apparatus, or other device produce a computer-executed process to perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0016] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions that includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur in a different order than that noted in the figures. For example, two blocks shown in succession may in fact be implemented as a single step that is executed simultaneously, substantially simultaneously, partially or fully overlapping in time, or the blocks may sometimes be executed in reverse order depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or acts or executes a combination of dedicated hardware and computer instructions.

[0017] Referring now to the figures, and in particular to Figures 1-5, diagrams of data processing environments are provided in which illustrative embodiments may be implemented. It should be understood that Figures 1-5 are intended to be merely examples and are not intended to assert or imply any limitation with respect to the environments in which different embodiments may be implemented. Many modifications may be made to the depicted environments.

[0018] 1 depicts a diagrammatic representation of a data processing environment in which illustrative embodiments may be implemented. Data processing environment 100 includes a network of computers and other devices in which illustrative embodiments may be implemented. Data processing environment 100 may represent, for example, a cluster of computers in a data center, or multiple computer nodes in a cloud environment.

[0019] Data processing environment 100 includes network 102, which is a medium used to provide communications links between computers and other devices connected together within data processing environment 100. Network 102 may include connections such as, for example, wired communications links, wireless communications links, fiber optic cables, and the like.

[0020] In the depicted example, server 104 and server 106, along with storage 108, connect to network 102. Server 104 and server 106 may be, for example, server computers with high-speed connections to network 102. Also, note that server 104 and server 106 may each represent a set of one or more server computers.

[0021] Additionally, server 104 and server 106 may provide attack surface reduction services to registered client host computers. For example, server 104 and server 106 may reduce the attack surface on a client host computer by selectively colocating a set of applications having similar system resource utilization footprints on the same client host computer and removing unused system resources from these client host computers. Colocating includes removing an application from a first client host computer and installing the application on a second client host computer. System resources are runtime environments that consist of shared host computer resources, e.g., processors, memory, storage, libraries, kernel system call identifiers, kernel subsystems, hypervisors, and the like, and shared network resources, e.g., network services, network traffic destinations (e.g., Internet Protocol addresses and port numbers), sensitive network user accounts with high access rights, sensitive network applications with high access rights, and the like.

[0022] Host computer 110, host computer 112, and host computer 114 also connect to network 102. Host computers 110, 112, and 114 are registered clients of server 104 and server 106. In this example, host computers 110, 112, and 114 are network computers hosting multiple different applications. Nevertheless, it should be noted that host computers 110, 112, and 114 may represent other types of data processing systems, such as, for example, desktop computers, laptop computers, handheld computers, smart phones, smart watches, smart televisions, smart appliances, gaming devices, automated ticket machines, and the like, with wired or wireless communication links to network 102.

[0023] Storage 108 is a network storage device capable of storing any type of data in a structured or unstructured format. Additionally, storage 108 may represent multiple network storage devices. Additionally, storage 108 may store identifiers and network addresses of multiple host computers, a list of system resources corresponding to each of the host computers, a list of applications loaded on the host computers, system resource utilization metrics corresponding to each of the applications loaded on the host computers, and the like. Additionally, storage 108 may store other types of data, such as authentication or credential data, which may include, for example, usernames, passwords, and biometric data associated with system administrators and users.

[0024] Additionally, it should be noted that data processing environment 100 may include any number of additional server computers, host computers, storage devices, and other devices not shown. Program code within data processing environment 100 may be stored on a computer-readable storage medium and downloaded to a computer or other data processing device for use. For example, program code may be stored on a computer-readable storage medium of server 104 and downloaded to host computer 110 via network 102 for use by host computer 110.

[0025] In the depicted example, data processing environment 100 may be implemented as a number of different types of communications networks, such as, for example, the Internet, an intranet, a local area network (LAN), a wide area network (WAN), a telecommunications network, or any combination thereof. Figure 1 is intended as an example only, and not as architectural limitations for different illustrative embodiments.

[0026] Referring now to Figure 2, a diagram of a data processing system according to an illustrative embodiment is depicted. Data processing system 200 is an example of a server computer, such as server 104 of Figure 1, in which computer readable program code or instructions for executing the processes of the illustrative embodiments may be located. In this example, data processing system 200 includes a communications fabric 202 that provides communications between a processor unit 204, a memory 206, persistent storage 208, a communications unit 210, an input / output (I / O) unit 212, and a display 214.

[0027] The processor unit 204 functions to execute instructions for software applications and programs that may be loaded into the memory 206. The processor unit 204 may be a set of one or more hardware processor devices or may be a multi-core processor, depending on the particular implementation.

[0028] Memory 206 and persistent storage 208 are examples of storage devices 216. A computer-readable storage device is any piece of hardware that can store information, such as, for example, without limitation, data, computer-readable program code in a functional form, or other suitable information, or a combination thereof, on a temporary or permanent basis. Additionally, computer-readable storage devices exclude propagating media. Memory 206, in these examples, may be, for example, random access memory (RAM), or any other suitable volatile or non-volatile storage device, such as flash memory. Persistent storage 208 may take various forms, depending on the particular implementation. For example, persistent storage 208 may contain one or more devices. For example, persistent storage 208 may be a disk drive, a solid state drive, a rewritable optical disk, a rewritable magnetic tape, or some combination of the above. The media used by persistent storage 208 may be removable. For example, a removable hard drive may be used for persistent storage 208.

[0029] In this example, persistent storage 208 stores attack surface reduction manager 218. Nevertheless, it should be noted that even though attack surface reduction manager 218 is shown as residing within persistent storage 208, in alternative illustrative embodiments, attack surface reduction manager 218 may be a separate component of data processing system 200. For example, attack surface reduction manager 218 may be a hardware component coupled to communications fabric 202, or a combination of hardware and software components. In another alternative illustrative embodiment, a first set of components of attack surface reduction manager 218 may be located within data processing system 200, and a second set of components of attack surface reduction manager 218 may be located within a second data processing system, such as, for example, server 106 of FIG. 1.

[0030] Attack surface reduction manager 218 controls a process for reducing the attack surface on host computers 222 in data processing environment 220 by selectively colocating applications with similar system resource utilization footprints on the same host computer and removing any unused system resources corresponding to host computers 222. Host computers 222 represent an identifier for multiple host computers included in data processing environment 220, and may be, for example, host computers 110, 112, and 114 of FIG. 1. Data processing environment 220 represents an identifier for a particular data processing environment, such as, for example, data processing environment 110 of FIG. 1.

[0031] The host computer 222 includes system resources 224 and applications 226. The system resources include host computer resources and network resources that provide a runtime environment for the applications 226. The applications 226 represent resident applications running on the host computer 222. The applications 226 may represent any type of application, such as, for example, banking applications, financial applications, education applications, government applications, healthcare applications, organizational applications, enterprise applications, and the like, that may be hosted by the host computer 222.

[0032] A system resource utilization metric 228 corresponds to each respective application in applications 226. System resource utilization metric 228 represents information and measurements regarding the type and amount of system resources utilized by a particular application. Attack surface reduction manager 218 obtains system resource utilization metric 228 from software agents located on each of host computers 222. Attack surface reduction manager 218 uses system resource utilization metric 228 to determine a system resource utilization footprint of each respective application in applications 226.

[0033] Attack surface reduction manager 218 colocates set of applications 232 having similar system resource utilization footprints 234 on host computer 230. Colocating is the act of placing or arranging applications together on the same host computer. Set of applications 232 represents a particular group of applications in applications 226 that have the same or similar resource utilization metric patterns, characteristics, or behaviors (i.e., footprints). Attack surface reduction manager 218 may, for example, utilize a predefined range of resource utilization metric similarities to determine whether each application in set of applications 232 has comparable resource utilization metric values ​​to be colocated together on the same host computer, such as host computer 230. In other words, each application in applications 232 must have similar, comparable, or similar resource utilization metric values ​​within a predefined range of resource utilization metric similarities to be included in set of applications 232. Thus, attack surface reduction manager 218 will not include in set of applications 232 any applications having resource utilization metric values ​​that exceed a predefined range of resource utilization metric similarities. Host computer 230 represents a designated host computer in host computers 222 to which attack surface reduction manager 218 will assign set of applications 232 for hosting based on that, after placing set of applications 232 on host computer 230, this particular host computer has a determined maximum attack surface reduction (i.e., the maximum number of unused system resources to be removed).

[0034] Attack surface reduction manager 218 also colocates other distinct sets of applications having similar system resource utilization footprints to other host computers in host computers 222 based on those host computers also having the determined maximum attack surface reduction. After colocating all of the distinct sets of applications having similar system resource footprints onto different host computers, attack surface reduction manager 218 removes unused system resources 236 from each of the host computers in host computers 222 to achieve an attack surface reduction for the entire data processing environment 220 and improve the security of data processing environment 220.

[0035] The communications unit 210 provides for communication with other computers, data processing systems, and devices over a network, such as the network 102 of FIG. 1 in this example. The communications unit 210 may provide for communication through the use of both physical and wireless communications links. The physical communications links may utilize, for example, wires, cables, universal serial buses, or any other physical technology to establish a physical communications link for the data processing system 200. The wireless communications links may utilize, for example, short wave, radio frequency, very high frequency, microwave, Wireless Fidelity (Wi-Fi), Bluetooth® technology, Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), second generation (2G), third generation (3G), fourth generation (4G), 4G Long Term Evolution (LTE), LTE Advanced, fifth generation (5G), or any other wireless communications technology or standard to establish a wireless communications link for the data processing system 200.

[0036] Input / output unit 212 allows for the input and output of data with other devices that may be connected to data processing system 200. For example, input / output unit 212 may provide a connection for user input through a keypad, keyboard, mouse, microphone, or some other suitable input device, or combination thereof. Display 214 provides a mechanism for displaying information to a user and may include touch screen capabilities, for example, to allow a user to make on-screen selections through the user interface or input data.

[0037] Instructions for the operating system, applications, and / or programs may be located in storage device 216, which is in communication with processor unit 204 through communications fabric 202. In this illustrative example, the instructions are in functional form on persistent storage 208. These instructions may be loaded into memory 206 for execution by processor unit 204. The processes of the different embodiments may be performed by processor unit 204 using computer-implemented instructions, which may be located in a memory, such as memory 206. These program instructions may be referred to as program code, computer usable program code, or computer readable program code, and may be read and executed by a processor of processor unit 204. The program instructions may be contained in different physical computer readable storage devices, such as memory 206 or persistent storage 208, in different embodiments.

[0038] The program code 238 may be placed in a functional form on a selectively removable computer readable medium 240 and loaded or transferred to the data processing system 200 for execution by the processor unit 204. The program code 238 and the computer readable medium 240 form a computer program product 242. In one example, the computer readable medium 240 may be a computer readable storage medium 244 or a computer readable signal medium 246.

[0039] In these illustrative examples, computer readable storage medium 244 is not a medium that propagates or transmits program code 238, but rather a physical or tangible storage device used to store program code 238. Computer readable storage medium 244 may include, for example, an optical or magnetic disk inserted or placed into a drive or other device that is part of persistent storage 208 for transfer to a storage device, such as a hard drive that is part of persistent storage 208. Computer readable storage medium 244 may also be a form of persistent storage, such as a hard drive, thumb drive, or flash memory connected to data processing system 200.

[0040] Alternatively, program code 238 may be transferred to data processing system 200 using computer readable signal media 246. Computer readable signal media 246 may be, for example, a propagated data signal carrying program code 238. For example, computer readable signal media 246 may be an electromagnetic signal, an optical signal, or any other suitable type of signal. These signals may be transmitted over communications links, such as wireless communications links, fiber optic cable, coaxial cable, a wire, or any other suitable type of communications link.

[0041] Additionally, as used herein, "computer readable medium 240" may be singular or plural. For example, program code 238 may be located on computer readable medium 240 in the form of a single storage device or system. In another example, program code 238 may be located on computer readable medium 240 distributed among multiple data processing systems. In other words, some instructions in program code 238 may be located in one data processing system, while other instructions in program code 238 may be located in one or more other data processing systems. For example, a portion of program code 238 may be located on computer readable medium 240 of a server computer, while another portion of program code 238 may be located on computer readable medium 240 in a set of client computers.

[0042] The different components illustrated for data processing system 200 are not intended to provide architectural limitations to the manner in which different embodiments may be implemented. In some illustrative examples, one or more of the components may be incorporated into or otherwise form a part of another component. For example, in some illustrative examples, memory 206, or portions thereof, may be incorporated within processor unit 204. The different illustrative embodiments may be implemented in a data processing system including other or alternative components than those illustrated for data processing system 200. Other components illustrated in FIG. 2 may vary from the illustrated illustrative examples. The different embodiments may be implemented using any hardware device or system capable of executing program code 238.

[0043] In another example, a bus system may be used to implement communications fabric 202 and may be comprised of one or more buses, such as a system bus or an input / output bus. Of course, the bus system may be implemented using any suitable type of architecture that provides for a transfer of data between different components or devices attached to the bus system.

[0044] Although the present disclosure includes a detailed description of cloud computing, it is understood that implementations of the teachings recited herein are not limited to a cloud computing environment. Rather, the illustrative embodiments may be implemented in conjunction with any other type of computing environment now known or later developed. Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources, such as networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services, that can be rapidly provisioned and published with minimal administrative effort or interaction with service providers. The cloud model may include at least five characteristics, at least three service models, and at least four deployment models.

[0045] Characteristics may include, for example, on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service. On-demand self-service allows cloud consumers to automatically and unilaterally provide computing capacity, such as server time and network storage, as needed without the need for human interaction with the service provider. Broad network access provides capabilities that are available over the network and accessed through standard mechanisms that facilitate use by heterogeneous thin or thick client platforms, such as mobile phones, laptops, and personal digital assistants. Resource pooling allows a provider's computing resources to be pooled to serve multiple consumers using a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated depending on demand. Location independence is meaningful in that consumers generally have no control or knowledge of the exact location of the resources provided, but may be able to specify the location at a higher level of abstraction, such as a country, state, or data center. Rapid elasticity provides capacity that can be quickly and elastically provisioned, sometimes automatically, to quickly scale out, and quickly exposed to quickly scale in. To the consumer, the capacity available to provide often appears unlimited and can be purchased at any time in any amount. Measured services allow cloud systems to automatically control and optimize resource usage by leveraging metering capabilities at several levels of abstraction appropriate to the type of service, e.g., storage, processing, bandwidth, and active user accounts. Resource utilization can be monitored, controlled, and reported, providing transparency to both the provider and consumer of the services being consumed.

[0046] Service models may include, for example, Software as a Service (SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS). Software as a service is the capability offered to a consumer to use a provider's applications running on a cloud infrastructure. The applications are accessible from a variety of client devices through a thin-client interface, such as a web browser (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or possibly individual application capabilities, with the possible exception of limited user-specific application configuration settings. Platform as a service is the capability offered to a consumer to deploy consumer-created or acquired applications, created using programming languages ​​and tools supported by the provider, onto the cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, or storage, but has control over the deployed applications and, in some cases, the configuration of the environment that hosts the applications. Infrastructure as a Service is the capability offered to a customer to provide processing, storage, networking, and other basic computing resources on which the customer can deploy and run any software, which may include operating systems and applications. The customer does not manage or control the underlying cloud infrastructure, but has control over the operating systems, storage, applications deployed, and in some cases, limited control over the selection of networking components, for example, host firewalls.

[0047] Deployment models may include, for example, private cloud, community cloud, public cloud, and hybrid cloud. A private cloud is simply cloud infrastructure operated for an organization. A private cloud may be managed by an organization or a third party and may exist on-premise or off-premise. A community cloud is cloud infrastructure shared by several organizations to support a unique community with shared concerns, such as mission, security requirements, policies, and compliance considerations. A community cloud may be managed by an organization or a third party and may exist on-premise or off-premise. A public cloud is cloud infrastructure made available to the general public or large industry associations and is owned by an organization that sells cloud services. A hybrid cloud is a cloud infrastructure consisting of two or more clouds, such as private, community, and public clouds, that remain unique entities, but are brought together with standard or proprietary technologies that enable data and application portability, such as cloud bursting for load balancing between clouds.

[0048] A cloud computing environment is service-oriented with a focus on statelessness, loose coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that comprises a network of interconnected nodes.

[0049] Referring now to FIG. 3, a diagram illustrating a cloud computing environment in which an illustrative embodiment may be implemented is depicted. In this illustrative example, the cloud computing environment 300 includes a set of one or more cloud computing nodes 310 with which local computing devices used by cloud users, such as, for example, a personal digital assistant or smart phone 320A, a desktop computer 320B, a laptop computer 320C, or an automobile computer system 320N, or combinations thereof, may communicate. The cloud computing nodes 310 may be, for example, the servers 104 and 106 of FIG. 1. The local computing devices 320A-320N may be, for example, the host computers 110-114 of FIG. 1.

[0050] Cloud computing nodes 310 may communicate with each other and may be physically or virtually grouped into one or more networks, such as private, community, public, or hybrid clouds, or combinations thereof, as described above. This allows cloud computing environment 300 to provide infrastructure, platform, and / or software as a service without the cloud consumer having to maintain resources on a local computing device, such as local computing devices 320A-320N. It is understood that the types of local computing devices 320A-320N are intended to be merely illustrative, and that cloud computing nodes 310 and cloud computing environment 300 may communicate with any type of computerized device over any type of network and / or network addressable connections, for example, using a web browser.

[0051] Referring now to Figure 4, a diagram illustrating abstraction model layers according to an illustrative embodiment is depicted. The set of functional abstraction layers illustrated in this illustrative example may be provided by a cloud computing environment, such as cloud computing environment 300 of Figure 3. It should be understood in advance that the components, layers, and functions illustrated in Figure 4 are intended to be merely illustrative, and that embodiments of the present invention are not limited thereto. As depicted, the following layers and corresponding functions are provided:

[0052] Cloud computing environment abstraction layer 400 includes hardware and software layer 402, virtualization layer 404, management layer 406, and workload layer 408. Hardware and software layer 402 includes hardware and software components of the cloud computing environment. The hardware components may include, for example, mainframe 410, reduced instruction set computer (RISC) architecture based servers 412, servers 414, blade servers 416, storage devices 418, and network and networking components 420. In some demonstrative embodiments, the software components may include, for example, network application server software 422 and database software 424.

[0053] The virtualization layer 404 provides an abstraction layer within which instances of virtual entities, such as virtual servers 426, virtual storage 428, virtual networks including virtual private networks 430, virtual applications and operating systems 432, and virtual clients 434, may be provided.

[0054] In one example, management layer 406 may provide the functionality described below. Resource provisioning 436 provides dynamic procurement of computing and other resources utilized to perform tasks within the cloud computing environment. Metering and pricing 438 provides cost tracking as resources are utilized within the cloud computing environment and billing or invoicing for the utilization of these resources. In one example, these resources may include application software licenses. Security provides validation of cloud consumers and tasks, as well as protection of data and other resources. User portal 440 provides consumers and system administrators with access to the cloud computing environment. Service level management 442 provides allocation and management of cloud computing resources to meet required service levels. Service level agreement (SLA) planning and fulfillment 444 provides pre-positioning and procurement of cloud computing resources in anticipation of future requirements according to SLAs.

[0055] The workload tier 408 provides examples of functions for which a cloud computing environment may be utilized. Example workloads and functions may be provided by the workload tier 408 and may include mapping and navigation 446, software development and lifecycle management 448, virtual classroom instructional delivery 450, data analytics processing 452, transaction processing 454, and attack surface reduction management 456.

[0056] Exemplary embodiments reduce an attacker's ability to access network resources by reducing the number of available system resources corresponding to each host computer in a cluster or cloud environment. Exemplary embodiments reduce the overall attack surface on each host computer by measuring the application system resource utilization footprint on each host computer. For example, for each application across a cluster of host computers, exemplary embodiments measure the host computer and network resource utilization footprint of each respective application in the cluster of host computers. Exemplary embodiments then identify, group, and colocate those applications that have similar system resource footprints on the same host computer in the cluster. In other words, each host computer in the cluster hosts a different set of applications that have similar system resource utilization metrics. On all host computers in the cluster, exemplary embodiments remove or eliminate all unused resources to achieve a cluster-wide attack surface reduction. System resources may include, for example, shared network services, shared network traffic destinations (e.g., Internet Protocol addresses, port numbers, and the like), shared libraries, shared system stacks, shared kernel system calls, shared kernel subsystems, shared network resources, shared and confidential user accounts or groups with elevated access rights, shared and confidential applications with elevated access rights, and the like.

[0057] By co-locating applications, illustrative embodiments may load a host computer with only those applications that have the same or similar system resource utilization metrics (i.e., footprints), and thus, illustrative embodiments may eliminate unused system resources on the host computer and reduce the attack surface of the host computer. Illustrative embodiments may measure application system resource utilization metrics patterns, characteristics, and behaviors across all host computers in an entire cluster or cloud environment to make application co-location decisions based on the obtained attack surface metrics that will improve the overall security of the cluster or cloud environment. Illustrative embodiments may utilize predefined ranges of system resource utilization metrics to determine similarity. In other words, illustrative embodiments perform host computer attack surface area reduction by co-locating applications that have the same or similar system resource utilization metrics (i.e., the same or similar utilization of host computer and network resources within a predefined range of resource utilization metrics similarity) and eliminating unused system resources corresponding to the host computers based on the attack surface similarity. Thus, the illustrative embodiments utilize scheduling and placement of applications on different host computers to reduce the amount of attack surface on each host computer in a cluster or cloud environment.

[0058] As a result, illustrative embodiments improve the overall security and trust of a cluster or cloud environment through application co-location based on application attack surface measurements, which reduces the likelihood of a successful attack. Additionally, illustrative embodiments reduce the vulnerability of a cluster or cloud environment to being accessed by malicious actors.

[0059] Thus, the illustrative embodiments provide one or more technical solutions that overcome technical problems related to providing environment-wide security (i.e., reducing the attack surface across a cluster or cloud on a host computer). As a result, these one or more technical solutions provide technical effects and practical applications in the field of network and system security.

[0060] Referring now to Figure 5, a diagram illustrating an example system architecture system in accordance with an illustrative embodiment is depicted. System architecture 500 may be implemented in a data processing environment, such as data processing environment 100 of Figure 1, or a cloud computing environment, such as cloud computing environment 300 of Figure 3. System architecture 500 is a system of hardware and software components for reducing the attack surface on a host computer and removing unused system resources from the host computer by selectively colocating sets of applications with similar system resource utilization footprints on the same host computer.

[0061] In this example, system architecture 500 includes server 502, host computer 504, host computer 506, host computer 508, and host computer 510. Nevertheless, it should be noted that system architecture 500 is intended to be merely an example and not a limitation on the illustrative embodiments. In other words, system architecture 500 may include any number of servers, host computers, and other devices and components not shown.

[0062] Server 502 may be, for example, server 104 of FIG. 1, data processing system 200 of FIG. 2, or a cloud computing node in cloud computing node 310 of FIG. 3. Host computers 504, 506, 508, and 510 may be, for example, host computers 110-114 of FIG. 1, or local computing devices 320A-320N of FIG. 3.

[0063] In this example, server 502 includes an attack surface reduction manager 512 running on an operating system kernel 514. Host computer 504 includes an agent 516 running on an operating system kernel 518. Host computer 506 includes an agent 520 running on an operating system kernel 522. Host computer 508 includes an agent 524 running on an operating system kernel 526. Host computer 510 includes an agent 528 running on an operating system kernel 530.

[0064] The server 502 utilizes an attack surface reduction manager 512 to obtain host computer and application metrics from agents 516, 520, 524, and 528 located on the host computers 504, 506, 508, and 510, respectively. The attack surface reduction manager 512 utilizes the host computer and application metrics information obtained from the agents 516, 520, 524, and 528 to make application collocation and host computer attack surface reduction (i.e., unused system resource removal) decisions for the host computers 504, 506, 508, and 510. The agents on each host computer are responsible for monitoring and collecting the host computers and application metrics for that host computer. Nevertheless, it should be noted that each agent may also handle application migration and attack surface reduction on its corresponding host computer based on instructions received from the attack surface reduction manager 512.

[0065] Attack surface reduction manager 512 performs application colocation to reduce the attack surface of each of host computers 504, 506, 508, and 510. Colocation is the act of placing or arranging a particular set of applications together within one particular host computer. The attack surface corresponding to a host computer is the sum of different points (e.g., "attack vectors") through which an unauthorized user (i.e., an "attacker") can attempt to gain access to resources such as, for example, applications, data, and the like that reside on or are controlled by the host computer. Examples of attack vectors may include, for example, user input fields, protocols, application programming interfaces, and services.

[0066] The attack surface reduction manager 512 may utilize a greedy collocation algorithm, such as, for example, the following: A are multiple applications that will be assigned to multiple host computers H in a cluster or cloud environment, For each host computer h in the plurality of host computers H, l = the number of available application slots on host computer h, C = a set of application combinations in a plurality of applications A of length l; For each set of applications in the set of application combinations C, A set of resources R used by a set of applications (c). c ⊆ the resources of the host computer (h), then the set of unused resources S c = Resource(h)-R c and Assign a set of applications c to a host computer h, where the set of unused resources S of the host computer h is c is the maximum. Maximize globally, Implement the above calculation for all permutations of multiple host computers H, Select an application colocation allocation, where S is the set of all unused resources on multiple host computers H c The sum of is maximum.

[0067] Global maximization looks at maximizing the reduction of unused resources across all host computers in a cluster or cloud environment. Thus, this global maximization algorithm shows how an illustrative embodiment can identify and analyze all possible application and host computer combinations to find one application colocation configuration that is globally optimal.

[0068] During bootstrapping of a new cluster or cloud environment (i.e., host computers 504, 506, 508, and 510), attack surface reduction manager 512 deploys applications to host computers 504, 506, 508, and 510. Attack surface reduction manager 512 then profiles the applications to obtain a system resource utilization footprint for each respective application running on host computers 504, 506, 508, and 510. Attack surface reduction manager 512 then identifies and groups each set of applications running on the new cluster or cloud environment that have similar system resource utilization footprints. Attack surface reduction manager 512 then colocates sets of applications that have similar system resource utilization footprints on the same host computer, e.g., host computer 504. Similarly, attack surface reduction manager 512 colocates other sets of applications having similar system resource utilization footprints on other host computers, such as host computers 506, 508, and 510. An example of application migration may include attack surface reduction manager 512 utilizing existing techniques for migrating applications, virtual machines, containers, or the like.

[0069] The attack surface reduction manager 512 then reduces the attack surface corresponding to each of the host computers 504, 506, 508, and 510 by reducing the number of unused system resources, such as, for example, shared libraries and kernel system calls, on each respective host computer. Other examples of host computer attack surface reduction may include the attack surface reduction manager 512 removing unused user level libraries, the attack surface reduction manager 512 downloading a new reduced attack surface operating system or operating system kernel and initiating a reboot of the host computer to replace the current version of the operating system or operating system kernel with the new version or performing a transparent operating system or operating system kernel update, the attack surface reduction manager 512 updating firewall rules to restrict network services or activities to specific Internet Protocol addresses and port numbers, etc.

[0070] During run-time of the cluster or cloud environment, the attack surface reduction manager 512 first deploys the new application within the server 502. Then, the attack surface reduction manager 512 profiles the new application to obtain a system resource utilization footprint of the new application. Furthermore, the attack surface reduction manager 512 obtains system resource utilization patterns, characteristics, or behaviors of applications running on all of the host computers 504, 506, 508, and 510. Furthermore, the attack surface reduction manager 512 selects a best-matching host computer (e.g., host computer 506) for deploying the new application based on the obtained system resource utilization patterns of applications running on the selected host computer that match the system resource utilization pattern of the new application. Then, the attack surface reduction manager 512 deploys the new application to the selected host computer that has applications with a similar system resource utilization footprint.

[0071] 6, a diagram illustrating an example of an application collocation and attack surface reduction process in accordance with an illustrative embodiment is depicted. Application collocation and attack surface reduction process 600 may be implemented within system architecture 500 and controlled by attack surface reduction manager 512 of FIG.

[0072] The application collocation and attack surface reduction process 600 includes a pre-application collocation and attack surface reduction phase 602 and a post-application collocation and attack surface reduction phase 604. In this example, the pre-application collocation and attack surface reduction phase 602 and the post-application collocation and attack surface reduction phase 604 include host computer A 606 and host computer B 608. Nevertheless, it should be noted that the application collocation and attack surface reduction process 600 is intended to be merely an example and is not intended as a limitation on the illustrative embodiment. In other words, the application collocation and attack surface reduction process 600 may include any number of host computers.

[0073] In the pre-application collocation and attack surface reduction phase 602, host computer A 606 and host computer B 608 are in a pre-application collocation and attack surface reduction state. For example, host computer A 606 includes application 1 610 and application 2 612. Application 1 610 utilizes library 1 614 and library 2 616. Furthermore, application 1 610 utilizes kernel system call A 618, kernel system call B 620, and kernel system call C 622 of kernel system calls A-K. Application 2 612 utilizes library 3 624 and library 4 626. Application 2 612 also utilizes kernel system call I 628, kernel system call J 630, and kernel system call K 632 of kernel system calls A-K. Similarly, host computer B 608 includes application 3 634 and application 4 636. Application 3 634 utilizes Library 2 616 and Library 5 640. Furthermore, Application 3 634 utilizes Kernel System Call B 620, Kernel System Call C 622, and Kernel System Call D 646 from among Kernel System Calls A through K. Application 4 636 utilizes Library 4 626 and Library 6 650. Application 4 636 also utilizes Kernel System Call H 652, Kernel System Call I 628, and Kernel System Call J 630 from among Kernel System Calls A through K.

[0074] Note that in the pre-application collocation and attack surface reduction phase 602, application 1 610 and application 3 634 have similar system resource utilization. For example, both application 1 610 and application 3 634 utilize library 2 616 along with kernel system call B 620 and kernel system call C 622. Similarly, application 2 612 and application 4 636 have similar system resource utilization. For example, both application 2 612 and application 4 636 utilize library 4 626 along with kernel system call I 628 and kernel system call J 630.

[0075] At 654, the attack surface reduction manager colocates applications and reduces the attack surface on host computer A 606 and host computer B 608. As a result, in the post application collocation and attack surface reduction phase 604, host computer A 606 includes application 1 610 and application 3 634, and host computer B 608 includes application 2 612 and application 4 636, based on similar application system resource utilization patterns. For example, application 1 610 continues to utilize Library 1 614 and Library 2 616 on host computer A 606, the same as in the pre application collocation and attack surface reduction phase 602, but now application 3 634 shares Library 2 616 with application 1 610 and utilizes Library 5 640, which the attack surface reduction manager migrated from host computer B 608 to host computer A 606 along with application 3 634. Also note that the attack surface reduction manager has removed library 3 624 and library 4 626 (i.e., unused system resources) from host computer A 606 and migrated library 3 624 and library 4 626 to host computer B 608 to reduce the attack surface on host computer A 606. Additionally, application 1 610 continues to utilize kernel system call A 618, kernel system call B 620, and kernel system call C 622 as in the pre-application collocation and attack surface reduction phase 602, but now application 3 634 shares kernel system call B 620 and kernel system call C 622 with application 1 610 and also utilizes kernel system call D 646. Additionally note that the attack surface reduction manager has removed kernel system calls E through K (i.e., unused system resources) to further reduce the attack surface on host computer A 606.

[0076] Also, in the post application collocation and attack surface reduction phase 604, application 2 612 continues to utilize Library 3 624 and Library 4 626 that the attack surface reduction manager migrated along with application 2 612 from host computer A 606 to host computer B 608, and now application 4 636 shares Library 4 626 with application 2 612 and utilizes Library 6 650. Note that the attack surface reduction manager also removed Library 2 616 and Library 5 640 (i.e., unused system resources) from host computer B 608 and migrated Library 5 640 to host computer A 606 in order to reduce the attack surface on host computer B 608. Additionally, application 4 636 continues to utilize the same kernel system call H 652, kernel system call I 628, and kernel system call J 630 as in the pre-application collocation and attack surface reduction phase 602, but now application 2 612 shares kernel system call I 628 and kernel system call J 630 with application 4 636, and also utilizes kernel system call G 656. Additionally, note that the attack surface reduction manager has removed kernel system calls A-F and K (i.e., unused system resources) to further reduce the attack surface on host computer B 608.

[0077] 7, a diagram illustrating an example of shared attack surface resources in different application deployment models is depicted in accordance with an illustrative embodiment. In this example, shared attack surface resources 700 in different application deployment models include host computer 702, host computer 704, and host computer 706. Nevertheless, it should be noted that shared attack surface resources 700 in different application deployment models may include any number of host computers having any type of application deployment model.

[0078] The host computer 702 includes a virtual machine 708 running on a hypervisor 710. The hypervisor 710 is a shared attack surface resource in this model. An attack surface reduction manager, such as attack surface reduction manager 512 of FIG. 5, may recompile the hypervisor 710 to reduce the attack surface of the hypervisor 710.

[0079] Host computer 704 includes applications 712 and 714, which run on operating system kernel 716 and utilize shared libraries 718 and runtime support 720. Operating system kernel 716, shared libraries 718, and runtime support 720 are shared attack surface resources in this model. An attack surface reduction manager may download and install updates to operating system kernel 716 that reduce the attack surface of operating system kernel 716. Additionally, the attack surface reduction manager may remove unused libraries in shared libraries 718 and unused runtime support, such as unused kernel system calls, in runtime support 720 to further reduce the attack surface on host computer 704.

[0080] The host computer 706 includes a container 722 that runs on an operating system kernel 724 and utilizes runtime support 726. The operating system kernel 724 and runtime support 726 are a shared attack surface resource in this model. The attack surface reduction manager may reboot and install a new version of the operating system kernel 724 that has a reduced attack surface. Additionally, the attack surface reduction manager may remove unused runtime support in the runtime support 726 to further reduce the attack surface on the host computer 704.

[0081] Network services 728 are also a shared attack surface resource corresponding to host computer 702, host computer 704, and host computer 706. The attack surface reduction manager may update firewall rules to restrict network traffic to only specific Internet Protocol addresses and port numbers. The attack surface reduction manager may also remove unused Internet Protocol addresses and port numbers to reduce the attack surface.

[0082] Referring now to Figure 8, a flowchart illustrating a process for application deployment during system bootstrapping is shown, in accordance with an illustrative embodiment. The process illustrated in Figure 8 may be implemented in a server computer, such as, for example, server 104 of Figure 1, or data processing system 200 of Figure 2, a cloud computing node in cloud computing node 310 of cloud computing environment 300 of Figure 3, or server 502 of Figure 5.

[0083] The process begins when a server computer receives input to perform a bootstrap operation on a plurality of host computers included in a data processing environment (step 802). The data processing environment may be, for example, a cluster of host computers or a cloud environment configured with a plurality of host computers. In response to receiving the input to perform the bootstrap operation in step 802, the server performs the bootstrap operation on the plurality of host computers (step 804).

[0084] The server deploys applications on the multiple host computers (step 806). The server profiles the applications running on the multiple host computers to obtain a system resource utilization footprint for each respective application (step 808). The server may obtain the application profile information from a software agent located on each respective host computer. The system resource utilization footprint identifies a pattern (i.e., type and amount) of system resource usage by a particular application running on a host computer.

[0085] The server identifies a plurality of distinct sets of applications having similar system resource utilization footprints based on the profiling of the applications (step 810). Additionally, the server obtains a list of system resources corresponding to each respective host computer in the plurality of host computers (step 812). The server may also obtain a list of system resources for each respective host computer from the software agent.

[0086] The server identifies a set of in-use system resources in the list of system resources corresponding to each respective host computer that are utilized by running resident applications (step 814). Additionally, the server determines a set of unused system resources corresponding to each respective host computer by subtracting the set of in-use system resources from the list of system resources corresponding to each respective host computer (step 816).

[0087] The server determines a maximum amount of attack surface reduction for each respective host computer based on placing a particular set of applications having similar system resource utilization footprints on a particular host computer and removing a determined set of unused system resources corresponding to the particular host computer running the particular set of applications (step 818). The server assigns each respective set of applications having similar system resource utilization footprints to the designated host computer having the determined maximum amount of attack surface reduction (step 820).

[0088] The server places each respective set of applications having similar system resource utilization footprints on its assigned host computer within the data processing environment (step 822). Additionally, the server removes the determined set of unused system resources corresponding to the host computer to which the application is assigned to achieve an attack surface reduction for the overall data processing environment (step 824). The process then terminates.

[0089] 9, a flowchart illustrating a process for application deployment during system run time is shown in accordance with an illustrative embodiment. The process illustrated in FIG 9 may be implemented in a server computer, such as, for example, server 104 of FIG 1, or data processing system 200 of FIG 2, cloud computing node in cloud computing node 310 of cloud computing environment 300 of FIG 3, or server 502 of FIG 5.

[0090] The process begins when a server computer receives input to install a new application within a data processing environment including multiple host computers (step 902). In response to receiving the input to install the new application in step 902, the server initially deploys the new application to the server (step 904). Additionally, the server profiles the new application to determine a system resource utilization footprint of the new application (step 906).

[0091] Additionally, the server obtains system resource availability for each host computer in the data processing environment (step 908). Additionally, the server identifies any host computers that have sufficient available system resources to run the new application based on the system resource utilization footprint of the new application (step 910). The server then makes a determination as to whether any host computers have sufficient available system resources to run the new application (step 912).

[0092] If the server determines that a set of host computers in the plurality of host computers have sufficient available system resources to run the new application, a yes output of step 912, the server assigns the new application to a host computer in the set that has one or more running resident applications that have a similar resource utilization footprint as the new application (step 914). The server places the new application on a host computer that has one or more running resident applications that have a similar resource utilization footprint as the new application (step 916). The process then ends.

[0093] Returning again to step 912, if the server determines that a host computer in the plurality of host computers does not have sufficient available system resources to run the new application, a NO output of step 912, the server selects a host computer in the plurality of host computers that has the least number of running resident applications (step 918). The server temporarily migrates all of the running resident applications from the selected host computer to the server (step 920). The server resets the selected host computer to an initial default state to form the post-reset host computer (step 922).

[0094] The server then migrates all applications previously migrated from the selected host computer back from the server to the post-reset host computer (step 924). The server then deploys new applications to the post-reset host computer (step 926). Additionally, the server removes system resources not being utilized by resident applications running on the post-reset host computer to reduce the attack surface on the post-reset host computer (step 928). The process then terminates.

[0095] 10, a flowchart illustrating a process for reducing a host computer attack surface during run time is shown in accordance with an illustrative embodiment. The process illustrated in FIG 10 may be implemented in a server computer, such as, for example, server 104 of FIG 1, or data processing system 200 of FIG 2, cloud computing node in cloud computing node 310 of cloud computing environment 300 of FIG 3, or server 502 of FIG 5.

[0096] The process begins when the server determines whether the predefined time interval has expired (step 1002). If the server determines that the predefined time interval has not expired, a NO output of step 1002, the process returns to step 1002, where the server continues to wait for the predefined time interval to expire. If the server determines that the predefined time interval has expired, a YES output of step 1002, the server obtains a list of all available system resources corresponding to each host computer in a plurality of host computers included in the data processing environment monitored by the server (step 1004). In addition, the server obtains system resource utilization status of resident applications running on each host computer in the plurality of host computers (step 1006). The server may obtain the list of available system resources and the system resource utilization status information from a software agent located in each respective host computer.

[0097] The server makes a determination as to whether unused system resources exist on any of the host systems based on the list of available system resources corresponding to each respective host computer and the system resource utilization status of resident applications running on each respective host computer (step 1008). If the server determines that unused system resources do not exist on any of the host systems based on the list of available system resources corresponding to each respective host computer and the system resource utilization status of resident applications running on each respective host computer, a NO output of step 1008, the process returns to step 1002, where the server waits for the next time interval to expire. If the server determines that unused system resources exist on one or more host systems based on the list of available system resources corresponding to each respective host computer and the system resource utilization status of resident applications running on each respective host computer, a YES output of step 1008, the server removes unused system resources present on one or more host systems to reduce the attack surface of these host systems in the data processing environment (step 1010). The process then returns to step 1002 where the server waits for the next time interval to expire.

[0098] 11, a flowchart illustrating a process for reducing an attack surface by selectively colocating applications on a host computer is shown, according to an illustrative embodiment. The process illustrated in FIG. 11 may be implemented in a server computer, such as, for example, server 104 of FIG. 1, or data processing system 200 of FIG. 2, cloud computing node in cloud computing node 310 of cloud computing environment 300 of FIG. 3, or server 502 of FIG. 5.

[0099] The process begins when a server computer receives input for reducing an attack surface within a data processing environment that includes a plurality of host computers (step 1102). In this example, the data processing environment is a cloud environment. In response to receiving the input for reducing an attack surface within the data processing environment in step 1102, the server measures system resources utilized by each cloud application running on the plurality of host computers (step 1104). The server determines which cloud applications running on the plurality of host computers utilize similar system resources (step 1106).

[0100] The server colocates cloud applications that utilize similar system resources on their respective assigned host computers (step 1108). The server determines all unused system resources in the plurality of host computers that are not being used by resident applications running on the set of host computers (step 1110). The server removes all unused system resources corresponding to each host computer in the set of host computers to reduce an attack surface within the data processing environment (step 1112). The process then terminates.

[0101] Thus, illustrative embodiments of the present invention provide a computer-implemented method, computer system, and computer program product for selectively colocating a set of applications having similar system resource utilization footprints on the same host computer and reducing the attack surface on the host computer by removing unused system resources from the host computer. The description of various embodiments of the present invention has been presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein has been selected to best explain the principles of the embodiments, practical applications, or technical improvements over techniques found in the marketplace, or to enable those skilled in the art to understand the embodiments disclosed herein.

Claims

1. 1. A method for reducing an attack surface by selectively colocating applications on a host computer, comprising: A server connected to multiple host computers Measuring system resources utilized by each application running on a plurality of host computers in a data processing environment; determining which applications running on said plurality of host computers utilize similar system resources; Colocating applications that utilize similar system resources on their own host computers A method for performing.

2. determining unused system resources not being used by resident applications running on a set of host computers in said plurality of host computers; removing the unused system resources corresponding to each respective host computer in the set of host computers to reduce the attack surface within the data processing environment; The method of claim 1 further comprising:

3. performing a bootstrap operation on said plurality of host computers within said data processing environment; deploying applications on said plurality of host computers; profiling applications running on the multiple host computers to obtain a system resource utilization footprint for each respective application, the system resource utilization footprint identifying a pattern of system resource usage by a particular application running on a host computer; identifying a plurality of distinct sets of applications having similar system resource utilization footprints based on the profiling of the applications; The method of claim 1 or 2, further comprising:

4. obtaining a list of system resources corresponding to each respective host computer in the plurality of host computers; identifying a set of in-use system resources within said list of system resources corresponding to each respective host computer that are utilized by running resident applications; determining a set of unused system resources corresponding to each respective host computer by subtracting said set of used system resources from said list of system resources corresponding to each respective host computer; The method of claim 1 further comprising:

5. determining a maximum amount of attack surface reduction for each respective host computer based on placing a particular set of applications having a similar system resource utilization footprint on a particular host computer and removing a determined set of unused system resources corresponding to the particular host computer running the particular set of applications; assigning each respective set of applications having similar system resource utilization footprints to a designated host computer having a determined maximum amount of attack surface reduction; deploying each respective set of applications having similar system resource utilization footprints to its assigned host computer within said data processing environment; The method of claim 1 further comprising:

6. The server deploying a new application on the server; profiling the new application to determine a system resource utilization footprint of the new application; obtaining system resource availability for each respective host computer in the plurality of host computers; identifying any host computers that have system resources available to run the new application based on the system resource utilization footprint of the new application; determining whether any host computer has system resources available to run the new application; The method of claim 1 further comprising:

7. in response to determining that a set of host computers in the plurality of host computers have system resources available to run the new application, assigning the new application to a host computer in the set having one or more running resident applications having a resource utilization footprint similar to that of the new application; deploying the new application on the host computer having one or more running resident applications that have a similar resource utilization footprint as the new application; The method of claim 6 further comprising:

8. in response to determining that a host computer in the plurality of host computers does not have available system resources to run the new application, selecting a host computer in the plurality of host computers having a minimum number of running resident applications; Migrating resident applications from the selected host computer to the server; resetting the selected host computer to an initial default state to form a post-reset host computer; Migrating applications that were previously migrated from the selected host computer back from the server to the post-reset host computer; and Deploying the new application to the host computer after the reset; removing system resources not utilized by resident applications running on the host computer after the reset to reduce an attack surface on the host computer after the reset; The method of claim 6 further comprising:

9. responsive to determining that a predefined time interval has expired, obtaining a list of available system resources corresponding to each host computer in a plurality of host computers included in the monitored data processing environment; acquiring a system resource utilization status of resident applications running on each of the plurality of host computers; determining whether unused system resources exist on any of the host systems based on the list of available system resources corresponding to each respective host computer and the system resource utilization of the resident applications running on each respective host computer; in response to determining that unused system resources exist on one or more host systems, removing the unused system resources that exist on the one or more host systems to reduce an attack surface of those host systems within the data processing environment; The method of claim 1 further comprising:

10. identifying and analyzing all possible application and host computer combinations on said plurality of host computers; selecting an application colocation assignment that maximizes a sum of all sets of unused resources in the plurality of host computers to maximize unused resource reduction across all host computers in the plurality of host computers; The method of claim 1 further comprising:

11. 2. The method of claim 1, wherein the collocating comprises removing the application from a first client host computer and installing the application on a second client host computer.

12. 2. The method of claim 1, wherein the system resources include a runtime environment including host computer resources and network resources, the host computer resources and network resources selected from the group consisting of libraries, kernel system calls, kernel subsystems, hypervisors, network services, Internet Protocol addresses, port numbers, sensitive network user accounts with elevated access rights, and sensitive network applications with elevated access rights.

13. The method of claim 1 , wherein the data processing environment is one of the group consisting of a cluster and a cloud environment.

14. 1. A computer system for reducing an attack surface by selectively colocating applications on a host computer, comprising: A bus system; a storage device connected to the bus system, the storage device storing program instructions; a processor connected to the bus system, Measuring system resources utilized by each application running on a plurality of host computers in a data processing environment; determining which applications running on said plurality of host computers utilize similar system resources; and Colocating applications that utilize similar system resources on their own host computers said processor executing said program instructions to perform A computer system comprising:

15. 1. A computer program product for reducing an attack surface by selectively colocating applications on a host computer, comprising: A server processor connected to multiple host computers measuring system resources utilized by each application running on a plurality of host computers in a data processing environment; determining which applications running on said plurality of host computers utilize similar system resources; Colocating applications that utilize similar system resources on their own host computers A computer program for executing the above.

16. A storage device storing a computer program according to claim 15.

Citation Information

Patent Citations

  • Program for controlling launch

    JP2009037611A

  • Device for evaluating power consumption of application, distribution server and method

    JP2012063917A

  • First server, second server, system, and control method thereof, and program

    JP2018124827A

  • Balancing resources in distributed computing environments

    US20160316003A1

  • System and method for deploying an application in a computer system

    US20160381133A1