Laser-accelerated electron bunches and the secondary radiation sources they produce exhibit a unique temporal resolution for probing ultrafast physical processes owing to their ultrashort pulse duration. The inherently short temporal profile of these pulses leads to extremely high peak bunch currents, thereby enabling a wide range of practical applications. In this study, we propose and numerically investigate a method for generating such bunches by utilizing high-order harmonics through laser-plasma interaction as the driving pulse, which subsequently interacts with a thin target to produce an attosecond electron bunch. Two-dimensional particle-in-cell simulation results demonstrate that, using a driving laser with an intensity of W cm–2 (corresponding to ), it is possible to successfully generate an attosecond electron bunch exhibiting the following characteristics: a duration of approximately , an estimated charge on the order of a few , a geometric emittance of , and a divergence angle of (). Moreover, by systematically analyzing the effects of laser intensity and target positioning, we identified an optimized set of simulation parameters. Under these optimal conditions, the attosecond electron bunch maintained a duration of approximately 130 as over seven laser periods. This study establishes a solid foundation for generating ultrashort electron bunches using a simple configuration and opens new prospects for their application in advanced high-energy physics and attosecond science experiments.