Stochastic description of internal target effects on electron rings