From the joint intelligence report at page 2:

We assess the influence campaign aspired to help President-elect Trump’s chances of victory when possible by discrediting Secretary Clinton and publicly contrasting her unfavorably to the President-elect. When it appeared to Moscow that Secretary Clinton was likely to win the presidency the Russian influence campaign focused more on undercutting Secretary Clinton’s legitimacy and crippling her presidency from its start, including by impugning the fairness of the election.

 Before the election, Russian diplomats had publicly denounced the US electoral process and were prepared to publicly call into question the validity of the results. ProKremlin bloggers had prepared a Twitter campaign, #DemocracyRIP, on election night in anticipation of Secretary Clinton’s victory, judging from their social media activity.