Bugs are attracted to the infrared light emitted by security cameras, but they are also drawn to other sources of light. By installing additional lighting around the perimeter of your property, you can create a more evenly lit environment that will reduce the attraction of bugs to your security cameras.