D1: Management Protocols Flashcards
What port does Telnet work on?
23
What port does SSH work on?
22
What port does SNMP work on?
161 and 162
What port does TFTP work on?
69
What port does NTP work on?
123
What is Telnet?
Allows command-line access to servers and embedded devices
What weakness does Telnet have?
Default credentials can provide shell access to the server.
Possible to intercept a user logging into the server running telnet.
Versions of telnet services may be exposed if they have not already been picked up by nmap scans
What is SSH?
Creates encrypted communication channel to the server which allows you to pass commands to host.
Weakness of SSH
Default credentials
Password authenticated enabled
Old versions of SSH
Weak SSH keys
Key Exchange with unsafe groups and elliptic curves
What layer does Telnet work on?
Application
What layer does SSH work on?
Application
What layer does SSH work on?
Application
What does SNMP do?
Service is run on managed switches, routers and servers for monitoring – called SNMP agents – can gather information about a piece of hardware, organize it into predefined entries and respond to queries using the SNMP protocol.
What are the commands for the SNMP protocol?
GetRequest, GetNextRequest, GetBulkRequest, SetRequest, InformRequest, and Response
What weaknesses does Version 1 SNMP have?
Community strings are used. Read-only and read-writ SNMP strings meaning info can be queried if community string is known.
What weaknesses does Version 2 SNMP have?
Hard to set up and not widely used.
What weaknesses does Version 2c SNMP have?
Revised version that includes enhanced protocol packet types, transport mappings and MIB structure elements. Security was rolled back to using community strings same as Version 1.
What weaknesses does Version 3 SNMP have?
Supports the remote configuration of SNMP entities. Adds encryption and authentication, can be used together or separately, making it most secure version however exploits still available such as user enumeration.
Other generic weaknesses for SNMP?
Default community strings set
User enumeration
Brute-force of community strings and user passwords
Useful information leakage
What tools can be used for SNMP?
snmpwalk
snmpcheck