Khan admitted in 2004 that he operated a worldwide clandestine network to sell nuclear technology in the black market .