Definition
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. Think of it like a delayed digital prank 😈, set to trigger when a certain date arrives, a specific user logs in, or some other event happens. Unlike a virus that replicates, a logic bomb lies dormant until triggered. It's like a secret ingredient added to a recipe, waiting for the right moment to ruin the dish 🍲. The intent is usually sabotage, data theft, or causing general mayhem 💥. Therefore, it's a serious threat to system security.