It typically refers to a strategy that is used to cross-examine a witness on unrelated issues to what he's actually testifying about.
It could be about his fees.
It could be about prior court testimony.
It could be about his credibility.
Anything that will ruin or destroy this witness' credibility is usable as a collateral attack.