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. 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.
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. This technique can be used by a virus or worm to gain momentum and spread before being noticed. Some viruses attack their host systems on specific dates, such as Friday the 13th or April Fool's Day. Trojans that activate on certain dates are often called "time bombs".
To be considered a logic bomb, the payload should be unwanted and unknown to the user of the software. As an example, trial programs with code that disables certain functionality after a set time are not normally regarded as logic bombs.
Read more about Logic Bomb: Supposed Logic Bombing of The Trans-Siberian Pipeline, Attempted Logic Bombs, Fictional Logic Bombs
Famous quotes containing the words logic and/or bomb:
“What avail all your scholarly accomplishments and learning, compared with wisdom and manhood? To omit his other behavior, see what a work this comparatively unread and unlettered man wrote within six weeks. Where is our professor of belles-lettres, or of logic and rhetoric, who can write so well?”
—Henry David Thoreau (18171862)
“... There, there,
What you complain of, all the nations share.
Their effort is a mounting ecstasy
That when it gets too exquisite to bear
Will find relief in one burst. You shall see.
Thats what a certain bomb was sent to be.”
—Robert Frost (18741963)