As a thought, could a proto-version of Section 31 have come about because of the Xindi attack on Earth. It would seem to me that Earth would need a dirty tricks squad to gather as much knowledge as possible on the Xindi and other hostile races out there. Just a thought.