 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. ==supposed logic bombing of the trans-siberian pipeline== it has been reported that in 1982 the trans-siberian pipeline incident occurred because of a logic bomb (it has later been reported that this story may be a hoaxmackeown, patrick (10 august 2006). "bookscape: short story - famous computer hoaxes". bookscape. archived on 13 november 2010.). a kgb operative was reported to have stolen the plans for a sophisticated control system and its software from a canadian firm, for use on their siberian pipeline. the cia was supposedly tipped off by documents in the farewell dossier and had the company insert a logic bomb in the program for sabotage purposes. ==attempted logic bombs== *in february 2000, tony xiaotong, indicted before a grand jury, was accused of planting a logic bomb during his employment as a programmer and securities trader at deutsche morgan grenfell. the bomb, planted in 1996, had a trigger date of 20 july 2000, but was discovered by other programmers in the company. removing and cleaning up after the bomb allegedly took several months. *on 2 october 2003 yung-hsun lin, also known as andy lin, changed code on a server at medco health solutions inc. [[fair law
Types_of_malware