
Explore ethical hacking as a network penetration tester, distinguishing black hat, white hat, and gray hat roles, and learn to use Python and Scapy to analyze and secure networks.
Explore deep concepts from low to high level, then implement ideas with Python, study computer architecture, and learn Linux as the attacker platform and raw-socket programming.
Understand how information becomes signals and binary bits in networking. Explore how routers, ISPs, and programming languages connect humans to computers, and how denial of service and sniffing arise.
learn to work in the linux terminal, use pwd and ls, create files and folders with mkdir and nano, and navigate with cd and tab completion.
Learn how to copy and move files using cp and mv, remove files and directories with rm -R, navigate directories, and edit with the nano editor and its shortcuts.
Locate and inspect linux configuration files in the ATC folder and PSP configurations, then edit them safely, linking these practices to security workflows with MSF console and python.
Learn to check Linux disk space using du and df, using man pages and options like -S, -H, -s, and -a for human readable, per-directory totals.
Explore the Linux file system hierarchy, from root to /bin and /sbin, and learn command usage like cd, ls, and sudo to inspect and navigate system directories.
Explore how to use the uname command to view Linux system information, including name, version, and hardware details, with flags like -a and --help to reveal options.
Learn to view and assign IPv4 and IPv6 addresses on Linux, manage interfaces with ifconfig and ip, set netmasks, and bring interfaces up or down while inspecting routes.
Learn to run applications in Linux by creating and executing Python and PHP scripts, print hello world, and launch Firefox to browse websites, with ps and kill for process management.
Install software on Linux by handling Perl dependencies; the installer shows 49 megabytes of required disk space and prompts you to press y then enter to complete the setup.
Master iptables to filter traffic on your device by adding rules to the input, output, and forward chains, blocking by source ip and destination ports like 80 and 443.
Explore Python strings through hands-on examples of defining, indexing from zero, slicing with inclusive start and exclusive end, and using methods like capitalize, upper, and lower to transform text.
Manipulate strings in Python by concatenating strings with spaces, converting integers with str() for mixing types, and using operations like strip, slicing, find, replace, and f-string formatting.
Explore hexadecimal and binary numbers in Python, converting 0x and 0b representations to decimal, handling strings, escaping quotes, and splitting text into lists.
Explore Python lists, create and modify lists, understand indexing, and perform operations like append, insert, pop, and remove to manage data effectively.
explore tuples and sets in python, including creating them, adding items, and counting occurrences. learn that sets ensure unique items and remove duplicates, while indexing shows positions.
Define a dictionary in Python, assign key-value pairs, inspect items, keys, and values, access values with get, remove entries with pop or del, and view dictionary structure.
Explore Python loops by using for and while constructs to iterate over ranges, lists, and strings, printing each item and understanding indexing, length checks, and type variety.
Demonstrate Python global and local variables through defining Avon and a2, functions add and sub, and explain scope errors when variables become local.
Learn how private IP addresses stay inside a local network, defined by two specific ranges, and how network address translation maps them to a public IP for internet communication.
Explore how DHCP assigns IPs via Discover, Offer, Request, and Ack, broadcasting to clients, and how ARP resolves MAC addresses to IPs for network communication, including subnet mask and DNS.
Analyze how a wireless client uses DHCP to obtain an IP address and how ARP resolves MAC addresses in a Wireshark capture, including DHCP discover, offer, request, and acknowledgement.
Analyze ARP packets in detail by capturing wireless traffic, filtering ARP frames, and examining ARP requests and replies, MAC addresses, and IP mappings in broadcasts.
Learn to craft and send ARP response packets to other clients in a network using a network interface card, manipulating MAC and IP addresses to test connectivity.
Explore how a data packet traverses the tcp/ip stack, from ethernet frames to ip and transport headers, using ports like 80 for the application, and ttl-based routing across hops.
Explore how Python implements networking protocols by comparing libraries like requests and sockets, sending and inspecting requests and responses, and understanding headers, host, port, and encoding in the client-server exchange.
Learn to create an ARP spoofing program in Python by crafting raw Ethernet frames, binding a raw socket to a network interface, and packing the ARP header with struct.
Learn to build an ARP spoofing program to place yourself between two devices, spy on their traffic, and spoof packets using source and destination IP and MAC addresses.
Explore how an attacker deceives a Windows host to capture a user's login credentials by intercepting web form data and analyzing captured packets with a network tool.
Learn to build a packet sniffing tool with scapy in python, capture and analyze dns and ip packets, using callbacks and one-line code to inspect headers layer by layer.
Explore the IPv4 header structure, including the 20-byte mandatory header, version, header length, type of service, and total length. Cover identification, flags, fragmentation, MTU (1500), and reassembly of fragmented packets.
Explore the IP header and its mandatory 20-byte fields—version, type of service, total length, identification, flags, and fragment offsets—and fragmentation across networks.
Learn how the UDP header carries source and destination ports, length, and checksum, encapsulated in IP packets (IPv4 or IPv6). Discover how DNS uses port 53 to reach its service.
Demonstrate the TCP header structure, including source and destination ports, sequence and acknowledgement numbers, and control flags, to establish and manage reliable connections through handshake and windowing.
learn how to sniff packets with python using raw sockets and the recvfrom method, capturing and inspecting ethernet and IP headers across layered network packets.
Learn to sniff packets using raw sockets, decode binary data with the binascii module, and interpret ASCII representations to extract MAC addresses and byte values.
Discover sniffing packets with raw sockets in Python and completing the ethernet header by printing destination and source MAC addresses, frame type, and IP packet details.
Unpack the IP header of captured packets with Python using raw sockets, parsing total length, identification, flags, fragment offset, TTL, and subsequent high-level protocol fields.
Examine how to sniff packets with raw sockets and parse the IPv4 header to extract version and IHL from the first byte, then interpret total length and header fields.
Learn to unpack ARP packets with raw sockets by defining the ARP packet format and extracting sender and target hardware addresses and IPs.
learn to sniff packets with raw sockets, unpack IP headers, and dispatch TCP or UDP payloads by protocol numbers 6 and 17 using dedicated handlers.
Unpacks the tcp header from a captured ethernet frame, detailing the ip header and fields such as source and destination ports, and sequence and acknowledgement numbers.
Learn to sniff network traffic with raw sockets in Python, capturing more packets and unpacking IP, TCP, and UDP headers, identifying DNS responses and application data.
Calculate application layer data length using UDP and IP header fields: UDP length, IP total length, IP header length in 4-byte words, and UDP header, subtracting headers to reveal data.
sniff packets using raw sockets in Python, analyze Ethernet, IP, and UDP headers, and unpack the application-layer data to reveal the UDP payloads.
sniffing packets with raw sockets, the lecture explains unpacking TCP headers with variable sizes and handling IP and DCP headers, including dynamic DCP lengths and padding.
Sniff and capture complete tcp and udp packets using raw sockets, unpack ip headers, analyze tcp/udp headers, and print application data in hex and ascii.
Test the new python program built with object oriented design by defining a class and methods, instantiate an object, and verify sniffing and unpacking of icmp and udp packets.
Learn to implement a Python program that decodes data from captured packets by converting hex bytes to ASCII, handling stream parsing, and extracting meaningful strings.
Add a decode function in Python to decode application-layer data from both UDP and TCP packets, converting hex data into readable characters while handling Unicode ranges.
Learn to filter and write ASCII data from captured packets to files using Python, focusing on UDP and DNS traffic, hex and decimal conversions, and ASCII tables.
Learn how the domain name system translates domain names to IP addresses. See how browsers query DNS servers and how the host file differs from DNS, enabling connections to websites.
Discover how a DNS client queries a DNS server to resolve a domain name into an IP address, moving from root servers to top-level domain servers and caching results.
Discover how domain names resolve to IP addresses through DNS queries and responses, UDP port 53, and A records, then apply Python sockets to connect to a web server.
Configure how Windows DNS and DHCP work with a router to assign IP addresses and resolve domain names via cached or upstream DNS such as Google.
Learn how dns spoofing causes wrong ip address resolution by compromising dns servers or hosts files, redirecting users to malicious web servers.
Learn how domain names are registered through registrars, mapped to IP addresses by DNS servers, and resolved through authoritative and non-authoritative queries to reach a web server.
Examine how DNS queries request a name and IP address, and how DNS responses provide resource records like A and CNAME with class IN and data length.
Learn to install and use netfilterqueue to access packets in an iptables queue, bind it, and run a callback to inspect or drop packets, with DNS and ARP spoofing examples.
Explore DNS packet creation and analysis, print DNS queries and answers, and study ARP spoofing and DNS spoofing techniques using raw sockets and netfilter queues.
Learn to set up a linux web server with apache and python, host sites from /var/www, and run a simple http server while exploring dns spoofing concepts and malware risks.
Learn to build DNS packets in scapy by layering ethernet, IP, and UDP headers, adding DNS questions and resource records, and adjusting counts and lengths to simulate DNS responses.
Learn to build a dns spoofing program in Python using Scapy and netfilter queue to intercept and modify dns responses, crafting custom resource records and redirection.
Develop a real client-server exchange in python by creating a server socket, binding to a port, accepting connections, and a client that sends get requests and receives responses.
Learn to send http requests with python sockets by resolving a host with gethostbyname, establishing a tcp connection to port 80, then sending a get request and printing response.
Explore http manipulation using raw sockets to sniff and alter packets in a man-in-the-middle setup, including crafting http responses with redirects to malicious sites.
Develop skills to construct a backdoor and simulate client hacking using payload generation, man-in-the-middle tactics, and client-server communications, including setting up listeners and executing commands remotely.
overview :
you will learn about creating an arp spoofing program which will make you able to put yourself in the middle of a communication so that you could listen to all the clients data and capture their username and passwords . then you could launch the dns spoofing to redirect victims to other places one of which is you own malicious website that you would know how to create . you would also know how to create a sniffing program yourself and how to get different packets from clients and change the to meet your own purpose which is to hack them and get access to them because you are forwarding them to places which have been provided with malwares like backdoor that you would know how to create too .
why this course :
there maybe plenty of other courses with the same subjects as this course . the difference of this course is that rather than how something is done (which most courses are about) , you would know why something is done. in order to fine the answer of this question you should know all the details about a subject . thats why that instead of teaching you about different modules and codes we will introduce you the most important and low level module in python which is raw socket . because don't forget if you just want to copy/paste code you could search it online. but you would want to know all the knowledge behind what you are doing .
in this course , first we will teach you about linux important command so you will be familiar and comfortable to work with the kali linux as the most important operating systems for hackers. after that we will teach you about basic python so that you will be ok with some basic command as we go along . after that in each section we will first learn about networking concepts by going to the deepest level and after that we start to create the security tools for network hacking using python different modules . at first we will implement our security tools using scapy which is a high level library in python and after that we go deeper by creating them using sockets and at last the raw sockets .our different sections of security tools includes :
1- arp spoofing : we will learn about all the details of how client starts to work in a network and also everything about different protocols like dhcp and arp . we learn about different sections and fields in an arp packet . somehow that you will completely learn why a protocol would have some vulnerability . after that we will create our arp spoofing program using scapy . and after that we will introduce you to sockets and raw sockets . and at last we will be creating our arp spoofing program using raw sockets .the difference about raw sockets with other modules is that you as the programmer should take care of everything so you have to know a high level of knowledge .and after that we will spy on victims by capturing their usernames and passwords.
2- sniffing program : in this section first we tell you how we could capture packets in general and we show a demo about it to you using scapy. but after that again we will go deep by using raw sockets . we start to capture packets in raw binary format and we will introduce you to different libraries and modules to how to convert them in a more human readable form . such modules include binascii , struct , chr , ord and so on. and after that in each section we will unpack and parse one section header until we get to the application layer data . by doing this section you will learn why packet sniffers like wireshark or libraries like scapy work as they do . because the important thing is the answer to why questions and not how.
3- dns spoofing program : in this section first we will teach you about dns protocol . how it works and all the different headers and fields in this protocol . after that you will understand yourself that why there is a vulnerability in this protocol so that you exploit it as dns spoofing . but again we won't be using already made modules but rather we will start to implement the application ourselves using python .
4- client-server communications : we will teach you about what a client-server based communication is . and how to setup a server by listening at specific port numbers while you have created and bound your socket with a nic(network interface card) .
5- http redirection and manipulation : you will learn the format of a http packet and how you could forward the http packets that you have received from other victims which you have launched the arp spoofing attack against and therefore you have access to their packets to other location including your malicious website .
6- creating a backdoor : in this section first we will take a look at how we could create a backdoor using metasploit , after that we explain that how a backdoor works the way that it works . so give you some example that how we could create our own backdoor using python .