In this paper, we investigate the secure performance of multi-antenna decode-and-forward (DF) relaying networks where the Nakagami-m fading channel is taken into account. In practice, the joint impact of residual transceiver hardware impairments (HIs) and channel estimation errors (CEEs) on the outage probability and intercept probability is taken into account. Considering HIs and CEEs, an optimal transmit antenna selection (OTAS) scheme is proposed to enhance the secure performance and then a collaborative eavesdropping scheme is proposed. Additionally, we present main channel capacity and intercept capacity of the multi-antenna DF relaying networks. More specifically, we derive exact closed-form expressions for the outage and intercept probabilities. To obtain useful insights into implications of parameters on the secure performance, the asymptotic behaviors for the outage probability are examined in the high signal-to-noise ratio (SNR) regime and the diversity orders are obtained and discussed. Simulation results confirm the analytical derivations and demonstrate that: 1) As the power distribution coefficient increases, OP decreases, while IP increases; 2) There exist error floors for the outage probability at high SNRs, which is determined by CEEs; 3) The secure performance can be improved by increasing the number of source antennas and artificial noise quantization coefficient, while as the number of eavesdropping increases, the security performance of the system is reduced; 4) There is a trade-off between the outage probability and intercept probability. secrecy outage probability (SOP) and strictly positive secrecy capacity (SPSC). Regarding the non-homogeneous fading environments, the authors in [11] explored the secrecy performance of Wyner's model over α − µ fading channels. With the help of moment matching method, the authors in [12] derived approximate expressions for the SOP and SPSC over κ − µ shadowed fading channels. On a parallel avenue, cooperative relaying is another promising technique to further improve the spectral efficiency and enhance the coverage of wireless networks [13-15], and thus it attracts plenty of researchers to investigate the security issues of cooperative networks [16-23]. In [16], the authors analyzed the secrecy performance of amplify-and-forward (AF) relay systems over generalized-K fading channels, where three metrics for the SOP, average secrecy capacity (ASC) and SPSC were analyzed. To improve the PLS against eavesdropping attacks, the optimal relay selection (ORS) scheme was proposed for AF and decode-and-forward (DF) relay networks and the intercept probability (IP) for the proposed scheme was derived in closed-form [17]. From the perspective of energy harvesting, the authors in [18] proposed a cooperative transmission scheme for the AF and DF relay networks under the condition of an eavesdropper, where the relays can harvest energy from radio-frequency (RF) signals of a source through power-splitting protocol. In the existing research results, the researchers discuss...