🛡️ Alin Li CyberShield

Secure Your الشبكة والحاسوب والمنزل

دليل شامل للأمن السيبراني للشباب — باستخدام أدوات مجانية مفتوحة المصدر، وبأخلاقيات حقيقية وقيم إسلامية في صميمه. المعرفة قوة، لكن القوة بلا أخلاق مدمرة.

Ethics First! ⚖️ Secure My Network 🌐
⚖️ ETHICS FIRST — BEFORE ANYTHING

الفصل الأهم: الأخلاق

Before we teach you a single security tool, we must establish the moral foundation. Power without ethics is tyranny.

«إِنَّ اللَّهَ يَأْمُرُكُمْ أَنْ تُؤَدُّوا الْأَمَانَاتِ إِلَىٰ أَهْلِهَا»
«إن الله يأمركم أن تؤدوا الأمانات إلى أهلها» — القرآن 4:58

In Islam, الأمانة is sacred. When you learn cybersecurity, you are given a trust — the ability to access, protect, or harm digital systems. Betraying that trust — by hacking, spying on people without permission, or misusing tools — is a betrayal of Amanah and is haram.

🕌 الإطار الإسلامي للأمن السيبراني

Islam provides a complete ethical framework that perfectly applies to cybersecurity. These aren't just "rules" — they are values that make you a better human being AND a better security professional.

🔒

الأمانة

Protect what is entrusted to you. Other people's data, passwords, and privacy are sacred trusts. Never access what you have no right to access.

👁️

لا تجسّس

«ولا تجسسوا» (القرآن 49:12). مراقبة شبكتك الخاصة حلال. والتجسس على اتصالات الآخرين الخاصة حرام، حتى إن امتلكت الأدوات.

🤲

النية

«إنما الأعمال بالنيات» (رواه البخاري). تعلّم الأمن للحماية عمل نبيل. وتعلّمه للإيذاء أو السرقة أو التجسس إثم. الأداة واحدة، والنية مختلفة، والحكم معاكس.

⚖️

العدل

Use your knowledge fairly. Don't hack the weak. Don't exploit the ignorant. If you find a vulnerability, report it responsibly — don't exploit it.

🔧

Islah (Improvement/Fixing)

The Quran commands "Islah" — to fix, improve, and make things better. In cybersecurity, this means: find problems, fix them, teach others, and make the world safer.

🙏

Tawbah (Repentance/Contribution)

أخطأت؟ باب التوبة في الإسلام مفتوح دائمًا. الإسهام في الأمان — إصلاح الأخطاء، والإبلاغ عن الثغرات، وتعليم الآخرين — ردّ للجميل. كل مساهمة صدقة.

🚫 الخطوط الحمراء — لا تتجاوزها أبدًا

Even with open-source tools, these are absolutely forbidden — both ethically and legally:
❌ Hacking into someone else's computer or network without explicit permission
❌ Spying on other people's messages, emails, or webcams
❌ Stealing passwords, data, or personal information
❌ Using security tools to bully, threaten, or blackmail anyone
❌ Accessing Wi-Fi networks you don't own without permission
❌ Distributing malware or viruses, even "for fun"
❌ Recording people without their knowledge or consent

✅ What IS Allowed — The Green Lines

✅ Securing YOUR OWN network and devices
✅ Testing YOUR OWN systems for vulnerabilities
✅ Monitoring YOUR OWN home network for intruders
✅ Setting up cameras in YOUR OWN home (with family knowledge!)
✅ Learning security concepts to protect yourself and others
✅ Responsible disclosure — reporting bugs to developers
✅ Teaching others about security and privacy
✅ Participating in legal bug bounty programs

«خَيْرُ النَّاسِ أَنْفَعُهُمْ لِلنَّاسِ»
«خير الناس أنفعهم للناس.»

خبير أمن سيبراني يحمي الأسر ويؤمّن المستشفيات ويحرس الأطفال على الإنترنت — هذا هو «الأكثر نفعًا». وهذه أسمى غاية للمعرفة الأمنية.

🌐 SECURE YOUR NETWORK

الخطوة 1: أحكِم حماية شبكتك المنزلية

Your router is the front door of your digital house. Let's secure it properly.

1

🔐 أمّن جهاز التوجيه

The #1 most important security step!

Your router is the gateway to your entire home network. Most people never change the default settings — this is like leaving your front door wide open.

