6.0 Resiliency and Site Security Flashcards
Special tools that allow a network administrator to scan the entire network to find all connected devices and their IP addresses.
IP scanners
The act of capturing data packets transmitted across the network and analyzing them for important information.
Packet sniffing
The process of gathering information by interacting with the target in some manner.
Active reconnaissance
The process of gathering information about a target with no direct interaction with the target.
Passive reconnaissance
The act of driving around with a wireless device looking for open vulnerable wireless networks.
War driving
The act of using drones or unmanned aerial vehicles to find open wireless networks.
War flying
The act of covertly listening in on a communication between other people.
Eavesdropping
Any data that is collected from publicly available sources such as social media, search engines, company websites, media sources, or public government sources.
Open-Source Intelligence (OSINT)
ping
Ping is a command line tool that is used to perform a connection test between two network devices. Ping works by sending ICMP packets to a specified device on the network and waiting for a response. This shows if there is a connection issue or not. The syntax for the ping command is:
ping <target>
The following switches are the more common switches that can be used to modify the ping command:
-t sends ICMP packets until manually stopped.
-a resolves addresses to hostnames.
-n <count> specifies the number of ICMP packets to send. Ping sends 4 packets by default
-l <size> specifies the packet size in bytes. ping sends 32-byte packets by default</size></count></target>
tracert/traceroute
The tracert tool shows the path a packet takes to reach its destination. Every device the packet passes through is known as a hop. Use tracert to locate network devices that are down or causing latency issues.
tracert is the Windows version and sends ICMP packets.
traceroute is used in Linux and sends UDP packets.
pathping
The pathping Windows command line tool combines the tracert and ping tools. Use pathping to locate network devices that are down or causing latency issues.
netstat
Use the netstat command to display a variety of network statistics in both Windows and Linux, including:
Connections for different protocols
Open ports
Running programs
Some of the common switches used to specify the information shown in Windows are:
-a displays all connections and listening ports.
-b displays the executable involved in creating each connection or listening port.
-f displays the FQDN for the foreign address if possible.
-r displays the routing table
-p <protocol> shows the connections for a specified protocol (TCP, UDP, TCPv6, UDPv6)</protocol>
route
The route command is used in both Windows and Linux to show the routing table and to make manual changes to the table.
arp
The arp command is used in both Windows and Linux. ARP stands for Address Resolution Protocol and is used to match IP addresses to MAC addresses. The arp command displays, adds, and removes arp information from network devices. Some of the common switches used with the arp command are:
-a displays current ARP entries.
inet_addr specifies an internet address
-d deletes the host specified by inet_addr
nslookup/dig
The nslookup and dig commands are used to view and modify DNS settings. These tools can be used to look up DNS server information and also give IP addresses and domain names for a network server.
nslookup is used in Windows.
dig is used in Linux.
ipconfig/ifconfig
The ipconfig command (Windows) and the ifconfig command (Linux) are used to display the IP configuration on the local computer. Information such as the following can be shown using these commands:
Adapter name
Adapter MAC address
If DHCP is enabled or not
IPv6 address
IPv4 address
Subnet mask
IP lease information
Default gateway
DHCP server
DNS server
hping
Hping is a security tool that can check connectivity and also analyze the target to gather information. Hping can send ICMP, TCP. UDP, and RAW-IP packets. Hping is primarily designed for Linux but can be installed in Windows.
netcat
The netcat security tool can read and write data across both TCP and UDP network connections. It opens a TCP connection between two devices and can be used to send packets, scan for open ports, and listen in on connections to specific ports. You can download netcat from the internet.
are special tools that allow a network administrator to scan the entire network to find all connected devices and their IP addresses. Advanced scans can also display information such as:
Routes
Hostnames
Operating systems
IP scanners