There's no character called "Silver Sora" in KH2—you're most likely thinking of the drive form known as Final Form, where Sora's outfit turns entirely silver.
Final Form is the last drive form Sora can obtain, and you level it up only by defeating Nobodies. Its signature ability is Glide, which lets you soar forward through the air. To unlock it, you need to meet all of these conditions:
An easy way to grind it out: head to The World That Never Was, and just after defeating Xigbar, Donald and Goofy will be standing in the area. Move forward to Naught's Skyway—but don't go to the next area. Transform into any form amid a group of enemies; if you don't hit Final Form, backtrack to where Donald and Goofy are while in a drive form and your gauge will refill. Repeat until you get it.
If you've already progressed past that point, go to where the final door to Kingdom Hearts lies (the Xemnas fight). Your friends will be gathered around—step back outside, use a drive form on a group of enemies, and if Final Form doesn't trigger, return to your friends to refill your gauge and try again. Just be sure to enter the door while in a drive form.