Cybersecurity Basics Labs

Defensive security practicals — safe home lab, passwords and MFA, phishing, Windows and Linux hardening, logs, backups and Wi-Fi.

Defensive only: these labs protect your own devices and accounts. Practise only on machines and networks you own; testing other people's systems without permission is illegal.
Lost money to online fraud? Call the national cybercrime helpline 1930 immediately and report it at cybercrime.gov.in.
PromptSetu is not affiliated with or endorsed by Cisco, Microsoft, Amazon, Red Hat, CompTIA or Docker. These labs are practice prompts, not official training, and they do not guarantee an exam pass.

Versions checked on 22 November 2026.

Lab setup

What you need

  • VirtualBox (free), Hyper-V or VMware
  • A Windows 11 VM and an Ubuntu 24.04 or RHEL 10 VM on a host-only network
  • 8 GB RAM minimum; 16 GB is more comfortable

How to use these prompts

  • Pick a practical below and press Copy or Run with AI
  • Fill in the [brackets] with your lab details
  • Follow the steps in your own VM or simulator
  • Paste any error back to the AI and ask for the fix
Practicals

9 step-by-step lab prompts

IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: build a safe home lab

I am a student in India starting cybersecurity. Help me build a safe, isolated practice lab on my own laptop using [VirtualBox/Hyper-V/VMware] with one Windows 11 VM and one Ubuntu VM on a host-only or internal network, so nothing I practise touches my home network or anyone else's devices. Explain snapshots and how to roll back. My laptop has [8/16] GB RAM. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: password manager and MFA

Help me secure my own online accounts. Guide me to choose and set up a reputable password manager, create a strong master passphrase, replace reused passwords starting with [email, banking/UPI apps, social media], and turn on multi-factor authentication using an authenticator app or passkey instead of SMS where possible. Explain how to store backup codes safely. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: spot and report phishing

Teach me to recognise phishing in emails, SMS and WhatsApp messages common in India (fake KYC updates, electricity bill disconnection, courier, job offer, UPI collect requests and fake customer care numbers). Give me 6 realistic example messages to judge one by one, then show me how to check sender details and links safely without clicking. Finish with what to do if money is lost: call the 1930 cybercrime helpline immediately and file a complaint at cybercrime.gov.in, and inform my bank. Act as my trainer and quiz me at the end.
IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: harden Windows 11 with Defender and firewall

Help me harden my own Windows 11 PC or lab VM using built-in tools: check Microsoft Defender Antivirus status and update definitions, run a quick and offline scan, turn on tamper protection and ransomware protection (controlled folder access), check Windows Firewall profiles, enable automatic updates, and use a standard (non-admin) account for daily work. Show both the Windows Security app steps and the PowerShell commands. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: Linux hardening basics

Help me apply basic hardening to my own [Ubuntu 24.04/RHEL 10] lab server: install updates and enable automatic security updates, create a sudo user, set up SSH key login with ssh-keygen and ssh-copy-id, disable password and root login over SSH, and turn on the firewall with [ufw/firewalld] allowing only SSH. Warn me how to avoid locking myself out. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: read logs for suspicious logins

Help me check the logs on my own lab machines for suspicious sign-in activity: on Windows, use Event Viewer and PowerShell to find failed logons (Event ID 4625) and successful logons (4624); on Linux, use journalctl, /var/log/auth.log or /var/log/secure, last and lastb. Explain what normal and suspicious patterns look like and what defensive steps to take. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: 3-2-1 backups and recovery test

Help me set up a 3-2-1 backup plan for my [laptop/small office]: 3 copies of my data, on 2 different types of storage, with 1 copy offline or offsite. Use built-in tools such as File History or Windows Backup and an external drive, plus a cloud option. Then guide me through a test restore so I know the backup really works, and explain why offline copies help against ransomware. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: secure my home Wi-Fi router

Help me secure my own home Wi-Fi router [brand/model]: change the default admin password, update the firmware, use WPA3 or WPA2-AES, set a strong Wi-Fi password, turn off WPS and remote management, create a guest network for visitors and smart devices, and review connected devices. Explain each setting simply. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsCybersecurity basicsPractical

Cybersecurity: CIA triad and core concepts quiz

Act as my tutor for Security+ style core concepts. Explain the CIA triad (confidentiality, integrity, availability), authentication vs authorisation, least privilege, defence in depth, hashing vs encryption, and the difference between a vulnerability, a threat and a risk, using simple Indian everyday examples. Then give me 10 scenario-based multiple-choice questions one at a time, tell me if I am right, and explain why. Keep everything defensive.
Cheat sheet

Most-used commands

Replace example names, IDs and IP addresses with your own.

Defensive commands (Windows and Linux)What it doesCopy
Get-MpComputerStatusCheck Microsoft Defender status
Update-MpSignatureUpdate Defender definitions
Start-MpScan -ScanType QuickScanRun a quick Defender scan
Get-NetFirewallProfile | Select Name, EnabledCheck Windows Firewall profiles
Set-NetFirewallProfile -Profile Domain,Private,Public -Enabled TrueTurn the firewall on for all profiles
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4625} -MaxEvents 20Show recent failed logons (run as admin)
Get-LocalUserList local accounts
sudo apt update && sudo apt upgradeInstall Ubuntu updates
sudo ufw default deny incomingBlock incoming traffic by default
sudo ufw allow OpenSSHAllow SSH through ufw
sudo ufw enableTurn on ufw
sudo ufw status verboseCheck ufw rules
sudo firewall-cmd --list-allCheck firewalld rules (RHEL)
ssh-keygen -t ed25519Create an SSH key pair
ssh-copy-id [email protected]Copy your public key to the lab server
sudo journalctl -u ssh --since todayShow today's SSH logs (Ubuntu; use sshd on RHEL)
last -aShow recent logins
sudo lastbShow failed login attempts
FAQ

Questions

Can I run these prompts in ChatGPT, Gemini or Claude?

Yes. Copy any prompt, fill in the [brackets] and paste it into your favourite AI, or press Run with AI to use it here (5 AI runs a day on the free plan).

Is the AI always right about commands?

No. AI can make mistakes. Always check commands against the official documentation, and practise only in your own lab or VM.

Do I need to pay for software?

No for most labs. The free options are listed under Lab setup. Cloud labs need a free account; always delete resources after a lab.