Russia, demonised as the biggest cyber villain in the world in the wake of the US election campaign, must now take special care of its own information security.
Its adversaries do not just possess powerful cyber spying and offensive capabilities - they suspect Russian involvement in every incident, and that makes Russia vulnerable to all kinds of retaliation.
After it was accused of trying to influence the US presidential race, Russia faces the same charges in Germany. Given Chancellor Angela Merkel's support of anti-Russian sanctions and her deep-seated support of a close partnership with the US, Russian President Vladimir Putin has strong motives to undermine her.
Last week, Wikileaks, which appeared to closely coordinate its US election-related publications with Russian propaganda outlets such as the RT channel and Sputnik network of websites, published material from a German parliamentary inquiry into the cooperation between Germany's BND intelligence service and the US National Security Agency.
The issue is politically sensitive to privacy-minded Germans, who do not appreciate their country's collaboration with the intrusive US service. Russian propaganda organisations were on it immediately.
Dr Merkel's government anticipates more than leaks.
Late last month, about 900,000 customers of Germany's biggest Internet provider, Deutsche Telekom, experienced outages after what appeared to be an attack on a particular type of router.
The company said the problems were caused by "deliberate hacking", and German politicians wasted no time in hinting at Russian involvement.
Dr Merkel said she did not have any specific information about the Deutsche Telekom attack, but added: "Let me just say that such cyberattacks, or 'hybrid attacks' as they're known in Russian doctrine, are part of everyday life today, and we need to learn to deal with them."
In a recent interview with the daily Sueddeutsche Zeitung, BND head Bruno Kahl said he had evidence Russia was undertaking cyber attacks "which have no other purpose but to cause political uncertainty".
Add the powerful, well-funded BND to the US intelligence services plotting to prevent Russian attacks, and the Kremlin has a serious problem.
Mr Putin clearly understands that and feels the need to shift the narrative or at least signal his preparedness. On Monday, he approved a new Russian information security doctrine which mentions "a number of foreign countries increasing their technological capacity to impact" Russian infrastructure "to attain military goals".
It also talks about foreign intelligence services attempting to "exert psychological influence by information means in order to destabilise the domestic political situation in various regions of the world and undermine the sovereignty and territorial integrity of states".
According to the document, the Russian stance against such practices is defensive. But it is more likely an attempt to justify cyber attacks and the spreading of propaganda in the Kremlin's favourite way - by saying everybody else does it too.
The new doctrine was published on the day the FSB, Russia's domestic intelligence service, said it expected the start of a major cyber attack by "foreign special services" against the Russian banking sector.
Last Friday, the FSB said in a brief statement that Russian banks would be attacked from servers in the Netherlands owned by the Ukraine-based hosting company BlazingFast.
At the same time, the FSB said, social networks would fill with panic-inducing messages about the collapse of certain banks and the central bank's plans to strip them of licences.
The threat was taken seriously. The communications ministry held meetings with bankers and Internet service providers, and the central bank offered extra liquidity in case there was a bank run.
Monday came and went, though, and nothing happened to Russian banks; no panic spread through social networks, either. A BlazingFast representative suggested that the publicity scared off any hackers that might have planned the attack, but the FSB announcement also may have been part of a Kremlin campaign to present Russia as a victim rather than an instigator of hybrid warfare in cyberspace.
Though BlazingFast - a legitimate infrastructure provider with a branch in Amsterdam - was not directly accused of involvement in the cyberattack, Russia has plenty to fear from Ukrainians.
Unlike the US and German spy agencies, careful not to start an all-out war with Russia, Ukraine is already involved in a proxy war with its eastern neighbour. It is also a lawless place full of excellent information technology specialists.
The recent global operation to roll up Avalanche, a giant botnet used by cyber criminals for various malware attacks that have caused hundreds of millions of dollars in damage, culminated in the arrest of Ukrainian citizen Hennady Kapkanov in Poltava.
Avalanche was just the type of criminal network that could be used for an attack on a country's banking system, and it was far from the only one or even the biggest.
It was a Ukrainian hacktivist group that breached the e-mail of Mr Putin's adviser Vladislav Surkov in October. It did not find anything particularly sensational, but it did demonstrate its ability to hack Kremlin servers.
Moscow has long been worried about the dominance of Western software and the wide reach of US Internet companies.
Last week, head of the InfoWatch information security company Natalya Kasperskaya suggested that the Russian government stake a claim to all the data collected from Russian citizens on the Internet before foreign companies get their hands on it.
Russia has introduced stringent rules for Internet firms, obliging them to store Russians' personal data within the country.
Now, though, it is no longer a matter of protectionism or even securing Russians' personal data: Russia has every reason to expect attacks on its critical systems perpetrated in retaliation for Russian meddling in foreign elections.
Making sure that these attacks do not come is a matter of constant vigilance. The FSB warning may even have been a drill. It also helps if elections in Western countries are won by people who will not be interested in retaliating. Mr Donald Trump probably is not.
If indeed Mr Putin has authorised election meddling and Western intelligence agencies have proof of that, we can expect that he will double down on the activity and step up the cyberwar.