Abstract: As Ad Hoc networks own characteristics, the existing fixed network security strategy can not be effectively implemented. Direct Anonymous Attestation theory will be imported into Ad Hoc networks based on researching the Ad Hoc network. To optimize authentication link of the Ad Hoc networks, we make use of trusted computing platform module in hardware level and Direct Anonymous Attestation theory. The application effectively solves the Ad Hoc nodes security issues, thus raising the Ad Hoc network against attacks.