Setting Up An Exploit Development Lab

HackerSploit · Intermediate ·🔐 Cybersecurity ·7y ago

Key Takeaways

The video demonstrates how to set up an exploit development lab using tools like edb-debugger, with links to the debugger's GitHub repository and installation wiki provided.

Full Transcript

[Music] hey guys hack exploit here back again with another video and welcome back to the exploit development series now in the previous video we talked about generating shell code with the metasploit framework or msf venom as it's uh so called and in this video we're going to be looking at setting up our exploit development lab so the purpose of this video is to essentially get you all up and running so you can start developing your own exploits and work with shell code so we're going to be looking at installing your debuggers and your compilers etc etc so this video is going to be about two to three configurations depending on playing this as we go so uh you can consider this a complete uh lab setup for the purpose of exploit development so i'm going to be using kali as my attacker operating system or you can use any other penetration testing distribution so you can use kali parrot uh backtrack or whatever you want to use and then i'm going to be using ubuntu as my linux target so you can set up an ubuntu an ubuntu instance this is ubuntu 16.04 i believe if i'm not wrong and i'm running uh and i'm running uh the latest version of kali i know it tells you that i'm running 2017.3 uh but i just keep on upgrading this virtual machine as i move along so it's running the latest packages and for our windows target uh virtual machine i'm using windows 7 and i'll be showing you how to set that up in the next set of videos so this video is going to be focusing on primarily setting up your attacker operating system and your linux target uh so without any further ado let's get started so on your attacker operating system uh the most important thing that you need to have is your new compiler your new c compiler or gcc as it's commonly referred to as all right so to install gcc is really very simple that's if you are using a different distribution that doesn't have it installed if you are running cali or parrot gcc should be installed and let me just open up the help menu right over here and if you just scroll to the top you can go ahead and look at all the options available in regards to this tool now of course we'll be taking a look at all of this and some of you might or already have experience with this tool and that's fantastic so we'll be looking at how to use the new compiler now if if you do not know how to install it it's really very simple make sure you're using the latest uh make sure you're using the latest um you're using the latest sources list so that you are able to get this and this is available in the kali sources so for some reason if you don't have it in your kali installation it's very simple so you can use the sudo apt-get install gcc command and that's going to install the new c compiler for you as you can see i already have it installed and it's gonna install all the dependencies for you uh that you need for this tool etc and you can then move along uh the next thing that you will need is you will need a python installation uh preferably a python 2 installation and i'll get to this uh as we move along later in later in the series when we talk about x-play development so we'll be looking at that as well so make sure you have python preferably python 2 although python 3 should work for this and i will be updating you on that all right and the final thing that you need is you need to have the metasploit framework or the metasploit console installed and you have to make sure that your database is updated completely as we will be looking at the different exploits and how they work so that we can create our own all right so make sure you have the metasploit framework or the console installed on your penetration testing distribution or if you choose to use any other linux distribution all right so this is going to be our attacker operating system and once you have all of that ready we are pretty much good to go on that front uh now when you talk about configuring our target linux operating system here which is what we're going to be using to attack so this is going to be our base uh linux system that we will be attacking uh so we need to essentially install a few things here we need to install a debugger and the the the debugger that we are using is the edb debugger and i'll explain why we aren't using the immunity debugger for linux as we move along but for now just make sure you have a debug installed and of course for those of you who are experienced in this you pretty much already have your own favorites so make sure you have that installed so if you want to install edb debugger it's really very simple i'll be posting the links in the description so you can go ahead and check them out for yourself and by the way since this is going to be our target operating system you can sort of minimize the resources that you do uh give to this operating system so you can probably reduce the amount of ram that you have allocated to it and that's for the people who are using computers that do not have a lot of ram so you can give it about you know 5 12 to 10 24 megabytes um you know so a half a gigabyte to a gigabyte of ram that should be good uh but of course you will need uh you will need a bit as you set it up because ubuntu as you know does not work very well especially the later versions in low with low amounts of ram so uh when setting up i'll be posting the github rep uh the github repo and i'll be posting the wiki right over here that will help you get it installed on ubuntu now of course you can configure your own target with any linux uh kernel or any linux distribution uh so you can use debian if you want and the process will be pretty much the same so as you can see edb the edb is essentially a cross-platform arc uh where we have 32-bit uh 64-bit debucker which is what we want and uh now essentially when it comes down to installing it you can go ahead and look at the screenshots right over here and as you can see it works on as you can see it works on linux and it isn't available on any other operating system and as far as i know as you can see the windows ports are underway with varying degrees of functionality so yeah this is pretty much a linux exclusive at the at the moment and i'll be keeping you updated with that as well so when it comes down to the installation of edb debugger what i would recommend if this is your first time is not to just go ahead and clone the repository because you do have to compile and build it is you need to go into the uh the compile page which i will post in the description so you want to make sure you want to make sure you select the correct compilation uh guide here for the different distribution that you you may be using so you have debian uh you have fedora and you have ubuntu all right so the first thing you want to do if you are running ubuntu is you need to make sure you have the dependencies installed and that can be done right over here by simply copying this command here and that is used to step down or to essentially add further arguments which in this case is essentially installing everything right over here so you can simply just paste that and i'll do that right now although i do have all of the packages installed let me just enter my password right over here and you want to just go ahead and let that install so give that a few seconds it shouldn't take too much time there we are and i have all the dependencies installed that's the most important thing now when it comes down to building and running edb you want you want to essentially clone the repository so you can go ahead and clone it to whatever directory you want i already have mine on my desktop here so if i just go two steps back here on my desktop and let me just list the files in here you can see i have the edb debugger directory right over here so once you've cloned it you want to change your directory into the edb debugger folder and you hit enter and once that's done you essentially want to create a new folder called build which i already have done right over here there we are build right over there and after you've created it you want to change your directory into the build directory right over here and once that is done you want to then perform a cmake on it which will start the compilation process and then after that's done you want to hit make and once that's done that's going to give you your executable here so if i list it right over here you can see we have the edb executable here which can be launched directly directly from the terminal now i do recommend that you run this from root so uh sudo bash let me just run that or you can you can essentially uh sudo the uh the executable itself so once that's done uh if i just list the files one more time you can see it still exists so i'm just going to run edb and that what that is going to essentially uh make sure it provides is give us the entire interface that edp comes with so just give that a few seconds to launch as you can see that is edp version one and once that is started you can go ahead and start uh looking at the uh the various interfaces that it does give us so you have your registers bookmarks etc and the data damp and you have your debugger error console the error console here and you can also analyze the stack we'll be looking at all of this so don't worry if this is new to you all right so for example i can essentially open the edb executable here and we can go ahead and analyze it or debug it directly from here so if i just go to my desktop right over here and go into edb debugger and go to the build folder and i look for the edb executable and open it up right over here in adb or the edb debugger you can see right over here we have the executable running and we can go ahead and debug it and understand how it is essentially running and this is very important because we'll be looking at how uh you know certain programs have certain vulnerabilities and we'll be taking a look at how code can be inserted etc etc all right so once you have your edb debugger installed on linux we pretty much are good to go on the linux front and anything further than this i'll be explaining as we move along so that i don't confuse you you know before we actually move uh in the right direction now as i mentioned uh i am still looking at a definitive solution for the uh for actually creating a windows target uh primarily what you will need is you will need a debugger on that as well and they're the most recommended one that i do recommend for windows based operating systems is the immunity debugger most of you already know about that and you will need a the new c compiler which is uh provided by the codeblocks ide i believe so i'll be showing you how to set that up when we start uh working on linux uh sorry windows exploits all right so that is pretty much what i wanted to cover in this video so i just wanted to get you guys up and running with your environment and making sure you have all the tools that we'll need so that we avoid any confusion or any uh any sort of misunderstandings as we move along that being said that is going to be it for this video guys thank you so much for watching and thank you so much for the support on the channel we have finally hit 200 000 subscribers and that means a lot to me because again that also is another form of responsibility which means i am liable to you guys and my job now is to provide you with the best information and the best videos in terms of quality and information and knowledge as as as i can so again once again thank you so much for watching this video if you have any questions or suggestions let me know in the comment section on my social networks or on my website and i'll be sure to get back to you on any of those platforms so i'll be seeing you in the next video you

