1. A method for generating bait information for trap-based defenses, comprising: recording, using a hardware processor, data sent over a network; generating, using the hardware processor, bait information by replacing a portion of the recorded data with altered data such that the bait information is identifiable based on the presence of the altered data; associating, using the hardware processor, the bait information with the altered data as identifying information of the bait information; causing, using the hardware processor, the bait information to be sent over the network; receiving at least a portion of the altered data over the network; identifying the bait information based on the received altered data; and identifying a sender of the altered data as a potential attacker.