Logic bomb
A logic bomb is a piece of code intentionally inserted into a software system that will set off a malicious function when specified conditions are met.[src] For example, a programmer may hide a piece of code that starts deleting files (such as a salary database trigger), should they ever be terminated from the company.[src] Software that is inherently malicious, such as viruses and worms, often contain logic bombs that execute a certain payload at a pre-defined time or when some other condition is met.[src] This technique can be used by a virus or worm to gain momentum and spread before being noticed.[src] Some viruses attack their host systems on specific dates, such as Friday the 13th or April Fools' Day.[src] Trojans and other computer viruses that activate on certain dates are often called "time bombs".[src] To be considered a logic bomb, the payload should be unwanted and undisclosed to the user of the software.[src] As an example, trial programs with code that disables certain functionality after a set time are not normally regarded as logic bombs.[src]
A logic bomb is a piece of code intentionally inserted into a software system that will set off a malicious function when specified conditions are met.[src] For example, a programmer may hide a piece of code that starts deleting files (such as a salary database trigger), should they ever be terminated from the company.[src] Software that is inherently malicious, such as viruses and worms, often contain logic bombs that execute a certain payload at a pre-defined time or when some other condition is met.[src] This technique can be used by a virus or worm to gain momentum and spread before being noticed.[src] Some viruses attack their host systems on specific dates, such as Friday the 13th or April Fools' Day.[src] Trojans and other computer viruses that activate on certain dates are often called "time bombs".[src] To be considered a logic bomb, the payload should be unwanted and undisclosed to the user of the software.[src] As an example, trial programs with code that disables certain functionality after a set time are not normally regarded as logic bombs.[src] ==See also== Time bomb (software) Backdoor (computing) Easter egg (media) Cyberwarfare Stuxnet Fork bomb ==References==[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Logic bomb." encyclopegia.org, 2026, https://encyclopegia.org/wiki/logic-bomb. Accessed 06 December 2026.
Chicago
"Logic bomb." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/logic-bomb.
APA
encyclopegia.org. (2026). Logic bomb. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/logic-bomb
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON