Category: Cybersecurity & Networking

  • Secure Linux in 5 Steps: Patch, Lock Accounts, Harden SSH, Firewall, and Verify

    A fresh Linux install is not insecure, but it is unfinished. Canonical's own Ubuntu Server security guidance says a fresh install is relatively safe for immediate use — and then lists the work that actually keeps it safe. The CIS Benchmarks for Ubuntu Linux and Debian make the same point as a checklist: hundreds of individual settings, organised so an administrator can audit them one by one. You do not need all of them on day one. You need five steps, in this order, done properly: patch automatically, lock down accounts, harden SSH, close the network with a firewall, and then verify and watch the system. This article walks through each step with the commands and settings the official documentation itself gives. Educational and defensive throughout — secure systems you own or administer.

    Why five steps, and why this order

    Most compromised Linux machines were not defeated by an exotic exploit. They were left unpatched, they allowed password sign-in to an account an attacker could guess, or they ran a service nobody remembered installing. The five steps below attack exactly that pattern. Patching comes first because an unpatched known vulnerability defeats every later control. Accounts and SSH come next because they are the front door. The firewall limits what can even reach that door. Verification comes last because a hardening step you never checked is a hope, not a control — the CIS Benchmarks exist precisely so you can audit the result instead of trusting it.

    Step 1: Patch automatically — do not rely on remembering

    Canonical's guidance is blunt: regularly update the system to stay protected from known vulnerabilities, and use the unattended-upgrades package to fetch and install security updates automatically. On Ubuntu and Debian that is:

    sudo apt update && sudo apt upgrade
    sudo apt install unattended-upgrades
    sudo dpkg-reconfigure --priority=low unattended-upgrades

    By default unattended-upgrades runs daily. Two honest limits belong here. First, automatic patching covers the packages your distribution maintains — software you installed by hand from outside the repositories is your own responsibility to track. Second, stay on a supported release: when a release reaches end of life, security updates stop, and no hardening step compensates for that. Canonical notes that Ubuntu Pro extends security maintenance, including Expanded Security Maintenance and Livepatch kernel fixes applied without a reboot, which matters most on machines that cannot afford downtime. Whatever you choose, the rule is the same: patching is a system, not an occasional chore.

    Step 2: Lock down accounts and sudo — least privilege, enforced

    Every account is a door, so start by knowing how many doors you have. Review the accounts that can sign in, remove or lock the ones nobody uses, and make sure no service is running under a shared human password. The principle, named directly in Canonical's access-control guidance, is least privilege: each person and each service gets only the access its work requires, and nothing more.

    On a personal or small-team machine that means three concrete habits. Use a named personal account for administration instead of working as root all day; root's power should be borrowed through sudo for one command at a time, not lived in. Protect that sudo access with a strong, unique password — NIST SP 800-63B's guidance favours long passphrases over short, complicated strings that people write down. And audit sudo membership: everyone in the sudo group can become root, so that group's membership list is a security document. Check it, and remove anyone who no longer needs it.

    Step 3: Harden SSH — keys only, no root, and a guard at the door

    If the machine accepts remote sign-in, SSH is the service attackers will test first, because it is common, it is powerful, and password guessing against it is automated worldwide. The CIS Benchmarks and distribution hardening guides agree on the core settings in /etc/ssh/sshd_config:

    PermitRootLogin no
    PasswordAuthentication no
    PubkeyAuthentication yes

    Keys only means an attacker needs your private key file, not a guessable password — generate it with ssh-keygen, protect it with a passphrase, copy the public half with ssh-copy-id, and only then turn password authentication off, after you have confirmed key sign-in works in a second session so you do not lock yourself out. Disabling direct root sign-in forces an attacker to compromise a named account and then still get past sudo. Restart the service with sudo systemctl restart ssh after any change, and keep the current session open until the new settings are proven.

    Add a guard as well: Fail2ban, documented by its own project, watches the authentication logs and temporarily bans addresses that fail repeatedly. It does not replace keys — it cuts the noise and slows the guessing to a crawl. Change nothing else exotic here: the standard settings, correctly applied, are what the benchmarks ask for.

    Step 4: Firewall everything you do not use — default deny

    A firewall is where you state, in enforceable form, which services this machine offers the network. Canonical's guidance recommends a firewall on Ubuntu systems and points to ufw, the Uncomplicated Firewall, as the front end:

    sudo ufw default deny incoming
    sudo ufw default allow outgoing
    sudo ufw allow OpenSSH
    sudo ufw enable
    sudo ufw status verbose

    Allow each additional service deliberately, one rule at a time, and only if something real needs it. Then shrink what is listening in the first place: remove packages you do not need — Canonical makes the same point, because every installed service is attack surface — and list what is actually listening with ss -tulpn. If a port is open and nobody can say why, that is a finding: close it, disable the service with systemctl, and note the change. A desktop that never serves files does not need a file server running, and a laptop does not need its SSH port open to the whole internet just because SSH is installed.

    Step 5: Verify, log, and back up — prove it, then keep proving it

    Hardening without verification drifts. The CIS Benchmarks are published as audit-ready recommendations for exactly this reason, and tooling exists to check a system against them — Canonical ships CIS audit tooling for Ubuntu, and the open-source Lynis auditor performs a broad local security audit and reports hardening suggestions with references. Run an audit after your first pass, fix what it finds in priority order, and re-run it after major changes.

    Watching the system is the other half. The systemd journal (journalctl) and the authentication log record who signed in, who used sudo, and what failed — review them, especially after any alert from Fail2ban. Finally, back up: a secured machine that cannot be restored is still a loss waiting for a disk failure instead of an attacker. Keep at least one backup that is not permanently attached to the machine, and test restoring a file from it. Security that has never survived a restore test is unfinished in the same way an untested SSH change is.

    The five steps as a one-page checklist

    One: turn on automatic security updates and confirm you are on a supported release. Two: remove unused accounts, enforce least privilege, and audit sudo membership. Three: SSH with keys only, no root sign-in, no passwords, Fail2ban watching the log. Four: firewall on, default deny incoming, only deliberate services allowed, unused packages removed. Five: audit against the CIS Benchmark or with Lynis, read the logs, and keep a tested backup. Worked in order, on a machine you own, those five steps move a Linux system from default to defended — not invulnerable, because no honest guide promises that, but no longer the easy target automated attacks are built to find.

    By Karl Amber

    Sources

    – Canonical — Ubuntu Server documentation, "Security suggestions": keep the system up to date, unattended-upgrades for automatic security updates, remove unneeded packages, least privilege, and use a firewall (ufw).

    – Center for Internet Security (CIS) — CIS Benchmarks for Ubuntu Linux and Debian Linux: auditable secure-configuration recommendations, Level 1 and Level 2 profiles.

    – NIST SP 800-63B — Digital Identity Guidelines: authentication and lifecycle management, including long passphrases and memorised secrets.

    – OpenSSH — sshd_config manual page: PermitRootLogin, PasswordAuthentication, and PubkeyAuthentication settings.

    – Fail2ban project documentation — log-based intrusion prevention that bans repeatedly failing addresses.

    – Lynis (CISOfy) project documentation — open-source security auditing for Linux systems.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from primary and authoritative sources — Canonical's Ubuntu Server security documentation, the CIS Benchmarks, NIST SP 800-63B, the OpenSSH manual, and the Fail2ban and Lynis project documentation — and is original, educational, and defensive throughout. No NetworkChuck video was opened or used.

  • 30 Windows Commands You Can’t Live Without: The Working Set, Organised by Job

    Our earlier Windows episode covered seven commands in depth: the network five and the SFC and DISM repair pair, worked as a layered diagnosis. This second episode goes wider. Thirty commands, organised not alphabetically but by the job you are actually doing when you reach for them — finding a network fault, learning what machine you are standing in front of, taming a stuck process, moving files safely, and repairing or updating the system itself. Every command and switch below is taken from Microsoft Learn's Windows Commands reference. The workflow angle matters more than the list: run the command, save its output, and let one result choose the next command.

    Job one: find the network fault (commands 1–8)

    1. ipconfig shows the TCP/IP configuration of every adapter. ipconfig /all adds DNS servers, DHCP state, and physical addresses; /flushdns clears the resolver cache, and /release followed by /renew drops and re-requests a DHCP lease. Start here, because half of all "network faults" are a machine holding the wrong address, gateway, or DNS server.

    2. ping sends ICMP echo requests and reports replies and round-trip times. Ping the gateway, then an outside address by number, then the same address by name. Three short tests split the fault into local network, internet path, or name resolution — before you change anything.

    3. tracert traces the route hop by hop and times each step, showing where a path slows or stops. tracert -d skips resolving hop addresses to names, which makes it faster and cleaner to read.

    4. pathping combines the route discovery of tracert with statistics gathered at each hop over time. It is slower, because it is measuring, not just mapping. Reach for it when a connection is intermittently bad: it shows which hop is losing packets, not merely that loss exists.

    5. nslookup queries DNS directly, outside the normal resolver path. Ask it for a name, or point it at a specific server — nslookup example.com 1.1.1.1 in form — and you can tell whether the record is wrong or your usual server is wrong. When a site fails by name but answers by address, this is the command that proves it.

    6. netstat lists active connections and listening ports. netstat -ano adds the owning process ID for each entry, which turns a suspicious connection into a named program once you match the ID against tasklist. For a security check, unexplained listening ports are the finding.

    7. arp displays the address resolution cache: the IPv4-to-physical-address mappings this machine has learned on its local network. arp -a is the quick view. A gateway address mapped to an unexpected physical address is worth investigating before you trust the network.

    8. route displays the routing table with route print, showing which interface and gateway Windows will use for each destination. On a machine with Wi-Fi, Ethernet, and a VPN all connected, this answers the otherwise invisible question: where will this traffic actually go?

    Job two: learn the machine in front of you (commands 9–14)

    9. hostname prints the computer's name — trivial, until you are remoting into three machines at once and need certainty about which one is about to receive the next command.

    10. systeminfo reports the operating system version and build, install date, boot time, processor, memory, network adapters, and installed hotfixes. It is the first page of any support ticket.

    11. whoami reports the account the current session is running as, and whoami /groups lists the group memberships and privileges in that token. When a command fails with access denied, this tells you whether you are who you thought you were — and whether the prompt is elevated.

    12. getmac lists the physical address and transport name of each network adapter, with /v for the fuller view. It is the fastest way to collect the address you need for a DHCP reservation or an allowlist, without opening three settings screens.

    13. driverquery lists installed device drivers and their properties; /v adds detail including link dates. When hardware misbehaves after an update, a saved driver list from a healthy day turns guesswork into a comparison.

    14. gpresult reports the Group Policy settings actually applied to a user or computer; /r gives the summary view. On a managed machine, it explains settings nobody remembers setting.

    Job three: tame processes and services (commands 15–18)

    15. tasklist lists running processes with their process IDs and memory use. tasklist /svc shows the services hosted inside each process, which is how you find what a generic service host is really doing. Filters narrow it: tasklist /fi with a filter expression selects by name, status, or memory threshold.

    16. taskkill ends a process by ID with /pid, or by image name with /im; /f forces termination and /t also ends child processes. Use it in that order — identify with tasklist first, close normally if you can, force only when the process will not answer. Forcing a process that is writing data can cost the data.

    17. sc communicates with the Service Control Manager. sc query reports a service's state, sc qc shows its configuration, and sc config changes settings such as the start type. It is the scriptable half of the Services console.

    18. schtasks creates, queries, changes, runs, and deletes scheduled tasks. schtasks /query inventories what runs automatically on a machine — a legitimate maintenance check and a security check in one, because persistence loves a schedule nobody reviews.

    Job four: move files, map drives, and work the output (commands 19–24)

    19. dir lists a folder's contents, and its switches make it a reporting tool: /s recurses through subfolders, /b gives bare names for clean lists, and /o sorts the result. dir /s /b saved to a file is an inventory you can diff next month.

    20. robocopy is the serious copy tool: it copies folder trees, can mirror them with /mir, resumes interrupted transfers with /z, uses multiple threads with /mt, and writes a real log with /log. It is the backup and migration command in this set. Respect /mir: it deletes at the destination what is gone at the source, so test without it first.

    21. net use connects to shared resources and maps drive letters to network shares, and with no arguments lists the connections already made. It is how a script makes a server's folder appear as a local drive — and how you audit open shares.

    22. net user lists local accounts, and with a name shows that account's details, including password age and group membership. On a shared or family machine it is the plain-language audit: which accounts exist, and does everyone recognise all of them?

    23. findstr searches text files for strings and patterns. Point it at logs — findstr /i "error" app.log in form, with /i for case-insensitive matching — and a ten-thousand-line log becomes the twenty lines that matter. It pairs naturally with redirection, below.

    24. clip redirects a command's output straight to the Windows clipboard. ipconfig /all | clip puts the full configuration into your next email or ticket without selecting a screen of text by hand. Small command, daily time saved.

    Job five: repair it, power it, update it (commands 25–30)

    25. sfc — System File Checker — scans protected system files. sfc /scannow repairs what it finds; sfc /verifyonly reports without changing anything, which is the right first move on a machine you are still diagnosing.

    26. dism services the Windows image and its component store. DISM /Online /Cleanup-Image /RestoreHealth repairs the store that SFC restores files from — which is why, as our earlier episode explained, DISM runs first when SFC reports files it could not fix.

    27. chkdsk checks a disk's file system and, with /f, fixes errors it finds; /r also locates bad sectors and recovers readable information, at the cost of a long run. Schedule it, let it finish, and treat repeated disk errors as a hardware warning, not a software nuisance.

    28. powercfg controls and reports power settings. powercfg /batteryreport writes a detailed battery history report on a laptop, and powercfg /energy observes the system for a period and reports behaviours wasting power. Sleep and battery mysteries usually stop being mysteries after these two reports.

    29. winget is the Windows Package Manager client: winget install, upgrade, and search install and update applications from the command line, and winget upgrade --all brings everything it manages up to date in one pass. It turns the weekly update chore into one command you can script.

    30. shutdown shuts down or restarts the machine, with /r for restart, /s for shutdown, /t to set a delay, and /a to abort a pending shutdown. After a repair pass or an update, shutdown /r /t 0 is the clean finish — and /a is the save when you fired it in the wrong window.

    The workflow that ties the thirty together

    A list is trivia; a workflow is a skill. Three habits make these commands compound. First, save your output. Appending > report.txt to a command redirects its output to a file — systeminfo > report.txt and driverquery /v > drivers.txt give you a dated record of a healthy machine, and every later diagnosis becomes a comparison instead of a memory test. Second, chain by question. Each command answers one question and chooses the next: ipconfig asks what the machine thinks its network is, ping asks what it can reach, netstat plus tasklist ask which program owns a connection, and sc or taskkill act on the answer. Third, check before you change. The read-only forms — sfc /verifyonly, chkdsk without /f, robocopy without /mir, schtasks /query — exist so the first pass costs nothing. Diagnose read-only, repair deliberately, and keep the log.

    The honest limits

    These are Windows' built-in tools, with built-in limits. Several repairs need an administrator prompt, and a standard account will simply be refused. ping and tracert depend on networks answering ICMP, which many hosts and firewalls deliberately ignore — silence is not proof of failure. robocopy /mir and taskkill /f are destructive when aimed carelessly, and chkdsk findings on an ageing drive are a reason to back up first, not to keep repairing. None of these commands removes malware; a machine you believe is compromised needs a security response, with these tools in a supporting role.

    The bottom line

    Thirty commands, five jobs. Network: ipconfig, ping, tracert, pathping, nslookup, netstat, arp, and route. The machine itself: hostname, systeminfo, whoami, getmac, driverquery, and gpresult. Processes and services: tasklist, taskkill, sc, and schtasks. Files and workflow: dir, robocopy, net use, net user, findstr, and clip. Repair and upkeep: sfc, DISM, chkdsk, powercfg, winget, and shutdown. Learn them by job, save their output, and let each answer choose the next command — that is the difference between knowing commands and working with them.

    By Karl Amber

    Sources

    • Microsoft Learn — Windows Commands reference (A–Z): individual references for ipconfig, ping, tracert, pathping, nslookup, netstat, arp, route, hostname, systeminfo, whoami, getmac, driverquery, gpresult, tasklist, taskkill, sc, schtasks, dir, robocopy, net use, net user, findstr, clip, sfc, DISM, chkdsk, powercfg, and shutdown, including each command's documented switches and behaviour.
    • Microsoft Learn — Winget documentation (Windows Package Manager): winget search, install, and upgrade, including upgrade –all.
    • Microsoft Learn / Microsoft Support — System File Checker and DISM documentation: sfc /scannow and /verifyonly; DISM /Online /Cleanup-Image /RestoreHealth repairing the component store, and the documented DISM-then-SFC sequence when SFC cannot repair files.
    • Microsoft Learn — Using command redirection operators: redirecting command output to a file with > and piping output between commands, the basis of the workflow section.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It is the second Windows-commands episode; the first (harvest #22) covered seven commands in depth. This episode was researched from Microsoft Learn's command references only — our coverage is original, with our own organisation and examples. No NetworkChuck video was opened or used.

  • The 3 Cloud Skills That Matter: Identity, Networking, and Automation — on AWS and Azure

    Certifications list dozens of services. Jobs do not. Read the learning paths from Amazon Web Services and Microsoft side by side — AWS Skill Builder on one side, Microsoft Learn for Azure on the other — and the same three skills keep surfacing underneath every role, every specialty, and every architecture diagram: identity, networking, and automation. Master those three and the individual services become vocabulary you can pick up in a week. Skip any one of them and the other two quietly stop working. This article explains each skill in plain terms, shows how it maps between AWS and Azure, and gives you a concrete way to practise it. Educational and defensive throughout.

    Why three, and why these three

    NIST SP 800-145 defines cloud computing by its model — on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service — not by any vendor's product list. That definition is a useful filter. Products change names every year; the underlying model does not. Identity decides who and what may act inside that model. Networking decides how traffic moves, and what can reach what. Automation decides whether the first two are applied consistently, or retyped by hand until someone makes a tired mistake at 2 a.m.

    Both vendors' own frameworks agree. The AWS Well-Architected Framework builds its pillars on operational excellence, security, reliability, performance efficiency, and cost optimisation, with identity and networking woven through the security and reliability pillars. Microsoft's Azure Well-Architected Framework and Cloud Adoption Framework make the same demands in Azure vocabulary. Different logos, same skeleton.

    Skill 1: Identity — who can do what, and proving it

    Every cloud action is performed by an identity: a person signing in, an application running code, or a service acting on your behalf. In AWS that system is IAM — users, groups, roles, and policies — extended by IAM Identity Center for workforce sign-in and by roles that workloads assume instead of carrying permanent keys. In Azure it is Microsoft Entra ID for people and managed identities for workloads, with Azure role-based access control, Azure RBAC, deciding what each identity may do on each resource.

    Three habits separate competent cloud practitioners from certificate collectors here. First, least privilege as a default, not a slogan: grant the smallest set of actions on the smallest set of resources, then widen only when a real task is blocked. Both vendors publish policy and role tooling for exactly this, and both warn against standing broad permissions such as full administrator access on everyday accounts.

    Second, no long-lived keys where a role will do. A leaked access key works from anywhere, indefinitely, until somebody notices. A temporary role credential expires on its own. On AWS, that means EC2 instance roles and IAM roles for tasks and functions; on Azure, managed identities that the platform issues and rotates for you. If your design still pastes static keys into code or config files, the design is the vulnerability.

    Third, strong sign-in for humans: multi-factor authentication on every human account, phishing-resistant methods such as passkeys or hardware keys for administrators, and a break-glass account that is monitored, rarely used, and tested before you need it. Practise this week: list every identity in a small account, find one permission nobody can justify, and remove it. That single exercise teaches more than a chapter of theory.

    Skill 2: Networking — addresses, routes, and walls

    Cloud networking is ordinary networking wearing new names. An AWS virtual private cloud, a VPC, is your private address space in a region, divided into subnets, with route tables deciding where traffic goes and security groups and network access control lists acting as firewalls. Azure says the same thing with different nouns: a virtual network, a VNet, with subnets, route tables, and network security groups. Learn one model honestly and the second is a translation exercise.

    The concepts that matter are few and durable. Private address ranges and subnet sizing decide how much room a design has to grow. Routing decides whether traffic between two systems takes the path you intended or no path at all. Segmentation decides blast radius: public subnets hold only what must face the internet, private subnets hold applications, and isolated subnets hold data, with explicit, reviewed paths between them. DNS is part of networking, not an afterthought — when a cloud system "cannot connect," the honest troubleshooter checks name resolution and routing before blaming the application.

    Defensive habits follow directly. Nothing administrative is exposed to the public internet: no remote desktop, no Secure Shell, and no database port on a public address — use the vendor's private access, bastion, or just-in-time access pattern instead. Egress is controlled, not assumed, because data leaves through the same network you built for traffic coming in. And every network rule earns its place: an allow rule nobody can explain is a finding, not a convenience.

    Practise this week: draw one small architecture — a web tier, an app tier, a database — on paper for AWS, then redraw it for Azure, naming the VPC or VNet, the subnets, and the one rule that lets each tier talk to the next. If you can defend every line on that drawing, you understand cloud networking better than most people who operate it.

    Skill 3: Automation — describe it, version it, repeat it

    The third skill is the one that makes the first two survive contact with real teams. Automation in the cloud means describing infrastructure as code, storing that code in version control, and letting reviewed code — not console clicks — make changes. AWS centres this on CloudFormation and the AWS CDK, with the wider ecosystem also using Terraform. Azure centres it on ARM templates and Bicep, again with Terraform common in mixed estates. The tool is not the skill; the discipline is.

    Infrastructure as code gives you three things manual work cannot. Review: a change to a firewall rule or an identity policy appears as a readable diff a second person can challenge before it ships. Repeatability: the environment you tested is the environment you deploy, because the same code built both. Recovery: when something breaks, the known-good state is a previous version in the repository, not a memory of which boxes somebody ticked in May.

    Automation also covers the operational layer: patching, backups, log collection, and the guardrails that check new resources against policy — AWS Config and Azure Policy are the vendors' own examples. Start small and real. Take one resource you created by clicking — a storage bucket or a storage account, with its access settings — and re-describe it in code, including the identity and network choices from the first two skills. Notice what happens: the code forces you to state, explicitly, who may access it and from where. That is not a coincidence. Automation is where identity and networking stop being intentions and become auditable fact.

    How the three skills compound

    Consider one ordinary incident: an application stops reaching its database after a change. The networking skill checks the route and the security group or network security group rule. The identity skill checks whether the application's role or managed identity still holds the permission the database now demands. The automation skill shows the diff — the exact change, its author, and its review — and rolls it back in minutes. Without all three, that incident is an evening of guessing in two consoles. With all three, it is a procedure.

    The same compounding works in your favour when you are learning. Services multiply endlessly, and chasing each launch is a losing strategy. Identity, networking, and automation transfer: between AWS and Azure, between employers, and between whatever this year's console looks like and next year's. That transferability is also why both vendors' role-based learning paths — cloud practitioner and associate level on the AWS side, Azure fundamentals and administrator paths on the Microsoft side — keep returning to the same three foundations, whatever the badge on the certificate says.

    A four-week starter plan

    Week one, identity: enable MFA everywhere, remove one unjustified permission, and replace one static key with a role or managed identity. Week two, networking: draw and defend the three-tier design on both clouds, then check one real environment against your drawing. Week three, automation: put one existing resource under infrastructure as code, in version control, with a second person's review. Week four, integration: run the incident exercise above on paper against your own environment and write down what you could not answer — that list is your next month's curriculum.

    The bottom line

    The three cloud skills that matter are identity, networking, and automation. Identity decides who can act. Networking decides what can connect. Automation makes both consistent, reviewable, and recoverable. Learn them on AWS and you can read Azure; learn them on Azure and AWS becomes a dialect, not a new language. Services will keep launching. These three will keep deciding whether the people running them are in control — or just clicking.

    By Karl Amber

    Sources

    – NIST SP 800-145 — The NIST Definition of Cloud Computing: essential characteristics (on-demand self-service, broad network access, resource pooling, rapid elasticity, measured service) and service/deployment models.

    – AWS Documentation — AWS Identity and Access Management (IAM): users, roles, policies, least privilege, temporary credentials, and IAM Identity Center for workforce access.

    – AWS Skill Builder and AWS Well-Architected Framework — role-based learning paths and the framework's security and operational-excellence guidance on identity, network protection, and infrastructure as code (CloudFormation / AWS CDK).

    – Microsoft Learn — Azure fundamentals and administrator learning paths; Microsoft Entra ID documentation; Azure RBAC and managed identities documentation: workload identities without stored credentials.

    – Microsoft Azure Documentation — Azure Virtual Network, network security groups, Azure Policy, and Bicep / ARM templates for infrastructure as code; Azure Well-Architected Framework and Cloud Adoption Framework guidance on identity, segmentation, and automation.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from primary and authoritative sources — NIST SP 800-145, AWS official documentation and Skill Builder learning paths, the AWS Well-Architected Framework, Microsoft Learn, Azure official documentation, and the Azure Well-Architected and Cloud Adoption Frameworks — and is original, educational, and defensive throughout. No NetworkChuck video was opened or used.

  • Social-Engineering Basics: The Skills Everyone Already Has — and the Counters That Stop Them

    Social engineering has no exotic entry requirement. It reuses skills people practise every day: sounding helpful, telling a believable story, moving with confidence, and asking when someone is too busy to check. That is why CompTIA's Security+ objectives give it a full place in the curriculum, why NIST builds awareness programmes around it in SP 800-50, and why CISA returns to phishing in guidance after guidance. The attacker is not usually breaking a control; they are persuading a person to step around one. This article names the core techniques — pretexting, phishing and its variants, tailgating, dumpster diving, shoulder surfing, and baiting — and pairs each with its counter. Defensive throughout.

    The engine underneath: persuasion, not technology

    Security+ groups the human levers plainly: authority, urgency, scarcity, familiarity and likability, consensus, and fear. Each short-circuits deliberation. Authority says do not question the supposed executive. Urgency says there is no time to verify. Scarcity says act now or lose the account. Familiarity says this person sounds like one of us. None requires malware, and all work better under stress or on a Friday afternoon.

    NIST SP 800-50 Rev. 1 frames awareness as a learning programme with a life cycle — planned, delivered, measured, and improved — not a once-a-year video. CISA makes the same point: threats evolve constantly, so once-a-year training is not enough. The skill to build is a pause: any request wrapped in urgency or authority gets slower, not faster.

    Pretexting: the invented story that earns trust

    Pretexting is the fabricated scenario: the attacker invents a role, a backstory, and a reason the request is legitimate — a new starter locked out on day one, an auditor collecting a staff list, a vendor engineer who needs a code read aloud. Security+ treats pretexting as distinct from simple impersonation because the story does the work: enough plausible detail, often gathered from public sources such as staff pages and social profiles, makes verification feel rude.

    The counter is procedural. Verification must be out-of-band: end the interaction, then contact the claimed person or organisation through a channel you already trust — never the details supplied in the request. CISA's guidance states the same rule: if someone is genuine, a callback inconveniences them slightly; if not, it ends the attack. Help desks need this as a script they are praised for following. Pushback under verification is itself a red flag.

    Phishing and its variants: one trick, many doors

    Phishing is a fraudulent solicitation, in NIST's glossary sense, masquerading as a legitimate business or person to acquire sensitive data or deliver malware. Joint CISA, NSA, FBI, and MS-ISAC guidance names its goals: stealing credentials for initial access, and deploying malware. Variants differ only in delivery. Spear phishing is tailored to a person or team. Whaling targets executives. Smishing arrives by text. Vishing arrives by voice.

    CISA lists the tells across variants: urgent or emotional language, requests for personal or financial information, untrusted shortened links, and domains that are almost — not quite — right. The counters stack: do not click or reply; verify out-of-band if it might be real; report it, because one report protects everyone the message reached. And make stolen credentials worth less: CISA identifies FIDO/WebAuthn — passkeys and hardware keys — as phishing-resistant authentication, while one-time codes and SMS can still be phished. MFA everywhere is the floor; phishing-resistant MFA on email and admin accounts is the standard.

    Tailgating: confidence walks through the door

    Tailgating is following an authorised person through a secure door without presenting your own credential, without their knowledge — while piggybacking is the variant where the badge-holder knowingly holds the door. Security+ pairs them because the result is identical: physical access with no authentication event naming the entrant. The lever is politeness: challenging someone carrying boxes feels awkward, and attackers count on that.

    The counters are cultural and architectural. Badge discipline means every person badges individually, every time; holding a secure door for an unbadged stranger is a security event, not a courtesy. Access-control vestibules — interlocked doors admitting one credentialed person at a time — remove the opportunity in high-value areas. Everyone needs explicit backing to challenge, with a rehearsed line: "Happy to help — let's get you signed in at reception."

    Dumpster diving: the record you threw away

    Dumpster diving is searching discarded material for information: printed reports, org charts, invoices, shipping labels, old hardware, and the sticky note that outlived its password. It rarely makes headlines because it is quiet, and because its yield feeds other attacks — names, titles, vendor relationships, and internal terms are exactly the plausible detail that makes a pretext convincing and a spear-phishing message land.

    The counter is unglamorous: a clean-desk rule, cross-cut shredding or locked destruction bins for anything internal, and data destruction as part of decommissioning drives and devices. If a document would help a stranger sound like an insider, it never enters an open bin. Print less, lock what is printed, and audit the bins occasionally.

    Shoulder surfing: secrets read over your shoulder

    Shoulder surfing is observing credentials, PINs, or sensitive screens in person — in a café, on a train, in an open-plan office, or on camera in a video call where a whiteboard or unlocked screen sits in frame. It needs no skill beyond patience and a plausible reason to be nearby, and it pairs with an old habit: passwords typed in public, on big screens, by people who assume nobody is watching.

    Counters are cheap: privacy screens on laptops used in public, screens positioned away from windows and walkways, and locks on short timers. Passkeys and password managers reduce the exposure itself — there is far less to observe when sign-in is a device unlock rather than a password typed in a departure lounge. Awareness training should cover the physical world, not just the inbox.

    Baiting: curiosity as the delivery mechanism

    Baiting offers something tempting — a free download, a gift-card lure, a drive labelled with salaries or layoffs left where it will be found — and lets curiosity or helpfulness carry the payload past the perimeter. Security+ lists it alongside the message-based techniques because the psychology is identical to phishing; only the medium changes. The found-device variant also connects to endpoint defence: a plugged-in unknown device should be a non-event because USB allowlisting blocks it, and a reported event because culture treats finding it as worth a call.

    The counter is a norm: found media and too-good offers go to IT unopened, and handing them in is commended. Simulated exercises under NIST's non-punitive principle — SP 800-50 Rev. 1 is explicit that exercises should not be punitive — build that norm better than blame. People report what they are thanked for reporting; hidden incidents are the ones that grow.

    The counters, gathered: verify, resist, report

    Across every technique, the same three moves recur, and they are worth teaching as one habit. Verify out-of-band: any unusual request for money, credentials, codes, access, or data gets checked through an independently trusted channel before it is honoured. Resist the lever: urgency, authority, and secrecy are reasons to slow down — a genuine emergency survives a five-minute verification, and a request that forbids verification has answered your question. Report fast, without blame: CISA's organisational guidance urges a no-blame reporting culture precisely because speed limits damage; the first person to report a phishing message or a tailgater may be protecting the whole building.

    Supporting controls make the habit stick: phishing-resistant MFA, email filtering and macro restrictions from the joint CISA guidance, badge discipline, shredding, privacy screens, and a SP 800-50 programme that measures reporting and behaviour change — not just completions.

    The bottom line

    Everyone already has the skills social engineering uses — persuasion, storytelling, confidence, and curiosity. Defence surrounds them with procedure and culture. Verify out-of-band, treat urgency as a warning sign, protect credentials with passkeys, badge individually, shred what would teach a stranger your organisation, shield your screen, hand in the tempting thing unopened, and report early. Attackers need one person, on one busy day, to skip the check. A well-built organisation makes the check the easiest thing to do.

    By Karl Amber

    Sources

    • NIST SP 800-50 Rev. 1 — Building a Cybersecurity and Privacy Learning Program: life-cycle approach to awareness and training; phishing simulations as practical exercises; exercises should not be punitive; measuring behaviour change and reporting.
    • NIST CSRC Glossary — definitions of social engineering and phishing: deceiving someone to reveal information or gain unauthorised access by building trust; phishing as fraudulent solicitation masquerading as a legitimate business or reputable person.
    • CISA — Recognize and Report Phishing, and Teach Employees to Avoid Phishing: warning signs including urgent or emotional language, requests for personal/financial data, untrusted shortened URLs, incorrect addresses; verify using independently confirmed contact information; once-a-year training is not enough.
    • CISA, NSA, FBI, MS-ISAC — Phishing Guidance: Stopping the Attack Cycle at Phase One (2023): phishing goals of credential theft and malware delivery; blocking macros and restricting administrative rights.
    • CISA — Implementing Phishing-Resistant MFA: FIDO/WebAuthn as phishing-resistant authentication; passkeys and hardware keys; limitations of one-time codes and SMS.
    • CompTIA Security+ (SY0-701) objectives 2.2 and 5.6 — social engineering techniques: phishing, spear phishing, whaling, smishing, vishing, pretexting, baiting, tailgating/piggybacking, shoulder surfing, dumpster diving; influence levers of authority, urgency, scarcity, familiarity, consensus, fear.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from primary and authoritative sources — NIST SP 800-50 Rev. 1, the NIST glossary, CISA phishing guidance, the joint CISA/NSA/FBI/MS-ISAC phishing guidance, and the CompTIA Security+ SY0-701 objectives — and is original, educational, and defensive throughout. No NetworkChuck video was opened or used.

  • Hacking Gadgets Worth Knowing: Small Devices, Real Risk, and How Networks Spot Them

    Some intrusions do not start with a zero-day. They start with something small plugged in where it does not belong: a USB stick that types by itself, a cable that is not just a cable, a pocket access point imitating your Wi-Fi, or a single-board computer behind a desk holding a door open. Vendors sell many of these tools openly for authorised testing, and defenders need to know the classes — not to use them, but to recognise them. This article covers them from vendor documentation and defender guidance, then the controls that catch them: 802.1X and network access control, port security, DHCP and ARP monitoring, USB device control, rogue-AP detection, physical inspection, and asset inventory. Educational and defensive throughout.

    Why small devices change the trust equation

    Most networks assumed that if you are inside the building and plugged into a wall jack, you are probably meant to be there. A rogue device breaks that assumption in seconds. It inherits the trust of the port, the desk, or the Wi-Fi name it imitates. That is why the National Security Agency's infrastructure guidance puts network access control near the centre: a NAC solution, in the NSA's words, prevents unauthorised physical connections and monitors authorised ones. The gadget is small. The access it borrows is not.

    Class one: USB keystroke-injection devices

    Hak5 documents its USB Rubber Ducky as a keystroke injection tool: it presents itself not as storage but as a USB keyboard — a human interface device — and the host, which trusts keyboards, accepts rapid pre-programmed keystrokes as if a person were typing. The vendor's catalogue shows the same pattern in multi-vector USB platforms and in cables with a hidden implant inside an ordinary-looking charging cable.

    The defensive point is the trust underneath: operating systems historically trust a newly attached keyboard without asking who attached it. On an unlocked workstation, seconds of access can become typed commands at the logged-in user's privilege. Counters are layered: automatic screen locks, control over which USB devices may connect, and treating any unknown keyboard as an event worth investigating.

    Class two: Wi-Fi auditing and rogue-AP devices

    Hak5's Wi-Fi Pineapple family is documented by the vendor as a wireless auditing platform, with PineAP functionality for reconnaissance and for imitating access points. The lesson generalises beyond one product: client devices remember networks they have joined and may probe for them, and a rogue access point that answers convincingly — same network name, stronger signal — can draw clients to connect through it instead. From there, the attacker sits in the path of traffic meant for the legitimate network.

    Defenders answer on two sides. Wireless intrusion detection watches for access points advertising your network names that are not yours, and for clients associating to unknown radios. Enterprise Wi-Fi with strict certificate validation also matters: a device that validates the authentication server's certificate is far harder to lure onto an impostor network. An unknown access point with your SSID is never a convenience. It is a finding.

    Class three: remote-access implants and LAN taps

    A second Hak5 class, documented in products such as the LAN Turtle and Packet Squirrel, sits on the wired network: a device placed inline on Ethernet or plugged into a live port, providing remote access back into that network or observing its traffic. Disguised as an ordinary adapter, it is missed by anyone who never looks behind desks or inside wiring closets.

    An implant does not need your Wi-Fi password or your VPN. It is already inside, calling out through the network it was planted on. Detection leans on knowing what should be connected: a new MAC address on a port that held the same printer for a year, two devices where one is expected, or outbound connections from a quiet segment are all signals — if someone is collecting them.

    Class four: single-board computers as droppers

    The cheapest class needs no specialist vendor. A Raspberry Pi Zero is a complete Linux computer for the price of lunch, on a board that fits behind a monitor. In authorised testing — and in real incidents — such boards have been left inside offices as droppers: devices that join the network, establish an outbound tunnel, and wait.

    Nothing about the board is malicious, which is the detection problem: the same hardware runs classroom projects. What makes it a finding is context — an unmanaged device on a corporate VLAN, a hostname nobody recognises, no owner, no patch record, no reason to exist. You detect it by knowing your inventory well enough that an unknown device stands out on day one, not month six.

    Defence one: 802.1X and network access control

    IEEE 802.1X is the front door done properly. Before a device gets real access, it must authenticate — ideally with certificates — and the switch enforces the result: full access, a restricted VLAN, or none. A NAC platform adds profiling and posture: what is this device, and what may it reach?

    Done well, the planted board no longer inherits the network; it sits in a quarantined segment, visible in logs, holding nothing. Done partially — with broad MAC-authentication bypass exceptions — the exceptions become the attack path, so every bypass needs an owner, a reason, and a restricted VLAN.

    Defence two: switch port security and unused ports

    Switch port security is the simpler companion: limit how many MAC addresses a port may learn, define what happens when the limit is exceeded, and disable unused ports. A live, unassigned conference-room jack is an invitation. A jack disabled until IT enables it, alarming when a second device appears, is a control.

    Segmentation multiplies the value: even if an unknown device gains some access, it should land where it cannot reach servers, backups, or management interfaces. Containment turns a plugged-in gadget from a breach into an alert.

    Defence three: DHCP snooping and dynamic ARP inspection

    Two Cisco-documented switch features quietly do heavy lifting here. DHCP snooping watches DHCP traffic on untrusted ports, builds a binding database of which IP address legitimately belongs to which MAC address and port, and blocks a rogue device from pretending to be the DHCP server handing out poisoned settings. Dynamic ARP inspection then uses that database to validate ARP packets, intercepting and discarding ARP messages with invalid IP-to-MAC bindings — Cisco describes this directly as protection against certain man-in-the-middle attacks.

    Together they attack the implant's favourite tricks: impersonating the gateway and answering for other hosts. A rogue device cannot easily lie about who it is — and the discarded, logged attempts become detection evidence.

    Defence four: USB device control and allowlisting

    For the keystroke-injection class, the control belongs on the endpoint. Modern endpoint policy can allowlist USB devices by class and identity: approved storage, approved peripherals, and nothing else without approval. Blocking new human-interface devices on sensitive workstations, alerting when a second keyboard appears, and disabling unused USB ports in firmware on fixed machines all shrink the window a dropper gets.

    Policy must survive real work, or staff will route around it. Keep approvals fast and be explicit: never plug in a found USB device or cable. It goes to IT unplugged, every time.

    Defence five: physical inspection and asset inventory

    Every control gets stronger with two habits. The first is looking: scheduled walks of wiring closets and shared spaces, checking ports against a map and removing anything nobody can own. Taps rarely survive a monthly inspection. When something unknown is found, isolate, preserve, and report it — do not plug it into your own laptop.

    The second habit is the asset inventory, which NIST SP 800-53 treats as foundational: an accurate record of authorised devices, owners, and locations. NAC alerts and DHCP logs are only actionable if you can answer quickly whether a device is known. For rogue devices, inventory is the detection system.

    The bottom line

    Know the four classes — keystroke-injection devices, rogue-AP devices, wired implants and LAN taps, and single-board droppers. Then close the doors they borrow: authenticate every port with 802.1X and NAC, harden switches with port security, DHCP snooping, and dynamic ARP inspection, allowlist USB devices, hunt rogue access points, inspect physical spaces, and keep an inventory accurate enough that unknown means unknown. Small devices are a real risk only where the network trusts whatever shows up.

    By Karl Amber

    Sources

    • Hak5 — official shop and product documentation: USB Rubber Ducky as a keystroke injection tool presenting as a USB keyboard (HID); WiFi Pineapple as a wireless auditing platform with PineAP; LAN Turtle and Packet Squirrel as remote-access / inline network devices.
    • National Security Agency — Network Infrastructure Security Guidance (2022): implement a NAC solution that identifies and authenticates devices and prevents unauthorised physical connections; port security; segmentation.
    • Cisco — Security Configuration Guides (Catalyst switches): DHCP snooping and its binding database; dynamic ARP inspection validating ARP packets against that database and discarding invalid IP-to-MAC bindings.
    • IEEE 802.1X — Port-Based Network Access Control standard: authentication of devices before network access is granted at the port.
    • NIST SP 800-53 — configuration management and inventory controls: maintaining an accurate, current inventory of system components.
    • Raspberry Pi — official product documentation: Pi Zero class single-board computers with USB and wireless connectivity.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from primary and authoritative sources — Hak5 vendor documentation, NSA network infrastructure guidance, Cisco switch security guides, IEEE 802.1X, and NIST SP 800-53 — and is original, educational, and defensive throughout, for networks you own or are authorised to protect. No how-to-attack instructions are included. No NetworkChuck video was opened or used.

  • Cisco CLI Power Moves: The Commands That Actually Run the Network

    The Cisco IOS command-line interface looks austere: a prompt, a blinking cursor, and no menus to hide behind. That austerity is its strength. An administrator who understands a small core of IOS commands can inspect any router or switch, change its configuration deliberately, verify the change, and save it so it survives a reboot. This article teaches that core from Cisco's own documentation — the Cisco IOS Configuration Fundamentals Command Reference and Cisco's configuration guides — for legitimate administration of networks you own or are authorised to manage. There are no shortcuts around access control here: every move below assumes you have already been given authorised access to the device.

    First, know which mode you are in

    IOS is hierarchical, and the prompt tells you where you stand. User EXEC mode, shown as a prompt ending in >, allows limited inspection. Privileged EXEC mode, ending in #, is where most inspection and all configuration entry happen; you reach it with enable. Global configuration mode, shown as (config)#, is where changes are made; you reach it from privileged EXEC with configure terminal. From there, interface followed by a type and number — for example, interface gigabitethernet 0/0 — drops you into interface configuration mode, (config-if)#, where settings for that one port are made.

    Mode discipline prevents most beginner mistakes. Show commands belong in EXEC mode. Configuration commands belong in configuration mode. If a command is rejected, the first question is not whether the command is wrong, but whether you are standing in the wrong mode.

    Inspect before you touch: the show family

    Cisco's guidance is consistent: understand the current state before changing it. The show family is how you do that.

    show running-config displays the current, active configuration in RAM — the configuration the device is actually running right now. show startup-config displays the saved configuration that will be loaded at the next startup. Comparing the two answers a critical question: does what is running match what will survive a reboot?

    show ip interface brief gives the one-screen health check administrators reach for first: every interface, its IP address, whether the address was set as expected, and two status columns — the interface's physical status and its line protocol status. An interface that is up and up is passing traffic at both layers; administratively down means it has been deliberately shut down; down in the second column points at a line or protocol problem, not a configuration shutdown.

    show version identifies the device itself: the IOS or IOS XE software version, how long it has been up, why it last restarted, and hardware details. Before following any guide, show version tells you whether that guide's commands even apply to the software in front of you.

    Make a change: configure, interface, no, and shutdown

    To change the running configuration, enter configure terminal from privileged EXEC. Cisco's configuration-files documentation is explicit about what happens next: commands entered in configuration modes are executed immediately and take effect in the running configuration, either as you enter them or when you exit that configuration mode.

    Inside interface configuration mode, the everyday moves are assigning an address with ip address, adding a description so the next administrator knows what the port is for, and controlling the port's state. shutdown administratively disables an interface. Its opposite is the most characteristic IOS move of all: no shutdown brings it back. The no prefix is a general IOS principle — prefixing a configuration command with no negates it or restores its default. Learning to read no as "undo this line" unlocks a large part of the command language at once.

    Work on one interface, exit back, and verify before moving on. That rhythm — change, verify, then continue — is what separates administration from gambling.

    Verify without leaving configuration mode: do

    Verification used to mean dropping out of configuration mode, running a show command, and climbing back in. The do command removes that friction: from a configuration mode, prefixing an EXEC command with do executes it in place — for example, do show ip interface brief from (config-if)# lets you confirm an interface came up without losing your place.

    Used well, do turns configuration into a tight loop: make one change, do show to check it, adjust, and check again. Used carelessly, it can hide which mode you are in, so keep reading the prompt.

    Control the screen: terminal length

    Long show output pages one screen at a time, which is right for reading and wrong for capturing a full configuration. terminal length 0 disables paging for your session, so output flows without the –More– prompt; setting a normal length such as terminal length 24 restores paging. It changes only your session's display, not the device's configuration — a small command that saves real time when you are saving evidence of a device's state for a change record.

    Leave cleanly: exit and end

    exit steps back exactly one level — from interface configuration to global configuration, from global configuration to privileged EXEC, and from EXEC to logging out. end, or Ctrl-Z, jumps straight from any configuration mode back to privileged EXEC. Knowing the difference matters in a shared operations environment: end is the deliberate "I am finished configuring" signal, after which you verify from privileged EXEC with the show family.

    Make it survive a reboot: copy running-config startup-config

    This is the move that decides whether your work lasts. Cisco's documentation draws the distinction plainly: the running configuration is the current configuration in memory, while the startup configuration is used during system startup. If you change the running configuration with configure terminal but do not save it, the change disappears at the next reload.

    copy running-config startup-config, from privileged EXEC, saves the running configuration as the startup configuration. The disciplined sequence is always the same: change, verify with show, then copy — never copy first and verify later, because copying an unverified configuration makes a mistake permanent. And the reverse is a legitimate test technique Cisco itself describes: change the running configuration for a short period without saving it, knowing a reload will return the device to the saved state.

    The dangerous drawer: erase and reload

    Two privileged EXEC commands deserve explicit respect. erase startup-config deletes the saved configuration, so the device starts with no startup configuration at the next reload. reload restarts the device — and, if you have not saved, discards every unsaved change. Neither is a routine troubleshooting step. Both belong in decommissioning, lab resets, and planned recovery, performed only by an authorised administrator who has a copy of the configuration stored safely elsewhere and a maintenance window in which the network can be down.

    Treat any guide that reaches for erase or reload casually as a guide to stop following. On a production network, those commands are planned events, not experiments.

    A complete, ordinary workflow

    Put the moves together in the order a working administrator uses them. Connect with authorised access and enter privileged EXEC with enable. Inspect: show version, show running-config, and show ip interface brief. Enter configure terminal, select the interface, make one change — an address, a description, or no shutdown — then check it in place with do show ip interface brief. Leave configuration with end, verify again from privileged EXEC, and only then run copy running-config startup-config. Finally, show startup-config to confirm the saved configuration is the one you intended to save.

    Nothing in that workflow is exotic. That is the point. The commands that actually run the network are not hidden tricks; they are a small, documented core, used in the right mode, in the right order, with verification at every step.

    The bottom line

    Master the modes, inspect with show running-config, show ip interface brief, and show version, change deliberately with configure terminal, interface, shutdown, and no, verify in place with do, manage your session with terminal length, leave cleanly with exit and end, and save only verified work with copy running-config startup-config. Keep erase and reload in the dangerous drawer, for planned work only. That core — straight from Cisco's own command reference — will carry you through most of the real administration a Cisco network ever asks for.

    By Karl Amber

    Sources

    • Cisco IOS Configuration Fundamentals Command Reference — the reference for configure, show, copy, erase, reload, terminal length, exit, end, and related fundamentals commands and their modes.
    • Cisco — Managing Configuration Files (Cisco IOS / IOS XE Configuration Fundamentals guidance): running-config as the current configuration, startup-config as the configuration used at system startup; changing the running configuration with configure terminal without saving it with copy running-config startup-config; configuration commands taking effect in the running configuration.
    • Cisco IOS XE System Management Configuration Guide — Managing Configuration Files: types of configuration files, entering configuration mode with configure, and saving the running configuration to the startup configuration.
    • Cisco IOS command-mode documentation: user EXEC, privileged EXEC (enable), global configuration (configure terminal), and interface configuration (interface type number) modes and their prompts; do to execute EXEC commands from configuration mode; no to negate a command; shutdown / no shutdown for interface state; show ip interface brief and show version for interface and device status.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from primary documents — the Cisco IOS Configuration Fundamentals Command Reference and Cisco IOS / IOS XE configuration guides — our coverage is original and educational throughout, for legitimate administration of networks you own or are authorised to manage. No NetworkChuck video was opened or used.

  • Hybrid Cloud, Minus the Buzzword: What It Actually Is

    Hybrid cloud is one of the most used — and most stretched — phrases in technology. Vendors apply it to almost any setup that touches both a data centre and a cloud account. The standards definition is narrower, and that narrowness is useful. Once you hold a design up against the definition, you can tell whether you actually have a hybrid cloud, or simply two separate places where computers happen to run. This article uses only the primary definitions: NIST SP 800-145, The NIST Definition of Cloud Computing, and NIST SP 500-292, the NIST Cloud Computing Reference Architecture, with AWS and Microsoft Azure architecture guidance for how the pattern is built in practice.

    The NIST definition, in full

    NIST SP 800-145 defines hybrid cloud in one sentence: the cloud infrastructure is a composition of two or more distinct cloud infrastructures — private, community, or public — that remain unique entities, but are bound together by standardized or proprietary technology that enables data and application portability. Its example, in parentheses, is cloud bursting for load balancing between clouds.

    NIST SP 500-292 states the same idea in its taxonomy: a hybrid cloud is a composition of two or more clouds — on-site private, on-site community, off-site private, off-site community, or public — that remain as distinct entities but are bound together by standardized or proprietary technology that enables data and application portability.

    Every clause in that sentence does work. Strip any one of them away, and what remains is not hybrid cloud under the definition, however it is marketed.

    Clause one: two or more distinct cloud infrastructures

    First, there must be at least two cloud infrastructures, and they must be distinct. NIST SP 800-145 sets out four deployment models. A private cloud is provisioned for exclusive use by a single organisation, which may own, manage, and operate it on or off premises. A community cloud is provisioned for exclusive use by a specific community of organisations with shared concerns such as mission, security requirements, policy, and compliance. A public cloud is provisioned for open use by the general public and exists on the premises of the cloud provider.

    A hybrid is a composition of two or more of those. A single private cloud on its own is not hybrid. A single public cloud account, however many regions it spans, is not hybrid. Running workloads in two places only counts when each place is itself a cloud infrastructure in this sense — with the cloud characteristics NIST defines elsewhere in SP 800-145, such as on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service.

    That test alone clears up a common confusion: owning a server room and also having a public cloud subscription does not automatically make a hybrid cloud. The two sides must be composed into one infrastructure, which is what the next clauses require.

    Clause two: they remain unique entities

    Second, the component clouds do not merge into one undifferentiated pool. They remain unique entities. Each keeps its own identity, its own management, and its own characteristics — a private cloud keeps the control and constraints that made the organisation choose private infrastructure, and a public cloud keeps its elasticity and provider-operated model.

    This matters operationally. Placement becomes a real decision: which workloads belong on which side, for reasons of latency, data residency, regulation, cost, or the need for local processing. AWS prescriptive guidance on hybrid architectures makes the same practical point — some applications must remain on premises for low latency and local data processing, to avoid high data transfer costs, or for regulatory compliance, while others can move and gain agility, resilience, and scale. Azure's Cloud Adoption Framework likewise treats hybrid as on-premises or private infrastructure and public cloud services working together, managed under a unified operational model rather than pretending the boundary does not exist.

    A design that ignores the boundary — that assumes every workload can float anywhere with no difference — is not describing hybrid cloud honestly. The boundary is part of the architecture.

    Clause three: bound together, with portability

    Third, and most importantly, the distinct clouds are bound together by standardized or proprietary technology that enables data and application portability. The binding is not a slogan; it is technology — networking, identity, management, and data movement — and its purpose is specific: a workload or its data can move between the sides.

    Portability is therefore the test that separates a hybrid cloud from mere coexistence. If an application is trapped where it was first deployed, if its data cannot move, and if the two environments share no common way to connect, secure, and manage workloads, the composition NIST describes has not been built. You have two clouds. You do not yet have a hybrid cloud.

    NIST's own example shows the intent. In cloud bursting, an application normally runs on the private side and, when demand spikes, bursts into the public side for extra capacity, then settles back. Bursting is only possible if the binding technology, the networking, and the application's portability were designed in advance. It is a consequence of the definition, not a separate product you bolt on afterwards.

    What the binding looks like in practice

    In real architectures, the binding has several layers, and AWS and Azure guidance describe them in recognisably the same terms.

    There is a network connection between the environments — often a dedicated private connection or an encrypted tunnel — with routing and name resolution that work across the boundary. There is a common identity and access approach, so operators and applications are not governed by two unrelated rulebooks. There is unified management and observability: Azure frames this as unified hybrid and multicloud operations, using services such as Azure Arc to bring resources under one control plane; AWS frames it as a consistent experience from the cloud to on premises and the edge, using services such as AWS Outposts to place AWS infrastructure and services in a customer's data centre.

    None of those product names changes the definition. They are implementations of the binding clause. Judge any of them by the NIST test: does this technology actually let data and applications move, under policy, between distinct clouds that remain distinct?

    Why organisations build it anyway

    With the buzzword removed, the reasons to build hybrid cloud are concrete. Some workloads must stay close to the data, the machines, or the people who use them. Some data is subject to residency or compliance rules that dictate where it may live. Some systems are not yet ready to be re-architected for a public cloud, and hybrid lets migration proceed in stages instead of as a single risky jump. And some demand is uneven: steady work fits private capacity, while peaks fit public elasticity — the bursting pattern.

    Each reason is a placement reason. That is the honest way to think about hybrid cloud: not as a destination, and not as a compromise, but as a disciplined answer to the question of where each workload should run, with the portability to change the answer later.

    The bottom line

    Hybrid cloud, minus the buzzword, is a composition: two or more distinct cloud infrastructures — private, community, or public — that remain unique entities, bound together by standardized or proprietary technology that enables data and application portability. If there is only one cloud, it is not hybrid. If the clouds are not bound, it is not hybrid. If nothing can move between them, it is not hybrid. Hold every design and every vendor claim up against those three tests, in NIST's own words, and the phrase becomes useful again.

    By Karl Amber

    Sources

    • NIST SP 800-145 — The NIST Definition of Cloud Computing (September 2011): the four deployment models (private, community, public, hybrid) and the hybrid definition — a composition of two or more distinct cloud infrastructures that remain unique entities, bound together by standardized or proprietary technology that enables data and application portability, e.g. cloud bursting for load balancing between clouds.
    • NIST SP 500-292 — NIST Cloud Computing Reference Architecture (September 2011): the cloud taxonomy definition of hybrid cloud as a composition of two or more clouds (on-site private, on-site community, off-site private, off-site community, or public) that remain distinct entities but are bound together by technology enabling data and application portability; also its definitions of portability and data portability.
    • AWS Prescriptive Guidance — Best practices for building a hybrid cloud architecture with AWS services: why some applications remain on premises (low latency, local data processing, data transfer costs, regulatory compliance), hybrid strategy and technical strategy, and consistent AWS services on premises and at the edge, including AWS Outposts.
    • Microsoft Azure Cloud Adoption Framework — Unified hybrid and multicloud operations: hybrid as on-premises/private infrastructure and public cloud services working together, with unified management (including Azure Arc) across environments.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from primary documents — NIST SP 500-292, NIST SP 800-145, AWS Prescriptive Guidance on hybrid cloud architecture, and Microsoft Azure Cloud Adoption Framework guidance — our coverage is original and educational throughout. No NetworkChuck video was opened or used.

  • Inside a Broadcast Network: How a Big Match Reaches You Over IP

    When a World Cup-scale match reaches your screen, the picture feels simple: a camera sees a goal, and you see it a moment later, live. Inside the stadium and the production compound, nothing about that journey is simple — and in a modern plant, almost none of it travels the way television used to travel. The thick bundles of SDI coax that once carried one signal per cable have given way to a single IP network carrying every camera, microphone, replay and graphic as separate, precisely timed streams. This article explains how that plant works, using only the published standards that define it: the SMPTE ST 2110 suite, the AMWA NMOS specifications, the JT-NM reference architecture, and SMPTE ST 2022-7. A big live football match is the use case throughout — the standards themselves are the story.

    The old problem: one cable, one signal

    Traditional broadcast plants were built on SDI, the Serial Digital Interface. SDI is dependable, but it is rigid: each cable carries one combined signal in which picture, sound and data are already locked together, and routing means physically patching or switching whole signals. Scaling that model to a stadium production — dozens of cameras, slow-motion replays, multiple commentary positions, world feeds in several formats at once — means enormous cable runs, large hardware routers, and a plant that is hard to reconfigure between matches.

    The IP plant replaces the bundle with a network. Cameras, microphones, replay servers, vision mixers and graphics engines all connect to high-bandwidth Ethernet switches, typically in a spine-and-leaf fabric. Instead of one combined signal per cable, each element of the programme travels as its own stream of IP packets, called an essence. That single design decision — separate essences, one network — is what the ST 2110 suite standardises.

    ST 2110: the programme, split into essences

    SMPTE ST 2110 is not one standard but a suite, and each part has a distinct job.

    ST 2110-20 defines how uncompressed active video is carried as its own RTP stream over IP. The picture travels without the audio and without the data, which means a production can route, process and record the video essence independently of everything else.

    ST 2110-30 and ST 2110-31 cover audio. ST 2110-30 carries PCM audio over IP and is built on AES67, the audio-over-IP interoperability standard, so broadcast audio devices and wider professional audio equipment can exchange streams. ST 2110-31 adds carriage for AES3-style audio, including coded audio formats that need to pass through transparently.

    ST 2110-40 carries ancillary data — the information that rides alongside the picture in a traditional signal, such as captions and subtitles, timecode and other metadata — as its own stream, mapped into RTP packets.

    Splitting the programme this way buys flexibility. A replay operator can take only the video essence of a camera. A commentator's microphone can be routed to several mixes at once. Captions can be added, checked and recorded as a separate stream rather than being hunted for inside a combined signal. The cost of that flexibility is timing: essences that travel separately must arrive together, sample-accurately, or the finished programme falls apart. That is the problem the next part of the suite solves.

    One clock for everything: ST 2110-10 and PTP

    In an SDI plant, synchronisation came from a shared reference signal distributed to every device. In an IP plant, synchronisation comes from time itself. ST 2110-10 defines system timing and synchronization for the suite, and it is built on the Precision Time Protocol, PTP, profiled for broadcast in SMPTE ST 2059.

    Every device in the plant disciplines its clock to a common PTP grandmaster. Senders timestamp their streams against that shared timebase, and receivers use those timestamps to reconstruct each essence at exactly the right moment and to align video, audio and data with each other. Lip sync, in other words, is no longer a property of a cable — it is a property of a clock that the whole plant agrees on, accurate to a tiny fraction of a frame.

    ST 2110-10 also addresses how streams are presented on the network, and its companion, ST 2110-21, defines traffic shaping and network timing for senders: how packet pacing must behave so that uncompressed video streams do not burst unpredictably and overwhelm switch buffers. A stadium plant may carry many simultaneous high-bitrate streams; predictable pacing is what keeps that load engineered rather than hopeful.

    Finding and connecting devices: NMOS IS-04 and IS-05

    A network full of essences still needs a control layer: something has to know which devices exist, what each one can send or receive, and how to connect them. That layer is specified not by SMPTE but by AMWA, the Advanced Media Workflow Association, in its NMOS family of open specifications.

    IS-04, the NMOS Discovery and Registration Specification, defines how devices announce themselves. A camera, a microphone interface or a replay server registers itself and its senders and receivers with a central registry, and queries let control systems discover what is on the network. Nothing has to be typed in by hand from a spreadsheet of addresses: the plant can describe itself.

    IS-05, the NMOS Device Connection Management Specification, defines how connections are made: a control system can instruct a receiver to take a specific sender's stream, with the transport parameters exchanged in a standard way. Together, IS-04 and IS-05 are what let an operator sit at a control panel before a match and route a newly connected camera to the vision mixer and the replay system in seconds, instead of re-patching hardware.

    The system around the standards: JT-NM TR-1001-1

    Standards for streams and control still leave system questions open: how should devices behave when they join a network, how should addresses be assigned, and what should an operator reasonably expect any compliant device to do? The Joint Task Force on Networked Media, JT-NM, answered with TR-1001-1, its Technical Recommendation for a system environment and device behaviors in an ST 2110 plant.

    TR-1001-1 pulls the pieces into one deployable model — media transport under ST 2110, discovery and connection under NMOS, and defined expectations for how devices configure themselves and behave in that environment. Its practical value is procurement-grade: a broadcaster building a plant for a tournament can specify TR-1001-1 behaviour and expect equipment from different suppliers to join the same network, register the same way, and be connectable through the same control layer. Interoperability stops being a hope and becomes a checklist.

    When a path fails mid-match: ST 2022-7

    Live sport allows no retakes, so the plant is designed for failure. The classic protection mechanism is SMPTE ST 2022-7, Seamless Protection Switching of RTP Datagrams. The idea is disarmingly simple: the sender transmits two identical copies of the same stream over two disjoint network paths — in many plants, two entirely separate, duplicated networks, often called the red and blue networks.

    The receiver accepts packets from both paths and reconstructs a single, perfect stream, taking each packet from whichever path delivers it first and discarding the duplicate. If a switch fails, a cable is pulled, or one path degrades, the other path's copy is already there. The switch-over is seamless by design: no re-route, no renegotiation, and — for the audience at home — no glitch in the picture at the moment the winning goal goes in.

    That redundancy is also why the IP plant's timing discipline matters so much. Two copies of a stream arriving over paths of different lengths can only be merged cleanly because both were timestamped against the same PTP clock. ST 2022-7, ST 2110-10 and ST 2059 are, in that sense, one idea viewed from three angles: agree on time, and the network becomes forgiving.

    Putting it together on match day

    Walk the plant end to end. Cameras around the stadium output ST 2110-20 video essences; microphones and commentary positions feed ST 2110-30 audio; captions and match data travel under ST 2110-40. Every device is locked to the PTP grandmaster under ST 2059 as ST 2110-10 requires, and every stream is duplicated across red and blue networks under ST 2022-7. Devices registered themselves through NMOS IS-04 when they were powered up, and the production control system connects senders to receivers — vision mixer, replay servers, commentary mixes, the world-feed output — through IS-05. The whole system was specified and tested against the behaviours in JT-NM TR-1001-1, which is how equipment from several manufacturers behaves as one plant instead of several adjacent ones.

    From there, the finished programme leaves the venue for distribution and, eventually, your screen. That last journey — contribution and delivery encoding, satellite, fibre and streaming — is a second story. The point of this one is narrower and, for network engineers, more useful: inside the venue, the match is already an IP networking problem, solved with published standards for essences, timing, discovery, connection and protection.

    The bottom line

    A modern broadcast network is a data network with broadcast discipline. ST 2110 splits the programme into separate video, audio and data essences; ST 2110-10 with PTP from ST 2059 gives the whole plant one clock; ST 2110-21 keeps sender traffic shaped and predictable; NMOS IS-04 and IS-05 let devices be discovered and connected by software; JT-NM TR-1001-1 defines how the whole system should behave; and ST 2022-7 sends everything twice so a single failure never reaches the audience. The next time a big match cuts cleanly from a wide shot to a slow-motion replay with commentary and captions in perfect sync, that is not one signal doing its job. It is thousands of packets, on two networks, agreeing about what time it is.

    By Karl Amber

    Sources

    • SMPTE ST 2110 suite overview — Professional Media Over Managed IP Networks: the essence model (separate video, audio and ancillary-data streams over IP) that the -10/-20/-21/-30/-31/-40 parts implement.
    • SMPTE ST 2110-10 — System Timing and Synchronization: system timing for the suite built on Precision Time Protocol (PTP) as profiled in SMPTE ST 2059, including RTP timestamp alignment of essences.
    • SMPTE ST 2059 — PTP profile for synchronisation in professional media applications: the broadcast Precision Time Protocol profile used as the plant's common clock.
    • SMPTE ST 2110-20 — Uncompressed Active Video essence transport over IP via RTP.
    • SMPTE ST 2110-21 — Traffic Shaping and Delivery Timing for Video: sender packet-pacing and network timing models for ST 2110-20 streams.
    • SMPTE ST 2110-30 — PCM Digital Audio over IP, built on AES67 interoperability; SMPTE ST 2110-31 — AES3 transparent transport for coded audio.
    • SMPTE ST 2110-40 — Ancillary Data: carriage of captions, timecode and other ancillary data as a separate RTP stream.
    • AMWA IS-04 — NMOS Discovery and Registration Specification: device self-registration, registry and query APIs for discovering nodes, devices, senders and receivers.
    • AMWA IS-05 — NMOS Device Connection Management Specification: standardised connection of receivers to senders and exchange of transport parameters.
    • JT-NM TR-1001-1 — Technical Recommendation: System Environment and Device Behaviors for ST 2110 plants using NMOS — the deployable system model combining ST 2110 media transport with NMOS discovery and connection.
    • SMPTE ST 2022-7 — Seamless Protection Switching of RTP Datagrams: dual-path transmission of identical streams and hitless reconstruction of a single stream at the receiver.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from primary documents — the SMPTE ST 2110 suite (including ST 2059, ST 2110-10/-20/-21/-30/-31/-40), SMPTE ST 2022-7, AMWA NMOS IS-04 and IS-05, and JT-NM TR-1001-1 — our coverage is original and educational throughout. No NetworkChuck video was opened or used.

  • The Axios npm Compromise: Three Hours That Poisoned More Than 70 Million Downloads a Week

    On March 31, 2026, two new versions of axios — the JavaScript HTTP client that Microsoft Threat Intelligence describes as having over 70 million weekly downloads — were published to npm from the lead maintainer's compromised account. Neither version changed the axios source code. Each one added a single dependency that axios never imports. That dependency's install script fetched a remote access trojan for macOS, Windows and Linux. The malicious versions were live for roughly three hours. GitHub's advisory is blunt about the consequence: any computer that installed the package should be considered fully compromised. This is the record of what happened, what CISA told organisations to do about it, and the controls that would have blunted it.

    The timeline, in UTC

    According to the maintainer's postmortem in the axios repository (issue #10636) and the analyses that followed it, axios@1.14.1 was published at 00:21 UTC on March 31, 2026, and axios@0.30.4 followed at around 01:00 UTC. Both were published from the lead maintainer's compromised npm account — not through the project's normal release process.

    Both versions were removed at about 03:15 UTC the same morning. That leaves a window of just under three hours for the current line, and just over two hours for the legacy line, during which a routine install or update could pull a compromised package.

    The last clean versions are axios@1.14.0 and axios@0.30.3. If your lockfiles, caches or CI logs show 1.14.1 or 0.30.4, CISA's guidance treats that as an exposure to investigate — not a near miss to shrug off.

    One dependency, never imported

    The mechanism matters because it is so quiet. Microsoft Threat Intelligence describes it as dependency insertion: the trusted package's application logic was not modified. Instead, each malicious release added one dependency, plain-crypto-js@4.2.1, that axios never imports at runtime.

    A dependency that is never imported can still run code. npm lifecycle scripts execute during installation, and plain-crypto-js carried a postinstall script. On install, that script reached out to actor-controlled infrastructure and fetched a second-stage remote access trojan, with platform-specific payloads for macOS, Windows and Linux. No click, no prompt, no visible change to the axios code a reviewer would diff. The poison was in the manifest, not the library.

    That is why CISA's alert, "Supply Chain Compromise Impacts Axios Node Package Manager" (April 20, 2026), frames this as a supply chain compromise rather than a vulnerability in axios itself. The code you audited was fine. The delivery channel was not.

    How the maintainer's account was taken

    The maintainer's own postmortem says his machine was compromised weeks earlier through a targeted social engineering campaign, and that a long-lived npm token was then abused to publish the malicious versions. Two lessons sit inside that sentence, and both are about credentials rather than code.

    First, a long-lived token is a standing key to the release process. Whoever holds it can publish as the maintainer, for as long as it stays valid. Second, the compromise started on a person's machine, not in the registry — the publishing account was the downstream prize, not the entry point.

    The postmortem also records the fix the project adopted afterwards: publishing has since moved to OIDC trusted publishing with immutable releases. Trusted publishing replaces a stored, long-lived token with a short-lived credential issued to a specific CI workflow for a specific run. There is no permanent key left on a maintainer's machine to steal, and an immutable release cannot be quietly replaced after the fact.

    Attribution, reported as attribution

    Attribution in this piece is reported exactly as the vendors stated it, and as nothing more. Google Threat Intelligence attributes the compromise to UNC1069, a group it describes as North Korea-linked. Microsoft Threat Intelligence attributes the infrastructure and the compromise to Sapphire Sleet, which it likewise describes as a North Korean state actor. Different vendors track overlapping activity under different names; that is normal practice in threat intelligence, and the two attributions are presented here as the record those teams published — not as a verdict this article reaches on its own.

    What CISA told organisations to do

    CISA's remediation guidance is specific, and it is worth following in its own order:

    • Search code repositories, CI/CD pipelines and developer machines that ran npm install or npm update with the compromised versions during the window. Include cached copies in artifact repositories and dependency tools.
    • Pin npm package dependency versions to known safe releases.
    • Downgrade to axios@1.14.0 or axios@0.30.3 and delete node_modules/plain-crypto-js/.
    • If compromised dependencies are identified, revert the affected environment to a known safe state.
    • Rotate and revoke credentials that may have been exposed: version control tokens, CI/CD secrets, cloud keys, npm tokens and SSH keys. For ephemeral CI jobs, rotate every secret that was injected into a compromised run.
    • Mandate phishing-resistant multifactor authentication on developer accounts, especially on critical platforms.
    • Set ignore-scripts=true in the .npmrc configuration file, which prevents install scripts from executing during npm installs.
    • CISA also recommends min-release-age=7 in .npmrc, so installs only accept packages that have been published for at least seven days — a cooling-off period that would have kept a three-hour-old malicious release out entirely.

    Read that list once more and notice its shape. Only one item is about axios. The rest are standing controls — pinning, credential rotation, phishing-resistant MFA, script suppression and release-age floors — that reduce the blast radius of the next compromised package, whatever it is.

    The defensive lessons that generalise

    First, treat install scripts as code execution, because they are. A postinstall hook runs with the installing user's privileges, on developer machines and CI runners that tend to hold exactly the tokens an attacker wants. ignore-scripts=true is a blunt control and it can break legitimate packages that compile native code — which is why it belongs in policy discussions, tested per project, rather than as folklore.

    Second, pin and lock. A floating version range is an instruction to trust future publishes automatically. Pinning to known safe releases, committing lockfiles and reviewing dependency changes in the manifest — not just in source diffs — would have made the added plain-crypto-js dependency visible before it ran anywhere.

    Third, shorten credential lifetimes. The maintainer's move to OIDC trusted publishing with immutable releases is the structural answer to the exact failure in this incident: no long-lived token on an endpoint, no mutable release to swap. Maintainers of widely depended-on packages carry an outsized target on their accounts; phishing-resistant MFA and short-lived publishing credentials are how that target shrinks.

    The bottom line

    For roughly three hours on March 31, 2026, one of the most downloaded packages in the JavaScript ecosystem shipped a dependency it never used, whose only job was to install a trojan at install time. The axios source was never touched. The trust was. The fixes on the record — pin to 1.14.0 or 0.30.3, delete the malicious dependency, revert exposed environments, rotate every credential that touched them, and adopt the standing controls CISA lists — are unglamorous, specific and still the correct answer for any team that ran an install that morning.

    By Karl Amber

    Sources

    • CISA — "Supply Chain Compromise Impacts Axios Node Package Manager" (April 20, 2026): https://www.cisa.gov/news-events/alerts/2026/04/20/supply-chain-compromise-impacts-axios-node-package-manager — the two compromised versions and the injected plain-crypto-js@4.2.1 dependency, the search/pin/downgrade/revert remediation steps, credential rotation (VCS tokens, CI/CD secrets, cloud keys, npm tokens, SSH keys), phishing-resistant MFA, ignore-scripts=true and min-release-age=7 in .npmrc.
    • axios maintainer postmortem — "Post Mortem: axios npm supply chain compromise," axios GitHub issue #10636: https://github.com/axios/axios/issues/10636 — publication from the compromised maintainer account, the maintainer's machine compromised via social engineering weeks earlier, the abused long-lived npm token, and the move to OIDC trusted publishing with immutable releases.
    • Microsoft Threat Intelligence — "Mitigating the Axios npm supply chain compromise" (April 1, 2026): https://www.microsoft.com/en-us/security/blog/2026/04/01/mitigating-the-axios-npm-supply-chain-compromise/ — axios at over 70 million weekly downloads, dependency insertion with axios source unchanged, the postinstall download of a cross-platform remote access trojan, downgrade targets 1.14.0 / 0.30.3 with immediate credential rotation, and Microsoft's attribution to Sapphire Sleet.
    • GitHub Advisory GHSA-fw8c-xr5c-95f9 — the advisory for the compromised axios releases: any computer that installed the affected package should be considered fully compromised.

    Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from primary and authoritative sources — the CISA alert, the axios maintainer's own postmortem, Microsoft Threat Intelligence's analysis and the GitHub advisory listed above — and is original and educational throughout, with a defensive framing. No NetworkChuck video was opened or used.

  • Linux Services and systemd: Start, Stop, Restart — and Hunt the Daemon That’s Failing

    Linux Services and systemd: Start, Stop, Restart — and Hunt the Daemon That’s Failing

    Every Linux machine you have ever used is quietly running dozens of background workers: the SSH server waiting for a login, the web server answering requests, the scheduler firing jobs on time. Those workers are called daemons, and on most modern distributions one program manages all of them: systemd, the system and service manager documented at freedesktop.org. systemd starts services at boot, keeps track of whether they are alive, collects their logs, and restarts them when a unit file tells it to. Learn a handful of systemctl verbs and one journalctl pattern, and you can start, stop, inspect, and debug almost any service on the box — including the one that is failing right now and not telling you why.

    Linux Services and systemd: Start, Stop, Restart — and Hunt the Daemon That&#821
    Photo: Software:
    Arch Linux and systemd developers
    Screenshot:

    Paowee, LGPL, via Wikimedia Commons

    What a service — and a unit — actually is

    In systemd’s vocabulary, everything it manages is a unit: a resource it knows how to start, stop, and monitor. Units are described by unit files, usually ending in a suffix that names their type. A .service unit describes a process to run — a daemon. A .socket unit describes a socket systemd listens on and activates a service for. A .timer unit describes a schedule, a .mount unit a filesystem mount, and a .target unit groups other units together so a whole stage of boot can be reached at once. When people say "the service," they almost always mean one .service unit: for example sshd.service, nginx.service, or your own application packaged the same way.

    A service unit file states, among other things, the command to execute (ExecStart), the user to run as, what must start before it, and what should happen when the process exits. Unit files supplied by packages live under /usr/lib/systemd/system/, distribution and administrator overrides live under /etc/systemd/system/, and that layering is deliberate: your local file wins, so you can change how a packaged service runs without editing the package’s own file. After you edit any unit file, run systemctl daemon-reload so systemd re-reads its configuration before you try to start the changed unit — skipping that step is one of the most common reasons a fix "does nothing."

    The five systemctl verbs you will use daily

    systemctl is the command-line tool for controlling systemd, and five verbs cover most of daily work. systemctl start sshd starts a unit right now. systemctl stop sshd stops it. systemctl restart sshd stops and starts it again — the standard move after a configuration change — while systemctl reload sshd asks a service that supports it to re-read its configuration without dropping the process. None of these change what happens at boot.

    Boot behavior is a separate verb: systemctl enable sshd creates the symlinks that make systemd start the unit at boot, and systemctl disable sshd removes them. Enabling is not starting — an enabled service begins at the next boot unless you also start it, and systemctl enable --now sshd does both in one command. systemctl is-enabled sshd reports the current setting when you are unsure.

    The inspection verb is systemctl status sshd. It shows whether the unit is active, failed, or inactive, how long it has been in that state, the main process ID, recent log lines from that unit, and — for a failed unit — the exit information systemd recorded. Status is the first screen to read on any sick service, because it tells you which of two very different problems you have: the process never started at all, or it started and then died.

    Hunting the daemon that’s failing

    When something is wrong, start wide and then narrow. systemctl --failed (equivalently, systemctl list-units --failed) lists every unit currently in a failed state — the daemon hunt begins with that list, not with guessing. Pick the failed unit and read its status for the headline: exit code, the time it failed, and the last lines it printed.

    Then go to the journal. systemd collects log output from services into the journal, and journalctl reads it. The workhorse command is journalctl -u sshd, which shows only that unit’s entries. Add -b to limit the view to the current boot, -f to follow new entries as they appear while you retry the service, --no-pager when you are piping the output somewhere, and -n 100 when you want just the last hundred lines. Read from the bottom up: the newest entries usually name the real cause — a missing file, a port already in use, a permission denial, a configuration error on a specific line — while the lines above it are the service announcing, step by step, that it was about to fail.

    The fix loop is always the same shape. Read the error in the journal. Fix the thing it names — the config, the file, the permission. Run systemctl daemon-reload if you edited a unit file. Run systemctl restart on the unit. Then check systemctl status and the fresh journal entries to confirm the unit is active and staying up. A service that flips back to failed within seconds is telling you the first error was a symptom, so read the new journal entries rather than restarting in a loop.

    Linux Services and systemd: Start, Stop, Restart — and Hunt the Daemon That&#821
    Photo: Chimera Linux developers, GPL, via Wikimedia Commons

    Restart policies: making daemons heal themselves

    A service unit can tell systemd what to do when its process exits, through the Restart setting in the unit file’s [Service] section. The documented values include no (the default — never restart), on-success, on-failure, on-abnormal, on-watchdog, on-abort, and always. In practice, Restart=on-failure is the workhorse for daemons: systemd restarts the service when the process exits with an error, is killed by a signal, or times out, but leaves it stopped when an administrator stops it deliberately or it exits cleanly. Restart=always goes further and restarts even after a clean exit, which suits services that are simply always supposed to be running. RestartSec sets how long systemd waits before each restart attempt, so a crashing service does not spin in a tight loop.

    Two cautions keep restart policies honest. First, a restart policy hides nothing from the journal: every failed attempt is logged, so a daemon crash-looping under on-failure is visible in journalctl -u and in the restart counter shown by systemctl status. Second, automatic restarts are a safety net, not a repair — if a service needs its policy to fire every minute, the correct move is still the daemon hunt above: find the error, fix the cause, and let the policy go back to being insurance.

    The bottom line

    A daemon is just a background process, systemd is the manager that starts, stops, and watches it, and a unit file is its written job description. systemctl start, stop, restart, and enable control a service now and at boot; systemctl status tells you its state; systemctl --failed lists what is broken; and journalctl -u reads the failing unit’s own words about why it died. Add a Restart policy for the services that must heal themselves, and daemon hunting stops being folklore and becomes a four-command routine: list the failed, read the status, read the journal, fix the cause.

    By Karl Amber

    Sources

    • systemd official documentation (freedesktop.org) — systemd: the system and service manager; what it manages and how units are started at boot.
    • systemctl man page (freedesktop.org) — the start, stop, restart, reload, enable, disable, is-enabled, status and daemon-reload verbs, and listing failed units.
    • systemd.unit and systemd.service man pages (freedesktop.org) — unit types and suffixes, unit file locations and precedence, ExecStart, and the Restart settings (no, on-success, on-failure, on-abnormal, on-watchdog, on-abort, always) with RestartSec.
    • journalctl man page (freedesktop.org) — reading the journal by unit with -u, limiting to the current boot with -b, following with -f, and controlling pager and line-count output.

    Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from primary documents — the systemd, systemctl, systemd.unit, systemd.service and journalctl documentation published at freedesktop.org — our coverage is original and educational throughout. No NetworkChuck video was opened or used.

    Featured image: Software: Frank Denis Screenshot: VulcanSphere, ISC, via Wikimedia Commons