Pakistani officials say security forces backed by helicopter gunships attacked a militant training camp near the Afghan border Tuesday , killing at least three rebels .