✓
Change the default admin password! Go to 192.168.1.1 or 192.168.0.1 in your browser. The default is usually "admin/admin" — anyone can log in!
✓
Change your Wi-Fi password to something strong — at least 12 characters with letters, numbers, and symbols
✓
Use WPA3 (أو WPA2-AES إذا لم يكن WPA3 متاحًا). لا تستخدم WEP مطلقًا — إذ يمكن اختراقه خلال ثوانٍ
✓
Change the default Wi-Fi network name (SSID) — don't use your family name or address!
✓
Disable WPS (Wi-Fi Protected Setup) — به ثغرات أمنية معروفة
✓
Update your router's firmware — check the manufacturer's website for updates
✓
Disable remote management — nobody should manage your router from outside
✓
Create a guest network for visitors — keeps them separate from your main devices
🔓 برمجيات ثابتة مفتوحة المصدر للموجّهات

For advanced users: replace your router's firmware with OpenWrt (نظام تشغيل موجّهات مفتوح المصدر). يمنحك تحكمًا كاملًا وأمانًا أفضل وجدارًا ناريًا متقدمًا وVPN، من دون أبواب خلفية من الشركة المصنّعة. زر openwrt.org.

2

🔍 اعرف من يتصل بشبكتك

Discover every device connected to YOUR network

Do you know every device on your Wi-Fi right now? Someone could be leeching your internet — or worse, snooping on your traffic. Let's find out!

Scan your network
# ثبّت nmap — ملك فحص الشبكات $ sudo apt install nmap # افحص شبكتك المنزلية أنت (استبدل النطاق بنطاقك) $ sudo nmap -sn 192.168.1.0/24 # سترى كل جهاز مع عنوانَي IP وMAC الخاصين به # إذا رأيت جهازًا مجهولًا، فهناك شخص على شبكة Wi-Fi الخاصة بك! # لبديل بواجهة رسومية سهلة: $ sudo apt install angry-ip-scanner
⚖️ Ethics Reminder

افحص شبكتك أنت فقط! فحص شبكة شخص آخر دون إذنه illegal in most countries and is a form of tajassus (spying). Nmap is a tool — like a knife. It can cook food or cause harm. The intention (niyyah) matters!

3

🛡️ احمِ DNS لديك (احجب الإعلانات وأدوات التتبّع)

حجب الإعلانات والخصوصية على مستوى الشبكة

DNS (نظام أسماء النطاقات) يحوّل أسماء المواقع إلى عناوين IP. افتراضيًا، تُرسل طلبات DNS إلى مزوّد الإنترنت لديك — الذي يسجّل كل موقع تزوره. لنصلح ذلك ونحجب الإعلانات والبرمجيات الخبيثة في الوقت نفسه!

🕳️

Pi-hole

⭐ Best

مانع إعلانات على مستوى الشبكة يعمل على Raspberry Pi (أو أي حاسوب Linux). يحظر الإعلانات وأدوات التتبع والبرمجيات الخبيثة لكل جهاز في شبكتك — الهواتف والأجهزة اللوحية والتلفزيونات الذكية، وكل شيء!

curl -sSL https://install.pi-hole.net | bash
🔐

Quad9 DNS

Quick Fix

Free, privacy-focused DNS that blocks malware domains automatically. Just change your router's DNS to 9.9.9.9 — takes 2 minutes, protects everything!

DNS: 9.9.9.9 and 149.112.112.112
Quick DNS change on Linux
# غيّر DNS إلى Quad9 (يحجب البرمجيات الخبيثة تلقائيًا) $ sudo nano /etc/resolv.conf # أضف هذه الأسطر: nameserver 9.9.9.9 nameserver 149.112.112.112 # أو استخدم DNS مشفّرًا مع systemd-resolved: $ sudo nano /etc/systemd/resolved.conf # اضبط: DNS=9.9.9.9#dns.quad9.net # اضبط: DNSOverTLS=yes
4

🧱 اضبط جدار الحماية

The wall between you and attackers

A firewall controls what network traffic is allowed in and out of your computer. Linux has a powerful built-in firewall — it just needs to be turned on!

جدار Linux الناري (UFW — Uncomplicated Firewall)
# ثبّت UFW (قد يكون مثبّتًا بالفعل) $ sudo apt install ufw # فعّل الجدار الناري $ sudo ufw enable # الافتراضي: منع كل الاتصالات الواردة والسماح بكل الصادرة $ sudo ufw default deny incoming $ sudo ufw default allow outgoing # اسمح بـ SSH إذا احتجت إلى وصول عن بُعد $ sudo ufw allow ssh # تحقّق من الحالة $ sudo ufw status verbose # 🎉 جدارك الناري مفعّل الآن!
🖥️ خيار الواجهة الرسومية

