Pistol mastery requires 50 Ghost kills. This is pretty easy for 5 of the 6 pistols. Just put a suppressor on and shoot an isolated enemy, ideally with a headshot. You can even save, shoot, reload the save, and shoot again, grinding out all 50 kills on one enemy.
The Webley revolver can’t be suppressed, so the best way to do this is with sound masked kills. You may want to camp out near an enemy and a generator, give it a kick, make a save, shoot while you’re sound masked, and reload as necessary. It’s hard to get unsuppressed pistol ghost kills during organic play.