<?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>Security on unixawy.com | Security Blog</title>
    <link>/categories/security/</link>
    <description>Recent content in Security on unixawy.com | Security Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 01 Aug 2025 13:02:40 +0000</lastBuildDate>
    <atom:link href="/categories/security/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SCCM: Tampering with Deployment Boundaries for Privilege Escalation</title>
      <link>/sccm-tampering-with-deployment-boundaries-for-eop/</link>
      <pubDate>Fri, 01 Aug 2025 13:02:40 +0000</pubDate>
      <guid>/sccm-tampering-with-deployment-boundaries-for-eop/</guid>
      <description>An in-depth analysis of how automated software deployment mechanisms in Microsoft Endpoint Configuration Manager (SCCM / MEM) introduce local privilege escalation vectors via DLL hijacking, race conditions, and WMI triggering.</description>
    </item>
    <item>
      <title>Cross-Domain Escalation: Child-to-Forest Compromise via SID History and Golden Tickets</title>
      <link>/enterprise-admin-golden-ticket/</link>
      <pubDate>Sun, 24 May 2020 03:20:32 +0000</pubDate>
      <guid>/enterprise-admin-golden-ticket/</guid>
      <description>How compromising a child Active Directory domain leads to complete forest takeover by injecting the forest Enterprise Admins SID into a forged Golden Ticket (SID History abuse).</description>
    </item>
    <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>Fixing IDA Pro Error: &#39;The debugger could not attach... you don&#39;t have the necessary privileges&#39;</title>
      <link>/ida-debugger-you-dont-have-the-necessary-privileges/</link>
      <pubDate>Thu, 01 Aug 2019 20:46:18 +0000</pubDate>
      <guid>/ida-debugger-you-dont-have-the-necessary-privileges/</guid>
      <description>How to resolve the IDA Pro debugger privilege attach error on 64-bit Windows targets using the standalone remote debugging stub (win64_remotex64.exe).</description>
    </item>
    <item>
      <title>Lightweight Exploit Development Interface Using .gdbinit Hooks</title>
      <link>/gdb-init/</link>
      <pubDate>Mon, 04 Feb 2019 22:35:25 +0000</pubDate>
      <guid>/gdb-init/</guid>
      <description>How to configure native GDB stop hooks and Intel disassembly syntax in ~/.gdbinit to automatically display registers, opcodes, and stack memory on break without third-party plugins.</description>
    </item>
    <item>
      <title>Testing and Validating Shellcode in C via Function Pointers</title>
      <link>/shellcode-validation-via-c-pointer/</link>
      <pubDate>Mon, 15 Oct 2018 17:19:50 +0000</pubDate>
      <guid>/shellcode-validation-via-c-pointer/</guid>
      <description>A minimal C harness to test, validate, and debug raw assembly shellcode by casting a byte array into an executable function pointer.</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>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>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>Nmap Network Scanning &amp; Reconnaissance Cheat Sheet</title>
      <link>/nmap-cheat-sheet/</link>
      <pubDate>Tue, 03 Feb 2015 02:17:38 +0000</pubDate>
      <guid>/nmap-cheat-sheet/</guid>
      <description>A comprehensive reference guide for Nmap network discovery, TCP/UDP scanning techniques, evasion flags, protocol audits, and NSE scripts.</description>
    </item>
    <item>
      <title>Network Pivoting and Port Forwarding with Metasploit and Meterpreter</title>
      <link>/port-forward-pivoting-meterpreter/</link>
      <pubDate>Thu, 08 Jan 2015 22:55:55 +0000</pubDate>
      <guid>/port-forward-pivoting-meterpreter/</guid>
      <description>How to pivot through compromised multi-homed hosts into isolated internal networks using Meterpreter&amp;#39;s portfwd and Metasploit autoroute.</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>Generating Standalone Windows Executables with msfvenom</title>
      <link>/metasploit-payload-executable-exe/</link>
      <pubDate>Thu, 08 Jan 2015 17:22:37 +0000</pubDate>
      <guid>/metasploit-payload-executable-exe/</guid>
      <description>A quick reference for generating staged and stageless Windows Portable Executable (PE) payloads using Metasploit&amp;#39;s msfvenom.</description>
    </item>
    <item>
      <title>Dictionary Enumeration of Blind FTP Directories and Files in Python</title>
      <link>/bruteforce-ftp-files-folders/</link>
      <pubDate>Sat, 06 Dec 2014 18:15:48 +0000</pubDate>
      <guid>/bruteforce-ftp-files-folders/</guid>
      <description>How to perform dictionary-based directory and file discovery against FTP servers when directory listing permissions (LIST / NLST) are disabled.</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>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>Duplicate File Finder via Cryptographic Hashes in Python</title>
      <link>/duplicate-file-finder-md5sum/</link>
      <pubDate>Thu, 04 Dec 2014 18:59:01 +0000</pubDate>
      <guid>/duplicate-file-finder-md5sum/</guid>
      <description>A Python script to recursively scan directories, identify duplicate files using cryptographic hash comparisons, and interactively prune redundant data.</description>
    </item>
    <item>
      <title>TrueCrypt / VeraCrypt Password Auditing via Dictionary Automation</title>
      <link>/truecrypt-password-bruteforce/</link>
      <pubDate>Thu, 04 Dec 2014 18:53:52 +0000</pubDate>
      <guid>/truecrypt-password-bruteforce/</guid>
      <description>A Python automation script for testing dictionary attacks against encrypted TrueCrypt and VeraCrypt file containers using non-interactive mounting.</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>Underc0de 3 Boot2Root Walkthrough: LFI, Python Cron Command Injection, and SUID Binary Exploitation</title>
      <link>/underc0de-3-walkthrough/</link>
      <pubDate>Wed, 03 Dec 2014 10:37:59 +0000</pubDate>
      <guid>/underc0de-3-walkthrough/</guid>
      <description>A comprehensive Boot2Root walkthrough of the Underc0de 3 challenge: base64 Local File Inclusion (LFI), SSH key discovery, command injection in a Python cronjob, and SUID stack buffer overflow.</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>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>
