basically you get stock assets that have those glitches (often with solid grey or green background) and overlay them your video.
One example where I've done this is from a vlog
https://youtu.be/CqwaXFQh4x0
The beginning and end static noise is playing alone, through the train part there is a different glitch asset with 'simple source chroma key' preset used to remove the green background.