An attempted cyberattack on Israeli defense companies was stopped, the country’s Defense Ministry announced on Wednesday.