When Algerian hackers targeted this year a Moroccan water distribution facility in Fes claiming to have breached their network and systems, the event served as a chilling reminder of the growing cyber threats facing our nation as Morocco continues its digital transformation.
Traditionally, cyberattacks were carried out through human-coded methods, but now, with the advent of AI—although it has existed since the last century—attackers can automate and potentially scale their efforts using various algorithms.
“These types of attacks can even analyze an information system to identify vulnerabilities and develop targeted attacks that can circumvent the company’s security measures,” explained Akram Chhaybi, a PhD Candidate in Cybersecurity and AI, in a statement to Hespress English.
DDoS (Distributed Denial-of-Service) attacks, which aim to disrupt the normal functioning of targeted servers by overwhelming them with a flood of illegitimate requests that cause crashes, serve as a prime example of the escalating cyber threats facing Morocco.
Incidents of such attacks have surged in recent years, according to several experts, putting various services at risk.
Last year, the websites of the Moroccan News Agency (MAP) fell victim to a DDoS attack, which was characterized by an abnormally massive flow of traffic that saturated the bandwidth of the Internet links hosting these sites, resulting in numerous disruptions and making access increasingly difficult for users.
This serious incident couldn’t be explained outside of the geopolitical tensions that weigh on the region, as evidenced by the intensity of this cyber-attack against a public institution.
Even Moroccan faculty websites are not immune to these cyber threats, with several examples seen over the past years.
This was the case for the Higher School of Translation in 2022 when a group of Algerian hackers breached the site, putting students’ personal information—such as ID card numbers, phone numbers, and addresses—at risk. The attackers left a blank page featuring their hacking group’s motto and the Algerian flag.
Many of the cyberattacks Morocco faces may originate from neighboring countries like Algeria, fueled by rising tensions between the two nations, as seen in previous cases.
Several prominent Moroccan politicians, including former ministers, had their Facebook accounts hacked two years ago. One of the victims, Lahcen Haddad, a former minister and current member of parliament from the Istiqlal Party, found himself in hot water after an inappropriate image was shared as a story on his official page.
Another high-profile figure, Lahcen El Omrani, a member of the Justice and Development Party and former deputy mayor of Rabat, also fell victim to a cyberattack on his personal account, as reported by several local news.
These attacks can sometimes be driven only by profit motives. Ransomware is a prime example; this malware locks users out of their devices and encrypts their data, demanding a ransom for access.
“This poses a significant and imminent threat that Morocco must confront,” according to cybersecurity expert Hezzaz, in a statement to Hespress English.
This threat became alarmingly real for the water distribution institution in Fez, where the hacker brazenly stated, “every day, we have a big surprise for you: one more step, and we will begin to include Moroccan government systems on the ransom list on our website on the Dark Web.”
Hezzaz also highlighted the alarming surge in ransomware attacks targeting hotels and e-commerce platforms. These malicious actors prey on businesses that handle sensitive customer data, demanding ransoms in exchange for restoring access.
The expert, who serves as the general director of WEHELP and HoldDEV, reported handling over 40 cases of this nature only in 2024 across sectors like hospitality, accounting, and pharmaceuticals. Firms from these sectors were often threatened with having their sensitive data leaked online for sale if they refused to pay the ransom.
Unfortunately, these attacks have surged dramatically since the Gaza war in October 2023, increasing by 300%, highlighted the same speaker.
“As Morocco continues to advance technologically, the risks associated with cybersecurity are becoming increasingly severe,” he warned, especially since a report from Check Point, a cybersecurity solutions provider, has identified Morocco as the 33rd most vulnerable country to malware attacks globally.
These attacks, Hezzaz underscored, “are no longer coded by humans. Now, it’s all driven by AI, similar to other threats like DDoS attacks and spam.”
“AI is now the primary architect of spam campaigns. Gone are the days of humans crafting these attacks. Today, AI generates spam emails and devises methods to evade Google’s detection systems,” elaborated further the cybersecurity expert.
AI can even be weaponized to defraud unsuspecting individuals using deepfakes of celebrities. A notable example is the viral video featuring Achraf Hakimi, in which an attacker impersonated the football star and invited Moroccan netizens to download an app to earn easy money, according to several media reports.
To address this, Morocco has worked to solidify its position as a global leader in cybersecurity, according to the Global Security Index (GCI) by the International Telecommunication Union (ITU).
This status reflects over a decade of dedication, beginning with the adoption of Morocco’s first National Cyber Security Strategy in 2012, which aimed to safeguard government systems and critical infrastructure.
This strategy, rooted in the Digital Morocco 2013 initiative, aims to protect government information systems and critical infrastructures while fostering a secure environment for an information-driven society.
Also, Morocco’s proactive investment in strengthening its regulatory framework, institutions, and industrial capabilities demonstrates its strategic readiness to counter cyber threats.
In recent years, Moroccan authorities have introduced key legal initiatives to combat cybercrime and enhance data protection, including Law N° 07-03, which addresses offenses related to automated data processing systems, Act No. 09-08, which focuses on personal data protection and establishes the National Commission for Control and Protection of Personal Data while outlining penalties for non-compliance, and Act 53-03, which strengthens data protection in electronic exchanges.
To combat modern cyber threats, including AI-enhanced attacks like automated phishing and deepfakes, the DGSSI is revising regulatory texts, such as Law 05.20 and the National Directive on Information Systems Security (DNSSI), to ensure effective measures are in place for identifying, preventing, and responding to these threats.
Also, several other services have been launched, including maCERT for cyberattack response, NRT for telecommunications regulation, CNDP for ensuring compliance with personal data protection standards, and CMRPI for combating cybercrime.
The DGSSI has additionally updated Morocco’s National Cybersecurity Strategy 2030 to strengthen the protection of information systems (IS). This strategy aims to “create a reliable and secure cyberspace that supports digital transformation, economic prosperity, and citizen well-being, focusing on governance, national security and resilience, capacity development, and international cooperation.”
What’s more, since 2015, Morocco has formed partnership agreements to train cybersecurity specialists on key topics, including advanced technical aspects, incident management, disaster recovery, and cyber-attack simulations.
However, despite increased investments in cybersecurity, Morocco still requires significant additional funding to safeguard its digital infrastructure.
As Saad Lkhadiri, Director of DGSSI, emphasized during the National Cyber Security 2030 conference at GITEX Africa, a substantial portion of IT budgets must be allocated specifically for cyber defense.
As evidenced by a report from 2018, few companies exceed five million MAD and more in cybersecurity investments. Most companies invest less than one million MAD, which is low. Respondents often say they have trouble convincing senior management to invest in cybersecurity. As a result, they only invest when there is an incident.
The same report noted that Morocco has three times Tunisia’s population but produces only half the number of engineers, with 7,500 graduates annually compared to Tunisia’s 15,000.
For its part, the DGSSI places great importance on training experts in advanced techniques through national and international partnerships.
It conducts workshops, seminars, and awareness sessions for security personnel to enhance their skills, all of which have contributed to improving Morocco’s ranking on the Global Cybersecurity Index.
The private sector is also integral to cybersecurity efforts, particularly in response to the growing threats posed by generative AI.
Cybersecurity expert Hezzaz emphasized the importance of this collaboration, revealing that WeHELP has developed Pentest Tools—an AI-driven program designed to enhance penetration testing, optimize vulnerability detection, and facilitate faster and more effective fixes, all in just 35 seconds.
“Experimental trials have yielded promising results, showcasing a strong synergy between AI and human intelligence,” he stated in a comment to Hespress English, emphasizing that universities and other institutions are expected to benefit from free access to this program, which is the result of over two years of work by more than 50 engineers.
This piece was originally published 23 October, 2024.
add your comment
Terms of publication : Not to offend the writer, people, sacred things, or attack religions or the divine self, and refrain from racist incitement and insults.