20 years ago, the blame would fall on "big oil", then it was north korea, now russia...
...and in reality, it might have been an angry former employee who just happens to know all the default passwords set everywhere.
Russia basically gains nothing by doing this, except even worse relations with the germans (it's not like the germans will say "oh, the russians hacked us, we better buy their gas now")