Skip to main content

NMAP Basics

Nmap is a free open source software available for both Linux and Windows. Basically its a port scanning software.


Basic Scan Types
The two basic scan types used in nmap are TCP connect() scanning [-sT] and SYN scanning (also known as half-open,or stealth) [-sS].

TCP Connect() scanning [-sT]
These scans are named as connect() scanning because UNIX has a system call named connect() to start any TCP connection to a remote machine.If the connection succeeds to a particular port of remote machine i.e it connects , then that port is listed OPEN for that remote machine, if connection fails , then remote machine showed either offline or port is closed. It runs simple process of scannig all the ports of the remote machine and lists which posts are open and which are closed.

This is an easy way and gives a clear picture of the process but it has disadvantage too ,if the reomte machine is having advanced firewalls and intrusion detection systems, it will flag a warning that all ports are scanning, even modern servers log all the information of the TCP connection that is made to it. So it stores source ip aaddress from which scanning is made.
Thus this method has major drawback thats why stealth scanning is developed.\





next article on syn stealth scan..

Comments

Popular posts from this blog

Database Sharding

Collating some of the resources which talks about Database Sharding. https://en.wikipedia.org/wiki/Shard_(database_architecture) [Feb 2019]  http://highscalability.com/blog/2019/2/19/intro-to-redis-cluster-sharding-advantages-limitations-deplo.html Redis Cluster is the Native Sharding implementation available within Redis that allows your to automatically distribute your data across multiple nodes without having to rely on external tools and utilities. Its covers Sharding with Redis Cluster  where Redis Clusters is divided in 16384 slots and these slots are assigned to multiple Redis Nodes. The  Redis Cluster Specification  is the definitive guide to understanding the internals of the technology, while the  Redis Cluster Tutorial  provides deployment and administration guidelines. [ Jan 2019  ]  https://scalegrid.io/blog/scalegrid-hosting-adds-support-for-highly-available-redis-clusters-with-automated-sharding/ ScaleGrid : Fully Manage...
Surrounded by Idiots Do you sometimes feel like you’re surrounded by idiots who just don’t understand anything you say? Odds are that they’re not actually idiots, but their personality types are just different than yours. Know the types of people around you As far back as the fifth century BC, the Greek physician Hippocrates identified four main personality types, which author Thomas Erikson denotes with specific colors. The Red, or Dominant, personality is characterized by ambition, dominance, decisiveness, competitiveness, and an often hot temper. The Yellow, or Inspiring, personality is optimistic, cheerful, and confident. When the game seems lost to everyone else, Yellows will continue finding opportunities. The third personality type is Green, or Stable, denoted by a calm, balanced, easygoing, tolerant, and friendly nature. Greens are great team players, because the last thing they want is to cause a fuss or conflict of any kind. Finally, there’s the Blue, or ...