Potter’s second-in-command testified under Veritaserum that they were the culprits. His memories were analysed. At the request of the defence. Draco knew this to be pointless, certain that Zabini’s Imperius Curse and false memories would outweigh the potion, but had chosen to say nothing. Or rather, he couldn’t have said anything about Zabini even if he had wanted to.