What is an exploit?
An exploit refers to code that takes advantage of a known software vulnerability to gain unauthorized access to a system.
How does an exploit work?
An exploit could take advantage of a bug, a backdoor, or some other security gap in order to take advantage of an unintended system behavior. Exploits typically exist in a system’s design and were not created by a virus or malware.
Exploits are often kept secret by hackers who discover them. If an exploit is published, the entity responsible for maintaining the system or program is usually swift to patch it.