Besides the TSA and the DHS bureaucracy (which is huge), the enforcement organizations of DHS are legacy components from Treasury and Justice.
...and to top it off, Clown Prince nobama has infused the department with moozlum executives. Great...just great.