My Tech Notebook
Arbitrary Code Injection and Execution in Another Process Memory Space
Initializing search
    GitHub
    GitHub
    • cd ~
    • BSD
      • Filesystems
        • MFS: Using a RAM Filesystem
        • Mounting a Filesystem in Multiple Places Simultaneously
      • Kernel
        • Activating the Serial Port on FreeBSD
        • Activating Kernel Modules
        • Modifying Your Generic Kernel
      • Misc
        • Migration: Migrating Linux accounts to BSD
        • FreeBSD
          • Creating an Apple Time Machine Network on FreeBSD
          • Installing FreeBSD on ZFS
          • Monitoring CPU Temperature on FreeBSD
        • OpenBSD
          • Modifying Boot Parameters
          • OpenBSD Configuration Guide (Very Complete)
          • OpenBSD Package System
          • Recovering your OpenBSD after a bad manipulation
      • Network
        • Bandwidth Usage Statistics
        • Configure Network on NetBSD
        • Configure Network on OpenBSD
        • Configuring Network on FreeBSD
        • QoS (Quality Of Service) with PF
        • Trunking: Creating Trunking (bonding) on OpenBSD
        • UFS: Disk usage in UFS
        • VLAN: Creating a VLAN Interface on OpenBSD
        • Firewalls
          • IP Filter: Using the Firewall on Solaris
      • Packages
        • FreeBSD Package System
      • Security
        • Encrypting Swap Partition
        • Jailctl: Creating Chroot Environments (Jails)
    • Coding
      • C
        • Better Understanding and Using the C Language Preprocessor
        • Introduction to C
        • Some examples of CMake usage
      • HTML
        • CSS: Style Sheets
        • Introduction to XHTML
        • Special Characters
        • Text Formatting
      • Java
        • Debugging a JVM Crash
        • Java Memory Management
      • Misc
        • Introduction to PowerShell
      • PHP
        • Compile Your PHP Scripts
        • Introduction to PHP
        • Securing PHP Scripts
      • Perl
        • Introduction to Perl
        • Learning Perl 6
        • My Perl Scripts That Can Serve as Exercises
        • Object-Oriented Programming in Perl
      • Python
        • Introduction to Python
        • My Python Scripts That Can Serve as Exercises
      • SQL
        • Introduction to SQL
      • ShellScript
        • Debugging a Shell Script
        • Different Shell Script Loops
        • Introduction to shell scripting
    • Ethical Hacking
      • Database
        • SQL Injections
      • Misc
        • Address Space Protection: State of the Art in Linux and OpenBSD
        • Penetration Testing
      • Network
        • Altering ARP Tables
        • ARP Spoofing in a Switched Network
        • Grimwepa: Easy WiFi Hacking
        • Hidden (or Covert) Channels
        • Man in the Middle
        • PSAD: Protection Against nmap-Type Scans
        • Reverse Engineering with LD_PRELOAD
        • Scapy: Data Frames and Packets
      • Operating Systems
        • DNS Protocol Security Audits
        • Linux
          • Anti-forensics on ext2/ext3 Filesystems
        • Windows
          • Fuzzing - Tutorial on Using and Customizing a Fuzzer for Vulnerability Research
          • Arbitrary Code Injection and Execution in Another Process Memory Space
          • Download and Execute ShellCode: Optimized and Detailed Code of a Download/Execute ShellCode for Windows
          • Finding passwords from the Windows SAM database
          • Finding the base address of kernel32.dll: Three methods PEB, SEH and TopStack
          • Shatter Attack Technique
      • Theory
        • Cryptology and Prime Numbers: The RSA Algorithm
    • Linux
      • Applications
        • BusyBox: Creation and Usage of a BusyBox
        • CPUBurn: Stress Testing Your CPU
        • Crontab: Usage
        • FTP: Automate Transfers
        • Gnuplot: Graph Data Easily
        • Linux-Unix Cheat Sheets - The Ultimate Collection
        • MFi: Install a Ubiquiti server to manage powerstrips
        • Mirroring a Website
        • Restarting difficult services
        • Task Scheduling
        • Weechat: A User Friendly IRC Client
        • Yubikey: Configure Your Yubikey with PAM
        • ZNC: Use a Bouncer to Get History
        • Shell
          • Batch Renaming Elements
          • Chat with Users on the Same Machine via Terminal
          • Command-line Burning
          • Console Colorization
          • Cpulimit: Limit CPU Usage
          • Date: Advanced Usage of the Date Command
          • Differences between du and df
          • Environment Variables
          • Execute Commands at Logout
          • Fifo and Cat: Share a Session with Multiple Users
          • Locate Large Files and Directories
          • Find all dependencies related to a package
          • Finding Broken Symbolic Links
          • How to Kill a Crashed Application or Handle a Frozen Screen
          • Ivconv: Text Transcoding to Any Character Set
          • Jobs: How to Use Jobs
          • Kill and lsof: Killing the process listening on a specific port
          • Most Used Commands List
          • MOTD: Modifying the Console Opening Message
          • Pstree: List Processes as a Tree
          • Redirect a Service Output to a File
          • Removing Superfluous Elements in Text Files
          • Screen: Most Used Commands
          • Sed & Awk: Some Examples of These Wonders
          • Shell: Batch Renaming with Counter
          • Sipcalc: Subnet Calculator
          • The find command or the power of search
          • Tmux: The Terminal Multiplexer Replacing Screen
          • Unix Toolbox: All Useful Commands
          • Xterm: Customizing the Display
          • ZSH: A Very Practical Shell
        • TextEditors
          • Emacs: Quick Reference Card
          • Introduction to Vi
          • Vim: Essential Commands & Quick Reference Card
      • Coding And Debug
        • Failed Compilations
        • Generate a Configure File for Pre-make
        • Patches: Creating and Applying Patches
        • Perl Locale Issues
        • Strace and Ltrace: Trace System and Library Calls
      • Desktop
        • Fluxbox: Rounded Corners for All Windows
        • Awesome: A Lightweight and Powerful Desktop
        • Compiz: Setting Up a 3D Desktop
        • Disable Sound in GDM
        • Disable the PC Speaker Beep
        • Export a Display or Forward an X11 Connection
        • Gnome: Locked Dashboards
        • GNOME Shell: Using Settings to Configure Your Desktop
        • Gnome-shell: Automatic Wallpaper Change
        • How to install and configure a monitoring machine for supervision
        • Infinality fonts for retina display
        • Numlockx: Enabling the numeric keypad at boot
        • Restart X
        • Synergy: Multi-screen Setup with Multiple Computers
        • Using the Numeric Keypad as a Mouse with X
        • Wacom: Setting up the Wacom Bamboo
        • Xmodmap: Map All Your Mouse Buttons
        • Zenity: GUI for Your Scripts Easily
        • VNC
          • Vino: The VNC Server of Excellence for GNOME
          • VNC: Listen Mode on Linux
      • Filesystems And Storage
        • ACL: Implementing NT-type Permissions on Linux
        • Anatomy of a Linux Filesystem
        • AutoFsck: Changing Filesystem Checks on Ubuntu
        • AutoSSH: Automatically Reconnect SSH Tunnels
        • BTRFS: Using the Ext4 Replacement
        • Clone a Hard Drive
        • Filesystem Conversion
        • Creating Blank Images for Testing Filesystems
        • Ext3: Resize partitions without data loss
        • Foremost: Recover Deleted Data
        • FUSE: Unable to Mount Disks Due to /dev/fuse
        • Hdparm: Optimizing Disk Access
        • Incron: Execute Automatic Actions When File States Change
        • Limiting I/O usage by an application
        • No space left on device while there is space available
        • Optimizing Hard Disk Performance on Linux
        • Parted: Solving Partitioning Problems on Large Filesystems
        • Scalpel: Recovering Deleted Data
        • Setting up quotas on Linux
        • Smartmontools: Hard Drive Monitoring
        • SWAP: Creating Dynamic Swap
        • TestDisk: Recovering Lost Data
        • Tmpfs: RAM filesystem or how to write to RAM
        • ZFS On Linux: Setting up ZFS on Linux
        • LVM
          • LVM: Working with Logical Volume Management
          • Resize Swap
        • Raid
          • Linux RAID Performance
          • Optimization of extX filesystems and RAID under Linux
          • Recovering Data from a RAID1 LVM
          • Software RAID Configuration
        • Storage Encryption
          • Cryptoloop: Setting Up an Encrypted Folder
          • EncFS: Setting up EncFS with FUSE
          • LUKS: Encrypting Your Partitions
          • Solutions for Encrypted LVM System
          • TrueCrypt: Portable Data Encryption
      • Kernel
        • How to Check the Page Size of Your Machine
        • Initramfs: Fixing Kernel Boot Issues with Initramfs
        • Kernel: Module Compilation
        • Kexec: Optimize Your Boot Times
        • Linux Memory Management
        • Linux Process and Scheduler Management
        • Managing Zombie Processes in Linux
        • Memory Addressing and Allocation
        • Memory Caches
        • Modifying Source Version
        • OProfile: Profile Your System
        • Process Latency and Kernel Timing
        • Queueing Theory
        • Recompile your kernel
        • Securing Your Kernel with Grsecurity and PaX
        • Strengthening Linux Kernel Security Functions
        • Sysctl: Configuring Kernel Options in Linux
        • SystemTap: Profile and Quickly Use Kernel Features
        • Udev: Using a Socket to Communicate with Kernel Devices
        • Understanding the Content of /proc
      • Misc
        • Converting Unix Timestamp to Date
        • Activating the Serial Port on Linux
        • Enabling and Disabling Screen Savers from Command Line
        • How to Check BIOS Version Without Rebooting
        • Connect to Debian via Serial Port
        • Creating an ISO Image
        • Uncompress for Different Formats
        • Disable Screen Standby on Debian
        • DrawIt: A VIM Extension for Creating ASCII Diagrams
        • Gentoo: Getting Started
        • Gentoo: Using Portage
        • Getting Hardware Information from a Machine
        • GRUB: Using a Bootloader
        • GS: Merge Multiple PDFs Into One
        • Installing Mac OS X and Ubuntu in Dual Boot
        • IRC: Setting up an IRC server with UnrealIRCD and Anope Services
        • Linux Boot Process
        • Linux: Launching Daemons at Boot
        • Manipulating Images via Command Line
        • Measuring Execution Time of One or Multiple Commands
        • Activating the Numeric Keypad
        • RAM Information
        • Replacing an installed RedHat with Debian without formatting
        • Sending Emails from Command Line
        • Sudo: Running commands as root without being root
        • Sysstat: Essential Tools for Analyzing Performance Issues
        • Systemd: How to Debug on Boot Failure
        • Understanding Time Management in Linux
        • Understanding Load Average
        • Vagrant: Quickly Deploy Virtual Machines
        • VirtualBox: VMware Alternative
        • Wine: Running Windows Applications on Linux
        • Debian
          • Advanced Usage of Debian Packages
          • Automate Debian Installation
          • Broadcom Drivers and Debian
          • Checking File Integrity on Debian
          • Creating a Debian Repository
          • Cron-apt: Automatic Security Updates Installation
          • Debian: Changing Default Tools (e.g., Editor)
          • Debian: GPG Error During apt-get update
          • Debian: No More Dependency Errors When Configuring From Source
          • Debian: Reinstalling a Server Almost Identically
          • How to use old Debian repository for unmaintained Debian versions
          • Installing Debian on a Mac in Single Boot
          • Integrit: Add an integrity control tool on your Debian
          • Modifying CPU Frequency
          • Recompile a Software the Debian Way
        • RedHat
          • Creating a Red Hat Kickstart to Automate Installations
          • Creating a RedHat DVD from CDs
          • Creating a RedHat Package from a Tar File
          • Restore permissions on Red Hat
          • RPM: Build a Binary RPM Package from Sources on Red Hat
          • SoSReport: Generate and analyze machine reports
          • Yum: Package Management in Red Hat
      • Multimedia
        • Video Conversions
        • Converting WMA to MP3
        • Advanced Usage of MediaWiki
        • Newznab: Setting up a Usenet Indexer
        • SABnzbd: A Web Interface for Managing Newsgroups
        • Sick-Beard: A PVR Relying on SABnzbd
        • Switch audio output to another USB device
      • Network
        • Bwm-ng: Measure Bandwidth Consumption in Real Time
        • Check Connections Per IP
        • Cisco VPN Client: Installation on Red Hat 6
        • Configuring a Local Network on Debian and Ubuntu
        • DNS FQDN Name Resolution in Local Network
        • Dnsmasq and dhclient: use a specific DNS for a specific domain
        • Ifrename: Renaming Network Cards Without Using Udev
        • IP: Network Interface Management Command
        • Iperf: Testing End-to-End Bandwidth
        • IPv6: Complete Removal, IPv4 Only on Debian
        • Kernel and Network: Pushing the Limits of Connectivity
        • Make Network Card LEDs Flash
        • Network: Creating Bonding
        • Proxychains: Proxy Any Outbound Connection
        • Rename Network Interfaces to ethX
        • Displaying Active Machines on the Current Network
        • Trickle: Limit Your Application Bandwidth
        • Netcat
          • Netcat: Creating a Listening Port
          • Netcat: File Transfer
          • Netcat: Remote Partition Backup
          • Netcat: Usage
        • OpenSSH
          • Belier: Script Your SSH Connection
          • Bypassing HTTPS Proxies for SSH
          • Chroot SSH Accounts
          • Creating a VPN with OpenSSH
          • Fanout: Run the Same Command on Multiple Machines Simultaneously
          • OpenSSH FAQ
          • OpenSSH: Creating an SSH SOCKS Proxy
          • OpenSSH: Graphical Window Forwarding
          • OpenSSH HPN (High Performance): Implementation and Installation
          • OpenSSH: SSH Connection Multiplexing
          • OpenSSH: SSH Key Exchange
          • OpenSSH : Tunneling VPN
          • OpenSSH: Using Stepstones
          • Reverse Tunneling with OpenSSH
          • Securing OpenSSH
          • Setting up an SSH Bouncer Server for Your SSH Connections
      • Packages
        • Debian
          • Apt & Aptitude: Useful Commands
          • Apt-cacher-ng: Setting Up a Proxy for APT
          • Apt-file: Searching for Files That Prevent Compilation
          • APT: Adding Release Preferences for Specific Packages
        • RedHat
          • Adding Red Hat DVD as a Repository
      • Security
        • Force User to Change Password at First Login
        • Acct: The Ultimate Keyfinder
        • Encrypt and Decrypt a File with OpenSSL
        • Encrypting a Password with MD5
        • Fail2ban: Implementing automated iptables rules to counter bruteforce attacks
        • Freeze a Machine by CPU Overload
        • GnuPG: Encrypt Your Emails
        • Lshell: Limiting Shell Capabilities
        • Secure Your Architecture with SELinux
        • Ulimit: Using System Limits
        • Xinetd: Securing Services
    • MacOS
      • Applications
        • Hdiutil: Creating a DVD ISO from a VIDEO TS folder
        • Mount Disk Images from Command Line
      • Coding
        • Compiling with GCC on Multiple Architectures (e.g., PPC and Intel)
      • Hardware
        • Calibrating Your Laptop Battery
      • Misc
        • Clearing DNS Cache on Mac OS X
        • Hide an Open Application from the Dock and Switcher
        • Installing OSX from an External Drive
        • MacFuse + NTFS-3G: Reading and Writing NTFS Partitions on Mac OS X
        • Switching to Case-Sensitive File System on Mac OS X
        • Viewing Hidden Files and Folders in Mac OS X
    • Misc
      • 3D Print
        • OctoPrint: add Prusa Connect
        • Prusa maintenance
      • CAD
        • Blender: useful keyboard shortcuts
      • Fonera
        • Enabling SSH on the Fonera+
        • Modify the firmware with FrancoFON
        • Modifying the firmware with OpenWrt
      • Google
        • Gmail: Having Multiple Email Addresses with a Single Gmail Account
        • Google Search Tips
      • Home Assistant
        • Sonoff: Remote-control reset
      • LaTeX
        • Beamer: Create Beautiful LaTeX Presentations
        • LaTeX Template for Creating Cheat Sheets
      • Misc
        • BIOS Beep Codes and Their Meanings
        • Create a clean Git/GitHub pages branch
        • Hyperhdr rpi swapped colors
        • OpenElec: Multimedia Solution for Raspberry Pi
        • Reboot Your Freebox Server 6 via Command Line
        • Repairing a GoPro Hero Video
      • Soekris
        • Installing pfSense on Soekris
        • OpenBSD Configuration and Installation via Serial Port on Soekris
        • Upgrading the Soekris BIOS
    • Network
      • Cisco
        • Analyzing Network Equipment and Network Configurations
        • Basic Configuration of a Cisco PIX
        • Capturing connections on an interface
        • Completely Reset a Cisco Configuration
        • Configuring a catalyst switch
        • Installation from Scratch of a Cisco Pix
      • Theory
        • BGP Protocol and its Security
        • Network Flows
        • TCP Flags
    • Servers
      • Authentication
        • FreeRadius
          • DaloRADIUS: Setting up a FreeRadius server with DaloRADIUS web interface
          • Setting up a FreeRadius server
        • Kerberos
          • Apache SSO Authentication on AD Backend via Kerberos
          • Authenticating Solaris Accounts on Active Directory
          • Kerberos: Setting up a Kerberos Server
        • OpenLDAP
          • LDAP: Installation and Configuration of a Secondary LDAP Directory
          • LDAP: Installation and Configuration of an LDAP Directory
          • PhpLDAPadmin: Setting Up a Graphical Management Solution for OpenLDAP
          • Setting up a Synchronization Solution between ActiveDirectory and OpenLDAP
        • PAM
          • PAM Cracklib: Configure Password Complexity
          • PAM: Install pam_mkhomedir for Automatic User Home Directory Creation
          • PAM Mount and SshFS with Password Authentication
          • PAM mount: Automatically Mount Network Shares at Login
          • PAM (Pluggable Authentication Module): Choosing Authentication Methods
          • Pam time setting login restrictions
          • PAM-script: Execute Scripts at Authentication, Session Open and Close
        • SSO
          • CAS: Setting Up an SSO Server
          • LemonLDAP::NG: More than just SSO
          • OpenID: Authentication Centralization
      • Backups
        • Amazon S3: Clean and Automated Backups with Amazon S3
        • BackupPC: A Complete Backup Tool
        • Backups and Restorations with tapes
        • Bacula: Setting Up a High-Performance Backup Server
        • Rdiff-backup: Incremental Remote Backups
        • Rsync: Incremental Backup
        • Unison: Backup like rsync but bidirectional
        • ZRM: Automated Backups and Easy Restorations
      • Cloud Computing
        • DevStack: Quickly Develop or Test OpenStack
        • OwnCloud: Create Your Personal Cloud
      • Configuration Managers
        • Ansible: A Powerful Agentless Configuration Management and Orchestrator Solution
        • Puppet
          • MCollective: Run Actions in Parallel on Remote Machines
          • Puppet: Configuration File Management Solution
          • Puppet Dashboard: Setting up a Graphical Interface for Puppet
          • PuppetDB: Enhance Your Puppet Functionality
      • Containers
        • LXC: Install and configure the Linux Containers
        • VServer: Setting Up VServer
        • Docker
          • Docker Compose: create and manage multi-container applications
          • Docker: containerize your applications
        • Kubernetes
          • K3s: A lightweight Kubernetes
          • Kubernetes basic usage
          • Use local storage with OpenEBS
        • OpenVZ
          • OpenVZ: Setting Up OpenVZ
          • WebVZ: Manage OpenVZ VMs with a Web Interface
        • Solaris Zones
          • Installing HA Zones with ZFS and Solaris Cluster
          • Configuration and Usage of Solaris Zones (Containers)
      • DNS
        • Unbound: Implementing a Next Generation DNS Server
        • Bind
          • Advanced usage of Bind
          • Bindgraph: Get Statistics and Graphs of DNS Queries
          • Installation and Configuration of a Bind9 Secondary (Slave) Server
          • Installing and Configuring a Primary Bind9 Server (Master)
          • NamedManager: A Nice Web Interface to Manage Bind
          • Securing a Bind Architecture
          • Setting up a Bind server with LDAP backend
        • PowerDNS
          • PowerAdmin: An Administration Interface for PowerDNS
          • PowerDNS: Creating a DNS Cache Server
          • PowerDNS: Creating a Master DNS Server
      • Databases
        • Sybase: Installation and Configuration
        • MySQL MariaDB
          • MySQL: Backups, Restorations and Transfers
          • GreenSQL: Preventing SQL Injections with GreenSQL
          • MariaDB Galera Cluster: Multi-Master Replication
          • MariaDB: Migration from MySQL
          • MariaDB Operator: Run full featured MariaDB in Kubernetes
          • MySQL Cluster Load Balanced with Heartbeat
          • MySQL: Installation and Configuration
          • MySQL Replication Master to Slave
          • MysqlTuner: Optimizing Your MySQL Server
          • PhpMyAdmin: Installation and Configuration
          • Purging MySQL Binary Logs
          • Repairing MyISAM and InnoDB Databases
          • Replication Master to Master
          • Running Multiple MySQL Instances on Solaris
          • Setting up a MySQL Proxy
          • Using MySQL
          • XtraBackup: Optimizing Your MySQL Backups
        • NoSQL
          • ElasticSearch: Powerful Search and Analytics Engine
        • PostgreSQL
          • PhpPgAdmin: Installation and Configuration
          • PostgreSQL Installation and Configuration
          • Slony-I: Database Replication for PostgreSQL
      • File Sharing
        • AOE: Setting Up an ATA Over Ethernet Server
        • AutoFS: Mounting and Unmounting Shares
        • NFS: Setting up an NFS Server
        • Setting up a Unix systems specialized Home server
        • UploadTool: Setting up a file sharing tool via Apache
        • SFTP and FTP
          • MySecureShell: Setting up a Secure File Transfer Solution
          • PhpFtpWho: Connection Monitoring for Proftpd
          • SSLH: Multiplexing SSL and SSH connections on the same port
          • Vsftpd: Setting up virtual hosts with MySQL
        • Samba
          • Network Recycle Bin
          • Installation and Configuration of Samba in "Share" Mode
          • Installation and Configuration of Samba in ADS Mode (Authentication on an AD Server)
          • Installation and Configuration of Samba in 'User' Mode
          • Installation and Configuration of Samba in User Mode (Authentication on an OpenLDAP Server)
          • Installing and configuring Samba as a Domain Controller
          • Mounting a Windows Share from Samba
          • Problems with saving Office, Adobe... file types
          • Trick Samba Share Size Display
        • iSCSI
          • Creating an iscsi share between solaris and debian
          • iSCSI: Setting up an iSCSI Server
      • High Availability
        • Installation and Configuration of Pacemaker
        • Load Balancing Multiple WAN Connections
        • Quickly Grant User Access to Cluster Commands
        • HA Proxy
          • HAProxy: Load Balance Your Traffic
          • Load Balancing and Fail Over for Web Services
        • Heartbeat
          • Installation and Configuration of a Heartbeat V1 Cluster
          • Installation and Configuration of a Heartbeat V2 Cluster
        • Keep Alived
          • Installation and Configuration of KeepAlived/Pound with Failover and Session Support
          • Pound: Installation and Configuration of a Reverse Proxy
        • RedHat Cluster Suite
          • Installation and Configuration of Red Hat Cluster Suite
          • Installing a Red Hat 4 Cluster
        • Storage
          • Ceph: Performance, Reliability and Scalability Storage Solution
          • GFS2: Red Hat Cluster Filesystem
          • GlusterFS: High Availability Cluster Filesystem
          • Installation and Configuration of DRBD
          • OCFS2: Oracle's Cluster File System
        • Sun Cluster
          • Installation and Configuration of SUN Cluster
          • Installation of Sun Cluster
          • Introduction and Architecture of Setting Up a SUN Cluster
          • Setting up a quorum server
          • Upgrading SUN Cluster
      • Misc
        • Firefox Sync Server: Create Your Own Sync Server
        • Firefox: Mass Management on Windows Environment
        • Asterisk: Setting up Asterisk PBX and Web-Based Provisioning GUI
        • AvantFax: Setting Up a HylaFax Server with AvantFax
        • Basic Architecture with Asterisk and Freephonie
        • CUPS: Setting Up a Print Server
        • MediaTomb: Setting up a multimedia (UPnP) server
        • OCS Inventory: Setting up Automatic Network Inventory
        • Rancid Search: Setting Up a Search Tool for Rancid
        • Seafile: Make Your Personal Storage Cloud Easily
        • Setting up a Watchdog
        • Setting up a WiFi Hotspot
        • Sphinx: Setup a Full Text Indexer
        • Hardware
          • Migrating from Multipath to Powerpath on RedHat
          • Multipath: Configuring Multiple Paths for External Disk Access
        • Instant Messaging
          • EJabberd: Setting up a Jabber server (instant messaging)
          • OpenFire: Installation of OpenFire
        • NTP
          • NTP: Creating an NTP Server
          • OpenNTPd: Setting up an NTP server on OpenBSD
        • Remote Install
          • Satellite: Deploying Red Hat OS via Red Hat Satellite
          • TFTP: PXE Server, OS Deployment under Linux
      • Monitoring
        • Glances: All in One Monitoring Shell Tool
        • Installation and Configuration of a Centreon Server
        • Mailgraph: Email Monitoring (Spam, Rejects, Viruses...)
        • MRTG: Network-Focused Monitoring
        • Oreon: Setting up a simplified and more elegant solution for Nagios
        • RRDtool: Create Your Own Graphics with RRDtool
        • Shinken: Installation and Configuration of Nagios' Successor
        • Smokeping: Monitoring Latency
        • SNMP: The Network Management Protocol
        • Watchdog: Hardware Problem Detection
        • Weathermap4RRD: Creating Monitoring Maps
        • Xen and vserver: monitoring VMs on a PHP page
        • Cacti
          • Installation and Configuration of Cacti
          • Create Your Own Graphs
        • Collectd
          • Collectd: Installation and Configuration
          • Collection3: A Web Interface for Collectd
          • Heymon: A Web Interface for Collectd
          • Jarmon: A Web Interface for Collectd
          • Observium: An Advanced Interface for Collectd
          • Visage: A Web Interface for Collectd
        • Logging
          • Fluentd: Quickly Search in Your Logs with Elasticsearch, Kibana and Fluentd
          • PHP-syslog-ng: Interpretation of Syslog-ng logs in a web interface
          • Rsyslog: Installation and Configuration
          • Syslog-ng: Installation and Configuration of Syslog-ng
          • Tenshi: System Log Analysis
        • Munin
          • Monit: Easily Use Triggers on Your System
          • Monit and Munin: Monitor with Munin and Get Alerts with Monit
          • Monitoring Windows with Munin
          • Munin: Monitor your servers in a very simple way
        • Nagios
          • Check MK: Easily collect Nagios information and extend its capabilities
          • Email Summary of Current Nagios Alerts
          • Nagios: 2 Load Balancing
          • Nagios: Improving the Look of Notification Emails
          • Nagios: Installation and Configuration
          • NagVis: Map Your Architecture with Nagios Alerts
          • NDOUtils: Sending States to a Database
          • PNP4Nagios: Graph Your Nagios Alerts
          • Setting up a distributed monitoring solution with Nagios, CheckMK and Thruk
          • Thruk: An Advanced Interface for Nagios and MKlivestatus
      • Network
        • MetalLB: Self-hosted Load Balancers for Kubernetes
        • NTOP: Installation and Configuration of NTOP (Network TOP)
        • Setting up VLAN
        • DHCP
          • DHCP: Installation and Configuration of a DHCP Server
          • Setting up DHCP Failover
        • VPN
          • OpenVPN: Setting up OpenVPN on different platforms
      • Security
        • Banners: Hiding Application Banners (Service Banner Faking)
        • Create a PKI
        • Rinetd: Simply and Quickly Forward to Other Machines
        • Rkhunter: Detection of rootkits and malware
        • Stunnel: Creating an SSL Tunnel
        • Iptables
          • Basic IPTables Commands
          • Iptables: Configuration Examples
          • Launch Firewall Rules Before Interfaces Come Up
          • Nfqueue: Filter Thousands of IP Addresses (e.g., by Country)
        • Packet Filter
          • Introduction to Packet Filter
          • Packet Filter: Fighting Against Brute Force Attacks
        • Snort
          • Introduction to IDS and SNORT
          • Setting up Snort & BASE (Basic Analysis and Security Engine)
      • Versionning
        • CVS
          • CVS: Using CVS
          • CVS Installation and Configuration
          • Setting up ACLs for CVS
        • Git
          • Gitweb: Installation and configuration of a web interface for git
          • Nginx Git and Gitweb
          • Setting Up a Git Server and Client
        • SVN
          • Installation and Configuration of an SVN Repository
          • SVK: Creating a Read-Only Mirror for SVN
      • Virtualization
        • KVM and Qemu
          • Converting a VMware Disk Image for Qemu or Xen
          • KVM: Setting Up KVM
          • Migrating from Xen to KVM
          • QEMU: Windows Installation
        • Xen Server
          • Setting up Xen
          • XenServer 4.1: Changing the Management Interface
          • XenServer 5.0: Configuring XenServer with SUN Hardware
          • XenServer 5.0: Tips & Tricks
        • Xen Source
          • Converting VMware Images to Xen
          • Ganeti: Xen Cluster Management
          • Port forwarding from dom0 to bridged domU with IPVS
          • Xen Conversion P2V
          • Xen with Bonding + VLAN Tagging
      • Web
        • Accelerating CGI Scripts with SpeedyCGI-PersistantPerl
        • Benchmark Your Website
        • Checking Your Website Security with Nikto
        • Creating a Favicon for a Website
        • Managing SSL Certificates Signed by a Certificate Authority
        • PHP: Installation and Configuration
        • Preventing your website from being indexed (disabling robot scans)
        • Selenium: Task Automation for Web Environments
        • Symfony: Installation and Configuration of the PHP Framework
        • Testing Load on Servers and Web Applications
        • Tomcat: Setting up a Tomcat server
        • Trac: Setting up a Tracking Solution
        • Apache
          • Geolocation with Apache 2
          • Apache 2 Installation and Configuration
          • Load Balancing with Apache 2
          • Memcached: Setting up a Cache Server for Apache
          • Mixing Apache Authentication
          • Proxy: Creating a proxy with Apache
          • Real-time monitoring of your Apache server
          • Securing Apache with mod_security
          • Setting up SSL certificates with Apache 2
          • Slotlimit: Apache Module to Limit Apache Resources
          • Theme for Apache Directory Index Listing
          • WebDAV: Securing with SSL
        • Caches
          • Varnish: a website accelerator
        • Lighttpd
          • Lighttpd: Installation and configuration of an Apache alternative
          • Setting up OpenSSL with Lighttpd
          • Vlogger: Splitting Lighttpd logs with statistics generation
          • WebDAV with Lighttpd
        • Nginx
          • HTTP Substitutions Filter: Multiple Filters with Regex on Response Bodies
          • NAXSI: Integrate a WAF for Nginx
          • Nginx: Installation and Configuration as an Apache Alternative
          • Nginx + Varnish: Cache even in HTTPS by offloading SSL
          • PageSpeed: Optimize Your Rendered Code On The Fly
        • Proxy
          • SafeSquid: Coupling with ClamAV to Filter Viruses on Incoming Traffic
          • SafeSquid: Setting Up a Content Filtering Proxy
          • Squid: Installation and Configuration of Squid
          • TinyProxy: Setting up a Simple and Fast Proxy
        • Traefik
          • Traefik: a modern reverse proxy, installation and configuration
      • Webapps
        • Ajaxterm: Using a Terminal via Web
        • Awstats: Setting up Awstats, a Web Logs Interpreter
        • Bugzilla: Setting Up a Ticketing Tool
        • Jenkins: Setting up a continuous integration tool
        • Limesurvey: Setting up a Survey Solution
        • MyTinyTodo: A Simple Task Management Tool
        • OTRS: Setting up a ticketing tool
        • Piwik: Statistics for Your Website
        • Pootle: Simple Translation Tool
        • Mediawiki
          • Basic Usage of MediaWiki
          • MediaWiki: Installation and Configuration
          • Practical Extensions for MediaWiki
        • RSS feeder
          • Selfoss: An Elegant RSS Reader
          • Tiny Tiny RSS: An Alternative to Google Reader
        • Wordpress
          • Advanced WordPress Usage
          • Setting up Memcached on WordPress
          • WordPress: Useful Extensions
      • eMails
        • AlterMIME: Automatically Add a Disclaimer to Outgoing Emails
        • Fetchmail - The Ultimate Mail Collector
        • Getmail - An Alternative to Fetchmail
        • IMAP Mailbox Synchronization
        • Postgrey: Setting Up Greylists to Fight Spam
        • Procmail: Filtering emails at the source
        • Setting up a complete antispam server
        • Setting up a Courier POP3 server with SSL
        • SquirrelMail: Setting up a Simple yet Advanced Webmail
        • Z-Push: Setting Up an ActiveSync Server with Postfix (or How to Set Up Push Mail)
        • Exchange
          • Exchange: Repairing and Defragmenting Databases
        • Postfix
          • Dkfilter: Proxy SMTP (Signature Mails) Made by Yahoo
          • Installation and Configuration of Postfix and Courier
          • Postfix: hold outgoing mail transport
          • Postfix limit outgoing mail throttling
          • Postsuper: Mass Deletion of Emails in the Queue
          • Running a Command When Receiving an Email
          • SASL: Secure Remote Email Sending with Postfix Server (SASL+TLS)
          • Secondary MX: Setup
          • Setting up an Antivirus (ClamAV and Amavis)
          • Simulate a black hole for a domain with Postfix
          • SSL: Certificate Management
          • Swaks - Swiss Army Knife SMTP
          • Troubleshooting mails with Postfix
          • Virtual Domains
        • SPF
          • OpenSPF: Setting up OpenSPF
          • SPF (Sender Policy Framework): Prevention of Email Address Forgery
        • Spamassassin
          • Fight Spam More Effectively - Additional Rules
          • FuzzyOcr Plugin: Image Spam Detection (OCR Detection)
          • Spam Reinjection for Testing
          • SpamAssassin Installation and Configuration
    • Solaris
      • Applications
        • DTrace: Real-time Problem Detection
        • Jumpstart: Automating Solaris Installations Without Networks
        • Setting up Nagios NRPE on Solaris 10
        • Setting up OpenLDAP Client
        • Setting up VNC server on Solaris
        • SSH: Setting up SSH Server on a Minimal Solaris Installation
        • Using the Web Console
        • Services
          • Convert MySQL RC Script to SMF
          • SMF: Service Management Facility
        • Users Management
          • User Management
      • Filesystems
        • ACL: Implementing NT-Style Permissions on Solaris
        • Creating a RAID 1 (mirroring) on Solaris
        • Disk Management in Solaris
        • Mount an ISO image on Solaris
        • Multipathing Management on Solaris
        • Adding Swap Space on Solaris
        • Tmpfs: Mounting a RAM filesystem on Solaris
        • ZFS: The Filesystem Par Excellence
      • Hardware
        • How to Check the Number of Active CPU Cores on Solaris
      • Misc
        • Changing Hostname on Solaris
        • Changing Solaris Locales
        • Finding a Process Running on a Specific Port on Solaris
        • Get Unix Format Time on Solaris
        • How to Determine Your System Architecture
        • Managing Solaris Processes
        • Monitor Your Solaris Users
        • Monitoring Superuser Access
        • OpenBoot PROM, BIOS Management
        • Patching Solaris
        • Removing User Limitations
        • Some information about the machine
      • Network
        • Configure Network on Solaris
        • IPMP Configuration
        • Make Unsupported Network Cards Work with Solaris
        • Modifying Network Card Parameters
      • Packages
        • Automating Installation of Many Packages
        • Creating a Solaris Package
        • Managing Updates with Update Manager and smpatch
        • Pkg-get: Setting up a Repository System for Solaris
        • Solaris Package Management
    • Windows
      • Applications
        • Installing Rsync on Windows
        • WinDbg: Analyze Crash Dump
      • Misc
        • Deploying Power Management on a Server for its Clients
        • Modifying NTP Synchronization Servers on Windows
        • OpenSSH: Using Putty and an HTTP proxy to ssh anywhere through firewalls
        • Windows: Refreshing Security Policies (GPO)
        • Windows: Stop a system shutdown in progress
        • Windows XP: Memory Overflow Problems
        • WSUS: Save Disk Space (Purge Unused Updates)
    Code Injection Memory Process Security

    Arbitrary Code Injection and Execution in Another Process Memory Space

    Arbitrary Code Injection and Execution in Another Process Memory Space

    August 3, 2007 August 3, 2007
    Previous
    Fuzzing - Tutorial on Using and Customizing a Fuzzer for Vulnerability Research
    Next
    Download and Execute ShellCode: Optimized and Detailed Code of a Download/Execute ShellCode for Windows
    Made with Material for MkDocs