This technique is similar to the Hammer - Attack but only the right hand fingers are involved in producing the sound.
Attack the fretboard with the right hand Index finger, using enough force to sound the note(s).
Use your second, third and fourth finger to repeat the previous exercise.
Play this exercise on the G, D and A strings in different positions.