Low-earth orbit (LEO) satellite communication plays an important role in assisting/complementing terrestrial communications by providing worldwide coverage, especially in harsh environments such as high seas, mountains, and deserts which are uncovered by terrestrial networks. Traditionally, the passive reflect-array with fixed phase shifts has been applied in satellite communications to compensate for the high path loss due to long propagation distance with low-cost directional beamforming; however, it is unable to flexibly adapt the beamforming direction to dynamic channel conditions. In view of this, we consider in this paper a new intelligent reflecting surface (IRS)-aided LEO satellite communication system, by utilizing the controllable phase shifts of massive passive reflecting elements to achieve flexible beamforming, which copes with the time-varying channel between the high-mobility satellite (SAT) and ground node (GN) cost-effectively. In particular, we propose a new architecture for IRSaided LEO satellite communication where IRSs are deployed at both sides of the SAT and GN, and study their cooperative passive beamforming (CPB) design over line-of-sight (LoS)-dominant singlereflection and double-reflection channels. Specifically, we jointly optimize the active transmit/receive beamforming at the SAT/GN as well as the CPB at two-sided IRSs to maximize the overall channel gain from the SAT to each GN. Interestingly, we show that under LoS channel conditions, the highdimensional SAT-GN channel can be decomposed into the outer product of two low-dimensional vectors.By exploiting the decomposed SAT-GN channel, we decouple the original beamforming optimization problem into two simpler subproblems corresponding to the SAT and GN sides, respectively, which are both solved in closed-form. Furthermore, we propose an efficient transmission protocol to conduct channel estimation and beam tracking, which only requires independent processing of the SAT and GN