An exploit is a method or piece of code that takes advantage of vulnerabilities in software, applications, networks, operating systems, or hardware, typically for malicious purposes. The term "exploit" derives from the English verb "to exploit," meaning "to use something to one’s own advantage." Exploits are designed to identify flaws, bypass security measures, gain unauthorized access to systems, take control of systems, install malware, or steal sensitive data. While an exploit by itself may not be a malware, it serves as a vehicle for delivering malicious software by breaching security controls. Estimates of the economic cost of cyberattacks that rely on exploits vary widely depending on methodology and scope; a 2020 article estimated the global cost of cybercrime at more than US$1 trillion annually. In response to this threat, organizations are increasingly utilizing cyber threat intelligence to identify vulnerabilities and prevent hacks before they occur.
Description Exploits target vulnerabilities, which are essentially flaws or weaknesses in a system's defenses. Common targets for exploits include operating systems, web browsers, and various applications, where vulnerabilities can compromise the integrity and security of computer systems. Exploits can cause unintended or unanticipated behavior in systems, potentially leading to severe security breaches. Many exploits are designed to provide superuser-level access to a computer system. Attackers may use multiple exploits in succession to first gain low-level access and then escalate privileges repeatedly until they reach the highest administrative level, often referred to as "root." This technique of chaining several exploits together to achieve a single goal is known as an exploit chain. The impact of an exploit chain is often higher than individual exploits. Exploits that remain unknown to everyone except the individuals who discovered and developed them are referred to as zero-day or "0day" exploits. After an exploit is disclosed to the authors of the affected software, the associated vulnerability is often fixed through a patch, rendering the exploit unusable on the patched versions. This is why some black hat hackers, as well as military or intelligence agency hackers, do not publish their exploits but keep them private. A popular example of an exploit by an Israeli cyber-espionage and malware firm NSO Group is FORCEDENTRY, which was used to deploy their spyware Pegasus. One scheme that offers zero-day exploits is known as exploit as a service.
Classification There are several methods of classifying exploits. Examples are by the component targeted, or by vulnerability type. The most common is by how the exploit communicates to the vulnerable software. Another classification is by the action against the vulnerable system, such as: unauthorized data access; arbitrary code execution; and denial of service.
By access to the target system These include:
Remote exploits – Works over a network and exploits the security vulnerability without any prior access to the vulnerable system. Local exploits – Requires prior access or physical access to the vulnerable system, and usually increases the privileges of the person running the exploit past those granted by the system administrator.
By targeted component For example:
Server-side exploits – Target vulnerabilities in server applications, such as web servers or database servers, often by sending maliciously crafted requests to exploit security flaws. Client-side exploits – Target vulnerabilities in client applications, such as web browsers (browser exploits) or media players. These exploits often require user interaction, like visiting a malicious website or opening a compromised file. Exploits against client applications may also require some interaction with the user and thus may be used in combination with the social engineering method.
By type of vulnerability The classification of exploits based on the type of vulnerability they exploit and the result of running the exploit (e.g., elevation of privilege (EoP), denial of service (DoS), spoofing) is a common practice in cybersecurity. This approach helps in systematically identifying and addressing security threats. For instance, the STRIDE threat model categorizes threats into six types, including Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege. Similarly, the National Vulnerability Database (NVD) categorizes vulnerabilities by types such as Authentication Bypass by Spoofing and Authorization Bypass. Vulnerabilities exploited include:
Code execution exploits – Allow attackers to execute arbitrary code on the target system, potentially leading to full system compromise. Denial-of-service (DoS) exploits – Aim to disrupt the normal functioning of a system or service, making it unavailable to legitimate users. Privilege escalation exploits – Enable attackers to gain higher privileges on a system than initially granted, potentially leading to unauthorized actions. Information disclosure exploits – Lead to unauthorized access to sensitive information due to vulnerabilities in the system.
Techniques Attackers employ various techniques to exploit vulnerabilities and achieve their objectives. Some common methods include:
Buffer overflow – Attackers send more data to a buffer than it can handle, causing it to overflow and overwrite adjacent memory, potentially allowing arbitrary code execution. SQL injection – Malicious SQL code is inserted into input fields of web applications, enabling attackers to access or manipulate databases. Cross-site scripting (XSS) – Attackers inject malicious scripts into web pages viewed by other users, potentially leading to session hijacking or data theft. Cross-site request forgery (CSRF) – Attackers trick users into performing actions they did not intend, such as changing account settings, by exploiting the user's authenticated session.
… excerpt ends here. Continue reading the full article.