Election databases have emerged as attractive targets for hackers as they have already infiltrated systems in Illinois and Arizona.