🛡️ Alin Li CyberShield

Secure Your Network, PC & Home

A comprehensive guide to cybersecurity for young people — using free, open-source tools, with real ethics and Islamic values at the core. Knowledge is power, but power without ethics is destruction.

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

The Most Important Chapter: Ethics

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

«إِنَّ اللَّهَ يَأْمُرُكُمْ أَنْ تُؤَدُّوا الْأَمَانَاتِ إِلَىٰ أَهْلِهَا»
"Indeed, Allah commands you to return trusts to their rightful owners." — Quran 4:58

In Islam, Amanah (trust) 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.

🕌 The Islamic Framework for Cybersecurity

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.

🔒

Amanah (Trust)

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.

👁️

No Tajassus (No Spying)

"Do not spy on one another" (Quran 49:12). Monitoring your OWN network is halal. Spying on OTHER people's private communications is haram — even if you have the tools.

🤲

Niyyah (Intention)

"Actions are judged by intentions" (Hadith Bukhari). Learning security to PROTECT is noble. Learning security to HARM, steal, or spy is sinful. Same tool — different intention — opposite judgment.

⚖️

Adl (Justice)

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)

Made a mistake? Islam's door of Tawbah is always open. Contributing to security — fixing bugs, reporting vulnerabilities, teaching others — is a form of giving back. Every contribution is Sadaqah.

🚫 The Red Lines — NEVER Cross These

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

«خَيْرُ النَّاسِ أَنْفَعُهُمْ لِلنَّاسِ»
"The best of people are those who are most beneficial to people."

A cybersecurity expert who protects families, secures hospitals, and guards children online — THIS is being "most beneficial." This is the highest calling of security knowledge.

🌐 SECURE YOUR NETWORK

Step 1: Lock Down Your Home Network

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

1

