Monte Carlo simulation of keV-electron transport in solid media