#2
It would only be illegal if it was the exact same riff, and you wanted to make monetary profit from it. Other then that, no.. of course not. Plus, most of AC/DC's riff are just basic blues rhythms created a long time before they came. They just popularized them. Remember.. If you've written something on guitar, don't think it hasn't been done before..because it has.