Are you just shaking it or tapping it? If just shaking it, does the sound appear to be coming from the lock button area? My wifes iPhone on Att had a bad rattle near the lock button just by shaking it. We took it to Apple and they gave us a new one. No problems since