A DDoS attack has no set time limit. How long this cyber assault lasts depends on its scale. Attacks can range from several minutes to days.