This paper studies the dynamic event-triggered model-free adaptive control (DET-MFAC) problem for nonlinear cyber-physical systems (CPSs) subject to aperiodic denial-of-service (DoS) attacks. With the aid of the dynamic linearization technique, the nonlinear CPSs are converted into an equivalent linear data model. Then, a novel DET-MFAC framework under aperiodic DoS attacks is established, in which the DET mechanism is applied to save network resources. Based on the established DET-MFAC framework, a novel DET-MFAC scheme is proposed to track the reference trajectory under aperiodic DoS attacks. The main advantage of the designed control scheme is that only the input and output data of the system are used and the structure of the system is unknown for the designer, which makes the result with good robustness. Finally, two simulations are shown to testify the effectiveness of the designed DET-MFAC scheme.