The two points of interests with this riff are: back-to-back G note played on both D and open G string, and F#-G tension in the last two chords. The latter in particular gives this riff an edgy tension — this is not a happy song. I tried this on electric, though, and all that open string didn’t sound good with overdriven tone — so this is probably meant for acoustic or clean electric guitar.