Category: Cybersecurity & Networking

  • How Browsers Get Hijacked: Session Theft, Explained Defensively

    How Browsers Get Hijacked: Session Theft, Explained Defensively

    This guide covers how Browsers Get Hijacked.

    How Browsers Get Hijacked: Session Theft, Explained Defensively
    Photo: Marbot, CC BY-SA 4.0, via Wikimedia Commons

    You log in correctly — right password, right code, maybe even a passkey — and an attacker still ends up inside your account without ever logging in. The usual explanation is session theft: after you authenticate, the site gives your browser a session cookie, and whoever presents that cookie is treated as you. This article explains, from OWASP, Google, and FIDO Alliance primary materials, how that handoff works, how the cookie gets stolen, and the defenses that actually shrink the risk.

    The session is the prize after login

    Authentication proves who you are once. A session keeps you logged in afterward. OWASP’s Session Management Cheat Sheet puts the stakes plainly: an authenticated session identifier is temporarily equivalent to the strongest authentication method used to establish the session. In practice, sites store that identifier in a cookie, and the browser sends it automatically with each request. Steal a still-valid copy — through malware that reads browser storage, a cross-site scripting flaw, a leaked log, or a phishing proxy that relays your real login and keeps the resulting cookie — and the server may accept it without asking for your password or passkey again.

    Why passkeys help — and where they stop

    Passkeys, built on FIDO2 and WebAuthn, are origin-bound: the authenticator signs a challenge only for the genuine site, so a look-alike page cannot collect a usable credential, and there is no shared secret for a breached database to leak. That closes the credential-phishing door. It does not, by itself, protect the session created after a successful login. If that session is a long-lived, replayable bearer cookie and it is copied, the attacker is reusing your authenticated session, not breaking your passkey. The honest summary: passkeys protect sign-in; session design and device hygiene protect everything after sign-in.

    The cookie flags that limit the damage

    Google’s cookie documentation and OWASP’s guidance describe the same core settings for session cookies:

    • Secure — the cookie is sent only over HTTPS, so it is not exposed on plain-HTTP requests.
    • HttpOnly — JavaScript cannot read the cookie through document.cookie, which helps against cookie theft through scripting attacks.
    • SameSite — controls whether the cookie rides along on cross-site requests; Strict is the tightest, Lax is the common default, and None requires Secure.
    • Short lifetime and rotation — sessions should expire, be renewed after login and privilege changes, and be revocable, so a stolen copy has a short useful life.

    No single flag stops malware already running on your device from abusing a live session — which is why the user-side habits below matter as much as the site-side settings.

    What to do on your own accounts

    • Prefer passkeys where offered, and keep a strong, unique password plus two-factor authentication where they are not.
    • Treat unexpected “verify” pages as hostile. A proxy that relays a real login can harvest the session at the end of it; navigate to important sites yourself instead of following login links in messages.
    • Keep the browser and operating system updated, and run reputable anti-malware. Infostealer malware that copies cookies is a device problem first.
    • Use the site’s “sign out all devices” / active-sessions page after any scare, change the password, and revoke unknown sessions — that invalidates stolen copies instead of waiting for them to expire.
    • Log out on shared machines, and lock your own. A live session on an unlocked browser is an open account.
    • Be suspicious of extensions and downloads. Anything that can read your browsing can reach for your sessions.

    The honest limits

    Defenses layer; none is absolute. HttpOnly does not stop injected script from acting inside your session, SameSite does not stop same-site attacks, and a passkey does not disinfect a compromised device. Sites carry their share too: short-lived, bound, revocable sessions are a design choice only the service can make. What you control is the combination — phishing-resistant login, a clean device, and fast revocation when something looks wrong.

    How Browsers Get Hijacked: Session Theft, Explained Defensively
    Photo: Jacobo221, CC BY-SA 4.0, via Wikimedia Commons

    The bottom line

    Browser hijacking is rarely about guessing your password. It is about stealing the proof that you already logged in. Use passkeys, keep the device clean, distrust relayed login pages, and know where each important service lists your active sessions — so if a cookie ever walks away, you can kill it before it is used.

    By Karl Amber

    Sources

    • OWASP Session Management Cheat Sheet — a session identifier is temporarily equivalent to the strongest authentication used to establish it; session generation, lifetime, renewal, and revocation guidance.
    • Google Privacy Sandbox, Cookie attributes — Secure (HTTPS only), HttpOnly (JavaScript cannot access the cookie), SameSite (Strict / Lax / None, with None requiring Secure), and session-cookie behavior when no expiry is set.
    • FIDO Alliance, FIDO2 / WebAuthn and passkeys materials — origin-bound public-key credentials, no shared secret, phishing-resistant sign-in.
    • CISA phishing guidance — recognizing and reporting phishing and adversary-in-the-middle lures.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from OWASP, Google, and FIDO Alliance primary materials — our coverage is original and defensive throughout.

    That is the complete picture on how Browsers Get Hijacked.

    Featured image: Nifl99 (talk · contribs), MIT, via Wikimedia Commons

  • Audit Your Own Home Network Like an Attacker — Defensively

    Audit Your Own Home Network Like an Attacker — Defensively

    This guide covers audit Your Own Home Network Like an Attacker.

    Audit Your Own Home Network Like an Attacker — Defensively
    Photo: Texas. Office of the State Auditor; Alwin, Lawrence F, Public domain, via Wikimedia Commons

    An attacker who reaches your home network starts with inventory: what is connected, what is listening, and what is still running its factory settings. You can run that same inventory first, on your own network, with free tools and guidance published by CISA and the Nmap Project. This is a defensive audit only: scan networks and devices you own or are explicitly authorized to test, fix what you find, and stop there.

    Step 1: List everything that is connected

    Start in your router’s admin page, which lists attached devices, and compare it against what you expect. Then confirm it from the wire with Nmap’s host discovery. Per the Nmap Reference Guide, a ping scan with nmap -sn 192.168.1.0/24 (adjust the range to your own subnet) disables port scanning and simply reports which hosts are up — on a local Ethernet network Nmap uses ARP discovery, which is fast and reliable. Any device you cannot identify is the first finding: find it, rename it in the router, or remove it.

    Step 2: See what each device is offering

    Nmap’s own description of itself is a tool for network exploration and security auditing that uses raw IP packets to determine what hosts are available, what services they are offering, and what operating systems they are running. A service scan such as nmap -sV 192.168.1.10 against your own device reports open ports and service versions. Read the output the way an auditor does: every open port should have an owner and a reason. Old file-sharing services, forgotten remote-access ports, and a printer or camera still exposing an admin page to the whole LAN are the usual surprises.

    Step 3: Fix the router first — CISA’s baseline

    CISA’s home Wi-Fi guidance sets the floor, and an audit should check each item:

    • Change the router login username and password. Default router information may be publicly available; make the replacement long, random, and unique, and different from the Wi-Fi password.
    • Update the firmware, and turn on automatic updates where offered. Routine updates protect against known vulnerabilities; a router that no longer receives updates is a replacement candidate.
    • Change the default SSID and set a strong Wi-Fi passphrase — CISA suggests five to seven unrelated words totaling at least 16 characters, not reused elsewhere.
    • Use WPA3 Personal or WPA2 AES encryption. Open networks and legacy WEP, WPA, or WPA2-TKIP are not acceptable.
    • Disable remote management so settings can only be changed from inside your network, and disable WPS where CISA guidance calls for it.

    Step 4: Reduce what the scan can find next time

    Close or disable services you do not use, update the devices that remain, put guests and smart-home gadgets on the guest network or a separate segment where your router supports it, and re-run the same two Nmap commands. The audit is only useful as a comparison: this month’s list against last month’s list, with every new device and new open port explained.

    The honest limits

    A home scan sees your network from one vantage point, at one moment. It does not prove a device is clean, it does not replace firmware updates or strong passwords, and a port reported as filtered may simply be blocked from your scanning position. Never scan a network you do not own — a neighbor’s, an employer’s, or a public network — without explicit authorization; the same commands that audit your home are intrusive anywhere else.

    Audit Your Own Home Network Like an Attacker — Defensively
    Photo: Texas. Office of the State Auditor; Alwin, Lawrence F, Public domain, via Wikimedia Commons

    The bottom line

    Attackers inventory before they act. Beat them to the list: discover every host with nmap -sn, check services on your own devices with nmap -sV, hold the router to CISA’s baseline — changed defaults, current firmware, WPA3 or WPA2 AES, remote management off — and repeat it on a schedule. Your network, audited by you first.

    By Karl Amber

    Sources

    • CISA, Project Upskill Module 5: Securing Your Home Wi-Fi — change default router credentials (long, random, unique), update firmware and enable automatic updates, change the default SSID, Wi-Fi passphrase guidance (5–7 unrelated words, at least 16 characters), WPA3 Personal or WPA2 AES, and disabling remote management.
    • Nmap Reference Guide / Nmap Project documentation (nmap.org) — Nmap as a network exploration and security auditing tool; host discovery and ping scan (-sn disables port scanning); service and version detection (-sV); port states (open, filtered, closed).
    • CISA, Securing Wireless Networks / Home Network Security guidance — general home-network hardening context.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from CISA guidance and the Nmap Project’s own documentation — our coverage is original, and the audit described is for networks you own.

    That is the complete picture on audit Your Own Home Network Like an Attacker.

    Featured image: Texas. Office of the State Auditor; Alwin, Lawrence F, Public domain, via Wikimedia Commons

  • The Windows Commands That Actually Matter

    The Windows Commands That Actually Matter

    This guide covers the Windows Commands That Actually Matter.

    The Windows Commands That Actually Matter
    Photo: Microsoft CorporationThe original uploader was Kurmanbek at Wikipedia., Public domain, via Wikimedia Commons

    Windows ships with a long list of command-line tools, and most “essential commands” lists pad themselves with trivia. A working technician reaches for the same small set every day: five network commands that locate a fault, and two repair commands that fix the operating system itself. This guide covers that set, from Microsoft Learn’s own command references — what each command shows, the form that matters, and the order to use them in.

    What these commands are, in Microsoft’s own terms

    Every tool below is built into Windows and documented in Microsoft Learn’s Windows Commands reference. They fall into two families:

    • Network diagnosis: ipconfig, ping, tracert, nslookup, and netstat — read-only tools that show configuration, test reachability, trace a path, check name resolution, and list live connections.
    • System repair: sfc (System File Checker) and DISM (Deployment Image Servicing and Management) — tools that scan and repair protected system files and the Windows component store they come from.

    None of them needs installing. The repair pair needs an administrator command prompt; the network five run in any prompt.

    The network five, in working order

    Per Microsoft Learn’s references:

    • ipconfig displays the current TCP/IP configuration for every adapter — addresses, subnet mask, and default gateway. ipconfig /all adds the detail a diagnosis needs: DNS servers, DHCP state, and physical addresses. ipconfig /flushdns clears the local DNS resolver cache, and /release and /renew drop and re-request a DHCP lease.
    • ping sends ICMP echo requests to a host and reports replies and round-trip times — the plain test of whether a destination answers at all. Ping your gateway first, then an outside address, and you have already split “my network” from “their network.”
    • tracert traces the route to a destination hop by hop, timing each step, so you can see where a path slows or stops instead of guessing that “the internet is down.”
    • nslookup queries DNS directly. When a site will not open but its address answers a ping, nslookup on the name tells you whether name resolution is the broken layer.
    • netstat displays active connections and listening ports. netstat -ano adds the owning process ID for each connection, which is how you answer the security question: what is this machine talking to, and which program is doing it?

    The repair pair: SFC, then DISM, then SFC again

    Per Microsoft’s documentation for the two tools:

    • sfc /scannow scans all protected system files and replaces corrupted or incorrect versions with correct Microsoft copies. /verifyonly scans without repairing, when you want the diagnosis first.
    • DISM /Online /Cleanup-Image /RestoreHealth repairs the Windows component store — the source SFC restores files from. DISM /Online /Cleanup-Image /CheckHealth and /ScanHealth report the store’s state before you commit to a repair.

    The documented working order matters: if SFC reports files it could not fix, the store it restores from is itself damaged. Run DISM with /RestoreHealth first, then run sfc /scannow again. Let each command finish — interrupting a repair pass is how a fixable system becomes a reinstall.

    The defensive use: a routine, not a rescue

    These commands earn their place as a routine:

    The Windows Commands That Actually Matter
    Photo: Microsoft, Public domain, via Wikimedia Commons

    • Baseline a healthy machine. Save ipconfig /all and netstat -ano output when everything works. A baseline turns “something looks odd” into a comparison.
    • Diagnose in layers. Address (ipconfig), reachability (ping gateway, then outside), path (tracert), names (nslookup). Each step rules out a layer instead of reinstalling hope.
    • Audit connections you cannot explain. A listening port or a persistent outbound connection with an unfamiliar process ID is a finding: identify the program before you trust the machine.
    • Repair before you reinstall. SFC and DISM, in the order above, fix a large share of “Windows is just broken” cases while keeping your files and applications in place.

    The honest limits

    These tools report and repair; they do not explain everything. A successful ping proves a host answered ICMP — not that its service works. tracert shows the path replies came from, and some hops simply do not answer. netstat shows connections, not intentions: a legitimate updater and a malicious process can look similar until you identify the program behind the process ID. And SFC/DISM repair Windows’ own files — they are not malware removal, and a machine you believe is compromised needs a security response, not just a file check.

    The bottom line

    Seven commands carry nearly all of everyday Windows diagnosis and repair: ipconfig to see the configuration, ping to test reachability, tracert to find where the path breaks, nslookup to isolate DNS, netstat -ano to name every live connection and its process, and sfc with DISM — in that order, DISM first when SFC cannot finish — to repair the system itself. Learn them in that sequence and most “the computer is broken” calls become a ten-minute layered check.

    By Karl Amber

    Sources

    • Microsoft Learn — Windows Commands reference and the individual command references for ipconfig, ping, tracert, nslookup, and netstat.
    • Microsoft Learn / Microsoft Support — System File Checker documentation and DISM documentation (the documented sequence of running DISM before re-running SFC when SFC cannot repair files).

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from Microsoft Learn’s command references — our coverage is original.

    That is the complete picture on the Windows Commands That Actually Matter.

    Featured image: iMahesh, CC BY-SA 4.0, via Wikimedia Commons

  • Sherlock: One Username, Everywhere — Audit Yourself First

    Sherlock: One Username, Everywhere — Audit Yourself First

    This guide covers sherlock: One Username, Everywhere.

    Sherlock: One Username, Everywhere — Audit Yourself First
    Photo: A.-K. D., CC BY-SA 4.0, via Wikimedia Commons

    Most people pick one username years ago and reuse it everywhere: the same handle on games, forums, photo apps, code hosts, and marketplaces. That single choice quietly draws a map — anyone who knows the handle can look for it platform by platform and assemble a picture of where you post, what you play, and what you sell. Sherlock is the open-source tool that draws that map in minutes. This guide explains, from the Sherlock Project’s own documentation, what it actually does, what it cannot prove, and the defensive routine that matters: run it on yourself first.

    What Sherlock is, in the project’s own terms

    Sherlock is a free, open-source command-line tool maintained by the Sherlock Project, created by Siddharth Dushantha, written in Python and released under the MIT license. Its own one-line description is to hunt down social media accounts by username across social networks — and per the project, that means more than 400 sites.

    Per the project documentation, a run works like this:

    • You supply one or more usernames. The basic command is simply sherlock username; several handles can be checked in one run, and the search can be narrowed to named sites with the --site option.
    • It checks each site’s public profile address. For every supported site, Sherlock requests the public profile URL for that username and judges from the response whether an account exists there.
    • It reports the found profiles. Hits print to the terminal and are saved to a per-username text file, with CSV and spreadsheet export available.

    Installation is through the project’s own channels: pipx install sherlock-project is the recommended route, with pip and a Docker image also documented. The full, current list of supported sites is maintained by the project and published on its site.

    What it cannot do — the honest limits

    Sherlock checks public existence. It does not establish identity, and treating a hit list as a dossier on a person is the central misuse of the tool:

    • It does not prove that two accounts with the same username belong to the same person. Handles collide; a stranger may own your name on a platform you have never used.
    • It does not access anything private. It asks for public profile pages only — no passwords, no messages, no login of any kind.
    • It does not guarantee completeness or accuracy. Sites change how their profile pages respond, so results can include false positives and can miss accounts that exist.
    • It takes usernames only — not real names, email addresses, or phone numbers.

    The defensive use: run your own handle first

    Used on a handle you own, a Sherlock run answers three practical questions:

    • Where does my handle still exist? Old forum, gaming, and marketplace accounts you forgot are still public, still tied to the same name, and still searchable together.
    • What does the combined picture say? Read the hits like a stranger: locations mentioned, workplaces named, routines visible across posts. The risk is rarely one account — it is the join between accounts.
    • What can I close or rename? Delete accounts you no longer use, rename the ones that do not need your main handle, and set profiles private where the platform offers the setting.

    Run the tool only on usernames you own or are authorized to audit, and verify every hit by opening the profile before drawing any conclusion from it.

    The habits that shrink the map

    A scan finds the exposure. These habits reduce it:

    Sherlock: One Username, Everywhere — Audit Yourself First
    Photo: A.-K. D., CC BY-SA 4.0, via Wikimedia Commons

    • Stop reusing one handle everywhere. Use distinct usernames for distinct parts of your life, so one name no longer links your gaming, work, and selling profiles into a single trail.
    • Close dormant accounts. An account you have not opened in years still answers when someone searches the handle — and its old posts still describe you.
    • Set profiles private where the platform allows it, and review what stays public: bio lines, location fields, and linked accounts are the fields strangers read first.
    • Do not publish the join keys. The same photo, the same bio sentence, and the same handle reused across sites are what let separate accounts be tied together with confidence.
    • Re-run the audit when you adopt a new handle or join a new platform under an old one — the map grows one signup at a time.

    The honest limits of the audit itself

    A clean Sherlock run does not mean you are invisible. Sites outside its list, accounts under different handles, and mentions by other people all sit beyond what a username check can see. And a hit under your handle may not be you at all — which is itself useful to know, because it tells you how easily your name can be confused with, or borrowed by, someone else. Treat the run as a recurring check, not a certificate.

    The bottom line

    Sherlock, used defensively, is a mirror: one username in, a list of public profiles out — with the project’s own scope kept in view: existence, not identity; public pages, not private data; leads, not proof. Run it on your own handle, close and rename what you no longer need, and break the one-name-everywhere habit that makes the map possible. Your username is a map. Read it before someone else does.

    By Karl Amber

    Sources

    • Sherlock Project documentation and repository (github.com/sherlock-project/sherlock; sherlockproject.xyz) — purpose, coverage of 400+ social networks, Python implementation, MIT license, creator Siddharth Dushantha, installation via pipx, pip, and Docker, basic usage, and the maintained supported-sites list.
    • Platform privacy-settings documentation (general) — profile visibility and private-account settings as offered per platform; settings names and availability vary by service and change over time.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from the Sherlock Project’s own documentation — our coverage is original.

    That is the complete picture on sherlock: One Username, Everywhere.

    Featured image: Olimor, CC BY-SA 3.0, via Wikimedia Commons

  • Ddos defense system: DDoS, Explained — And How Sites Survive It

    Ddos defense system: DDoS, Explained — And How Sites Survive It

    This guide covers ddos defense system.

    Ddos defense system: DDoS, Explained — And How Sites Survive It
    Photo: Amberkitten, Public domain, via Wikimedia Commons

    A denial-of-service attack does not break into a site. It makes the site unreachable by drowning it — so much junk traffic, from so many places at once, that legitimate users cannot get through. This guide explains the mechanics and the mitigation only, from CISA’s guidance, the joint CISA/FBI/MS-ISAC DDoS guidance, Cloudflare’s Learning Center, and RFC 4732. It contains no instructions for launching an attack: buying or launching one is illegal, and the defensive record is the whole story here.

    DoS versus DDoS

    CISA defines a denial-of-service (DoS) attack as one where legitimate users cannot access information systems, devices, or network resources because of a malicious actor’s actions. A distributed denial-of-service (DDoS) attack is the same idea at scale: multiple machines operate together against one target, often compromised devices — a botnet — which makes the traffic hard to trace and blocking individual source addresses ineffective.

    The target is availability, not data. Nothing needs to be stolen for the damage to be real: an unreachable store, clinic portal, or public service is down for everyone who needs it.

    The three families

    CISA, the joint guidance, and Cloudflare’s Learning Center group attacks the same way:

    • Volume-based attacks consume all available bandwidth between the target and the internet. Botnet floods are one route; amplification is the force multiplier — a small request with a spoofed source address (the victim’s) triggers a much larger response sent to the victim, with DNS amplification as the textbook example.
    • Protocol attacks exploit weaknesses in layers 3 and 4 of the protocol stack and over-consume the state resources of servers, firewalls, and load balancers. A SYN flood is the classic: it opens vast numbers of half-finished connections until the table that tracks them is full.
    • Application-layer attacks target a specific application or service at layer 7, often with requests that look legitimate, exhausting the application’s processing until it cannot serve real users. These can be effective at far lower traffic volumes than a bandwidth flood.

    Real incidents are often multi-vector — several families at once, or cycling between them as defenses respond.

    How you know it is happening

    CISA’s detection guidance is monitoring, not guessing: watch network traffic through a firewall or intrusion detection system, baseline what normal traffic looks like, and alert on anomalous load. High processor and memory utilization, sudden latency, and a traffic pattern that does not match any real audience are the usual signatures. The first operational step is confirmation — rule out maintenance and an internal fault, identify the attack type, and involve your upstream provider early.

    How sites survive it

    No measure makes a target immune, and CISA is explicit that there is no way to completely avoid becoming a target. Survival is preparation, in layers:

    Ddos defense system: DDoS, Explained — And How Sites Survive It
    Photo: Nasanbuyn, CC BY-SA 4.0, via Wikimedia Commons

    • A DDoS protection service, enrolled before the attack. It detects abnormal flows and redirects traffic away from your network; attack traffic is filtered out upstream and clean traffic is passed through. A link that is already saturated cannot be rescued from downstream.
    • Anycast diffusion and load balancing. Spreading traffic across a distributed network and multiple servers removes the single point whose bandwidth or state table decides the outcome.
    • Rate limiting and a web application firewall. Limiting how many requests a server accepts in a window, and filtering by rules, blunts application-layer floods in particular.
    • Capacity and redundancy. Extra bandwidth headroom, failover, and keeping critical services separable so one drowned service does not take the rest with it.
    • Perimeter hygiene. Firewall rules that drop traffic that should never arrive from the internet — reserved, loopback, private (RFC 1918), and multicast source ranges — plus strict connection and keepalive limits on perimeter devices, which specifically reduce SYN-flood leverage.
    • A written, tested response plan. Who calls the provider, what gets rerouted, how customers are told, and how recovery is verified — decided in advance, as part of a disaster recovery / continuity plan, not improvised mid-attack. Afterward: keep monitoring, and update the plan with what the attack taught you.
    • Do not become part of someone else’s botnet. Patch and secure your own internet-connected devices, maintain antivirus and firewall coverage, and follow good security practices — every compromised camera or router is potential attack traffic aimed at someone else.

    The honest limits

    Mitigation is a contest of scale and preparation, not a switch. Blackhole routing — funneling all traffic, attack and legitimate alike, into a null route — stops the flood by completing the attacker’s job for them, so it is a last resort. Filtering must separate attack traffic from a real traffic surge, which is why upstream services with a broad view of the internet outperform a single site’s local rules. And small sites are not exempt: the same three families apply, which is why a hosted protection service is usually the proportionate answer for a small operator rather than owned infrastructure.

    The bottom line

    DDoS is an availability attack in three families — volume, protocol, and application layer — delivered by many machines at once. Sites survive it the way CISA prescribes: monitoring and baselines to detect it, a protection service and Anycast/load balancing to absorb and filter it upstream, rate limits and perimeter rules to blunt it, and a tested plan with the provider already in it. Prepare before the flood; during the flood is too late to shop.

    By Karl Amber

    Sources

    • CISA — “Understanding Denial-of-Service Attacks”: DoS and DDoS definitions, proactive steps (enroll in a DoS protection service that detects abnormal flows and redirects/filters traffic; create a disaster recovery plan; strengthen the security posture of internet-connected devices), detection via traffic monitoring and analysis through a firewall or intrusion detection system, and response through a network administrator and possible rerouting through a DoS protection service.
    • CISA / FBI / MS-ISAC — joint DDoS guidance (Capacity Enhancement Guide and “Understanding and Responding to Distributed Denial-of-Service Attacks”, March 2024 update): the three technique types (volume-based, protocol-based, application-layer), risk assessment, identifying critical assets, understanding upstream provider assistance, perimeter configuration including blocking reserved/loopback/RFC 1918/multicast sources (RFC 5735 ranges) and strict TCP keepalive / maximum-connection limits against SYN floods, and before/during/after response planning.
    • Cloudflare Learning Center — “What is a DDoS attack?”: volumetric, protocol, and application-layer categories; DNS amplification mechanics (spoofed source address, open resolver, amplified response); mitigation strategies — rate limiting, web application firewall, Anycast network diffusion, and blackhole routing with its trade-off.
    • RFC 4732 — “Internet Denial-of-Service Considerations”: IETF framing of DoS attack classes and defense considerations.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from CISA, joint-agency, Cloudflare Learning Center, and IETF sources — our coverage is original. Educational and defensive only: this article explains how attacks work at the category level and how sites defend against them; it is not a guide to performing one.

    That is the complete picture on ddos defense system.

    Featured image: Mitchsavl, Public domain, via Wikimedia Commons

  • PhoneInfoga: Your Phone Number’s Footprint, Checked Defensively

    PhoneInfoga: Your Phone Number’s Footprint, Checked Defensively

    This guide covers phoneInfoga: Your Phone Number’s Footprint, Checked Defensively.

    PhoneInfoga: Your Phone Number’s Footprint, Checked Defensively
    Photo: Martin Vorel, CC BY-SA 4.0, via Wikimedia Commons

    Your phone number is not just how people reach you. On most accounts it is also a recovery key — the place a reset code goes when a password is forgotten. That makes the public footprint of your own number a security question, and PhoneInfoga is one of the tools built to answer it. This guide explains, from the project’s own documentation and from FCC and FTC guidance, what the tool actually does, what it honestly cannot do, and the defensive routine that matters more than the scan itself.

    What PhoneInfoga is, in the project’s own terms

    PhoneInfoga is an open-source information-gathering framework for international phone numbers, maintained under the sundowndev project and licensed under GPL-3.0. Version 2 is written in Go and runs as a command-line tool, a web client, and a REST API from the same application.

    Per the project documentation, a scan does two kinds of work:

    • Validation and basics. It checks whether a number is valid and possible in its numbering plan, then reports standard information: country, area, carrier, and line type — for example mobile, landline, or VoIP.
    • OSINT footprinting. It searches for a public footprint using external APIs, search-engine queries, and phone books — the places a number already appears in public: listings, posts, documents, and provider clues.

    Its built-in scanners include a local scanner that needs no credentials, plus API-backed scanners such as Numverify and OVH, and search-based scanners. Results are investigative leads, not proof of ownership.

    What it cannot do — the project’s own anti-features

    The project is unusually honest about its limits, and those limits are the reason this article frames the tool defensively:

    • It does not track a phone or its owner in real time.
    • It does not give the precise location of a device.
    • It does not hack a phone or gain unauthorized access to private data.
    • It does not claim to provide verified or accurate data — it gathers publicly available information, and findings must be checked outside the tool.

    The project is also described as stable but unmaintained, so pin a known release, keep your own setup notes, and expect API-backed scanners to decay over time.

    The defensive use: scan your own number first

    Used on a number you own, the scan answers three practical questions:

    • Is my number formatted and listed as I expect? A wrong line type or an unexpected carrier record can explain failed verification codes — and can be an early clue that a port happened.
    • Where does my number appear in public? Every public listing, marketplace post, or document carrying your number widens the audience that can try it as a recovery key.
    • What can I remove? Delete or hide the number from listings you no longer need, and replace a personal number with a business or VoIP number on public-facing pages.

    Run the scan only on numbers you own or are authorized to investigate, respect the terms of every API involved, and treat every result as a lead to verify — never as a fact about a person.

    PhoneInfoga: Your Phone Number’s Footprint, Checked Defensively
    Photo: Anselm Schüler, GPL, via Wikimedia Commons

    The locks that matter more than the scan

    A footprint scan finds exposure. These moves close it, per FCC and FTC guidance on SIM-swap and port-out fraud:

    • Set a carrier account PIN or passcode that is not your birth date, address, or any other widely exposed detail, and require it for account changes.
    • Turn on your carrier’s number lock / port-out protection. FCC rules adopted in November 2023 require carriers to use secure authentication before a SIM change or port-out, to notify you immediately when such a request is made, and to offer a lock that blocks SIM changes and number transfers until you lift it. Carriers name this differently — number lock, SIM lock, or port-out protection — so ask for it by function.
    • Move high-value accounts off text-message codes. A SIM swap defeats SMS codes because the code goes to the attacker’s device. An authenticator app or a passkey generates the proof on your own device instead.
    • Keep identity-verifiers off social media. Birth dates and similar details are the answers carriers and banks use to verify you; publishing them publishes the key.
    • Act fast on the warning signs. Sudden loss of service, or a carrier notice of a SIM change or port request you did not make, means contact your carrier immediately, then your bank.

    The honest limits

    PhoneInfoga cannot tell you who owns a private number, where a phone is, or whether a listing is current — and no responsible tool can promise those from public data alone. Public records are incomplete, carriers recycle numbers, and a clean scan today is not a guarantee tomorrow. Re-run your own audit after you change carriers, publish a number anywhere new, or receive a suspicious account notice.

    The bottom line

    PhoneInfoga, used defensively, is a mirror: validation, carrier and line-type basics, and a search for where your number already lives in public — with explicit, project-stated limits on tracking, location, and accuracy. Pair the mirror with the locks: a carrier PIN, number lock against SIM swaps and port-outs, and authenticator apps or passkeys instead of text codes. Your number is a login key. Audit it, then lock it, like one.

    By Karl Amber

    Sources

    • PhoneInfoga project documentation and repository (github.com/sundowndev/phoneinfoga; sundowndev.github.io/phoneinfoga) — purpose, validation and basic information (country, line type, carrier), OSINT footprinting via external APIs / search engines / phone books, scanner list (local, numverify, googlesearch, googlecse, ovh), REST API and web client in v2 (Go), GPL-3.0 license, and the stated anti-features: no real-time tracking, no precise location, no hacking, no claim of verified data; stable but unmaintained status.
    • Federal Communications Commission — SIM-swap and port-out fraud guidance and the November 2023 rules: secure authentication before SIM changes and port-outs, immediate customer notification, and a customer-elected account lock; consumer advice to add a PIN/password to the carrier account and keep identity-verifying details off social media.
    • Federal Trade Commission — SIM Swap Scams guidance: how a scammer convinces a carrier to activate a new SIM, and the protective value of a cellular account PIN/passcode and two-factor authentication that does not rely solely on text messages.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from the project’s own documentation and FCC/FTC guidance — our coverage is original.

    That is the complete picture on phoneInfoga: Your Phone Number’s Footprint, Checked Defensively.

    Featured image: Rek2, CC BY-SA 4.0, via Wikimedia Commons

  • pfSense: Replace Your Router’s Brain With a Real Firewall

    pfSense: Replace Your Router’s Brain With a Real Firewall

    This guide covers pfSense: Replace Your Router’s Brain With a Real.

    pfSense: Replace Your Router’s Brain With a Real Firewall
    Photo: LAZA74, CC BY-SA 4.0, via Wikimedia Commons

    Your internet provider’s router does two jobs at once — it routes traffic and it is supposed to guard the door — and on most home networks it does the second job with a short, fixed rule set you cannot inspect. pfSense is the open-source answer Netgate has built since 2004: firewall, router and VPN software you run on your own hardware or a Netgate appliance, with every rule visible and editable. This guide explains, from Netgate’s own documentation, what pfSense actually gives you, the setup order its manuals use, and the mistakes that lock beginners out of their own network.

    What pfSense is, in Netgate’s own terms

    Netgate describes pfSense Plus as a stateful firewall, router and VPN solution for network edge and cloud networking, installed, in Netgate’s count, well over thirteen million times. The free community edition, pfSense CE, carries the same core. Three jobs in one box:

    • Stateful firewall. A stateful firewall tracks each connection’s session, not just individual packets. pfSense does stateful packet inspection by default and applies fine-grained policy per interface. By default it implicitly blocks all unsolicited inbound traffic on the WAN interface — the internet cannot start a conversation with your network unless a rule you wrote says it can.
    • Router. Policy-based routing, NAT, VLANs (IEEE 802.1Q), traffic shaping and multi-WAN failover are configuration, not extra licenses.
    • VPN server and client. Netgate documents IPsec, OpenVPN and WireGuard as first-class citizens: site-to-site tunnels between two networks, and remote-access VPN so your phone or laptop joins your home network through an encrypted tunnel from anywhere.

    Around that core sit the protections Netgate adds automatically: anti-spoofing rules, anti-lockout protection for the admin interface, and rules that block private (RFC1918) and bogon address ranges arriving on the WAN side, where they should never legitimately come from.

    Why replace the router’s brain at all?

    Four gains, each a documented pfSense capability rather than a promise:

    1. Rules you can read. Every allow and block is a line you wrote, in an order you control, with logging. When something breaks, the firewall log tells you which rule decided.
    2. Real network segmentation. Create separate VLANs/interfaces for your computers, your IoT gadgets and your guests, each with its own rules — the two-networks home design this series covered, enforced by an actual firewall instead of a guest-Wi-Fi checkbox.
    3. VPN done properly. WireGuard or OpenVPN remote access, with certificates managed in pfSense’s built-in certificate manager, replaces port-forwarding a camera or a file share to the whole internet.
    4. Detection as a package, not a purchase. Snort and Suricata IDS/IPS and pfBlockerNG DNS/IP filtering install as official packages, so the same box can watch for known-bad traffic and sinkhole known-bad domains for every device at once.

    The setup, in the manual’s order

    Netgate’s Getting Started documentation walks a new install in a fixed order. Follow the order; most beginner pain comes from skipping step 2.

    1. Wire it correctly. One interface is WAN (to the modem/ISP), another is LAN (to your switch and devices). The same subnet cannot exist on both sides.
    2. Fix the LAN subnet before you connect everything. The default LAN is 192.168.1.0/24 and the firewall itself is 192.168.1.1. If your WAN side also hands out 192.168.1.x — many ISP routers do — disconnect WAN and renumber LAN first, or routing collapses. Netgate’s best-practice note: if you will ever run a VPN to another location, pick a less common private range (the 172.16.0.0/12 block is the least frequently used) so the two ends never collide.
    3. Log in and change the default password immediately. Browse to https://192.168.1.1; the documented defaults are username admin, password pfsense. Those defaults are public knowledge — the setup wizard’s first job is replacing them.
    4. Run the wizard honestly. Hostname, domain, DNS servers, time servers, WAN type. Leave “Block RFC1918 private networks” and “Block bogon networks” checked on WAN — the documentation recommends both.
    5. Then stop. Verify ordinary browsing, DNS and updates work before you write a single custom rule. A firewall you add rules to one at a time, testing between changes, is debuggable. Ten rules at once is not.

    The mistakes that teach the wrong lesson

    • Port-forwarding first, VPN never. Every forwarded port is a permanent public door. pfSense gives you WireGuard and OpenVPN precisely so remote access does not need one.
    • An allow-all LAN rule copied everywhere. Segmentation only exists if the IoT interface cannot initiate connections to your computer interface. One broad pass rule quietly deletes the design.
    • Changing the LAN address and locking yourself out. Renumbering changes the address you manage the box from. Netgate’s anti-lockout rule protects the admin port on LAN, but only if you reconnect on the new subnet — set your PC’s address accordingly before you panic.
    • Installing every package on day one. IDS/IPS with every ruleset enabled will block legitimate traffic and teach you to turn it off. Start with the firewall; add Snort/Suricata in alert-only mode; tune; then block.

    The honest limits

    pfSense is software, so the hardware is your problem: an old PC works, but it draws old-PC power forever, and it needs at least two network interfaces (a USB adapter is a weak second interface; a dual-port Intel NIC or a small Netgate appliance is the durable answer). pfSense also does not make Wi-Fi — your existing access points plug into it as dumb radios, which is a feature: the brain and the radios upgrade on separate schedules. And a powerful firewall misconfigured is worse than a simple router left alone — the default-deny WAN posture protects you on day one, and every rule after that is your signature.

    pfSense: Replace Your Router’s Brain With a Real Firewall
    Photo: Rek2, CC BY-SA 4.0, via Wikimedia Commons

    The bottom line

    pfSense replaces a router you cannot inspect with a stateful firewall, router and VPN you fully control: default-deny inbound, anti-spoofing and bogon blocking built in, VLAN segmentation, WireGuard/OpenVPN/IPsec, and logging that shows every decision. Install it in the manual’s order, change the default password, renumber LAN before it collides, prove the basics before adding rules — and your home network finally has a brain you chose.

    By Karl Amber

    Sources

    • Netgate Documentation (docs.netgate.com), pfSense Getting Started and initial configuration: default LAN 192.168.1.0/24 and 192.168.1.1, default credentials admin/pfsense, WAN/LAN subnet collision warning, RFC1918 and bogon blocking, VPN subnet-selection best practice (172.16.0.0/12).
    • Netgate, pfSense Plus Features and Firewall pages (netgate.com): stateful packet inspection by default, implicit block of unsolicited inbound WAN traffic, anti-spoofing and anti-lockout rules, policy-based routing, captive portal, IPsec / OpenVPN / WireGuard support, installation count and 2004 origin.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from Netgate’s own documentation — our coverage is original.

    That is the complete picture on pfSense: Replace Your Router’s Brain With a Real.

    Featured image: Rek2, CC BY-SA 4.0, via Wikimedia Commons

  • Is tor the dark web: The Dark Web and Tor, Explained Honestly: What It Is, What It Is Not

    Is tor the dark web: The Dark Web and Tor, Explained Honestly: What It Is, What It Is Not

    This guide covers is tor the dark web.

    Is tor the dark web: The Dark Web and Tor, Explained Honestly: What It Is, What
    Photo: ESO/L. Calçada, CC BY 4.0, via Wikimedia Commons

    “Dark web” sounds like a place. It is not. It is a small part of the internet that is reached with specific software, for a specific reason: so that neither side of a connection has to reveal where it is. The software most people mean is Tor. This guide explains, from the Tor Project’s own specifications and the Electronic Frontier Foundation’s published guidance, how Tor actually works, where the terms surface web, deep web and dark web separate, what the real risks are, and what Tor does not do — with no facilitation, no marketplace tour, and no mythology.

    Three layers of the web, defined plainly

    • The surface web is what search engines index and anyone can open with a normal browser.
    • The deep web is everything behind a login, a paywall or a form — your email inbox, your bank account, a hospital portal. It is deep simply because a crawler cannot sign in. Most of the web is deep web, and most of it is ordinary.
    • The dark web is the small slice that requires special software to reach, most commonly Tor onion services. An onion service address does not resolve through normal DNS, and the service itself can be reached without its operator revealing the server’s network location.

    Confusing deep with dark is the most common error in coverage of this subject. Your inbox is not the dark web.

    How Tor works, per its own specification

    The Tor specifications describe Tor as a distributed overlay network designed to anonymize low-latency TCP applications such as web browsing. The network is made of volunteer-run servers called relays.

    When you use Tor Browser, your client does this:

    1. It fetches a signed directory of relays from directory authorities, so it knows the current network.
    2. It builds a circuit — typically three relays. The client negotiates a separate encryption key with each relay, one hop at a time, in a telescoping construction.
    3. It wraps traffic in layers. Each relay peels off exactly one layer of encryption, learns only the previous hop and the next hop, and forwards the cell. That layered unwrapping is why it is called onion routing.
    4. No single relay knows the whole story. The first relay (the guard) sees your IP address but not your destination. The middle relay sees neither. The exit relay sees the destination but not who you are. That separation — documented in the specification’s rule that each node knows its predecessor and successor, but no other nodes in the circuit — is the entire design.

    Tor Browser also isolates sites from each other, resists fingerprinting by making users look as alike as possible, and routes everything through that circuit by default. Those browser-level protections matter as much as the network: an anonymized connection from a uniquely fingerprinted browser is a weaker protection than it looks.

    Onion services: the other half

    In addition to browsing outward anonymously, Tor lets a service receive connections without revealing its location. The specification calls this responder anonymity, implemented as onion services (older documents say hidden services). Client and service build circuits to a rendezvous point and meet there, so neither learns the other’s network address. Legitimate uses documented by the Tor Project and civil-society groups include news organizations’ SecureDrop submissions pages, publishers offering censorship-resistant mirrors, and ordinary websites offering an onion address as an additional, more private door.

    What Tor does not do — the honest limits

    • Tor does not make you invincible. If you log into an account tied to your real identity over Tor, you have told that service who you are, whatever the route was.
    • Tor does not encrypt the final hop by itself. If the destination site is plain HTTP, the exit relay can see the traffic. HTTPS is still necessary — which is why Tor Browser pushes HTTPS everywhere it can.
    • Tor does not fix endpoint compromise. Malware on your device, or a malicious file you open outside the browser’s protections, operates before encryption or after decryption.
    • Tor is slow by design. Three relays and layered encryption trade speed for separation. Streaming and large downloads are a poor fit, and abusing the small volunteer network for bulk traffic degrades it for everyone.
    • Correlation is the known hard problem. An adversary who can observe both ends of a connection at scale may be able to correlate timing. Tor’s own documentation has never claimed to defeat a global passive adversary; it raises the cost and narrows who can see what.

    The real risks, without the movie version

    The EFF’s Surveillance Self-Defense guidance and the Tor Project’s own abuse documentation support a calmer risk list than the headlines:

    Is tor the dark web: The Dark Web and Tor, Explained Honestly: What It Is, What
    Photo: Arsalaan9, CC BY-SA 4.0, via Wikimedia Commons

    • Scams dominate. Anonymous marketplaces and services have no chargebacks, no verified identities and no recourse. Fraud is the statistically ordinary outcome, not the exception.
    • Malware is bundled everywhere. Downloads offered in anonymous spaces are a classic delivery vehicle precisely because victims cannot complain publicly.
    • Exit-node and destination risk remain. Use HTTPS, keep Tor Browser updated from torproject.org only, and never install it from a third-party download site — fake Tor installers are a documented attack.
    • Legal exposure is local. Using Tor is legal in the United States and many other countries, but not everywhere, and what a person does through any tool remains subject to the law where they are. Check your jurisdiction; do not take a blog’s word for it.

    Who Tor is actually for

    Journalists protecting sources, researchers in countries where ordinary sites are blocked, domestic-abuse survivors who need a connection an abuser cannot trace through a shared router log, IT staff checking how a service looks from outside their own network, and ordinary people who simply do not want every site they read building a profile. Privacy infrastructure is dual-use, like encryption itself — the honest position, and the Tor Project’s own, is to explain the tool accurately, defend its legitimate use, and refuse to glamorize its abuse.

    The bottom line

    Tor is three relays, layered encryption, and a rule that no single point learns both who you are and where you are going. The dark web is the small set of services reachable only that way. Neither is magic, neither is a crime scene by itself, and neither protects a careless endpoint. Get Tor Browser only from the Tor Project, keep it updated, use HTTPS, never log your real identity into a session you needed to be private, and you understand this subject better than most of the internet’s coverage of it.

    By Karl Amber

    Sources

    • Tor Project Specifications (spec.torproject.org): Tor as a distributed overlay network; relays; directory authorities; circuit construction (typically three relays); each node knows its predecessor and successor but no other nodes; onion services / responder anonymity.
    • Tor Project documentation and Tor Browser manual (torproject.org): circuit and guard/exit roles, fingerprinting resistance, HTTPS guidance, official download source.
    • Electronic Frontier Foundation, Surveillance Self-Defense (ssd.eff.org): Tor and anonymity guidance, endpoint and identity risks, safe-use practices.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from the Tor Project’s and the EFF’s own documentation — our coverage is original. Educational and defensive only; nothing here facilitates wrongdoing.

    That is the complete picture on is tor the dark web.

    Featured image: Frank John Aleksandrowicz, Public domain, via Wikimedia Commons

  • Password Cracking, Explained for Defenders: What Hashcat Proves About Your Passwords

    Password Cracking, Explained for Defenders: What Hashcat Proves About Your Passwords

    Nobody stores your password — or at least, nobody competent does. What a well-built system stores is a hash: a one-way mathematical fingerprint of your password, salted and run through a deliberately expensive key-derivation function. You cannot reverse a hash back into a password. What an attacker with a stolen hash database can do is guess — at industrial scale, offline, with no lockout counter and no one watching. Hashcat, the open-source password-recovery tool documented at hashcat.net, is the standard instrument for that guessing. This article is not a tutorial for using it against anyone. It is the defensive lesson its existence teaches, sourced from Hashcat’s own wiki and NIST’s password standard — because every choice that makes Hashcat fail is a choice you control today.

    Password Cracking, Explained for Defenders: What Hashcat Proves About Your Passw
    Photo: Ridiculopathy, CC0, via Wikimedia Commons

    How the guessing actually works

    Hashcat’s wiki documents its core attack modes, and each one maps to a human habit:

    • Dictionary attack (mode 0, “straight”): try every word in a list, as-is. The lists are built from real breaches — billions of actual human passwords. If your password has ever been used by anyone, anywhere, it is effectively on this list.
    • Rule-based attack: take that list and apply transformations — capitalize the first letter, append a year, swap a for 4, add an exclamation point at the end. Rules exist because human “complexity” is predictable: we all make the same handful of moves, and the rules encode exactly those moves.
    • Combinator attack (mode 1): join words from two lists together. Two ordinary words feel clever; the combinator tries them systematically anyway.
    • Mask / brute-force attack (mode 3): generate every combination matching a pattern — this letter shape, that many digits. This is the slowest mode per guess and the one that short passwords fall to first, simply because the total space of short passwords is small enough to exhaust.
    • Hybrid attacks (modes 6 and 7): a wordlist plus a mask, in either order — the dictionary word with every possible number trail behind it, for example.

    Two facts decide how fast all of this goes. The first is the hash algorithm the stolen database used. Hashcat supports more than 300 hash types; fast, unsalted legacy hashes (MD5, SHA-1, NTLM) can be tested at billions of guesses per second on modern GPUs, while purpose-built password hashes — bcrypt, and Argon2 where it is used — are designed to be slow and memory-hard, cutting the rate to a tiny fraction of that. The second is the password itself: length is the dominant variable. Every added character multiplies the space a mask attack must exhaust, while a “complex” but short and patterned password falls to rules that have seen its shape a million times before.

    Critically, all of this happens offline. The breach already happened. There is no rate limit, no account lockout, no alert to you — just a file, a GPU, and time.

    What NIST says to do instead — the standard, not folklore

    NIST Special Publication 800-63B, Digital Identity Guidelines: Authentication and Lifecycle Management, is the federal standard for memorized secrets, and its requirements read like a direct answer to the attack modes above:

    Password Cracking, Explained for Defenders: What Hashcat Proves About Your Passw
    Photo: Software by Rony Shapiro/Screenshot by PantheraLeo1359531, Artistic 2.0, via Wikimedia Commons

    • Length first. Verifiers shall require user-chosen passwords to be at least 8 characters, and should permit at least 64 — with users encouraged to make passwords as long as they want. Length, not a forced mix of character types, is what the standard builds on; it imposes no other composition rules, because forced complexity produces the predictable patterns rule-based attacks exploit.
    • Screen against breach lists. When a password is set or changed, verifiers shall compare it against lists of commonly used, expected, or compromised values — including passwords from previous breach corpora and dictionary words — and reject matches. That requirement exists precisely because dictionary attacks are fed by those same corpora.
    • Store it so offline attack is expensive. Verifiers shall store passwords salted and hashed with a suitable one-way key derivation function that takes a password, a salt, and a cost factor. Salt kills precomputation; cost makes each guess hurt. This is the line that decides whether a stolen database is a catastrophe or an inconvenience.
    • No forced periodic rotation. The standard does not require changing a password on a calendar; change is for evidence of compromise. Forced rotation, in practice, produces the incremented passwords — same base word, new digit — that hybrid attacks try early.
    • No hints, no knowledge-based recovery questions. Both hand an attacker raw material for guessing.

    Your moves, in order of return

    1. Use a password manager and let it generate. A unique, random, long password per account removes you from every list above at once: it is not in a breach corpus (it was never used elsewhere), it matches no rule pattern, and its length prices out mask attacks. Uniqueness matters as much as strength — one reused password turns someone else’s breach into your account takeover.
    2. Check yourself against the breach record. Have I Been Pwned exists so you can see whether your email or a password you used appears in known breaches. If it does, that password is burned everywhere, forever — change it anywhere it was ever reused.
    3. Turn on multi-factor authentication, preferably a passkey or authenticator app. MFA does not stop a hash being cracked; it stops the cracked password from being enough. It is the second wall that holds when the first one falls.
    4. Judge services by their storage, when you can. A service that limits you to a short password, forbids pasting from a manager, or emails you your actual password back is telling you its storage is wrong. Believe it, and give it a unique throwaway password and MFA — or a different service.
    5. For builders: salt, use a modern password KDF (bcrypt or Argon2id) with a real cost factor, screen new passwords against breach corpora, allow 64+ characters and paste, and never roll your own hash scheme. NIST wrote the checklist; use it.

    The bottom line

    Password cracking is not magic and it is not movie hacking. It is accounting: a stolen file, a known list of human habits, and arithmetic about length and hash cost. Hashcat’s own documentation shows how systematic the guessing is — and NIST SP 800-63B shows, requirement by requirement, how each guess is made to fail. Long, unique, manager-generated passwords, screened against breaches, stored behind a slow salted KDF, and backed by MFA: build that stack and the offline guessing game stops being worth an attacker’s electricity.

    By Karl Amber

    Sources

    • Hashcat Wiki (hashcat.net/wiki): hashcat as a password-recovery utility supporting 300+ hash types; core attack modes — dictionary/straight (-a 0), combinator (-a 1), mask/brute-force (-a 3), hybrid (-a 6, -a 7), association (-a 9); rule-based attacks applied to wordlists.
    • NIST SP 800-63B, Digital Identity Guidelines — Authentication and Lifecycle Management (pages.nist.gov / doi:10.6028/NIST.SP.800-63b), Section 5.1.1 (Memorized Secrets) and Appendix A: minimum 8-character user-chosen secrets, support for at least 64, no other composition rules, screening against commonly used / expected / compromised values including breach corpora, salted hashing with a one-way key derivation function and cost factor, no password hints or knowledge-based recovery, and no forced periodic change absent compromise.
    • Have I Been Pwned (haveibeenpwned.com): breach-exposure checking for email addresses and passwords, cited as the public self-audit tool.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It is defensive education: how password recovery works so you can defeat it — researched from Hashcat’s own documentation and NIST’s published standard. Our coverage is original. Never test passwords, hashes, or accounts you do not own or have explicit authorization to audit.

    Featured image: Jay Bernstein, Public Relations-Los Angeles, Public domain, via Wikimedia Commons

  • Virtual Machines From Zero: Run a Second Computer Inside Your First

    Virtual Machines From Zero: Run a Second Computer Inside Your First

    This guide covers virtual Machines From Zero.

    Virtual Machines From Zero: Run a Second Computer Inside Your First
    Photo: geralt / 16967 immagini, CC0, via Wikimedia Commons

    A virtual machine is a complete computer that exists as software. It has its own virtual CPU, memory, disk and network card, it boots its own operating system, and it can crash, get infected, or be deleted — without taking your real machine with it. That isolation is why every security lab, every Linux course, and every careful experiment starts the same way: build a VM first. This guide explains the moving parts from primary documentation, then walks the first build in the order the manuals themselves use.

    The two words that explain everything: host and guest

    Oracle’s VirtualBox User Guide defines the vocabulary plainly. The host operating system is the OS of the physical computer VirtualBox is installed on. The guest operating system is the OS running inside the virtual machine. The virtual machine itself is the special environment VirtualBox creates for the guest while it runs.

    Between them sits the hypervisor — the software that creates and runs VMs. VirtualBox’s own documentation calls itself a “hosted” hypervisor, also known as a Type 2 hypervisor: it requires an existing operating system to be installed, and runs alongside your normal applications. A Type 1, or bare-metal, hypervisor is the other class: it runs directly on the hardware, with no host OS underneath. VMware ESXi and Microsoft Hyper-V in its server role are the familiar Type 1 examples; VirtualBox and VMware Workstation on a desktop are Type 2. Neither class is “better” in the abstract — Type 1 is built for data centers that dedicate a machine to virtualization, Type 2 is built for a person who wants a lab on the laptop they already own.

    Most modern CPUs include hardware virtualization support — Intel VT-x and AMD-V — which the hypervisor uses to run the guest efficiently. If a first VM is painfully slow or refuses to start, that setting, usually toggled in the machine’s BIOS or UEFI firmware, is the first place the documentation tells you to look.

    Why a VM is the safest room in the house

    Three properties, all documented features of the platform, do the work:

    • Isolation by default. The guest sees virtual hardware, not your real disk. A program inside the guest cannot reach host files unless you deliberately create a shared folder or enable a shared clipboard or drag-and-drop — which is exactly why the safe default for an untrusted guest is to leave all three off.
    • Snapshots. VirtualBox documents snapshots as a saved state of a VM that you can return to later. Take one before an experiment and a bad install, a broken update, or a suspicious download becomes a revert, not a rebuild.
    • Disposable networking. A VM’s default network mode in VirtualBox is NAT: the guest can reach the internet through the host, but the internet — and, by default, other machines on your LAN — cannot reach in. Other modes exist for a reason (bridged networking puts the guest on your LAN as its own citizen; host-only networking isolates it to talk only to the host and sibling VMs), and choosing one should be a decision, not an accident. For a first lab, NAT or host-only is the honest default; bridged is for when you actually mean it.

    That combination is why Kali Linux’s own documentation steers learners toward its pre-built VM images: the lab arrives pre-installed, isolated, and resettable, and the host stays clean.

    Virtual Machines From Zero: Run a Second Computer Inside Your First
    Photo: Diego Carvalho, CC BY-SA 4.0, via Wikimedia Commons

    Your first VM, in the manual’s order

    1. Install the hypervisor from its official source. VirtualBox is free from Oracle; download it for your host OS and, if you need USB 2.0/3.0 and other extras, the matching Extension Pack from the same page.
    2. Get a guest ISO from its maker — only from its maker. Ubuntu from ubuntu.com, Kali from kali.org, Windows from Microsoft. An OS image from anywhere else defeats the entire point of an isolated, trustworthy lab.
    3. Create the machine. Name it, point the wizard at the ISO, and size it honestly: for a desktop Linux guest, 4GB of RAM and 25–40GB of virtual disk is a workable start, using a dynamically allocated disk so the file grows only as the guest actually uses it. Give it too little RAM and both host and guest suffer; give it half your machine and the host still suffers.
    4. Before you install anything risky, set the boundaries. Network on NAT or host-only. Shared folders, shared clipboard and drag-and-drop off unless the task needs one of them — and then on for that task only.
    5. Install, update, then snapshot. The clean, fully updated state is the one you will wish you could return to. Name the snapshot for what it is (“clean install, updated”) and take it before the first experiment, not after the first problem.
    6. Install the Guest Additions (VirtualBox) or the equivalent tools package for your hypervisor. This is the guest-side software that makes resizing, display, and host integration work properly — the step beginners skip and then blame the hypervisor for.

    The mistakes that teach the wrong lesson

    • Treating a VM as invincible. A VM isolates the host from the guest. It does not make the guest itself safe: a phished password typed inside a VM is still phished, and a guest in bridged mode is a real machine on your network, patchable and attackable like any other.
    • Sharing everything for convenience. Every shared folder is a bridge across the isolation you built the VM for. Bridges are tools; build one when you need it, remove it when you don’t.
    • Never snapshotting, or snapshotting and never testing the revert. A snapshot you have never restored is a hope, not a backup.
    • Running two hypervisors at once. VirtualBox’s own manual cautions against running other hypervisors together with it — on modern Windows, features built on Hyper-V can coexist in specific configurations, but unexplained slowness or start failures are often two virtualization layers negotiating, badly.

    The bottom line

    A virtual machine is not a trick and it is not advanced. It is the standard room where computing experiments belong: cheap to build, honest about its boundaries, and deletable without grief. Learn the four words — host, guest, hypervisor, snapshot — install from official sources, keep the guest isolated until you have a reason not to, and you have the foundation every later lab in this series stands on: Kali for security work, Ubuntu for Linux fundamentals, Windows for testing — each in its own room, none of them able to burn down the house.

    By Karl Amber

    Sources

    • Oracle VirtualBox User Guide (Release 7.1/7.2), “First Steps” and “Features Overview” (docs.oracle.com / virtualbox.org manual): host OS, guest OS and virtual machine definitions; VirtualBox as a hosted (Type 2) hypervisor versus bare-metal (Type 1); snapshots; NAT, bridged and host-only networking; Guest Additions; the caution against running other hypervisors together.
    • Kali Linux Documentation (kali.org/docs): official VM images and virtualization guidance for running Kali as a guest.
    • VMware / Broadcom product documentation: ESXi as a bare-metal (Type 1) hypervisor reference point, and Workstation as a desktop (Type 2) reference point.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from the hypervisor vendors’ own documentation — our coverage is original.

    That is the complete picture on virtual Machines From Zero.

    Featured image: No machine-readable author provided. METROID~commonswiki assumed (based on copyright claims)., Public domain, via Wikimedia Commons