Don't like the terminal? Install GUFW for a graphical firewall manager: sudo apt install gufw

5

🌍 VPN — Encrypt Your Internet Traffic

لا أحد يرى ما تفعله على الإنترنت

A VPN (شبكة خاصة افتراضية) تشفّر كل حركة بياناتك على الإنترنت، فلا يستطيع أحد — لا مزوّد الإنترنت ولا صاحب شبكة Wi-Fi في المقهى ولا الحكومة — رؤية المواقع التي تزورها أو البيانات التي ترسلها.

🔧

WireGuard

⭐ Best OS VPN

VPN حديث وسريع ومفتوح المصدر. نحو 4,000 سطر شيفرة فقط (مقابل أكثر من 100,000 في OpenVPN). مدمج في نواة Linux. فائق السرعة.

$ sudo apt install wireguard
🌐

Tailscale

Easiest

Free, open-source mesh VPN. Connect all your devices securely — access your home network from anywhere. Uses WireGuard underneath.

$ curl -fsSL https://tailscale.com/install.sh | sh
⚖️ VPN Ethics

تحمي VPN خصوصيتك — وهي right. لكن استخدام VPN لإخفاء نشاط غير قانوني لا يجعله حلالًا. فالخصوصية تعني حماية نفسك من المراقبة، لا التهرّب من المسؤولية. "الله يرى ما تفعل حتى عندما لا يراك أحد."

🐧 SECURE YOUR LINUX PC

الخطوة 2: عزّز أمان حاسوب Linux

Linux أكثر أمانًا من Windows أصلًا — لكن لنجعله حصنًا!

A

🔄 حافظ على تحديث كل شيء

The #1 security practice — takes 30 seconds
Update your system
# حدّث كل شيء — نفّذ هذا بانتظام! $ sudo apt update && sudo apt upgrade -y # فعّل التحديثات الأمنية التلقائية $ sudo apt install unattended-upgrades $ sudo dpkg-reconfigure -plow unattended-upgrades # اختر "Yes" → تُثبّت التحديثات الأمنية تلقائيًا!
B

🔑 أمن كلمات المرور والحسابات

