Week 3 Flashcards
(37 cards)
What service runs on TCP/UDP port 53?
DNS - used for name resolution and zone transfers
What service uses TCP/UDP port 135?
Microsoft RPC Endpoint Mapper – used to locate DCOM services on Windows.
: Which service uses UDP port 137?
NetBIOS Name Service (NBNS) – used for resolving NetBIOS names on local networks.
What is on TCP port 139?
NetBIOS Session Service – used for Windows file/printer sharing via SMB over NetBIOS.
What service runs on TCP/UDP port 445?
SMB over TCP (Direct Host) – Windows file sharing without NetBIOS
Which protocol uses UDP port 161?
SNMP (Simple Network Management Protocol) – for querying network device information
What runs on TCP/UDP port 389?
LDAP
What service is on TCP port 2049?
NFS (Network File System) – used to share directories and files over a network
Which service uses TCP port 25?
SMTP (Simple Mail Transfer Protocol) – used for sending emails
What uses UDP port 162?
SNMP Trap – used to receive alert messages from SNMP devices
Which protocol runs on UDP port 500?
ISAKMP/IKE – used for establishing VPN tunnels (IPsec key exchange)
What service runs on TCP port 22?
SSH (Secure Shell) – used for secure remote login and command execution
What is NetBIOS ?
Identifies devices by giving them human-readable names.
Why is NetBIOS enumeration important to attackers?
Reveals hostnames and often usernames as well as roles.
What are some common tools for NetBIOS?
nbtscan, nmblookup
What is SNMP?
Protocol used to monitor and manage devices.
How does SNMP work?
It consists of an agent and a manager. The agent stores information about the device in a structure known as MIB. The manager is on a separate system and queries the agent to receive information.
What are the 2 types of community strings used by SNMP?
Read community string and read-write
Why is SNMP enumeration dangerous?
Attackers can extract sensitive information about the users, devices and with read-write access the attackers can reconfigure the devices remotely.
What is LDAP?
Protocol to access directory services that contain information about the users, groups, computers, departments and access permissions.
How does LDAP work?
Client sends requests to read or search directory entries.
What is LDAP enumeration?
Attackers send queries to extract sensitive information from the directory.
What are the 2 types of LDAP enumeration?
Manual : use Python to fetch information such as the domain name
Automated : use ldap-brute NSE script to brute force LDAP authentication
What is NTP?
Protocol to synchronize time on computers over the network. Uses UDP 123.