🔐 Secure Your Router

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 (or WPA2-AES if WPA3 isn't available). NEVER use WEP — it can be cracked in seconds
✓
Change the default Wi-Fi network name (SSID) — don't use your family name or address!
✓
Disable WPS (Wi-Fi Protected Setup) — it has known vulnerabilities
✓
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
🔓 Open Source Router Firmware

For advanced users: replace your router's firmware with OpenWrt (open-source router OS). It gives you full control, better security, advanced firewall, VPN, and no manufacturer backdoors. Visit openwrt.org.

2

🔍 See Who's On Your Network

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
# Install nmap — the king of network scanning $ sudo apt install nmap # Scan YOUR home network (replace with your range) $ sudo nmap -sn 192.168.1.0/24 # You'll see every device with its IP and MAC address # If you see an unknown device — someone is on YOUR Wi-Fi! # For a friendly GUI alternative: $ sudo apt install angry-ip-scanner
⚖️ Ethics Reminder

ONLY scan YOUR OWN network! Scanning someone else's network without permission is 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

🛡️ Protect Your DNS (Block Ads & Trackers)

Network-wide ad blocking and privacy

DNS (Domain Name System) translates website names into IP addresses. By default, your DNS requests go to your ISP — who logs EVERY website you visit. Let's fix that AND block ads and malware at the same time!

🕳️

Pi-hole

⭐ Best

A network-wide ad blocker that runs on a Raspberry Pi (or any Linux PC). Blocks ads, trackers, and malware for EVERY device on your network — phones, tablets, smart TVs, everything!

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
# Change DNS to Quad9 (blocks malware automatically) $ sudo nano /etc/resolv.conf # Add these lines: nameserver 9.9.9.9 nameserver 149.112.112.112 # Or use encrypted DNS with systemd-resolved: $ sudo nano /etc/systemd/resolved.conf # Set: DNS=9.9.9.9#dns.quad9.net # Set: DNSOverTLS=yes
4

🧱 Set Up Your Firewall

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 Firewall (UFW — Uncomplicated Firewall)
# Install UFW (may already be installed) $ sudo apt install ufw # Enable the firewall $ sudo ufw enable # Default: deny all incoming, allow all outgoing $ sudo ufw default deny incoming $ sudo ufw default allow outgoing # Allow SSH if you need remote access $ sudo ufw allow ssh # Check status $ sudo ufw status verbose # 🎉 Your firewall is now active!
🖥️ GUI Option

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

5

🌍 VPN — Encrypt Your Internet Traffic

Nobody can see what you're doing online

A VPN (Virtual Private Network) encrypts ALL your internet traffic so nobody — not your ISP, not the coffee shop Wi-Fi owner, not the government — can see what websites you visit or what data you send.

🔧

WireGuard

⭐ Best OS VPN

Modern, fast, open-source VPN. Only ~4,000 lines of code (vs 100,000+ for OpenVPN). Built into the Linux kernel. Blazing fast.

$ 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

A VPN protects your privacy — which is your right. But using a VPN to hide illegal activity doesn't make it halal. Privacy is about protecting yourself from surveillance, not about evading accountability. "Allah sees what you do even when no one else can."

🐧 SECURE YOUR LINUX PC

Step 2: Harden Your Linux Computer

Linux is already more secure than Windows — but let's make it a fortress!

A

🔄 Keep Everything Updated

The #1 security practice — takes 30 seconds
Update your system
# Update EVERYTHING — run this regularly! $ sudo apt update && sudo apt upgrade -y # Enable automatic security updates $ sudo apt install unattended-upgrades $ sudo dpkg-reconfigure -plow unattended-upgrades # Select "Yes" → security updates install automatically!
B

🔑 Password & Account Security

✓
Use a strong login password — 12+ characters, mix of letters/numbers/symbols
✓
Lock screen when away — set auto-lock to 5 minutes in Settings → Privacy
✓
Use a password manager — KeePassXC (open source!) stores all passwords encrypted
✓
Enable 2FA (Two-Factor Authentication) on every online account that supports it
✓
Never reuse passwords — every account gets a unique password (that's why you need a manager!)
Install KeePassXC password manager
$ sudo apt install keepassxc # Open it → Create Database → Set master password # Now store ALL your passwords in one encrypted vault!
C

🔒 Encrypt Your Hard Drive

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 "Encrypt the new installation for security". You'll set an encryption password that's required at every boot. This uses LUKS — an open-source standard trusted by governments and militaries.

Already installed without encryption? You can still encrypt your home folder:

Encrypt specific folders with VeraCrypt
# Install VeraCrypt — open-source disk encryption # Download from veracrypt.fr/en/Downloads.html # Create an encrypted container for sensitive files
D

🦠 Anti-Malware & Rootkit Detection

Linux rarely gets viruses, but it's not immune. Especially watch for rootkits (hidden malware that gives attackers full control).

Security scanning tools
# ClamAV — open-source antivirus $ sudo apt install clamav clamav-daemon $ sudo freshclam # Update virus definitions $ clamscan -r /home/ # Scan your home folder # rkhunter — rootkit detector $ sudo apt install rkhunter $ sudo rkhunter --check # Scan for rootkits # chkrootkit — another rootkit scanner $ sudo apt install chkrootkit $ sudo chkrootkit # Run scan # Lynis — full system security audit $ sudo apt install lynis $ sudo lynis audit system # Complete security audit!
E

🌐 Secure Your Browser

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

✓
Use Firefox (open source, privacy-focused) or Brave (blocks ads/trackers by default)
✓
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!)
📹 HOME CAMERAS

Step 3: Secure Home Cameras

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

«لَا تَجَسَّسُوا»
"Do not spy on one another." — Quran 49:12

Home cameras are for protecting YOUR home and family. They must NEVER be used to spy on neighbors, record people without consent, or invade anyone's privacy. In Islam, the privacy of others is sacred — even if technology makes it easy to violate.

⚠️ The Problem with Commercial Cameras

Most commercial cameras (Ring, Nest, Wyze) send your video to company servers. Employees can sometimes view your footage. Police can request access without your knowledge. Data breaches have exposed millions of home videos. The camera watching your house is also watched by a corporation.

✅ 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.

Open Source Camera Software

📹

Frigate NVR

⭐ Best

AI-powered, open-source NVR (Network Video Recorder). Runs on a Raspberry Pi or any Linux PC. Detects people, cars, and animals using AI — locally! No cloud needed.

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

Lightweight motion detection software. Perfect for Raspberry Pi. MotionEye adds a beautiful web interface. Great for beginners!

$ sudo apt install motion
🏠

Home Assistant + Cameras

Smart Home

Open-source home automation with camera integration. Controls lights, doors, sensors AND cameras — all from one dashboard. Massive community.

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

Plug directly into a Raspberry Pi. 100% open source. Build your own!

$8–$25
🔌

Any ONVIF/RTSP Camera

Look for "ONVIF" or "RTSP" support — these open standards work with all open-source software.

$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!)

🧰 COMPLETE TOOLKIT

Your Open Source Security Toolkit

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

🧱

UFW / GUFW

Firewall

Linux firewall — block unauthorized connections

sudo apt install ufw gufw
🔍

Nmap

Network Scan

Discover every device on your network

sudo apt install nmap
🕳️

Pi-hole

DNS/Ad Block

Network-wide ad & tracker blocking

pi-hole.net
🔐

WireGuard

VPN

Fast, modern, encrypted VPN tunnel

sudo apt install wireguard
🦠

ClamAV

Antivirus

Open-source virus scanner for Linux

sudo apt install clamav
🔑

KeePassXC

Passwords

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

Mesh 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

AI-powered local camera recording system

frigate.video
🕌 FILLING THE GAP

Free Tools + Real Ethics = Complete Security

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. The result? Kids become cybercriminals before they understand what they're doing.

Open-source security tools are 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 action is like a tree without fruit."

And we add: 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

Open source lets you verify that software does what it claims. Closed source asks you to trust blindly. In Islam, "Tabayyanoo" (تبينوا) — verify before acting.

🌱

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

"I know how to hack" is not a flex. True security experts are humble — they know how much they DON'T know. Arrogance (kibr) leads to carelessness and harm.

🛡️⚖️✨

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

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

"And We softened iron for him, [commanding], 'Make full coats of armor and calculate [precisely] the links.'" — Quran 34:10-11

Allah softened iron so it could be used to make armor — protection. Not weapons of aggression. Your cybersecurity knowledge is your digital armor. Use it to protect. ✨