#beginner
Types of hackers
A Hacker is a person who finds and exploits the weakness in computer systems and/or networks to gain access. Hackers are usually skilled computer programmers with knowledge of computer security.
Ethical Hacker (White hat): A hacker who gains access to systems with a view to fix the identified weaknesses.
Cracker (Black hat): A hacker who gains unauthorized access to computer systems for personal gain. The intent is usually to steal corporate data, violate privacy rights, transfer funds from bank accounts etc.
Grey hat: A hacker who is in between ethical and black hat hackers. He/she breaks into computer systems without authority with a view to identify weaknesses and reveal them to the system owner.
Script kiddies: A non-skilled person who gains access to computer systems using already made tools.
Types of hackers
A Hacker is a person who finds and exploits the weakness in computer systems and/or networks to gain access. Hackers are usually skilled computer programmers with knowledge of computer security.
Ethical Hacker (White hat): A hacker who gains access to systems with a view to fix the identified weaknesses.
Cracker (Black hat): A hacker who gains unauthorized access to computer systems for personal gain. The intent is usually to steal corporate data, violate privacy rights, transfer funds from bank accounts etc.
Grey hat: A hacker who is in between ethical and black hat hackers. He/she breaks into computer systems without authority with a view to identify weaknesses and reveal them to the system owner.
Script kiddies: A non-skilled person who gains access to computer systems using already made tools.
#intermediate
Getting started with Nmap
Nmap is the world's leading port scanner. Nmap, as an online port scanner, can scan your perimeter network devices and servers from an external perspective i.e. outside your firewall.
Installing Nmap on Debian | Ubuntu
Open terminal & type command:
sudo apt-get install nmap
It will start installing Nmap.
Once installing is finished we can verify the installed version of Nmap using:
nmap --version
Installing Nmap on Windows
Download Nmap
Link to download: nmap-7.80-setup.exe
Run the downloaded .exe file.
In the window that opens, accept the License terms & click Next.
Select the install location & click Install.
Getting started with Nmap
Nmap is the world's leading port scanner. Nmap, as an online port scanner, can scan your perimeter network devices and servers from an external perspective i.e. outside your firewall.
Installing Nmap on Debian | Ubuntu
Open terminal & type command:
sudo apt-get install nmap
It will start installing Nmap.
Once installing is finished we can verify the installed version of Nmap using:
nmap --version
Installing Nmap on Windows
Download Nmap
Link to download: nmap-7.80-setup.exe
Run the downloaded .exe file.
In the window that opens, accept the License terms & click Next.
Select the install location & click Install.
#beginner
What is a Protocol?
The best way to describe a protocol is by comparing it to the way humans communicate. We have many languages in this world. If we did not have languages or a common way to speak how would we communicate?
A protocol is similar in that it is there to decide how data is transferred over the network, how it is formatted and so on so computers and servers have a standardised way to communicate with each other.
So you can see protocols like a set of rules that determine how clients and servers will communicate with each other.
One of the most common and known protocol example is HTTP, that is used over the world wide web. HTTP is an application-layer protocol used for transferring files on the internet. It is used by web browsers and servers to communicate.
What is a Protocol?
The best way to describe a protocol is by comparing it to the way humans communicate. We have many languages in this world. If we did not have languages or a common way to speak how would we communicate?
A protocol is similar in that it is there to decide how data is transferred over the network, how it is formatted and so on so computers and servers have a standardised way to communicate with each other.
So you can see protocols like a set of rules that determine how clients and servers will communicate with each other.
One of the most common and known protocol example is HTTP, that is used over the world wide web. HTTP is an application-layer protocol used for transferring files on the internet. It is used by web browsers and servers to communicate.
#intermediate
Port Scanning with Nmap
Part - 1
TCP SYN Scan
SYN scan is the default and most popular scan option, for good reasons. It can be performed quickly, scanning thousands of ports per second on a fast network not hampered by restrictive firewalls. It is also relatively unobtrusive and stealthy, since it never completes TCP connections.
Command: nmap –sS target
TCP Connect Scan
TCP connect scan is the default TCP scan type when SYN scan is not an option. This is the case when a user does not have raw packet privileges. Instead of writing raw packets as most other scan types do, Nmap asks the underlying operating system to establish a connection with the target machine and port by issuing the connect system call.
Command: nmap –sT target
Note: target is the ip address or hostname of the victim machine
Difference between Nmap TCP SYN Scan and TCP Connect Scan
Port Scanning with Nmap
Part - 1
TCP SYN Scan
SYN scan is the default and most popular scan option, for good reasons. It can be performed quickly, scanning thousands of ports per second on a fast network not hampered by restrictive firewalls. It is also relatively unobtrusive and stealthy, since it never completes TCP connections.
Command: nmap –sS target
TCP Connect Scan
TCP connect scan is the default TCP scan type when SYN scan is not an option. This is the case when a user does not have raw packet privileges. Instead of writing raw packets as most other scan types do, Nmap asks the underlying operating system to establish a connection with the target machine and port by issuing the connect system call.
Command: nmap –sT target
Note: target is the ip address or hostname of the victim machine
Difference between Nmap TCP SYN Scan and TCP Connect Scan