Atmospheric scattering of energetic electrons from near-Earth space