he had some dna from kisame in the shark which was summoned to deliver the scroll
k maybe that shark wasn't the one which attacked him but kabuto got some dna from madara other ninja who were dead for a long time
k maybe that shark wasn't the one which attacked him but kabuto got some dna from madara other ninja who were dead for a long time