A German minister has warned that the country is facing a “shadow war” involving threats that exceed the dangers of the Cold War era.