Watch the Chord with Riff online guitar lesson by Rich Maloof from Guitar 201: Breakthroughs
Time for a slammer. The trickiest, ickiest thing in here is probably the quick switching between single-note line and power chords. Again, work on it slowly and then roll the backing track when you’re up to tempo. Some overdrive and a bridge pickup setting will put you in the right ballpark in terms of tone.
When you’re trying to figure out a riff like this from a recording, it helps to listen closely to see if you can figure out string choices, which will tell you what position (where on the neck) the guitarist is playing. For example, you can hear a little deadness on the low A note, suggesting it’s fretted on the 6th string rather than played open on the 5th string.