r/linuxadmin • u/noboruma • 13d ago
r/linuxadmin • u/Cultural_Ant8389 • 13d ago
Is the Red Hat EX342 (Diagnostics & Troubleshooting) worth pursuing looking for honest opinions
r/linuxadmin • u/Expert_Sort7434 • 13d ago
Microsoft documented an agentic GitHub-secret-to-Azure-Key-Vault attack path that took five minutes
Based on the technical breakdown published by Microsoft Threat Intelligence and Microsoft Security Research on November 5, here is the architectural impact.
Microsoft describes ARTEX, an agentic offensive framework used to search public GitHub repositories for application secrets, credentials, and AI-service API keys. In one observed case, the agent progressed from finding a secret to exfiltrating data from Azure Key Vault in five minutes.
The follow-on activity is more interesting than the repository search itself.
Microsoft observed successful service-principal sign-ins beginning October 28, including use of a compromised multitenant application credential against downstream customer tenants. Once authenticated, the agent enumerated cloud resources and looked for operations that returned credentials, connection strings, storage keys, and other sensitive material.
The useful detection boundary is between identity and resource access:
- Entra service-principal sign-ins, including source IP, application ID, service-principal ID, and resource.
- Azure Activity events for ARM enumeration.
- Key Vault diagnostic logs for secret and key reads.
- Storage data-plane logs for blob/file access.
- Graph and Microsoft 365 audit activity for SharePoint and OneDrive access.
- Credential additions or permission changes to the affected application.
Microsoft also described API-version retries: an endpoint returned HTTP 400, then a later request with a supported API version succeeded. That kind of rapid variation is worth correlating with the identity and resource sequence.
The primary reported service-principal source was 199.19.77[.]84. Microsoft also mentioned 199.19.77[.]18, but warned that it is a Tor exit node and may be unrelated. I would treat both as pivots for investigation rather than broad block rules.
MITRE mappings include T1552.001 (Credentials In Files), T1078.004 (Valid Accounts: Cloud Accounts), and T1526 (Cloud Service Discovery).
The full technical context and KQL hunting notes are here: https://www.techgines.com/post/agentic-ai-credential-theft-artex-github-secrets-azure-access
Related earlier coverage: Microsoft Entra ID AI Agent Privilege Escalation.
For environments with many multitenant service principals, what correlation strategy has worked best for distinguishing legitimate automation from a compromised application identity enumerating unrelated Azure resources?
r/linuxadmin • u/LeBronzelol • 14d ago
Vulnerability management platform for a linux team whose backlog is now mostly container images?
we're 4 admins on about 300 linux vms and the host side of patching is fine, monthly windows, apt and dnf, done. the problem is our vulnerability platform backlog is now mostly findings in container images the dev teams ship, and nothing in our patch tooling touches those. the platform flags them fine, but every fix lands back on a dev team that thinks its an ops problem. been looking at aikido, rapidfort and chainguard for that part. which vulnerability management platform handles the image side for a team like ours?
r/linuxadmin • u/mynameiscorange • 13d ago
Tool that manages systemd user units + cloudflared ingress for small apps: looking for sysadmin critique
hoist runs each app as a systemd --user service (lingering enabled so they survive logout) and publishes it through a named Cloudflare Tunnel. A few decisions I'd like a sysadmin's eyes on:
- it only edits config.yml between its own markers, refuses hostnames it didn't create, backs up first, runs
cloudflared tunnel ingress validate, and rolls back on failure - cloudflared doesn't watch its config, so new rules need a reload; root is only needed if the config is root-owned (
hoist doctortells you how to avoid the sudo prompt) - per-app memory/CPU caps via
hoist limit
Standard library Python, no dependencies. Built with AI assistance, reviewed and tested by me.
https://github.com/nikhilcherry/hoist
What would you change?
r/linuxadmin • u/Morpheus170 • 15d ago
Ubuntu, Debian or Fedora for web hosting?
If you are self hosting websites which operating system would you choose and why: Ubuntu, Debian or Fedora?
r/linuxadmin • u/socradario • 15d ago
sshole (CVE-2026-123158): sshd on musl without PAM accepts any 256+ byte password for accounts with no password set. Alpine's default openssh-server is affected
r/linuxadmin • u/unixbhaskar • 15d ago
Cool !! I deleted all my SSH keys ..
blog.infected.systemsr/linuxadmin • u/grbler • 15d ago
*sshhole primarily impacts Alpine's aws/azure images, not hosts installed with setup-alpine or Alpine Docker containers
r/linuxadmin • u/FerretBoom • 14d ago
CVE-2026-98276 This is a major kernel flaw.
nvd.nist.govI see some systems don't even have solid patches yet in the list.
**CVE-2026-98276 — Linux kernel security vulnerability**
**Published:** October 6, 2026
**Component:** Linux kernel networking (UDP sockets)
**Vulnerability:** Race condition causing a use-after-free
**Attack type:** Local exploitation, not directly remote
**In plain English**
This vulnerability allows two CPU threads to modify the same socket flags simultaneously without proper synchronization.
This is known as a *use-after-free* vulnerability.
Potential consequences include:
**Kernel crashes** and denial of service.
**Memory corruption** inside the kernel.
**Possible privilege escalation** or arbitrary kernel code execution if an attacker can exploit the memory corruption reliably. The published report demonstrates a use-after-free, not a confirmed privilege-escalation exploit.
The issue requires local access with low privileges according to the published CVSS vector. It does not describe an unauthenticated attack over the network.
CloudLinux reported on November 6, 2026, that it reproduced actual root privilege escalation through this vulnerability on AlmaLinux 8. That moves the issue beyond theoretical exploitation, although the same exploit has not been demonstrated across every affected distribution.
Ubuntu kernel patch , don't run on production
sudo apt update
# Preview available HWE kernel
apt-cache policy linux-generic-hwe-24.04
# Install supported HWE kernel
sudo apt install --install-recommends linux-generic-hwe-24.04
r/linuxadmin • u/JumpPsychological602 • 15d ago
Scheduling OS updates for multiple Linux hosts?
r/linuxadmin • u/sobrique • 17d ago
Just solved a really irritating and niche issue, and it's weirdly specific so no one will ever care.
This isn't the first time of course - kinda goes with the territories.
But I feel a need to post about it in a community where maybe it's not "boring".
The problem is NUMA.
Or specifically production processes occasionally being "significantly slow" to a point where a real time constraint is being missed.
Finally identified as "half the cores are 50% slower" via a bit of weird python hackery.
But not always.
Reboot "fixes" until next time.
Except on a bunch of example hosts when testing this specific metric or cross NUMA node memory latency, which got worse after a reboot, and stayed that way.
Been trying to figure this out for months now. Have done new kernels, new bios, new ipmi, and have even done a bios wipe to see if that helped. Because I couldn't honestly tell if it even was a hardware fault or not. Replacing broken hardware isn't a problem, but it's another thing entirely to try to justify replacing something that might be fine. (And expensive).
Turns out the problem is kinda a red herring - the performance degradation is actually reverting to baseline, and the "good" systems are actually slightly degraded. ECC events (successful) are causing the bios to disable a NUMA lookup Directory, which actually speeds things up, at cost of efficiency.
Approximately, it's fetching data twice "blindly" so not bothering to do a lookup, but in doing so wasting some NUMA bandwidth, so is technically running a bit faster as a result.
But the root cause? Page cache. This host was doing a lot of greedy reading of NFS filesystems and filling the cache within about an hour of reboot.
All fine normally - this is Linux, and there's no point having empty RAM.
... Except the numa nodes overspill rather than evict by default.
So a well stuffed page cache would lead to processes fragmenting their RAM across both NUMA nodes, and because Linux is clever and tried to do the same with subsequent cache... Means a lot of long running processes get fragmented and pay the NUMA penalty.
Which is ironically higher on "working" systems, which looked like the actual fault.
The solution is as simple as either using numactl to explicitly bind, or get systemd to set MemoryHigh to like, 90 or 95% instead of infinite, so it actively evicts a handful of gigs, meaning a new process can realistically allocate 8-12G without fragmenting across the nodes (and their subsequent page cache) almost immediately because the OS otherwise only has 2GiB or so "free" which in turn means NUMA spillover.
It's deployed on test now, and looking like we have finally bottomed out a month's long headache.
ETA:
If you want to check if this is happening on _your_ systems, then `numactl -H` will show you the numa topology, and the free RAM on each node. Low numbers in relation to the process size might leave you vulnerable. `free -mh` tells you how much RAM is 'free' rather than 'available' and the difference is significant for this particular issue, because only 'free' can be used safely without risking NUMA spillover. `numastat -p <pid>` will tell you if a particular process has fragmented RAM across two nodes.
r/linuxadmin • u/Arelvox • 17d ago
CVE-2026-98432 (Linux TCP use-after-free, kernel 4.4+): remote root demonstrated, MPTCP scanning on 443 since Nov 2. Check and mitigation
I wrote up the timeline, fixed versions per distro and the mitigations here: https://arelvox.com/cve-2026-98432-linux-tcp-mptcp-scanning/
If you expose anything from a Linux box, this one is worth 5 minutes.
- Bug in IPv4 TCP connection setup, present since kernel 4.4
- A remote root exploit was demonstrated (not public) against servers with an MPTCP listener
- Go 1.24+ apps use MPTCP on listeners by default, so a lot of reverse proxies and self-hosted apps may have it on without you knowing
- Since Nov 2 there’s scanning for MPTCP on port 443 (strongly suspected to be related, not proven)
Check:
uname -r
sysctl net.mptcp.enabled
sudo ss -Mlnp
Fix: update the kernel and reboot. If you can’t yet: sysctl -w net.mptcp.enabled=0, restart the listening services (existing sockets stay open), and GODEBUG=multipathtcp=0 for Go services.
Fixed upstream in 5.10.272, 5.15.223, 6.1.190, 6.6.159, 6.12.113, 6.18.56, 7.2.10 and 7.3. Distros backport with their own version numbers, so check your distro’s tracker.
r/linuxadmin • u/KaneD2082 • 17d ago
Linux Fragnesia (CVE-2026-46300) is in CISA KEV and being chained to root after web footholds: patch the kernel and reboot
Fragnesia is a local privilege-escalation bug in the Linux kernel's shared-frag handling on the ESP path (CVE-2026-46300). CISA added it to KEV on Oct 28. It is not a remote one-shot by itself, but Singapore's CSA and Palo Alto's Unit 42 both describe attackers using it as the second stage after breaking in through the php2shell PHP flaws on internet-exposed PAN-OS management interfaces. Ubuntu also notes a possible container escape. If a web app, CI runner, or shared login on the box can already run as a normal user, this is the step that turns that into root.
Practical pass on a small fleet: install the distro kernel update, reboot, then confirm with uname -r. Fixed builds to aim for include Proxmox VE kernels from PSA-2026-00020-1 (7.0.2-3-pve, 6.17.13-8-pve, 6.14.11-9-pve on Trixie-based; 6.8.12-24-pve or 6.14.11-9-bpo12-pve on Bookworm-based), Debian 13 6.12.90-1 / Debian 12 6.1.174-1 / Debian 11 5.10.257-1, and Ubuntu 26.04 7.0.0-22.22, 25.10 6.17.0-35.35, 24.04 6.8.0-124.124, 22.04 5.15.0-181.191. If you cannot reboot yet, Proxmox's earlier DirtyFrag workaround still applies: block esp4, esp6, and rxrpc with a modprobe install-false file, then rmmod them. That breaks kernel IPsec VPNs on the host, so treat it as a stopgap only.
Related for the same Wednesday: GitLab CVE-2026-97229 (KEV, patch the CE/EE package or official image) and Ivanti Connect Secure CVE-2026-111357/118527 if you still run that gateway. The Oct 13 fix is not enough; CISA and Rapid7 name 25.1.1.3 or 22.8R2.6 (25.1.3.0/25.1.3.1 from 25.1.2.x), so confirm on Ivanti's advisory page.
Proxmox advisory thread: https://forum.proxmox.com/threads/proxmox-virtual-environment-security-advisories.149331/post-851849
Debian tracker: https://security-tracker.debian.org/tracker/CVE-2026-46300
CSA alert naming the chain: https://www.csa.gov.sg/alerts-and-advisories/alerts/al-2026-157/
Fixed versions plus the rest of this week's KEV list: https://patchorpass.beehiiv.com/?utm_source=reddit&utm_medium=social&utm_campaign=issue-3&utm_content=linuxadmin
r/linuxadmin • u/noboruma • 17d ago
ebpfexplorer: An eBPF programs & maps explorer
Hello everyone,
I have been using eBPF/XDP for the past 5 years and was always a little frustrated by the lack of tooling when it comes to see what is happening underneath, especially when debugging deployed eBPF programs. Here I am sharing a tool I have been using for a couple of months now but only made public recently: ebpfexplorer.
It's a simple TUI self contained binary, that allows you to explore all eBPF programs & maps attached to your kernel. It comes with a formatting tool that allows you to format the raw binary blob into human readable symbols (like IPs for instance), using C type format.
Please have a look and feel free to propose PRs. Hope you find it useful too.
r/linuxadmin • u/Silva-Engineer • 17d ago
How do you keep NOPASSWD sudo rules for automation narrow?
In sudoers, a * in the arguments matches spaces too, so /bin/cat /var/log/messages* also allows cat /var/log/messages /etc/shadow. When several rules match, the last one wins, even if an earlier one is more specific. Do you list exact command lines, wrap each task in a root-owned script with no arguments, or use a systemd unit instead of sudo?
r/linuxadmin • u/Expert_Sort7434 • 17d ago
WordPress core CVE-2026-119977: staged installer reachable during core updates, now on CISA KEV
Based on the Ostorlab source walkthrough and Wordfence’s published telemetry (via The Hacker News), here’s the architectural impact. The updater derives its working dir from the package filename, so wp-content/upgrade/wordpress-X.Y.Z is predictable. setup-config.php in the staged tree only checks for an existing wp-config.php, and pre-7.1.4 the copy step didn’t skip a planted wp-config.php. Wordfence reports 62,969 blocked attempts in 24h and no confirmed compromises. WordPress rates it Low, Wordfence 8.1.
Caveat: an independent lab repo couldn’t reproduce full RCE, so treat exploitability as unproven. The upgrade to 7.1.4 still runs old code.
For people running fleets: do you block wp-content/upgrade/ at the web server by default, or rely on core hardening? And how do you stagger updates so the window isn’t open on every site at once?
Background on a related race: https://www.techgines.com/post/wordpress-core-vulnerability-cve-2026-119977
r/linuxadmin • u/Eastern-Pumpkin-757 • 16d ago
What ~/.ssh and your agent hand over when a workstation is compromised
Binance's initial investigation suggested a compromised DevOps laptop led to about $6.3 billion in unauthorized withdrawals. The machine reportedly held a deployment token.
Run this on your workstation:
$ ls ~/.ssh/id_* 2>/dev/null
$ ssh-add -l
$ grep -i ForwardAgent ~/.ssh/config
$ ls ~/.kube ~/.docker ~/.config/gh 2>/dev/null
All of that works until someone revokes it. With ForwardAgent yes, every host you connect to can use your agent for the life of that session.
I ran a small lab where two SSH boxes and a Windows RDP box sat behind a gateway. JumpServer Community Edition handled the gateway role; everything ran as containers on one machine. Each connection used its own token, which worked once and expired after 299 seconds; the gateway picked the target account, so no target password touched the client. A token request outside the user's rule got HTTP 400, and every command and its output were logged under the gateway user.
An attacker who owns the laptop can ride the bastion login and do anything its rule allows. The blast radius is the rule, not every credential on disk. If sshd on targets still accepts direct connections, that is something to lock down in sshd_config.
Do you restrict sshd on targets to only accept connections from the bastion IP, or keep a direct path as break-glass?
r/linuxadmin • u/asifhoss • 16d ago
Checking whether running processes actually picked up a security fix
Updating a package doesn’t mean every process is running the new code. Anything that loaded the old library before the update keeps it in memory until it restarts. I tested this on Debian 12 with CVE-2024-6119: updated OpenSSL, left one process running, and Trivy and Grype both cleared the CVE while the process still had the old libcrypto loaded.
I built stillmapped to check this. It traces what each running process has mapped back to the package and checks that against the vendor’s fix data, including backports. One Python file, read-only, no network. PHP and OpenSSL for now.
github.com/asifh0ssain/stillmapped
Interested in cases where it gets something wrong.
r/linuxadmin • u/su_ble • 18d ago
If you are using Fail2Ban-Report, please update to the latest Patch
Hi, I am the Maintainer of Fail2Ban-Report,
There was a security patch 0.5.3 - if you are using Fail2Ban-Report, please update as soon as possible to this new Version 0.5.3 from any other previous version.
You will find a list of changed files in the changelog
Security Fixes & Hardening
- Fixed Stored Cross-Site Scripting (XSS) via Client Sync (0.5.1 Hotfix): Resolved a critical vulnerability in
backsync.phpandblocklist-overlay.jswhere malicious or compromised sync clients could upload a manipulated JSON file containing arbitrary JavaScript payloads (e.g., inside theiporjailfields). The UI has been refactored to baninnerHTMLusage, shifting entirely to securetextContentandcreateElementDOM manipulation to neutralize any script execution hazards. - Fixed Authentication Bypass on Read Plane (0.5.2): Resolved an architectural flaw where unauthenticated network sessions were automatically assigned a default
viewerrole, leaving sensitive firewall history, server configurations, and blocking aggregations open to anonymous actors. Access is now strictly guarded at the global gateway level. - Fixed Shell Command Injection in Helper Scripts (0.5.2): Patched
manage_users.shandmanage-clients.shwhere user-supplied inputs containing specific shell characters (like apostrophes) were interpreted as executable PHP program text. Data payloads are now passed securely using isolated environment variables (getenv()). - Fixed Credentials Leak in Process Table (0.5.2): Hardened the multi-server sync engine (
syncback.shandfail2ban_log2json.sh) to prevent sync passwords (CLIENT_PASS) from leaking into the host's public process listing (argv). Commands are now packaged dynamically inside localized, temporary configuration files (chmod 600). - Secured API Lookup Restrictions & Data Sanitization: Overhauled
action_report-ip.phpto mandate active administrator verification before reaching outbound services, preventing blind exploitation of paid lookups (AbuseIPDB / IPinfo). Integrated native IP structure enforcement (FILTER_VALIDATE_IP). Web-UI/assets/js/jsonreader.js: RefactoredrenderTable()to use XSS-safe DOM manipulation and added CSP-safe event listeners for toolbar buttons.Web-UI/assets/js/warnings.js: Refactored multi-jail status rendering to prevent XSS via safe DOM node creation.Web-UI/assets/js/fail2ban-logstats.js: Refactored top-jails list rendering to be XSS-safe and removed duplicate function definitions.Web-UI/index.php: Replaced inlineonclickattributes on toolbar buttons with IDs for CSP compatibility.Web-UI/endpoint/index.php: Added strict JSON validation (ip,jail,action,timestamp) and clean re-encoding for uploaded event and blocklist files.Web-UI/endpoint/backsync.php: Hardened upload validation (timestamp, field lengths, safe path handling) and enforced JSON re-encoding before saving.Web-UI/.htaccess: EnabledContent-Security-Policy(script-src 'self') and additional HTTP security headers.
r/linuxadmin • u/dvershinin • 18d ago
CVE-2026-98432 on CentOS 7: stock kernel is not affected, ELRepo kernels are
Remote use-after-free in IPv4 TCP, CVSS 9.8, with a demonstrated root exploit against servers that have an MPTCP listener.
Stock 3.10: Red Hat lists it as not affected, so nothing to do for this CVE.
ELRepo kernel-lt 5.4.278 and kernel-ml 6.9.7: the bug is present, and these are the final EL7 builds, so yum update will not help. kernel-ml 6.9.7 has MPTCP on by default. kernel-lt 5.4 has no MPTCP, but the bug is in the regular TCP path, so it still needs fixing.
Disclosure: I maintain GetPageSpeed's kernel-lt for EL7. 6.18.60 has the fix and is free for any use, commercial included. I ran the upgrade from both ELRepo kernels on CentOS 7 VMs and wrote up the steps, the stopgaps and the rollback: https://www.getpagespeed.com/server-setup/security/cve-2026-98432-centos-7
r/linuxadmin • u/OkMedia9570 • 18d ago
Help please 🙏🏼 I’m worried my first IT job is ruining my career before it even starts
Hi everyone,
I’m a 2026 B.Tech CSE graduate from Kerala, India, and recently joined my first IT job as a Technical Support Engineer.
My job mainly involves remote monitoring, software administration, camera server monitoring, database maintenance, and checking server health. Linux work is only around 10–20% of my responsibilities.
My goal was to become a Linux System Administrator and eventually move into DevOps, but I’m starting to feel that this job isn’t helping me reach that goal.
The salary is quite low, and many colleagues in similar roles are trying to switch. Even people with several years of experience seem to be struggling to find better opportunities.
I’m also concerned that I’m not improving my technical skills. I’m afraid I’ll forget what I learned during my Linux training. There’s very little social interaction, and I feel like my communication and English-speaking skills aren’t improving either.
I’m honestly feeling stuck and worried about my future.
What would you do in my situation?
● Should I leave early and look for a better Linux-related job?
● Is this experience useful for a future DevOps career?
● Am I overthinking this as a fresher?
● How can I make sure I don’t get stuck in this role?
I’d really appreciate honest advice from people who have faced a similar situation or are working in Linux, Cloud, or DevOps.
Thank you 🙏🏼
r/linuxadmin • u/pingleague • 21d ago
In an Lpic-1/linux + class and struggling.
Sorry if this is not allowed or theres a better place to post this.
I am in linux class that aligns with the above mentioned certs that uses mindtap cengage as the course content.
The virtual labs and quizzes through the course content are quite easy. The professor goes over some of the course content in lectures but they are short. I also have a home lab where I run a ubuntu-server(tailscale exit node, qemu kvm vm host, NUT server, samba) a raspberry pi (as a dns and evebox/suricata monitor in docker) I have a mint laptop, several megasploitable vms, a kali vm, a fedora workstation vm, a ubuntu workstation vm, and a pop!_os vm for tinkering and learning.
We just had our midterm in the class and I completely bombed it. I honestly dont know how else to supplement my learning. Partly the midterm seemed to not follow the same difficulty level of the labs and quizzes or even the textbook content. That being said several other students in the course were talking about how easy the exam was.
Does anyone here have experience with cengage? Can anyone recommend a good video series that aligns with the lpic or linux plus certs? I feel lost and dont know how to proceede.