We demonstrate that activated UHRF1 is recruited to the CCNB1 promoter during infection and induces epigenetic modifications, resulting in the formation of a heterochromatin environment and repression of the CCNB1 promoter activity. Here, CCNB1 is linked to infection.