Cybercrime in Morocco: what should a victim do?
A Casablanca resident receives a call from someone claiming to work for her bank. The caller knows her name, part of her account number and even the branch she normally visits. Reassured, she communicates a one-time password. Within minutes, MAD 45,000 disappears from her account.
She first calls the alleged adviser back, then waits for the bank to complete an internal investigation. She files a police complaint several weeks later. By then, some connection records are harder to obtain, the telephone number has been abandoned and the money has passed through several intermediary accounts. This is a composite situation, anonymised and inspired by cases regularly encountered in Moroccan legal practice. It illustrates a central rule: digital evidence is perishable.
Cybercrime in Morocco no longer concerns only large companies or public administrations. Individuals, shopkeepers, students and small businesses are affected by phishing, hacked WhatsApp accounts, fake Facebook profiles, fraudulent marketplace advertisements, intimate-image blackmail and unauthorised banking transactions.
The annual communications of the Direction Générale de la Sûreté Nationale repeatedly report substantial activity involving technology-assisted offences, digital extortion and online fraud. However, Morocco does not yet publish one continuous, consolidated statistical series covering every police report, CNDP complaint, Ma-CERT incident and banking dispute. Figures quoted in the press for 2022, 2023 and 2024 therefore cannot always be compared: some concern investigated cases, others arrests, reports or particular categories of offences.
The policy direction is nevertheless clear. Morocco has reinforced specialised investigation capacities, data-protection supervision and international cooperation. International discussions held in Abu Dhabi in 2024 also called for faster information sharing and a more coordinated global response to cybercrime. Such declarations are politically significant, but they do not replace a complaint, a judicial requisition or an international mutual-assistance request in an individual case.
The first 72 hours are decisive
Legally, a victim usually has much longer than 72 hours to act. Practically, those first three days can determine whether the case is traceable. Logs may be overwritten, fraudulent funds may be transferred abroad, online advertisements may disappear and a platform account may change names several times.
In clear terms: do not wait until you have identified the offender yourself. That is the job of the police judiciaire and the Parquet. Your first task is to preserve what you can, secure your accounts, notify the relevant intermediary and file a documented report.
The Moroccan legal framework for cybercrime
Law No. 07-03 and offences against automated data-processing systems
Law No. 07-03 was promulgated by Dahir No. 1-03-197 of 11 November 2003. A frequent error, repeated even in some online summaries, is to refer to “Articles 3-1 to 3-9”. That is inaccurate. The law inserted Articles 607-3 to 607-11 into the Moroccan Criminal Code.
Article 607-3 of the Criminal Code punishes fraudulent access to all or part of an automated data-processing system. It also covers remaining fraudulently in such a system after unauthorised access.
The basic offence under Article 607-3 is punishable by one to three months’ imprisonment and a fine of MAD 2,000 to MAD 10,000, or one of those penalties. Where access causes deletion or modification of data or disrupts the system, the sentence is increased. Penalties are also aggravated where the target is a system containing information relating to State security, internal or external security, or State secrets.
Article 607-5 addresses the intentional obstruction or disruption of an automated data-processing system. Article 607-6 concerns the fraudulent introduction, destruction or modification of data. Article 607-7 covers the fabrication or falsification of computerised documents where this may cause harm, while Article 607-8 punishes knowingly using such falsified documents.
The most serious configurations can attract up to five years’ imprisonment under the relevant provisions, particularly where protected State systems are involved. The exact charge depends on what the suspect actually did. Hacking an account, using stolen credentials and transferring money may generate several cumulative legal characterisations rather than one generic “cybercrime” count.
Fraud, threats and privacy offences under the Criminal Code
Technology is often only the instrument of an ordinary offence. Online fraud is commonly prosecuted under Article 540 of the Criminal Code, which punishes fraud carried out through false names, false capacities or fraudulent manoeuvres intended to induce a person to surrender funds or property. Depending on the facts, breach of trust, forgery, threats or attempted extortion may also be relevant.
Privacy offences are governed in particular by Articles 447-1, 447-2 and 447-3. Article 447-1 targets the intentional interception, recording or dissemination, without consent, of private or confidential words or images of a person in a private place. Article 447-2 punishes the dissemination, without consent, of statements or information issued privately or confidentially, as well as certain montages or false allegations intended to harm private life or defame.
Under Article 447-2, the principal penalty is one to three years’ imprisonment and a fine of MAD 2,000 to MAD 20,000. Article 447-3 provides aggravated penalties, including one to five years’ imprisonment and a fine of MAD 5,000 to MAD 50,000, in specified circumstances.
Contrary to another widespread claim, Article 447-2 does not automatically provide a six-year maximum for every case of “revenge porn”. The prosecution must select the provisions corresponding to the precise acts, relationship between the parties, threats and aggravating circumstances.
Law No. 09-08 on personal data protection
Law No. 09-08, promulgated by Dahir No. 1-09-15 of 18 February 2009, protects individuals with regard to the processing of personal data. It created the Commission Nationale de contrôle de la protection des Données à caractère Personnel, or CNDP.
A CNDP complaint can be relevant where a company, website, employer or other data controller collects, uses, retains, transfers or discloses personal information unlawfully. Examples include an unexplained marketing database, the publication of customer records, unlawful biometric processing or refusal to respect rights of access, rectification or objection.
Attention, though: the CNDP is not a police station and a complaint to it does not replace a criminal complaint. Its powers include supervision, investigation, formal notices and measures relating to processing authorisations. Criminal fines provided by Law No. 09-08 are imposed through the judicial process; it is therefore misleading to describe every possible fine of up to MAD 300,000 as an administrative penalty directly imposed by the CNDP.
Electronic evidence and trust services
Law No. 53-05, promulgated by Dahir No. 1-07-129 of 30 November 2007, established rules for the electronic exchange of legal data and electronic signatures. Moroccan law recognises electronic writing as evidence when the person from whom it emanates can be duly identified and the document is created and preserved in conditions guaranteeing its integrity. The relevant principles also appear in the Dahir des Obligations et des Contrats, notably Article 417-1.
The framework has since evolved, particularly through Law No. 43-20 on trust services for electronic transactions. For a victim, the practical point is simple: a WhatsApp export, email header, server log or digitally signed document can be evidence, but the judge assesses its authenticity, integrity and connection to the parties.
Morocco and the Budapest Convention
Morocco acceded to the Council of Europe Convention on Cybercrime, known as the Budapest Convention, and it entered into force for Morocco in 2018. This facilitates international cooperation, preservation requests and mutual legal assistance. It does not mean that a Moroccan judgment is automatically enforced by every foreign platform or that foreign subscriber data can be obtained immediately. The competent Moroccan authority must still use the applicable judicial and diplomatic channels.
The most frequent forms of cybercrime in Morocco
Online banking fraud, phishing, smishing and vishing
Phishing uses a fraudulent website or email. Smishing arrives by SMS. Vishing is carried out by telephone, often by a “bank adviser” asking for a card number, verification code or mobile-banking credential.
These facts may constitute fraud under Article 540, unlawful system access under Article 607-3, data manipulation under Article 607-6, or other offences depending on the method. Criminal responsibility of the scammer must be distinguished from the bank’s possible contractual or professional liability.
A bank is not automatically liable whenever its customer has disclosed a one-time password. Conversely, the mere use of a correct password does not automatically prove that the customer freely authorised the transaction. The court may examine authentication methods, transaction anomalies, alerts, contractual information, the speed of the bank’s response and whether the disputed operation was genuinely authenticated.
Online identity impersonation
A shopkeeper in Rabat discovers a Facebook page using his name, logo and product photographs. The fake page offers discounted goods, receives deposits and leaves customers believing that the real shop has defrauded them. This can damage both property and reputation.
There is no need to force every impersonation case into Article 607-3. That provision applies when fraudulent access to an automated system can be proved. If the offender merely creates a fake profile, Article 540 on fraud, privacy provisions, forgery rules, trademark law or civil liability may be more appropriate. The lawyer and the Parquet should qualify the facts accurately.
Online harassment, sexual harassment and digital blackmail
The expression “cyberharassment” describes varied behaviour: repeated insults, threats, sexual messages, stalking, publication of private information or blackmail using intimate images. Moroccan law does not treat all of these acts as one identical offence.
Article 503-1 and the provisions introduced around it deal primarily with sexual harassment, including certain persistent messages of a sexual nature. Threats, extortion and privacy violations may be prosecuted under other articles. For non-consensual intimate content, Articles 447-1 to 447-3 are particularly significant.
If there is an immediate threat to physical safety, contact the police or Royal Gendarmerie without delay. Do not arrange a private meeting with the blackmailer and do not keep paying. Payment rarely ends the pressure.
Hacked accounts and business-page takeovers
A Marrakech entrepreneur with a professional page followed by 40,000 people suddenly loses administrator access. The attacker changes the recovery email and asks for payment. In a situation of this kind, the victim should combine platform recovery procedures, preservation of ownership evidence and a police complaint. If publication of damaging content creates a genuine and immediate emergency, counsel may also consider expedited civil proceedings before the president of the competent court.
Still, no lawyer can honestly guarantee removal “within 24 to 48 hours”. Moroccan interim relief depends on urgency, jurisdiction, service of process and the technical ability to identify the intermediary capable of executing the order.
Fraudulent property and marketplace advertisements
Fake rental advertisements on Avito, social media and similar services are particularly common before holidays and the summer season. The supposed owner requests a deposit by transfer or cash service, sends a copied identity card and disappears.
Preserve the advertisement URL, telephone numbers, beneficiary name, transfer receipt and every voice note. A criminal complaint may rely on Article 540. A civil claim can seek restitution and damages, but recovery remains difficult if the perpetrator is insolvent or unidentified.
What to do during the first hours
Step 1: secure your accounts without destroying evidence
From a clean device, change the password of the affected account and of any other account using the same password. Activate multi-factor authentication, disconnect unknown sessions and save recovery notices. If your telephone number has stopped working unexpectedly, contact your operator immediately because a SIM-swap attack may have occurred.
Do not factory-reset the telephone or delete the conversation. I have often seen otherwise strong files weakened because a victim erased messages out of fear or shame. Preserve the original device and note its model, telephone number, serial number and relevant account identifiers.
Step 2: build a structured evidence file
Take full-screen screenshots showing the account name, date, time, URL and surrounding conversation. Screenshots should not be cropped so aggressively that their context disappears. Export WhatsApp chats with relevant media, save original emails in a format preserving headers, download account-login histories and retain bank statements.
Create a chronology containing each event, the amount lost, the account or telephone number used and the action already taken. Keep original files in read-only cloud storage and on an external device. Generate file hashes if a technician is available; a hash helps demonstrate that a file was not subsequently altered.
A Moroccan commissaire de justice may prepare a report recording what is visible on a device or website. Fees are not fixed at one universal rate and depend on travel, urgency and technical work, but a straightforward digital observation may commonly cost around MAD 500 to MAD 1,500. For complex systems, the amount can be higher. Notarising a copy is not the same as technically proving the authenticity of the underlying digital content.
Step 3: contact the bank immediately
For financial fraud, telephone the bank’s opposition service at once, then confirm the dispute in writing. Ask for the card or digital channel to be blocked, request recall of the transfer where possible, and obtain a complaint reference. If the beneficiary account is in Morocco, speed may allow the bank and investigators to preserve or freeze funds, subject to legal authority.
Do not settle for a verbal response at the branch. Send a dated letter or email identifying every disputed transaction and requesting the authentication record. Keep proof of delivery. The bank’s internal complaint process and the criminal complaint can proceed simultaneously.
Step 4: report through the correct channel
The DGSN’s E-Blagh platform accepts reports relating to illegal digital content. The DGSSI and Ma-CERT handle technical cybersecurity incidents, particularly where systems, vulnerabilities or malicious infrastructure are concerned. These tools are useful, but an online report is not always equivalent to a formal criminal complaint recorded by police or the Royal Gendarmerie.
The address “cybervictimes.dgssi.gov.ma”, sometimes reproduced in non-official guides, should not be relied upon unless it is confirmed from the DGSSI’s official website. Use official government domains and beware of websites collecting identity documents under the guise of helping cybercrime victims.
Step 5: file a criminal complaint
You can attend a police station in an urban area or a Royal Gendarmerie brigade in its territorial area. Bring your national identity card, a written chronology, printouts of key evidence, bank records and a digital copy on a storage device. Filing a simple complaint is free.
You may also submit a written complaint to the Procureur du Roi at the competent court of first instance. For serious or complex matters, the file may be referred to specialised judicial-police services, including units within the Brigade Nationale de la Police Judiciaire. A victim should not attempt to bypass the ordinary procedure by sending personal data to an unofficial “cyber brigade” email address.
Territorial jurisdiction is assessed under the Code of Criminal Procedure according to connecting factors such as the place of the offence, the suspect’s residence or the place of arrest. Online cases can create several possible links. Residence of the victim may be practically relevant, but it is inaccurate to present Article 265 of the Code of Criminal Procedure as a universal rule automatically making the victim’s home court competent for every cybercrime.
How a cybercrime complaint proceeds in Morocco
Simple complaint and civil-party claim
A simple complaint triggers assessment by the Parquet. The police judiciaire may hear the victim, identify telephone subscribers, request banking information, analyse devices and report its findings to the prosecutor. The Parquet may prosecute, request further investigation or close the matter where the offender cannot be identified or the evidence is insufficient.
Where legally available, a victim may seek damages by joining the criminal proceedings as a partie civile. A direct civil-party complaint before an investigating judge follows stricter formalities and can require a deposit fixed by the judge. There is no nationwide statutory amount of MAD 500 to MAD 2,000 applicable to every file; the amount depends on the procedure and judicial decision.
Representation by a lawyer is highly advisable for a civil-party strategy and is required in a number of court proceedings under the rules governing legal representation. But a lawyer is not required merely to walk into a police station and report an offence.
Realistic timescales
A straightforward domestic investigation may progress within several months. A technically complex case can take a year or longer, especially if it requires device expertise, identification of mule accounts or judicial requests to foreign companies. Six to eighteen months is a practical range seen in many contested matters, not a legal guarantee.
International cases are slower. The investigating authority may require preservation requests, mutual legal assistance or an international letter rogatory. Morocco’s participation in the Budapest Convention improves the legal channels, but foreign-law requirements and platform retention policies still matter.
Prescription: do not rely on the incorrect five-year rule
Another common online error is to claim that “Article 5 of Law No. 07-03” gives every computer offence a five-year limitation period. Law No. 07-03 does not establish such a general rule. Limitation of the public prosecution is governed principally by Article 5 of the Moroccan Code of Criminal Procedure.
As a general rule, the public prosecution is time-barred after four years for a délit, subject to interruption, suspension, special texts and the legal classification of the acts.
Some cyber-related conduct may be classified differently or may involve repeated or continuing acts, affecting the calculation. Obtain advice rather than calculating the deadline from a social-media post. In any event, waiting years is disastrous from an evidential perspective.
Remedies tailored to the type of cybercrime
Online banking fraud: bank complaint, mediation and court action
The first route is a formal complaint to the bank. Explain why the payment was unauthorised and request the technical authentication record, timestamps, device data available to the bank and the contractual basis for refusing reimbursement.
If the response is unsatisfactory, the customer may consider banking mediation through the recognised Moroccan banking-mediation system, subject to its admissibility rules and after completing the bank’s internal complaint stage. Mediation is generally free for the customer, but the precise filing conditions and processing period must be checked on the institution’s current official materials. It is safer not to promise a universal two-year referral period or a decision within exactly 30 to 60 days.
A court claim may invoke contractual obligations, professional diligence and the general rules of civil liability. No single provision such as Article 332 of the Commercial Code automatically makes a bank reimburse every phishing loss. The judge examines causation and the conduct of both parties.
Published online commentary sometimes refers broadly to Casablanca judgments ordering reimbursement where authentication was inadequate. Unless the decision number, date, chamber and final status can be verified, it should not be presented as settled case law. Moroccan outcomes remain fact-sensitive.
Identity impersonation and fake social-media profiles
Report the fake account through the platform’s impersonation channel, but take evidence first. Provide the platform with your identity document only through its verified process. If customers are being defrauded, publish a controlled warning on your genuine page without accusing an unverified person by name.
File a criminal complaint identifying the profile URL, usernames, associated numbers, payment accounts and victims who contacted you. Counsel can ask the judicial authority to preserve and seek platform data. A private lawyer’s letter can be useful, but platforms generally reserve subscriber disclosure for valid legal process.
Harassment, threats and intimate content
Save the entire sequence, not just the most offensive message. Record repeated calls, account changes and threats. If an intimate image is at risk of publication, report it to the platform and police immediately. Where there is urgency and a clearly identifiable publisher or intermediary, a lawyer may seek interim relief from the president of the competent court.
For immediate physical danger, judicial strategy comes second: call law enforcement and move to a safe place. Victims should not be blamed for previously sharing an image consensually. Consent to possess or view an image is not necessarily consent to publish it.
Personal-data violations and CNDP complaints
A complaint may be filed with the CNDP at no charge. Identify the controller, the data involved, how you discovered the processing, the rights you exercised and the response received. Attach copies, but minimise unnecessary disclosure of other people’s data.
CNDP action can coexist with civil or criminal proceedings. The appropriate route depends on whether the objective is to stop unlawful processing, correct data, obtain compensation or prosecute an offence. Compensation itself normally requires a judicial basis and proof of damage.
Compensation for cybercrime victims in Morocco
Articles 77 and 78 of the Dahir des Obligations et des Contrats
The principal general foundations of tort liability are Articles 77 and 78 of the DOC. Article 77 requires a person who, intentionally and without legal justification, causes material or moral damage to compensate it. Article 78 addresses damage caused by fault, including imprudence or negligence, where there is a direct causal link.
A successful compensation claim normally requires proof of fault or unlawful conduct, actual damage and causation. A criminal conviction can strongly support the civil claim, but damages are not automatic or unlimited.
Recoverable loss may include stolen money, technical-restoration costs, lost business supported by accounting records, reputational damage and moral suffering. Keep invoices, medical documents, cancelled orders, advertising costs and evidence of customer confusion.
From a practitioner’s perspective, vague claims are one of the most avoidable weaknesses. Do not simply ask for “maximum damages”. Prepare a schedule explaining each amount and the supporting document.
Digital expertise
The court may appoint an expert to examine devices, accounting consequences or information systems. The requesting party may have to advance expert fees. Depending on scope and complexity, computer expertise may cost several thousand dirhams and can exceed MAD 20,000 for a substantial corporate system. The judge fixes the advance and may ultimately allocate costs in the judgment.
Morocco currently has no general public compensation fund dedicated to all cybercrime victims. Even after judgment, recovery depends on identifying a solvent debtor or liable intermediary. That limitation should be stated honestly.
The roles of the DGSN, DGSSI, Ma-CERT and CNDP
DGSN and the police judiciaire
The DGSN and its judicial-police services investigate offences under the authority of the competent prosecution authorities. Specialised cybercrime capacity may be mobilised for technical analysis, account tracing and digital evidence. The victim’s normal entry point remains a police station, the Royal Gendarmerie or the Parquet.
DGSSI and Ma-CERT
The Direction Générale de la Sécurité des Systèmes d’Information is Morocco’s national cybersecurity authority. Ma-CERT receives and coordinates technical incident reports and publishes security alerts. Its intervention is especially useful for compromised systems, malware, vulnerabilities and incidents affecting organisations.
Ma-CERT does not award damages, prosecute offenders or replace a bank opposition. A business suffering ransomware should usually activate several tracks at once: incident containment, Ma-CERT reporting where appropriate, preservation of logs, legal notification analysis and a criminal complaint.
CNDP
The CNDP supervises compliance with Law No. 09-08. It is the appropriate authority for many unlawful personal-data processing complaints, but it is not a general internet-content regulator. A defamatory post with no broader data-processing issue may primarily require criminal, civil or platform action.
International cooperation
Where the offender is abroad, Moroccan investigators can use international cooperation channels, including those supported by the Budapest Convention and Interpol cooperation. The Bureau Central National in Rabat facilitates police cooperation, but private individuals do not instruct Interpol directly. The request passes through competent authorities.
Legal advice that can strengthen your case
Avoid the three most damaging mistakes
First, do not delete or reset. Second, do not retaliate by hacking the suspect, publishing personal information or making public accusations you cannot prove. Third, do not wait for the platform or bank to “finish its investigation” before preserving evidence and considering a complaint.
Also beware of recovery scammers. They contact recent victims, claim to work with the police or Interpol and demand advance payment in cryptocurrency. No legitimate authority guarantees recovery of stolen funds in exchange for a private transfer.
Choosing a cybercrime lawyer in Morocco
Check that the lawyer is registered with a Moroccan Bar and ask who will personally handle the file. Request a written fee agreement describing the complaint, hearings, expert proceedings and appeal separately. Fees are freely agreed and vary by city, urgency and complexity.
As a broad market indication, an initial consultation may cost around MAD 500 to MAD 1,000. A documented complaint with follow-up may range from MAD 3,000 to MAD 8,000, while complex litigation involving expertise or international requests may reach MAD 10,000 to MAD 25,000 or more. These are not regulated tariffs.
You can consult an cybercrime lawyer in Casablanca, an internet-crime lawyer in Rabat or a digital criminal-law lawyer in Marrakech. For data leaks, seek an Moroccan personal-data lawyer. Banking disputes may justify advice from a banking lawyer in Casablanca.
Mediation and coordinated action
A Fès entrepreneur notices unauthorised transfers totalling MAD 80,000 after a fraudulent telephone call. A coordinated approach might include immediate bank opposition, a written bank dispute, criminal reporting, preservation of telephone records and banking mediation. In comparable practice-based scenarios, rapid coordination has enabled substantial recovery within a few months. But this should never be read as a promise: results depend on traceability, evidence and the bank’s technical records.
Five immediate reflexes for every victim
- Secure the affected accounts from a clean device and contact the bank or telecom operator.
- Preserve complete evidence, including URLs, headers, exports, statements and the original device.
- Report illegal content or technical incidents through official DGSN, DGSSI, Ma-CERT, platform or CNDP channels as appropriate.
- File a formal criminal complaint promptly with the police, Royal Gendarmerie or Procureur du Roi.
- Quantify the damage and obtain legal advice where the loss, urgency or technical complexity justifies it.
Moroccan law offers real remedies, from prosecution under Articles 607-3 and following or Article 540, to privacy protection, CNDP intervention and compensation under Articles 77 and 78 of the DOC. The system has limits: investigations can be slow, anonymous offenders are difficult to identify and there is no universal cybercrime compensation fund. Still, a fast, disciplined and well-documented response materially improves the victim’s position.
If you need tailored representation, you can find a lawyer in Morocco. Bring the original evidence, a chronology and proof of every loss. In cybercrime litigation, organisation is often as important as indignation.
