Cybersecurity Tools & Device Health

Welcome to this web-based lesson designed to introduce you to a range of essential cybersecurity tools and provide guidance on performing basic online health checks for your devices and digital presence. Understanding these tools and practices is crucial for anyone interested in network security, ethical hacking, or simply maintaining a secure digital life.

This lesson is presented by A F M Bakabillah.
MCT | MTCSE | RHCE | CISSP | CEH | ITIL | CISCO CyberOps | AWS Certified | Azure Admin Associate

Dashboard Overview

This dashboard covers various cybersecurity tools and device health checks. Click on any card or use the navigation bar to jump to a specific section.

Key Sections:

  • Network Scanning
  • DNS Reconnaissance
  • DDoS & Mitigation
  • Network Sniffing
  • Password Cracking
  • Open-Source Intelligence (OSINT)
  • Device Health Monitor Tools
  • IoT Security
  • Data Breach Verification
  • Safeguarding Your Devices, Clients, and End-Users

Each section provides a brief description, key commands/access methods, and important notes.

1. Network Scanning: Nmap

Nmap (Network Mapper) is a free and open-source network scanner designed to discover hosts and services on a computer network by sending packets and analyzing their responses. It's a powerful tool used for security auditing and reconnaissance.

Key Commands/Access:

  • Command: nmap 192.168.1.1 (Scan single IP)
  • Command: nmap example.com (Scan hostname)
  • Command: nmap -A 192.168.1.1 (Aggressive scan: OS, version, script, traceroute)
  • Command: nmap -p 80,443 192.168.1.1 (Scan specific ports)

Always ensure you have explicit permission before scanning any network or device you do not own or manage. Unauthorized scanning can be illegal.

2. DNS Reconnaissance: Dig & Nslookup

Dig (Domain Information Groper) and Nslookup are command-line tools for querying DNS name servers. Essential for troubleshooting DNS issues and performing domain reconnaissance.

Key Commands/Access:

  • Command: dig example.com (Query A record)
  • Command: dig example.com MX (Query MX records)
  • Command: nslookup example.com (Query A record)
  • Command: nslookup -type=mx example.com (Query MX records)
  • Web Tool: Domain Information Checker (Search 'WHOIS lookup' e.g., whois.com, lookup.icann.org)

3. DDoS & Mitigation: Scapy, Wireshark

Distributed Denial of Service (DDoS) attacks aim to disrupt services by overwhelming systems with traffic. Tools like Scapy can be used for attack simulation (ONLY on authorized systems), while Wireshark is essential for detecting and analyzing DDoS traffic.

Key Commands/Access:

  • Scapy (Custom Packet Flood - Python): from scapy.all import IP, TCP, send; send(IP(dst='target_ip')/TCP(dport=80, flags='S'), loop=1) (SYN flood - EXTREME CAUTION!)
  • Wireshark (DDoS Detection/Analysis): Use display filters like tcp.flags.syn==1 and tcp.flags.ack==0 and tcp.window_size == 0 (for SYN flood detection) or icmp.type == 8 (for ICMP flood). Look for unusually high traffic volume from many sources.
  • Mitigation Tip: Implement rate limiting on firewalls/routers.
  • Mitigation Tip: Use a DDoS protection service (e.g., Cloudflare, Akamai).
  • Mitigation Tip: Ensure network infrastructure can handle traffic spikes.

DDoS attacks are illegal and highly damaging. These tools are for educational and authorized testing purposes only. Never use them against systems you do not own or have explicit permission to test.

4. Network Sniffing: Wireshark & Tcpdump

Network sniffing, also known as packet sniffing or network analysis, involves capturing and inspecting data packets that flow across a computer network. This is crucial for network troubleshooting, security analysis, and understanding network traffic patterns.

Key Commands/Access:

  • Command: sudo tcpdump -i eth0 (Capture all traffic on eth0)
  • Command: sudo tcpdump -i eth0 -w capture.pcap (Save capture to file)
  • Command: sudo tcpdump -i eth0 port 80 (Capture HTTP traffic)
  • Wireshark Usage: Select interface, start capture, use display filters (e.g., 'tcp.port == 80' or 'ip.addr == 192.168.1.100')

Require elevated privileges. Unauthorized monitoring is illegal and unethical.

5. Password Cracking: Hydra & Crunch

