T1 Flashcards
What is an “exposed attack surface”
Parts of a system or device that can be accessed or attacked over a network, such as open ports, services or protocols
What is the purpose of Nmap?
Nmap is a network scanning tool used to discover hosts, open ports, and vulnerabilities on a network
What is the command to perform network discovery using ICMP in Nmap?
sudo nmap -sn -v 192.168.0.0/24
Why do attackers prefer ICMP scans ove TCP/UDP probes?
Less intrusive and more likely to bypass firewalls
How do you perform a network discovery using TCP SYN packets to find active devices on the network?
sudo nmap -sS -v 192.168.0.0/24
What is Netdiscover, and how is it different from Nmap?
A passive network discovey tool that listens for traffic, while Nmap actively probes devices.
What is the command for passive discovey with Netdiscover?
sudo netdiscove -i < network_device > -p
What is the purpose of port scanning in Nmap?
To find services running on a device by identifying open ports
What does the command sudo map -sT < ip_host_address > do?
Scans the host using the TCP protocol to find open ports
What does the command sudo nmap -sU < ip_host_address > do?
Scans the host using the UDP protocol to find open ports.
What is the purpose of sudo nmap -O < ip_host_address >?
It performs a scan using default scripts to find detailed service information and potential vulnerabilities.
What is the function of the Nmap “vuln” script?
Detects known vulnerabilities in the services running on the target host.
What is Nikto, and what does it do?
Nikto is a web server scanner that identifies vulnerabilities and misconfigurations in HTTP/HTTPS servers.
How do you use Nikto to scan a web server on HTTP?
nikto -h < ip_host_address >