Morocco Faces One of the Largest Cyberattacks in Its History

Listen to this Post

Featured Image
Morocco is currently dealing with one of the most severe cyberattacks in its history:
– Over 2 million payroll records stolen and leaked.
– A Telegram channel remained active for days, distributing sensitive data.
– Salaries of top executives and public figures exposed.

This digital earthquake has shaken major corporations and government institutions, with media outlets describing it as a “shockwave.”

You Should Know: How to Protect Against Data Breaches

1. Detect Data Leaks Early

Use OSINT tools to check if your data has been exposed:

 Install holehe to check email breaches 
pip install holehe 
holehe [email protected]

Use Have I Been Pwned CLI 
curl -s "https://haveibeenpwned.com/api/v3/breachedaccount/[email protected]" -H "hibp-api-key: YOUR_API_KEY" 

2. Secure Sensitive Files

Encrypt payroll and financial documents using GPG:

 Encrypt a file 
gpg -c --armor sensitive_document.xlsx

Decrypt (requires passphrase) 
gpg -d encrypted_document.xlsx.asc > decrypted_document.xlsx 

3. Monitor Dark Web Leaks

Scan for leaked credentials using Tor & Python:

import requests 
from stem import Signal 
from stem.control import Controller

with Controller.from_port(port=9051) as c: 
c.authenticate() 
c.signal(Signal.NEWNYM)

session = requests.session() 
session.proxies = {'http': 'socks5h://127.0.0.1:9050', 'https': 'socks5h://127.0.0.1:9050'} 
response = session.get("http://darkweb-example.onion/leaks") 
print(response.text) 

4. Lock Down Telegram Exposure

If a malicious Telegram channel leaks data: