If it is none of the above, it may well be that the guitar has a bad earth.
This is easy to fix. Make sure the bridge is earthed and that all the other electrical connections under the scratch plate are OK.
If the guitar has single coils, which are notorious for picking up noise, there are several things you can do to reduce noise like coating the scratch plate with coper foil etc.
Let up know how you get on.
My instructors page and www.studiotrax.net for all things recording.
my toons Brought to you by Dr BadGAS
my toons Brought to you by Dr BadGAS