<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Linux on unixawy.com | Security Blog</title>
    <link>/categories/linux/</link>
    <description>Recent content in Linux on unixawy.com | Security Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 22 May 2020 04:27:54 +0000</lastBuildDate>
    <atom:link href="/categories/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Linux Heap Memory Architecture: Chunks, Bins, and Allocators</title>
      <link>/dynamic-memory/</link>
      <pubDate>Fri, 22 May 2020 04:27:54 +0000</pubDate>
      <guid>/dynamic-memory/</guid>
      <description>A deep dive into Linux dynamic memory management: malloc internals, ptmalloc chunk headers, free chunk structures, bins, and allocation syscalls (brk/sbrk vs mmap).</description>
    </item>
    <item>
      <title>Deploying High-Availability Multi-Master MySQL NDB Clusters with MySQL Cluster Manager</title>
      <link>/run-mysql-cluster-multi-masters-high-availability/</link>
      <pubDate>Tue, 05 Sep 2017 04:20:05 +0000</pubDate>
      <guid>/run-mysql-cluster-multi-masters-high-availability/</guid>
      <description>A comprehensive production guide to architecting, deploying, scaling, and managing a distributed, multi-master MySQL NDB Cluster using Oracle MySQL Cluster Manager (MCM).</description>
    </item>
    <item>
      <title>Investigating SELinux AVC Denials with ausearch and Centralized Rsyslog</title>
      <link>/selinux/</link>
      <pubDate>Sat, 23 Jul 2016 21:26:19 +0000</pubDate>
      <guid>/selinux/</guid>
      <description>How to query and interpret SELinux Access Vector Cache (AVC) denial events using ausearch, and forward audit logs to centralized rsyslog collectors.</description>
    </item>
    <item>
      <title>Monitoring Linux Infrastructure with Performance Co-Pilot (PCP) and Web UI</title>
      <link>/linux-performance-co-pilot-webui/</link>
      <pubDate>Sat, 23 Jul 2016 14:38:33 +0000</pubDate>
      <guid>/linux-performance-co-pilot-webui/</guid>
      <description>A comprehensive guide to deploying Performance Co-Pilot (PCP), collecting kernel and subsystem metrics with pmcd and pmlogger, and visualizing system telemetry via Vector WebUI.</description>
    </item>
    <item>
      <title>Advanced iptables: PREROUTING and POSTROUTING with DNAT and SNAT</title>
      <link>/iptables-prerouting-postrouting/</link>
      <pubDate>Thu, 14 Jul 2016 16:08:25 +0000</pubDate>
      <guid>/iptables-prerouting-postrouting/</guid>
      <description>A guide to implementing complex traffic redirection and routing across multi-homed Linux servers using Netfilter PREROUTING (DNAT) and POSTROUTING (SNAT/MASQUERADE).</description>
    </item>
    <item>
      <title>Fixing phpMyAdmin Error #1146: Table &#39;phpmyadmin.pma_tracking&#39; Doesn&#39;t Exist</title>
      <link>/phpmyadmin-error-1146-table-phpmyadmin-pma_tracking-doesnt-exist/</link>
      <pubDate>Sun, 26 Jun 2016 13:45:41 +0000</pubDate>
      <guid>/phpmyadmin-error-1146-table-phpmyadmin-pma_tracking-doesnt-exist/</guid>
      <description>How to resolve MySQL error #1146 (Table &amp;#39;phpmyadmin.pma_tracking&amp;#39; doesn&amp;#39;t exist) on Ubuntu and Debian systems by repairing the phpMyAdmin configuration storage database.</description>
    </item>
    <item>
      <title>Enabling Passwordless Login in phpMyAdmin for Local Development</title>
      <link>/phpmyadmin-no-password-dev-env/</link>
      <pubDate>Sun, 26 Jun 2016 13:26:36 +0000</pubDate>
      <guid>/phpmyadmin-no-password-dev-env/</guid>
      <description>How to resolve &amp;#39;Login without a password is forbidden by configuration (see AllowNoPassword)&amp;#39; in phpMyAdmin for local developer environments.</description>
    </item>
    <item>
      <title>Resolving PHP Mcrypt Extension Symlink Conflicts on Ubuntu Server</title>
      <link>/fix-mcrypt-warning-ubuntu-server/</link>
      <pubDate>Sun, 26 Jun 2016 12:39:03 +0000</pubDate>
      <guid>/fix-mcrypt-warning-ubuntu-server/</guid>
      <description>How to fix the PHP mcrypt module warning on Ubuntu Server when conflicting configuration symlinks prevent php5enmod from activating the extension.</description>
    </item>
    <item>
      <title>Docker Architecture and Container Operations Crash Course</title>
      <link>/docker-crash-course/</link>
      <pubDate>Mon, 30 May 2016 03:00:06 +0000</pubDate>
      <guid>/docker-crash-course/</guid>
      <description>A comprehensive guide to Docker core concepts, daemon architecture, interactive vs. detached modes, port mapping, and image customization.</description>
    </item>
    <item>
      <title>Auditing User Keystrokes with pam_tty_audit and Linux Auditd</title>
      <link>/audit-keystrokes-with-pam/</link>
      <pubDate>Wed, 07 Oct 2015 22:36:23 +0000</pubDate>
      <guid>/audit-keystrokes-with-pam/</guid>
      <description>How to capture and audit real-time interactive TTY keystrokes in Linux using the pam_tty_audit module and aureport, preventing bash history tampering.</description>
    </item>
    <item>
      <title>Hardening Linux Boot: Securing GRUB, Single-User Mode, and Console Hotkeys</title>
      <link>/protect-bootsingle-user-mode/</link>
      <pubDate>Mon, 17 Aug 2015 03:42:42 +0000</pubDate>
      <guid>/protect-bootsingle-user-mode/</guid>
      <description>How to prevent unauthorized local console takeovers on Linux by password-protecting GRUB, enforcing sulogin on single-user recovery mode, and disabling console reboot interrupts.</description>
    </item>
    <item>
      <title>Mastering SSH Port Forwarding: Local, Remote, and Dynamic SOCKS Proxies</title>
      <link>/ssh-tunnelling/</link>
      <pubDate>Wed, 12 Aug 2015 23:18:08 +0000</pubDate>
      <guid>/ssh-tunnelling/</guid>
      <description>A practical guide to SSH port forwarding: local port forwarding (-L), dynamic SOCKS proxies (-D), and reverse remote tunnels (-R) for bypassing NAT and firewalls.</description>
    </item>
    <item>
      <title>Account Lockout on Failed Logins with pam_tally2 / pam_faillock</title>
      <link>/securelock-accounts-with-pam-tally2/</link>
      <pubDate>Wed, 05 Aug 2015 00:50:28 +0000</pubDate>
      <guid>/securelock-accounts-with-pam-tally2/</guid>
      <description>How to configure PAM to automatically lock accounts after repeated failed login attempts across SSH, consoles, and TTYs using pam_tally2.</description>
    </item>
    <item>
      <title>Hardening Linux Passwords with pam_cracklib and pam_pwquality</title>
      <link>/password-policy-with-pam_cracklib/</link>
      <pubDate>Mon, 03 Aug 2015 18:33:37 +0000</pubDate>
      <guid>/password-policy-with-pam_cracklib/</guid>
      <description>A practical guide to enforcing strict password complexity, dictionary checks, and immediate expiration across Linux accounts using pam_cracklib.</description>
    </item>
    <item>
      <title>Understanding Linux Pluggable Authentication Modules (PAM)</title>
      <link>/pluggable-authentication-modules/</link>
      <pubDate>Mon, 03 Aug 2015 16:51:56 +0000</pubDate>
      <guid>/pluggable-authentication-modules/</guid>
      <description>A comprehensive guide to Linux Pluggable Authentication Modules (PAM): management groups, control flags, module stacks, and configuration architecture.</description>
    </item>
    <item>
      <title>Regular Expressions for Extracting MAC Addresses in Incident Response</title>
      <link>/regex-to-find-mac-address/</link>
      <pubDate>Fri, 31 Jul 2015 00:49:11 +0000</pubDate>
      <guid>/regex-to-find-mac-address/</guid>
      <description>Practical regular expressions and grep commands to parse, extract, and validate MAC addresses from system logs, network captures, and digital forensics evidence.</description>
    </item>
    <item>
      <title>Detecting Duplicate User IDs (UIDs) in Linux</title>
      <link>/find-duplicated-uid-in-the-linux-system/</link>
      <pubDate>Thu, 16 Jul 2015 02:03:09 +0000</pubDate>
      <guid>/find-duplicated-uid-in-the-linux-system/</guid>
      <description>How to audit Linux passwd databases for duplicate UIDs—a common indicator of backdoor accounts and local privilege abuse.</description>
    </item>
    <item>
      <title>Dissecting the Linux /etc/shadow File: Password Hashes and Aging Fields</title>
      <link>/users-in-shadow-file-explanation/</link>
      <pubDate>Thu, 16 Jul 2015 01:09:24 +0000</pubDate>
      <guid>/users-in-shadow-file-explanation/</guid>
      <description>A detailed breakdown of the 9 fields in the Linux /etc/shadow file, password hash algorithms ($1, $5, $6), epoch timestamp math, and account aging with chage.</description>
    </item>
    <item>
      <title>Host-Based File Integrity Monitoring with AIDE</title>
      <link>/aide-intrusion-detection-environment/</link>
      <pubDate>Tue, 14 Jul 2015 05:05:05 +0000</pubDate>
      <guid>/aide-intrusion-detection-environment/</guid>
      <description>How to configure Advanced Intrusion Detection Environment (AIDE) on Linux to detect unauthorized file tampering, privilege escalations, ACL changes, and rootkits.</description>
    </item>
    <item>
      <title>Demystifying Linux umask: Calculating Default Permissions and System Hardening</title>
      <link>/umask-permissions-explanation/</link>
      <pubDate>Fri, 10 Jul 2015 07:16:00 +0000</pubDate>
      <guid>/umask-permissions-explanation/</guid>
      <description>How the Linux umask (user mask) controls default permissions on newly created files and directories, binary bitmask calculation, and security hardening.</description>
    </item>
    <item>
      <title>Linux Local Privilege Escalation via Removable Media and Insecure Mount Options</title>
      <link>/removable-disk-could-lead-to-privilege-escalation/</link>
      <pubDate>Sun, 05 Jul 2015 22:41:43 +0000</pubDate>
      <guid>/removable-disk-could-lead-to-privilege-escalation/</guid>
      <description>How auto-mounted removable USB drives and external filesystems without nosuid and noexec mount options allow local privilege escalation on Linux systems.</description>
    </item>
    <item>
      <title>Persistent Automated Mounting for LUKS Encrypted Volumes at Boot</title>
      <link>/persistent-mount-for-luks-with-unlock-key/</link>
      <pubDate>Sun, 05 Jul 2015 04:18:13 +0000</pubDate>
      <guid>/persistent-mount-for-luks-with-unlock-key/</guid>
      <description>How to configure automated headless unlocking and persistent mounting for LUKS block devices on system boot using keyfiles, /etc/crypttab, and /etc/fstab.</description>
    </item>
    <item>
      <title>Block-Level Disk Encryption on Linux with LUKS and dm-crypt</title>
      <link>/linux-disk-encryption-with-luks/</link>
      <pubDate>Sun, 05 Jul 2015 02:50:28 +0000</pubDate>
      <guid>/linux-disk-encryption-with-luks/</guid>
      <description>A complete step-by-step walkthrough of formatting, unlocking, mounting, and securing encrypted Linux block partitions using cryptsetup and LUKS.</description>
    </item>
    <item>
      <title>RPM Package Security: Cryptographic Verification and Scriptlet Auditing</title>
      <link>/rpm-integrity-and-scripts/</link>
      <pubDate>Tue, 30 Jun 2015 02:54:40 +0000</pubDate>
      <guid>/rpm-integrity-and-scripts/</guid>
      <description>How to inspect GPG signatures, checksum digests, and embedded root install scriptlets in RPM packages to prevent software supply-chain compromises in Red Hat and CentOS.</description>
    </item>
    <item>
      <title>Enterprise Linux Security Patching with YUM and Red Hat Security Advisories (RHSA)</title>
      <link>/redhat-packaging-security-with-yum/</link>
      <pubDate>Mon, 29 Jun 2015 09:40:05 +0000</pubDate>
      <guid>/redhat-packaging-security-with-yum/</guid>
      <description>How to manage security patching on Red Hat Enterprise Linux and CentOS using YUM security plugins, RHSA IDs, CVE tracking, and updateinfo.</description>
    </item>
    <item>
      <title>Converting VirtualBox Disk Images (VHD / VDI) to VMware (VMDK)</title>
      <link>/convert-virtualbox-harddisk-vmware/</link>
      <pubDate>Mon, 12 Jan 2015 18:44:44 +0000</pubDate>
      <guid>/convert-virtualbox-harddisk-vmware/</guid>
      <description>How to convert virtual disk images between VirtualBox (VDI, VHD) and VMware (VMDK) using qemu-img and VBoxManage.</description>
    </item>
    <item>
      <title>Port Forwarding and Redirection with iptables DNAT</title>
      <link>/iptables-redirect-ports-one-port/</link>
      <pubDate>Thu, 08 Jan 2015 21:27:08 +0000</pubDate>
      <guid>/iptables-redirect-ports-one-port/</guid>
      <description>How to use Linux Netfilter iptables PREROUTING rules with DNAT to redirect broad port ranges or all incoming TCP traffic to a single destination port.</description>
    </item>
    <item>
      <title>Essential Third-Party Repositories for Red Hat and CentOS</title>
      <link>/rehat-centos-repository-must/</link>
      <pubDate>Sun, 14 Dec 2014 17:44:29 +0000</pubDate>
      <guid>/rehat-centos-repository-must/</guid>
      <description>A quick reference for adding essential third-party YUM repositories on Red Hat Enterprise Linux and CentOS (EPEL, IUS, Remi, and RPM Forge).</description>
    </item>
    <item>
      <title>Smash The Stack: IO Level 6 Walkthrough</title>
      <link>/smash-stack-level6/</link>
      <pubDate>Fri, 05 Dec 2014 00:28:10 +0000</pubDate>
      <guid>/smash-stack-level6/</guid>
      <description>A walkthrough of Level 6 on Smash The Stack IO, exploiting struct alignment, language localization buffers, and environment variable shellcode injection.</description>
    </item>
    <item>
      <title>Building an Audio &amp; Desktop Cryptocurrency Price Alert in Python</title>
      <link>/bitcoin-price-tracker-speech/</link>
      <pubDate>Thu, 04 Dec 2014 18:29:01 +0000</pubDate>
      <guid>/bitcoin-price-tracker-speech/</guid>
      <description>How to build a real-time cryptocurrency price tracker in Python that triggers audio speech alerts via espeak and desktop notifications via notify-send when market thresholds are crossed.</description>
    </item>
    <item>
      <title>Smash The Stack: IO Level 5 Walkthrough</title>
      <link>/smash-the-stack-level-5/</link>
      <pubDate>Wed, 03 Dec 2014 13:59:04 +0000</pubDate>
      <guid>/smash-the-stack-level-5/</guid>
      <description>A walkthrough of Level 5 on Smash The Stack IO, developing a classic stack-based buffer overflow exploit with shellcode and NOP sled.</description>
    </item>
    <item>
      <title>Smash The Stack: IO Level 4 Walkthrough</title>
      <link>/smash-the-stack-level4/</link>
      <pubDate>Wed, 03 Dec 2014 13:27:27 +0000</pubDate>
      <guid>/smash-the-stack-level4/</guid>
      <description>A walkthrough of Level 4 on Smash The Stack IO, exploiting an unquoted binary call via PATH variable hijacking.</description>
    </item>
    <item>
      <title>Smash The Stack: IO Level 3 Walkthrough</title>
      <link>/smash-the-stack-level3/</link>
      <pubDate>Mon, 01 Dec 2014 18:09:38 +0000</pubDate>
      <guid>/smash-the-stack-level3/</guid>
      <description>A walkthrough of Level 3 on Smash The Stack IO, exploiting a stack buffer overflow with memcpy to overwrite a function pointer.</description>
    </item>
    <item>
      <title>Smash The Stack: IO Level 2 Walkthrough</title>
      <link>/smash-the-stack-level2/</link>
      <pubDate>Mon, 01 Dec 2014 00:48:04 +0000</pubDate>
      <guid>/smash-the-stack-level2/</guid>
      <description>A walkthrough of Level 2 on the Smash The Stack IO wargame, exploiting signed integer overflow with SIGFPE to spawn a privileged shell.</description>
    </item>
    <item>
      <title>Smash The Stack: IO Level 1 Walkthrough</title>
      <link>/smash-the-stack-level1/</link>
      <pubDate>Mon, 01 Dec 2014 00:08:03 +0000</pubDate>
      <guid>/smash-the-stack-level1/</guid>
      <description>A walkthrough of Level 1 on the Smash The Stack IO wargame, analyzing a SUID binary using strings and GDB to extract the passcode.</description>
    </item>
    <item>
      <title>Forwarding Client Real IPs from Nginx Reverse Proxy to Apache</title>
      <link>/nginx-forward-visitor-real-ip-to-apache/</link>
      <pubDate>Sun, 30 Nov 2014 22:08:16 +0000</pubDate>
      <guid>/nginx-forward-visitor-real-ip-to-apache/</guid>
      <description>How to configure Nginx reverse proxy headers (X-Real-IP, X-Forwarded-For) and Apache modules (mod_remoteip / mod_rpaf) to restore original client IP addresses in backend access logs.</description>
    </item>
    <item>
      <title>Encrypting and Decrypting Files with GnuPG (GPG)</title>
      <link>/files-encrypt-with-gpg/</link>
      <pubDate>Mon, 24 Nov 2014 15:20:24 +0000</pubDate>
      <guid>/files-encrypt-with-gpg/</guid>
      <description>A quick practical guide to symmetric and asymmetric file encryption using GnuPG (GPG) for secure transmission and storage in Linux.</description>
    </item>
    <item>
      <title>Resetting MySQL and MariaDB Root Passwords</title>
      <link>/rest-mysql-root-password/</link>
      <pubDate>Mon, 24 Nov 2014 08:15:35 +0000</pubDate>
      <guid>/rest-mysql-root-password/</guid>
      <description>A practical guide to recovering and resetting a forgotten MySQL or MariaDB root password using skip-grant-tables or an init-file.</description>
    </item>
  </channel>
</rss>
