Rheinmetall confirmed on Monday that the Black Basta ransomware group was behind a cyberattack it detected last month.