Tools used for password attacks. Hydra is a fast network logon cracker supporting many protocols. Crunch is a wordlist generator for brute-force and dictionary attacks.

Key Commands/Access:

  • Command (Hydra): hydra -l root -P /path/to/passlist.txt ssh://target_ip (SSH brute-force)
  • Command (Crunch): crunch 4 6 -o wordlist.txt -l (Generate min 4, max 6 lowercase chars)

Only use on systems you own or have explicit permission to test. Unauthorized cracking is illegal.

6. Open-Source Intelligence (OSINT): OSINT Framework

The OSINT Framework is a web-based collection of various open-source intelligence tools and resources, categorized for gathering publicly available information about individuals, organizations, or topics. It's used for investigations, competitive intelligence, and personal security.

Key Commands/Access:

  • Access: Search 'OSINT Framework' online (e.g., osintframework.com)
  • Usage: Explore categories like Usernames, Email Addresses, Domain Names, Social Networks, Public Records, and click links to external tools.

Used for legitimate purposes like journalism, law enforcement, and cybersecurity investigations.

7. Device Health Monitor Tools

Online tools to test various hardware components and digital security aspects of your device and online presence. These are typically web-based services.

Key Commands/Access:

  • Mouse Check: Search 'online mouse test' (e.g., mouse-test.com)
  • Keyboard Check: Search 'online keyboard test' (e.g., keyboardtester.com)
  • Webcam Check: Search 'online webcam test' (e.g., webcamtests.com)
  • Monitor/Screen Check: Search 'online monitor test' (e.g., eizo.com/monitor-test)
  • Speed Test: Search 'speed test' on Google or use specific tools like speedtest.net or fast.com
  • Malicious Code Checker: Search 'online virus scanner' (e.g., VirusTotal, Jotti's Malware Scan, urlscan.io for URLs)
  • Password Strength Checker: Search 'online password strength checker' (e.g., howsecureismypassword.net, Dashlane's tool, or client-side libraries like zxcvbn)

Online checkers are for quick scans; they don't replace comprehensive local solutions. Be cautious with sensitive data.

8. IoT Security: Discovery & Safeguarding

The Internet of Things (IoT) brings new security challenges. Understanding how to discover IoT devices and secure them is crucial for network integrity.

Key Commands/Access:

  • Discovery (Command Line): Nmap can identify common IoT ports/services (e.g., nmap -p 80,443,8080,8888 192.168.1.0/24).
  • Discovery (Web-based): Shodan.io (The 'search engine for IoT') allows searching for internet-connected devices by type, location, and vulnerabilities.
  • Discovery (Web-based): Censys.io provides similar capabilities for discovering internet-facing assets, including IoT.
  • Safeguarding Tip: Change default passwords immediately.
  • Safeguarding Tip: Isolate IoT devices on a separate network (VLAN) if possible.
  • Safeguarding Tip: Keep IoT device firmware updated.
  • Safeguarding Tip: Disable unnecessary services and features on IoT devices.
  • Safeguarding Tip: Be cautious about connecting IoT devices to the internet if not essential.

IoT devices often have weak security by default. Proactive measures are vital to prevent them from becoming entry points for attackers.

9. Data Breach Verification: Have I Been Pwned

A free resource to check if your email address or phone number has been compromised in a data breach. Maintained by security expert Troy Hunt.

Key Commands/Access:

  • Access Tool: Have I Been Pwned (https://haveibeenpwned.com/) - Enter email/phone, click 'pwned?'.
  • Access Tool: Firefox Monitor (monitor.firefox.com) - Similar to HIBP, checks email for breaches.
  • Access Tool: Google Password Checkup (part of Google Account Security Checkup) - Checks saved passwords against known breaches.
  • Offline Tool (Local Password Managers): Many password managers (e.g., LastPass, 1Password, Bitwarden) have built-in breach monitoring features that check your stored credentials locally.
  • Offline Tool (OSINT Tools): Tools like the Breach-Parse script or OSINT frameworks can sometimes leverage publicly available breach data for offline analysis (requires technical expertise and data sources).

If pwned: Change compromised passwords immediately, enable 2FA, and be vigilant for phishing. Always use reputable tools and be cautious with sensitive information.

Safeguarding Your Devices, Clients, and End-Users

Beyond understanding cybersecurity tools, proactive measures are essential to protect digital assets. Here are key tips for comprehensive safeguarding:

For Your Devices:

For Clients and End-Users: