I need to solo over this riff but my knowledge of scales is limited and the major scale just doesn't cut it anymore.

Can somebody take a look at it and recommend a good scale for this?
Solo riff.gp5
Wrong thread man take it to musician talk. Otherwise, I think D phrygian or D minor would work over this.