I think koboto is tellin madara secrets so that madara can possess him. once madaara does that... kabuto will invade madara mind and body and become invincible somehow. Koboto will be known as the ninja that took over madaras body. somehow merge together. Madara is too smart so he planted spores on koboto.