Authorities in Pakistan say unidentified gunmen killed seven people near the Afghan border Thursday .