This classic riff is based around just three guitar chords, played as arpeggios: A5, G and F5.
The chord names are more complicated than this -thanks to extra open string notes- but keep the three basic shapes in mind and the riff will be easier to remember.