Generation of attosecond X-ray pulses via Thomson scattering of counter-propagating laser pulses