The present invention relates generally to the field of honeypots, and more particularly to building a dynamic maze honeypot system in response to a series of requests sent by a hacker.
A honeypot is a computer security mechanism set to detect, deflect, or, in some manner, counteract attempts at unauthorized use of information systems. Generally, a honeypot consists of data (e.g., in a network site) that appears to be a legitimate part of the site, but is actually isolated and monitored, and that seems to contain information or a resource of value to attackers, who are then blocked.
Honeypots can be classified based on their deployment (use/action) and based on their level of involvement. Based on deployment, honeypots may be classified as production honeypots or research honeypots.
Production honeypots are easy to use, capture only limited information, and are used primarily by corporations. Production honeypots are placed inside the production network with other production servers by an organization to improve their overall state of security. Normally, production honeypots are low-interaction honeypots, which are easier to deploy. They give less information about the attacks or attackers than research honeypots.
Research honeypots are run to gather information about the motives and tactics of the attacker community targeting different networks. These honeypots do not add direct value to a specific organization; instead, they are used to research the threats that organizations face and to learn how to better protect against those threats. Research honeypots are complex to deploy and maintain, capture extensive information, and are used primarily by research, military, or government organizations.
Based on design criteria, honeypots can be classified as pure honeypots, high-interaction honeypots, or low-interaction honeypots.
Pure honeypots are full-fledged production systems. The activities of the attacker are monitored by using a bug tap that has been installed on the honeypot's link to the network. No other software needs to be installed. Even though a pure honeypot is useful, stealthiness of the defense mechanisms can be ensured by a more controlled mechanism.
High-interaction honeypots imitate the activities of the production systems that host a variety of services and, therefore, an attacker may be allowed a lot of services to waste their time. By employing virtual machines, multiple honeypots can be hosted on a single physical machine. Therefore, even if the honeypot is compromised, it can be restored more quickly. In general, high-interaction honeypots provide more security by being difficult to detect, but they are expensive to maintain. If virtual machines are not available, one physical computer must be maintained for each honeypot, which can be exorbitantly expensive.
Low-interaction honeypots simulate only the services frequently requested by attackers. Since they consume relatively few resources, multiple virtual machines can easily be hosted on one physical system, the virtual systems have a short response time, and less code is required, reducing the complexity of the virtual system's security.
A ‘honeynet’ is a network of high interaction honeypots that simulates a production network and is configured such that all activity is monitored, recorded and in a degree, discreetly regulated. Typically, a honeynet is used for monitoring a larger and/or more diverse network in which one honeypot may not be sufficient. Honeynets and honeypots are usually implemented as parts of larger network intrusion detection systems.
According to one embodiment of the present invention, a method, computer program product, and computer system for building a dynamic maze honeypot system in response to a series of requests sent by a hacker is provided. A processor receives an intercepted request sent by a hacker. A processor analyzes the intercepted request to determine, in part, a type of service and a type of hacker. A processor builds a first layer of a honeypot maze based on the analysis of the intercepted request. A processor simulates the first layer of the honeypot maze to the hacker. A processor iteratively builds additional layers of the honeypot maze based on additional intercepted requests from the hacker.
Embodiments of the present invention recognize the need to prevent a malicious user (i.e., hacker) from entering an information computing system, e.g., a preproduction/production environment in which the hacker would be able to move around the environment and get to the production machines. The use of a honeypot or fixed honeynet that is prepared before the hacker enters the environment to force the hacker to waste as much time as possible exploring a personalized fake environment is recognized by embodiments of the present invention.
Embodiments of the present invention analyze the behavior and techniques used by the hacker and dynamically and iteratively build, on the fly, a honeypot based on the analyzed behaviors and techniques of the hacker. For example, if the hacker is running a port scanning on specific ports, i.e., windows service ports, embodiments of the present invention build a personalized honeypot of windows subnets. In another example, if the hacker is looking for virtualizers and specific storages, embodiments of the present invention build a personalized honeypot of specific ports and protocols opened.
Embodiments of the present invention dynamically and iteratively build the honeypot maze using microservices, which allow for quick provisioning and are cost efficient. Embodiments of the present invention dynamically and iteratively build the honeypot maze by leveraging a Software-Defined Networking (SDN) approach that can quickly create a fake network segment with their related network host and devices, i.e., can dynamically define which hosts and connections are on the fake network segment for hacker to explore.
The present invention will now be described in detail with reference to the Figures.
Distributed data processing environment 100 includes information system 110 and computing device 120 interconnected over network 105. Network 105 can be, for example, a local area network (LAN), a wide area network (WAN) such as the Internet, or a combination of the two, and can include wired, wireless, or fiber optic connections. Network 105 can include one or more wired and/or wireless networks that are capable of receiving and transmitting data, voice, and/or video signals, including multimedia signals that include voice, data, and video information. In general, network 105 can be any combination of connections and protocols that will support communications between information system 110 and computing device 120. Distributed data processing environment 100 may include additional servers, computers, or other devices not shown.
Information system 110 operates as an information system that a hacker is trying to get information from, e.g., production information from a production information system. In the depicted embodiment, information system 110 contains honeypot maze program 112 and database 114. In some embodiments, information system 110 can be a standalone computing device, a management server, a web server, a mobile computing device, or any other electronic device or computing system capable of receiving, sending, and processing data. In some embodiments, information system 110 may be a laptop computer, tablet computer, netbook computer, personal computer (PC), a desktop computer, a smart phone, or any programmable electronic device capable of communicating with computing devices (not shown) via network 105. In other embodiments, information system 110 represents a server computing system utilizing multiple computers as a server system, such as a cloud computing environment. In yet other embodiments, information system 110 represents a computing system utilizing clustered computers and components (e.g., database server computers, application server computers, etc.) that act as a single pool of seamless resources when accessed within distributed data processing environment 100. Information system 110 may include components as described in further detail in
Honeypot maze program 112 operates to service a series of requests sent by a hacker by building a dynamic maze honeypot around an information system based on characteristics of the request and the hacker. In an embodiment, honeypot maze program 112 receives, from a rule-based intrusion detection system, an intercepted request sent by a hacker, analyzes the intercepted request to determine, in part, a type of service and a type of hacker, builds a first layer of a honeypot maze based on the analysis of the intercepted request, simulates the first layer of the honeypot maze to the hacker, and iteratively builds additional layers of the honeypot maze based on additional intercepted requests from the hacker. In the depicted embodiment, honeypot maze program 112 resides on information system 110 with user interface 122 being the local app interface of honeypot maze program 112 on computing device 120. In other embodiments, honeypot maze program 112 may reside on another device (not shown) provided that honeypot maze program 112 has access to network 105. Honeypot maze program 112 is described in more detail below with reference to
Database 114 operates as a repository for data received, used, and/or output by honeypot maze program 112. Data received, used, and/or generated may include, but is not limited to, requests intercepted from a rule-based intrusion detection system, metadata of the requests, etc. In an embodiment, database 114 is accessed by information system 110 and/or honeypot maze program 112 to store and/or to access the data. Database 114 can be implemented with any type of storage device capable of storing data and configuration files that can be accessed and utilized by information system 110, such as a hard disk drive, a database server, or a flash memory. In the depicted embodiment, database 114 resides on information system 110. In another embodiment, database 114 may reside on another computing device, server, cloud server, or spread across multiple devices elsewhere (not shown) within distributed data processing environment 100, provided that database 114 has access to network 105.
In an embodiment, database 114 includes a vulnerability database of known security vulnerabilities, in which the known vulnerabilities come from crowdsourcing, as known to a person of skill in the art. In another embodiment, database 114 includes access to a vulnerability database as known to a person of skill in the art. In an embodiment, the vulnerability database provides metadata about known security vulnerabilities including, but not limited to, date of discovery, affected products, severity, difficulty, involved communication ports, typical paths, executable/library names, and specific strings.
Computing device 120 operates as a computing device associated with a user determined to be a hacker that is trying to get information from information system 110. In an embodiment, computing device 120 is associated with one or more users. In some embodiments, computing device 120 can be a standalone computing device, a management server, a web server, a mobile computing device, or any other electronic device or computing system capable of receiving, sending, and processing data. In some embodiments, computing device 120 may be a laptop computer, tablet computer, netbook computer, personal computer (PC), a desktop computer, a smart phone, or any programmable electronic device capable of communicating with information system 110 and/or production environment 130 via network 105. Computing device 120 may include components as described in further detail in
User interface 122 operates as a local user interface on computing device 120 through which one or more users of computing device 120 interact with computing device 120. In an embodiment, user interface 122 operates as a local app interface of honeypot maze program 112 on computing device 120. In some embodiments, user interface 122 is a graphical user interface (GUI), a web user interface (WUI), and/or a voice user interface (VUI) that can display (i.e., visually), present (i.e., audibly), and/or enable a user to enter or receive information (i.e., graphics, text, and/or sound) for or from honeypot maze program 112 via network 105. In an embodiment, user interface 122 enables a user to send and receive data (i.e., to and from honeypot maze program 112 via network 105, respectively).
In step 210, honeypot maze program 112 receives an intercepted request sent by a hacker. In an embodiment, honeypot maze program 112 receives the intercepted request from a rule-based intrusion detection system (IDS), as known to a person of skill in the art, that is within distributed data processing environment 100 and used by information system 110 as a part of its security system. In an embodiment, honeypot maze program 112 receives an intercepted request when the IDS detects uncommon behavior or access to unpublished resources, e.g., a port, ip, url, or service. In an embodiment, honeypot maze program 112 receives an intercepted request sent by a hacker and addressed to an information system. For example, honeypot maze program 112 receives an intercepted request sent by a hacker of computing device 120 through user interface 122 and addressed to production information system 110.
In step 220, honeypot maze program 112 analyzes the intercepted request. In an embodiment, honeypot maze program 112 analyzes the intercepted request to determine a service type of a service the hacker is most likely try to hack to get information from information system 110. A service type includes, but is not limited to, an application service type, a database service type, a file sharing service type, and an email service type. In an embodiment, honeypot maze program 112 analyzes an address included in the intercepted request by monitoring packets at the network traffic level, i.e., checking which addresses and ports are requested and which protocol is used by the hacker, in which the address includes at least one of a transport layer protocol port number, a uniform resource locator (URL), or a path included in a URL.
In an embodiment, honeypot maze program 112 analyzes the intercepted request to determine a type of hacker the hacker is. In an embodiment, honeypot maze program 112 analyzes credential information included in the intercepted request to determine a type of hacker. Types of hacker include a human hacker or a bot hacker. In an embodiment, honeypot maze program 112 characterizes the hacker as a human hacker or a bot hacker based on typical activity of a human hacker versus a bot hacker. For example, trying default passwords is typical of a bot hacker, while using stolen credentials is typical of a human hacker. In another example, wide port-scanning is typical of a bot hacker, while direct lookup of services is typical of a human hacker.
In an embodiment, if honeypot maze program 112 correlates behavior of the hacker with specific security vulnerabilities from a vulnerability database, honeypot maze program 112 can determine an expertise level of the hacker (i.e., searching for vulnerabilities that are defined as “difficult to exploit”) and a currentness or up-to-dateness of knowledge of the hacker (i.e., searching for vulnerabilities that have recently been made public).
In an embodiment, honeypot maze program 112 utilizes metadata stored in vulnerability database, e.g., database 114, to create relationships between security vulnerabilities and group the security vulnerabilities into high level groups, e.g., web servers are grouped with standard operating system, “web”, “demon”; scripting frameworks are grouped with “web”, “webapp”, specific scripting language. In an embodiment, for each observed element (i.e., port scanned, path entered, URL visited, etc.), honeypot maze program 112 raises a score for a related group. In an embodiment, honeypot maze program 112 determines a target of the hacker based on high scored groups.
In step 230, honeypot maze program 112 builds a layer of a honeypot maze and activates a service within a honeypot maze based on the analyzed intercepted request. In an embodiment, in a first iteration with a hacker, honeypot maze program 112 builds a first layer of a honeypot maze based on the analyzed intercepted request, in which the first layer of the honeypot maze includes available services corresponding to the service type and/or type of hacker determined from analyzing the request. In an embodiment, honeypot maze program 112 activates a first service by selecting a microservice image from a set of microservice images based on the analyzed intercepted request and instantiating the microservice image.
In step 240, honeypot maze program 112 simulates the first layer of the honeypot maze through a user interface of the computing device of the hacker, in which the first layer of the honeypot maze provisions a first microservice or shows available services corresponding to the analyzed intercepted request.
In step 250, honeypot maze program 112 iteratively builds additional layers of the honeypot maze based on additional intercepted requests sent by the hacker. In an embodiment, honeypot maze program 112 iteratively builds additional layers of the honeypot maze by provisioning new microservices and leveraging an SDN approach for quick provisioning. In an embodiment, honeypot maze program 112 continuously (and on-demand) expands and changes (in terms of VLANs, hosts, services, and/or ports) the honeypot maze by leveraging SDN for quick provisioning in response to additional requests intercepted from the hacker. In an embodiment, honeypot maze program 112 iteratively determines additional layers to build and services to provision based on analyzing additional intercepted requests and activating additional services within the honeypot maze.
Computing device 400 includes communications fabric 402, which provides communications between cache 416, memory 406, persistent storage 408, communications unit 410, and input/output (I/O) interface(s) 412. Communications fabric 402 can be implemented with any architecture designed for passing data and/or control information between processors (such as microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components within a system. For example, communications fabric 402 can be implemented with one or more buses or a crossbar switch.
Memory 406 and persistent storage 408 are computer readable storage media. In this embodiment, memory 406 includes random access memory (RAM). In general, memory 406 can include any suitable volatile or non-volatile computer readable storage media. Cache 416 is a fast memory that enhances the performance of computer processor(s) 404 by holding recently accessed data, and data near accessed data, from memory 406.
Honeypot maze program 112 may be stored in persistent storage 408 and in memory 406 for execution by one or more of the respective computer processors 404 via cache 416. In an embodiment, persistent storage 408 includes a magnetic hard disk drive. Alternatively, or in addition to a magnetic hard disk drive, persistent storage 408 can include a solid state hard drive, a semiconductor storage device, read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, or any other computer readable storage media that is capable of storing program instructions or digital information.
The media used by persistent storage 408 may also be removable. For example, a removable hard drive may be used for persistent storage 408. Other examples include optical and magnetic disks, thumb drives, and smart cards that are inserted into a drive for transfer onto another computer readable storage medium that is also part of persistent storage 408.
Communications unit 410, in these examples, provides for communications with other data processing systems or devices. In these examples, communications unit 410 includes one or more network interface cards. Communications unit 410 may provide communications through the use of either or both physical and wireless communications links. Honeypot maze program 112 may be downloaded to persistent storage 408 through communications unit 410.
I/O interface(s) 412 allows for input and output of data with other devices that may be connected to computing device 400. For example, I/O interface 412 may provide a connection to external devices 418 such as a keyboard, keypad, a touch screen, and/or some other suitable input device. External devices 418 can also include portable computer readable storage media such as, for example, thumb drives, portable optical or magnetic disks, and memory cards. Software and data used to practice embodiments of the present invention, e.g., honeypot maze program 112, can be stored on such portable computer readable storage media and can be loaded onto persistent storage 408 via I/O interface(s) 412. I/O interface(s) 412 also connect to a display 420.
Display 420 provides a mechanism to display data to a user and may be, for example, a computer monitor.
The programs described herein are identified based upon the application for which they are implemented in a specific embodiment of the invention. However, it should be appreciated that any particular program nomenclature herein is used merely for convenience, and thus the invention should not be limited to use solely in any specific application identified and/or implied by such nomenclature.
The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is 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 the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language 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 execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the 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 (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
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.
These computer readable program instructions may be provided to a processor of a computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart 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 flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be accomplished as one step, executed concurrently, substantially concurrently, in a partially or wholly temporally overlapping manner, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The terminology used herein was chosen to best explain the principles of the embodiment, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.