[linux] Poortmap, wat moet ik ermee?

Pagina: 1
Acties:

  • I_stealth_I
  • Registratie: Januari 2001
  • Laatst online: 00:56

I_stealth_I

Tweak It OR leave it!

Topicstarter
Ik heb RH 7.1
Ik kreeg zonet een sucurity waarschuwing in mijn logs, dat er iemand probeerde te connecten met portmap.

Maar waar is dat poortmap voor? Is het gevaarlijk? het ik het nodig? Hoe krijg ik het uit?

/dev/null


Verwijderd

man portmap :
Portmap is a server that converts RPC program numbers into DARPA protocol port numbers. It must be running in order to make RPC calls. When an RPC server is started, it will tell portmap what port number it is listening to, and what RPC program numbers it is prepared to serve. When a client wishes to make an RPC call to a given program number, it will first contact portmap on the server machine to determine the port number where RPC packets should be sent.
man rpc:
rpc - library routines for remote procedure calls
These routines allow C programs to make procedure calls onn other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, the server calls a dispatch routine to perform the requested service, and then sends back a reply. Finally, the procedure call returns to the client.
Je kunt portmap disabelen door uit /etc/rc.d/init.d de file portmap te verwijderen (rm /etc/rc.d/init.d/portmap)

  • I_stealth_I
  • Registratie: Januari 2001
  • Laatst online: 00:56

I_stealth_I

Tweak It OR leave it!

Topicstarter
Maar is het hackgevoelig? Ik heb al een behoorlijk aantal probes gehad op Portmap.

/dev/null


Verwijderd

Valt wel mee, maar het is sowieso beter om services welke je niet gebruikt uit te zetten.

Verwijderd

De PortMap port is de meest geprobede port omdat er veel vulnerabilities van bekend zijn. Omdat jij hem afschermde met je firewall is er niks aan de hand. Idd wel ff die portmap service uitzetten. Informatie over de meest geprobede ports kun je vinden op DShield.org. Ga dan naar de DShield reports and database summaries en kies dan Top 10 Ports. Poort 111 staat op de tweede plaats (was altijd nr. 1).

Verwijderd

Je kunt portmap disabelen door uit /etc/rc.d/init.d de file portmap te verwijderen (rm /etc/rc.d/init.d/portmap)
Hum, ntsysv is erg handig voor dat soort doeleinden. anders chkconfig lijn in het desbetreffende script aanpassen.
Pagina: 1