Original Description

Hey guys! HackerSploit here back again with another video, in this video, i will be demonstrating how to set up an exploit development lab. edb-debugger: https://github.com/eteran/edb-debugger edb-debugger Installation Wiki: https://github.com/eteran/edb-debugger ⭐Help Support HackerSploit by using the following links: 🔗 NordVPN: https://nordvpn.org/hacker Use the link above or the code below for 77% Off your order Promo Code: hacker Patreon: http://patreon.com/hackersploit I Hope you enjoy/enjoyed the video. If you have any questions or suggestions feel free to ask them in the comments section or on my social networks. 🔗 HackerSploit Website: https://hsploit.com/ 🔹 Support The Channel NordVPN Affiliate Link: https://nordvpn.org/hacker Patreon: http://patreon.com/hackersploit 🔹 Get Our Courses Get a special discount on our courses: The Complete Deep Web Course 2018: https://www.udemy.com/the-complete-deep-web-course-2017/?couponCode=DWCBP2017 🔹 SOCIAL NETWORKS - Connect With Us! ------------------------------- Facebook: https://www.facebook.com/HackerSploit/ Twitter: https://twitter.com/HackerSploit Instagram: https://www.instagram.com/hackersploit/ Patreon: http://patreon.com/hackersploit -------------------------------- Thanks for watching! Благодаря за гледането Kiitos katsomisesta Danke fürs Zuschauen! 感谢您观看 Merci d'avoir regardé Grazie per la visione Gracias por ver شكرا للمشاهدة دیکھنے کے لیے شکریہ देखने के लिए धन्यवाद #Hacking#ExploitDevelopment#Kali
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from HackerSploit · HackerSploit · 0 of 60

