Help... Vin #'s dont match

The number on the rear deck are B2423383
With just those numbers can I do a theft search, considering the first five can be a multitude of configurations????

I just don't want to keep putting money into a car that I could conceivable have taken from me someday, or even worse me get into some kind of trouble for, Im married with kids and a little to old to have to deal with the law...

Is it legal to rebody a car?????