✓
Use a strong login password — 12+ characters, mix of letters/numbers/symbols
✓
اقفل الشاشة عند الابتعاد — set auto-lock to 5 minutes in Settings → Privacy
✓
Use a password manager — KeePassXC (open source!) stores all passwords encrypted
✓
Enable 2FA (المصادقة الثنائية) على كل حساب إلكتروني يدعمها
✓
لا تعِد استخدام كلمات المرور أبدًا — every account gets a unique password (that's why you need a manager!)
Install KeePassXC password manager
$ sudo apt install keepassxc # افتحه → إنشاء قاعدة بيانات → تعيين كلمة المرور الرئيسية # خزّن الآن كل كلمات مرورك في خزنة مشفّرة واحدة!
C

🔒 شفّر قرصك الصلب

If your laptop is stolen, encryption means the thief cannot read your files — they just see random noise. Both Linux Mint and Zorin OS offer full disk encryption during installation!

✅ How to Enable

When installing Linux Mint or Zorin, check the box that says «شفّر التثبيت الجديد للأمان». ستعيّن كلمة مرور تشفير مطلوبة عند كل إقلاع. ويستخدم هذا LUKS — an open-source standard trusted by governments and militaries.

هل ثبّت النظام دون تشفير؟ لا يزال بإمكانك تشفير مجلدك الشخصي:

Encrypt specific folders with VeraCrypt
# ثبّت VeraCrypt — تشفير أقراص مفتوح المصدر # نزّل من veracrypt.fr/en/Downloads.html # أنشئ حاوية مشفّرة للملفات الحساسة
D

🦠 مكافحة البرمجيات الخبيثة وكشف برمجيات Rootkit

نادرًا ما تصيب الفيروسات Linux، لكنه ليس محصّنًا. احذر خصوصًا من rootkit (برمجيات خبيثة مخفية تمنح المهاجمين تحكمًا كاملًا).

Security scanning tools
# ClamAV — مضاد فيروسات مفتوح المصدر $ sudo apt install clamav clamav-daemon $ sudo freshclam # حدّث تعريفات الفيروسات $ clamscan -r /home/ # افحص مجلدك الشخصي # rkhunter — كاشف برمجيات rootkit الخبيثة $ sudo apt install rkhunter $ sudo rkhunter --check # افحص بحثًا عن rootkits # chkrootkit — ماسح آخر لبرمجيات rootkit الخبيثة $ sudo apt install chkrootkit $ sudo chkrootkit # شغّل الفحص # Lynis — تدقيق أمني شامل للنظام $ sudo apt install lynis $ sudo lynis audit system # تدقيق أمني شامل!
E

🌐 Secure Your Browser

Your browser is your window to the internet — and the #1 attack vector. Secure it!

✓
Use Firefox (مفتوح المصدر ويركّز على الخصوصية) أو Brave (يحجب الإعلانات وأدوات التتبع افتراضيًا)
✓
Install uBlock Origin — open-source ad/tracker blocker (the best one)
✓
Enable HTTPS-Only Mode in Firefox (Settings → Privacy → HTTPS-Only Mode)
✓
Disable third-party cookies — blocks cross-site tracking
✓
Use a private search engine — DuckDuckGo, Startpage, or SearXNG (open source!)
📹 الكاميرات المنزلية

الخطوة 3: أمّن الكاميرات المنزلية

Protect your home with open-source camera systems — without sending your video to corporate clouds.

«لَا تَجَسَّسُوا»
«ولا تجسسوا» — القرآن 49:12

Home cameras are for protecting YOUR home and family. يجب ألا تُستخدم أبدًا للتجسس على الجيران أو تسجيل الأشخاص دون موافقتهم أو انتهاك خصوصية أي شخص. خصوصية الآخرين مصونة في الإسلام، حتى لو سهّلت التقنية انتهاكها.

⚠️ The Problem with Commercial Cameras

ترسل معظم الكاميرات التجارية (Ring وNest وWyze) فيديوهاتك إلى company servers. قد يتمكن الموظفون أحيانًا من مشاهدة تسجيلاتك. ويمكن للشرطة طلب الوصول إليها دون علمك. وقد كشفت خروقات البيانات ملايين المقاطع المنزلية. فالكاميرا التي تراقب منزلك تراقبها أيضًا شركة.

✅ The Open Source Solution: Your Video Stays HOME

With open-source camera software, your video is stored on YOUR server — never sent to any company. You control who sees it. No subscriptions. No corporate access. No data breaches.

برامج كاميرات مفتوحة المصدر

📹

Frigate NVR

⭐ Best

مسجّل فيديو شبكي NVR مفتوح المصدر مدعوم بالذكاء الاصطناعي. يعمل على Raspberry Pi أو أي حاسوب Linux. يكتشف الأشخاص والسيارات والحيوانات بالذكاء الاصطناعي — محليًا! دون الحاجة إلى السحابة.

frigate.video
🎥

ZoneMinder

Classic

The original open-source surveillance system. Mature, stable, supports hundreds of cameras. Has motion detection, recording schedules, and web interface.

$ sudo apt install zoneminder
👁️

Motion / MotionEye

Simplest

برنامج خفيف لاكتشاف الحركة. مثالي لـRaspberry Pi. تضيف MotionEye واجهة ويب جميلة. رائع للمبتدئين!

$ sudo apt install motion
🏠

Home Assistant + Cameras

Smart Home

أتمتة منزلية مفتوحة المصدر مع دمج الكاميرات. تتحكم في الأضواء والأبواب والحساسات والكاميرات — كلها من لوحة تحكم واحدة. مجتمع ضخم.

home-assistant.io

Recommended Open-Source Compatible Cameras

📷

Reolink (ONVIF compatible)

Works with any open-source NVR. RTSP stream support. No subscription needed.

$30–$80
🍓

Raspberry Pi Camera Module

وصّله مباشرة بـRaspberry Pi. مفتوح المصدر 100%. ابنِ جهازك الخاص!

$8–$25
🔌

Any ONVIF/RTSP Camera

ابحث عن دعم "ONVIF" أو "RTSP" — تعمل هذه المعايير المفتوحة مع جميع البرمجيات مفتوحة المصدر.

$20–$60
⚖️ Camera Ethics Checklist

✅ Inform all family members that cameras are installed
✅ NEVER place cameras in private spaces (bedrooms, bathrooms)
✅ Point cameras at YOUR property only — not neighbors
✅ Post visible signs that cameras are in use
✅ Store footage securely and delete old recordings
✅ Never share footage on social media without consent
❌ NEVER record audio without consent (illegal in many places!)

🧰 مجموعة الأدوات الكاملة

مجموعة أدواتك الأمنية مفتوحة المصدر

Every tool mentioned, organized by purpose. All free. All open source.

🧱

UFW / GUFW

Firewall

جدار Linux الناري — احجب الاتصالات غير المصرّح بها

sudo apt install ufw gufw
🔍

Nmap

فحص الشبكة

Discover every device on your network

sudo apt install nmap
🕳️

Pi-hole

DNS/Ad Block

حجب الإعلانات والمتتبعات على مستوى الشبكة

pi-hole.net
🔐

WireGuard

VPN

Fast, modern, encrypted VPN tunnel

sudo apt install wireguard
🦠

ClamAV

Antivirus

ماسح فيروسات مفتوح المصدر لنظام Linux

sudo apt install clamav
🔑

KeePassXC

كلمات المرور

Encrypted password manager — offline & secure

sudo apt install keepassxc
🛡️

rkhunter

Rootkit Detect

Scan for hidden rootkits and backdoors

sudo apt install rkhunter
📊

Lynis

Security Audit

Complete system security audit with recommendations

sudo apt install lynis
🔒

VeraCrypt

Encryption

Encrypt files, folders, or entire drives

veracrypt.fr
🌐

Tailscale

VPN متداخل

Connect all your devices securely from anywhere

tailscale.com
🔧

OpenWrt

Router OS

Replace your router firmware with open-source

openwrt.org
📹

Frigate NVR

Camera NVR

نظام محلي لتسجيل الكاميرات مدعوم بالذكاء الاصطناعي

frigate.video
🕌 سدّ الفجوة

أدوات مجانية + أخلاق حقيقية = أمان متكامل

The gap in cybersecurity education isn't tools — it's ETHICS. We fill that gap.

🌍 The Problem in the World Today

The internet is full of tutorials on "how to hack Wi-Fi" and "how to crack passwords." Young people learn powerful tools without learning ethical boundaries. والنتيجة؟ يصبح الأطفال مجرمي إنترنت قبل أن يفهموا ما يفعلونه.

أدوات الأمن مفتوحة المصدر هي freely available — and that's a GOOD thing. But "free" doesn't mean "free to misuse." A surgeon's scalpel is available to buy, but using it without training is dangerous. The same applies to security tools.

The Alin Li approach: teach the tools AND the ethics together. You cannot separate them. In Islam, knowledge without ethics is fire without light.

«العِلمُ بِلا عَمَلٍ كَالشَّجَرِ بِلا ثَمَرٍ»
«العلم بلا عمل كشجرة بلا ثمر.»

ونضيف: Knowledge without ethics is like a fire without control. It will burn everything — including yourself. Use your security knowledge to protect, heal, and build. Never to harm, spy, or destroy.

🛡️

Protect, Don't Attack

Security knowledge is a shield, not a sword. Your job is to protect your family, your community, and the vulnerable — not to exploit the weak.

🤝

Disclose, Don't Exploit

Found a vulnerability? Report it to the developer (responsible disclosure). Don't exploit it for personal gain. This is Islah — fixing the world.

📚

Teach, Don't Hoard

Share security knowledge with your family and friends. Help them secure their devices. Teaching is Sadaqah Jariyah — ongoing charity that keeps benefiting.

🔍

Verify, Don't Assume

تتيح لك المصادر المفتوحة التحقق من أن البرنامج يفعل ما يدّعيه. أما المصدر المغلق فيطلب منك الثقة العمياء. وفي الإسلام: «تبيّنوا» — تحقّق قبل أن تتصرف.

🌱

Contribute Back

Report bugs, improve documentation, translate tools, teach workshops. Every contribution makes the world's digital defenses stronger. This is your Sadaqah.

🙏

Humble, Not Arrogant

قولك «أعرف كيف أخترق» ليس مدعاة للتفاخر. خبراء الأمن الحقيقيون متواضعون؛ فهم يعرفون مقدار ما يجهلونه. والكِبر يؤدي إلى الإهمال والأذى.

🛡️⚖️✨

Security With Ethics — The Alin Li Way

You now have the knowledge and tools to secure your network, your PC, and your home. But more importantly, you have the ethical framework to use these tools responsibly. The tools are free. The ethics are priceless.

🛡️
Protect
⚖️
Be Ethical
📚
Teach Others
🌱
Contribute

«وَأَلَنَّا لَهُ الْحَدِيدَ • أَنِ اعْمَلْ سَابِغَاتٍ وَقَدِّرْ فِي السَّرْدِ»

«وأَلَنّا له الحديد ۝ أن اعمل سابغات وقدّر في السرد» — القرآن 34:10-11

ليّن الله الحديد ليُستخدم في صنع الدروع — protection. وليست أسلحة للاعتداء. معرفتك بالأمن السيبراني درعك الرقمي. استخدمها للحماية. ✨