← Previous Next →
1 How To Install Kali Linux 2.0 On Virtual Box
How To Install Kali Linux 2.0 On Virtual Box
HackerSploit
2 100 Subscriber Q&A! - How I Learned Ethical Hacking
100 Subscriber Q&A! - How I Learned Ethical Hacking
HackerSploit
3 BlackArch Linux Review - Better Than Kali Linux?
BlackArch Linux Review - Better Than Kali Linux?
HackerSploit
4 How to Access the Deep Web Safely | Deep Web Starter Guide 1.0
How to Access the Deep Web Safely | Deep Web Starter Guide 1.0
HackerSploit
5 Wireshark Tutorial for Beginners - Installation
Wireshark Tutorial for Beginners - Installation
HackerSploit
6 Wireshark Tutorial for Beginners - Overview of the environment
Wireshark Tutorial for Beginners - Overview of the environment
HackerSploit
7 Wireshark Tutorial for Beginners - Capture options
Wireshark Tutorial for Beginners - Capture options
HackerSploit
8 Wireshark Tutorial for Beginners - Filters
Wireshark Tutorial for Beginners - Filters
HackerSploit
9 Complete Ethical Hacking Course - Become a Hacker Today - #1 Hacking Terminology
Complete Ethical Hacking Course - Become a Hacker Today - #1 Hacking Terminology
HackerSploit
10 Complete Ethical Hacking Course #2 - Installing Kali Linux
Complete Ethical Hacking Course #2 - Installing Kali Linux
HackerSploit
11 Parrot OS 3.5 Review | The Best Kali Linux Alternative
Parrot OS 3.5 Review | The Best Kali Linux Alternative
HackerSploit
12 Nmap Tutorial For Beginners - 1 - What is Nmap?
Nmap Tutorial For Beginners - 1 - What is Nmap?
HackerSploit
13 Katoolin | How To Install Pentesting Tools On Any Linux Distro
Katoolin | How To Install Pentesting Tools On Any Linux Distro
HackerSploit
14 Nmap Tutorial For Beginners - 2 - Advanced Scanning
Nmap Tutorial For Beginners - 2 - Advanced Scanning
HackerSploit
15 Nmap Tutorial For Beginners - 3 - Aggressive Scanning
Nmap Tutorial For Beginners - 3 - Aggressive Scanning
HackerSploit
16 Zenmap Tutorial For Beginners
Zenmap Tutorial For Beginners
HackerSploit
17 How To Setup Proxychains In Kali Linux - #1 - Stay Anonymous
How To Setup Proxychains In Kali Linux - #1 - Stay Anonymous
HackerSploit
18 How To Setup Proxychains In Kali Linux - #2 - Change Your IP
How To Setup Proxychains In Kali Linux - #2 - Change Your IP
HackerSploit
19 How To Change Mac Address In Kali Linux | Macchanger
How To Change Mac Address In Kali Linux | Macchanger
HackerSploit
20 How To Setup And Use anonsurf On Kali Linux | Stay Anonymous
How To Setup And Use anonsurf On Kali Linux | Stay Anonymous
HackerSploit
21 Ubuntu 17.04 "Zesty Zapus" Review - Bye Unity
Ubuntu 17.04 "Zesty Zapus" Review - Bye Unity
HackerSploit
22 VPN And DNS For Beginners | Kali Linux
VPN And DNS For Beginners | Kali Linux
HackerSploit
23 Tails OS Installation And Review - Access The Deep Web/Dark Net
Tails OS Installation And Review - Access The Deep Web/Dark Net
HackerSploit
24 Steganography Tutorial - Hide Messages In Images
Steganography Tutorial - Hide Messages In Images
HackerSploit
25 The Lazy Script - Kali Linux 2017.1 - Automate Penetration Testing!
The Lazy Script - Kali Linux 2017.1 - Automate Penetration Testing!
HackerSploit
26 Best Linux Distributions For Penetration Testing
Best Linux Distributions For Penetration Testing
HackerSploit
27 Netcat Tutorial - The Swiss Army Knife Of Networking - Reverse Shell
Netcat Tutorial - The Swiss Army Knife Of Networking - Reverse Shell
HackerSploit
28 Gaining Access - Web Server Hacking - Metasploitable - #1
Gaining Access - Web Server Hacking - Metasploitable - #1
HackerSploit
29 Web Server Hacking - FTP Backdoor Command Execution With Metasploit - #2
Web Server Hacking - FTP Backdoor Command Execution With Metasploit - #2
HackerSploit
30 How To Install Kali Linux On VMware  - Complete Guide 2018
How To Install Kali Linux On VMware - Complete Guide 2018
HackerSploit
31 Q&A #1 - Best Cyber-security Certifications?
Q&A #1 - Best Cyber-security Certifications?
HackerSploit
32 Terminator - Kali Linux - Multiple Terminals
Terminator - Kali Linux - Multiple Terminals
HackerSploit
33 Shodan Search Engine Tutorial - Access Routers,Servers,Webcams + Install CLI
Shodan Search Engine Tutorial - Access Routers,Servers,Webcams + Install CLI
HackerSploit
34 Q&A #2 - Mr Robot?
Q&A #2 - Mr Robot?
HackerSploit
35 Metasploit Community Web GUI  - Installation And Overview
Metasploit Community Web GUI - Installation And Overview
HackerSploit
36 Linux Expl0rer - Forensics Toolbox - Installation & Configuration
Linux Expl0rer - Forensics Toolbox - Installation & Configuration
HackerSploit
37 QuasarRAT - The Best Windows RAT? - Remote Administration Tool for Windows
QuasarRAT - The Best Windows RAT? - Remote Administration Tool for Windows
HackerSploit
38 Metasploit For Beginners - #1 - The Basics - Modules, Exploits & Payloads
Metasploit For Beginners - #1 - The Basics - Modules, Exploits & Payloads
HackerSploit
39 Metasploit For Beginners - #2 - Understanding Metasploit Modules
Metasploit For Beginners - #2 - Understanding Metasploit Modules
HackerSploit
40 Kali Linux Quick Tips - #1 - Adding a non-root user
Kali Linux Quick Tips - #1 - Adding a non-root user
HackerSploit
41 Metasploit For Beginners - #3 - Information Gathering - Auxiliary Scanners
Metasploit For Beginners - #3 - Information Gathering - Auxiliary Scanners
HackerSploit
42 Spectre Meltdown Vulnerability  - How To Check Your System
Spectre Meltdown Vulnerability - How To Check Your System
HackerSploit
43 Metasploit For Beginners - #4 - Basic Exploitation
Metasploit For Beginners - #4 - Basic Exploitation
HackerSploit
44 ARP Spoofing With arpspoof - MITM
ARP Spoofing With arpspoof - MITM
HackerSploit
45 WordPress Vulnerability Scanning With WPScan
WordPress Vulnerability Scanning With WPScan
HackerSploit
46 Generating A PHP Backdoor with weevely
Generating A PHP Backdoor with weevely
HackerSploit
47 Nikto Web Vulnerability Scanner - Web Penetration Testing - #1
Nikto Web Vulnerability Scanner - Web Penetration Testing - #1
HackerSploit
48 How To Install Kali Linux On Windows 10 - Windows Subsystem For Linux
How To Install Kali Linux On Windows 10 - Windows Subsystem For Linux
HackerSploit
49 Stacer - System Optimizer And Monitoring Tool For Linux
Stacer - System Optimizer And Monitoring Tool For Linux
HackerSploit
50 Kali Linux 2018.1 - Kernel Updates & Patches
Kali Linux 2018.1 - Kernel Updates & Patches
HackerSploit
51 MITM With Ettercap - ARP Poisoning
MITM With Ettercap - ARP Poisoning
HackerSploit
52 Password Cracking With John The Ripper - RAR/ZIP & Linux Passwords
Password Cracking With John The Ripper - RAR/ZIP & Linux Passwords
HackerSploit
53 How To Detect Rootkits On Kali Linux - chkrootkit & rkhunter
How To Detect Rootkits On Kali Linux - chkrootkit & rkhunter
HackerSploit
54 Channel Updates - How To Post Questions & Video Suggestions
Channel Updates - How To Post Questions & Video Suggestions
HackerSploit
55 Web App Penetration Testing - #1 - Setting Up Burp Suite
Web App Penetration Testing - #1 - Setting Up Burp Suite
HackerSploit
56 Web App Penetration Testing - #2 - Spidering & DVWA
Web App Penetration Testing - #2 - Spidering & DVWA
HackerSploit
57 Cl0neMast3r - GitHub Repository Cloning Tool
Cl0neMast3r - GitHub Repository Cloning Tool
HackerSploit
58 Kali Linux On Windows 10 Official - WSL - Installation & Configuration
Kali Linux On Windows 10 Official - WSL - Installation & Configuration
HackerSploit
59 DoS/DDoS Protection - How To Enable ICMP, UDP & TCP Flood Filtering
DoS/DDoS Protection - How To Enable ICMP, UDP & TCP Flood Filtering
HackerSploit
60 Web App Penetration Testing - #3 - Brute Force With Burp Suite
Web App Penetration Testing - #3 - Brute Force With Burp Suite
HackerSploit

