We consider a dynamic stress-strength model under external shocks. The strength of the system decreases with time and the failure occurs when the strength finally vanishes. Furthermore, there is another cause of the system failure induced by an external shock process. Each shock is characterized by the corresponding stress. If the magnitude of the stress exceeds the current strength, then the system also fails. We assume that the initial strength of the system and its decreasing drift pattern are random. We derive the survival function of the system and interpret the time-dependent dynamic changes of the random quantities which govern the reliability performance of the system.