<?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>/tags/linux/</link>
    <description>Recent content in Linux on unixawy.com | Security Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 14 Jul 2016 16:08:25 +0000</lastBuildDate>
    <atom:link href="/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <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>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>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>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>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>Locating Environment Variable Memory Addresses for Exploit Payloads</title>
      <link>/get-environment-variable-memory-address/</link>
      <pubDate>Thu, 04 Dec 2014 19:32:27 +0000</pubDate>
      <guid>/get-environment-variable-memory-address/</guid>
      <description>How to reliably determine the memory address of environment variables on the Linux stack during binary exploitation and ret2env attacks.</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>
  </channel>
</rss>