This video teaches how to set up an exploit development lab, which is essential for cybersecurity professionals and ethical hackers. The lab setup includes installing edb-debugger and configuring a secure environment.

Key Takeaways
  1. Install edb-debugger from the GitHub repository
  2. Follow the installation wiki for edb-debugger
  3. Configure a secure lab environment
  4. Use NordVPN for secure browsing
💡 Setting up an exploit development lab requires careful consideration of security and debugging tools, such as edb-debugger, to ensure a safe and effective testing environment.

Related AI Lessons

Aflac Japan Data Breach Exposes 4.38 Million Policyholder Records
Aflac Japan's data breach exposes 4.38 million policyholder records, highlighting the importance of cybersecurity in protecting sensitive information
Dev.to · BeyondMachines
Autonomous Cyberattacks Are Coming And Our Defenses Were Built for a Different Era
Autonomous cyberattacks are emerging, requiring new defenses beyond traditional security measures
Dev.to · Arashad Dodhiya
Security Belongs on the Blueprint
Integrate security into building design to mitigate physical and cyber risks
Medium · Cybersecurity
# A 4-Line HTML File Stole the Admin’s Secret — Intigriti LeakyJar CTF Writeup
Learn how a 4-line HTML file exploited a CSRF vulnerability to steal an admin's secret in the Intigriti LeakyJar CTF challenge
Medium · Cybersecurity
Up next
You Think Your Card Declined by Mistake? It Might Be a 2026 Scam
Tolulope Michael
Watch →