RFC 3013

Recommended Internet Service Provider Security Services and Procedures

๐Ÿ“… published November 2000, from ietf

okay bestie, this is the one. RFC 3013 is a Best Current Practice (that's BCP 46 โœจ), written by T. Killalea from neart.org, and it was published in November 2000. It's a Best Current Practice, not a standard, so it's advice for the internet community. It doesn't list anything it obsoletes or updates, so it's standing on its own ๐Ÿ’….


Status of this Memo ๐ŸŒธ

okay so this document is an Internet Best Current Practice for the internet community ๐Ÿฆ‹. The author is basically asking everyone to talk back with discussion and suggestions for making it better. And the best part? Distribution of this memo is unlimited, so share it with everyone ๐Ÿ’œ.

Copyright (C) The Internet Society (2000). All Rights Reserved.

1. Abstract ๐Ÿงš

so the whole point of this doc is to spell out what the engineering community (aka the IETF ๐Ÿ‘‘) expects from Internet Service Providers (ISPs) when it comes to security ๐Ÿ”.

it is NOT trying to be a rulebook that fits every single ISP, though ๐Ÿ™…โ€โ™€๏ธ. it's more like raising awareness of what the community expects, and giving everyone a framework for talking about security expectations with current and future providers ๐Ÿซถ.

1. Introduction โœจ

the purpose of this document is to express what the engineering community (aka the IETF) expects from Internet Service Providers (ISPs) when it comes to security. this document is written for ISPs ๐Ÿ’–.

the community hopes that by telling ISPs what they're hoping for, ISPs will get proactive. the dream is security becomes a priority, and something they're proud to show off when they sell their services ๐Ÿ’…โœจ.

under no circumstances is this document trying to dictate business practices. not its job, bestie ๐Ÿ™…โ€โ™€๏ธ.

when this doc says ISPs, it means organisations in the business of providing Internet connectivity or other Internet services. that includes (but isn't limited to) web hosting services, content providers and e-mail services ๐Ÿ“ฌ. organisations that provide those services just for their own purposes are NOT counted as ISPs in this definition ๐Ÿ™ˆ.

this document is offered as a set of recommendations to ISPs about what security and attack management arrangements should be supported. it's also advice for users about what they should expect from a high quality service provider ๐ŸŒˆ. it is in no sense normative in its own right, so it's not binding on anyone ๐Ÿซ . it's likely to get dated over time, and other expectations may show up. still, it's a snapshot of what a group of professionals in the field recommended at one point in the development of the Internet and its technology ๐Ÿ“ธ๐Ÿงš.

1.1. Conventions Used in this Document ๐Ÿ“–

the key words "REQUIRED", "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" in this document are to be interpreted as described in "Key words for use in RFCs to Indicate Requirement Levels" [RFC2119] ๐Ÿ”‘. these are the special words that tell you how strict something is, so don't skip them ๐Ÿ‘€.

2. Communication ๐Ÿ’ฌ

the community's most significant security-related expectations of ISPs are about availability of communication channels for dealing with security incidents ๐Ÿšจ. like, can people actually reach someone when things go wrong? that's the big one ๐Ÿ˜ญ.

2.1. Contact Information ๐Ÿ“‡

ISPs SHOULD adhere to [RFC2142] ๐Ÿ“ฌ, which defines the mailbox SECURITY for network security issues, ABUSE for issues relating to inappropriate public behaviour, and NOC for issues relating to network infrastructure. it also lists additional mailboxes that are defined for receiving queries and reports relating to specific services ๐Ÿงพ.

ISPs may consider using common URLs for expanded details on the above (e.g., http://www.ISP-name-here.net/security/) ๐Ÿ”—. a cute little security page, honestly ๐Ÿฅฐ.

in addition, ISPs have a duty to make sure that their contact information, in Whois, in routing registries [RFC1786] or in any other repository, is complete, accurate and reachable ๐Ÿซก. no ghost contact info allowed, periodt ๐Ÿ‘ป๐Ÿšซ.

2.2. Information Sharing ๐Ÿคซ

ISPs SHOULD have clear policies and procedures on sharing information about a security incident with their customers, with other ISPs, with Incident Response Teams, with law enforcement, or with the press and general public ๐Ÿ“ฐ. basically, know who gets told what, and when ๐Ÿ—‚๏ธ.

ISPs should have processes in place to deal with security incidents that traverse the boundaries between them and other ISPs ๐ŸŒ‰. when the problem crosses into someone else's network, you need a plan for that too ๐Ÿค.

2.3. Secure Channels ๐Ÿ”’

ISPs SHOULD be able to conduct such communication over a secure channel ๐Ÿ”. but heads up, in some jurisdictions secure channels might not be permitted, so it's not always a yes ๐Ÿ™ƒ.

2.4. Notification of Vulnerabilities and Reporting of Incidents ๐Ÿšฉ

ISPs SHOULD be proactive in notifying customers of security vulnerabilities in the services they provide ๐Ÿ“ฃ. also, as new vulnerabilities in systems and software are discovered, they should indicate whether their services are threatened by these risks ๐Ÿ‘€. no hiding it, bestie ๐Ÿ’….

when security incidents happen that affect components of an ISP's infrastructure, the ISP should promptly report the following to their customers ๐Ÿšจ:

  • who is coordinating response to the incident
  • the vulnerability
  • how service was affected
  • what is being done to respond to the incident
  • whether customer data may have been compromised
  • what is being done to eliminate the vulnerability
  • the expected schedule for response, assuming it can be predicted

many ISPs already have procedures for telling customers about outages and service degradation ๐Ÿ“ก. it's reasonable for the ISP to use those same channels for reporting security-related incidents โ™ป๏ธ. just know that in these cases, the customer's security point of contact might not be the person who gets notified. instead, the normal point of contact will receive the report ๐Ÿ“จ. customers should be aware of this and make sure to route those notifications appropriately ๐Ÿง โœจ.

2.5. Incident Response and Computer Security Incident Response Teams (CSIRTs) ๐Ÿ›ก๏ธ

a Computer Security Incident Response Team (CSIRT) is a team that performs, coordinates, and supports the response to security incidents that involve sites within a defined constituency ๐Ÿง‘โ€๐Ÿ’ป. the internet community's expectations of CSIRTs are described in "Expectations for Computer Security Incident Response" [RFC2350] ๐Ÿ“˜.

whether or not an ISP has a CSIRT, they should have a well-advertised way to receive and handle reported incidents from their customers ๐Ÿ“ข. they should also clearly document their capability to respond to reported incidents, and should indicate if there's any CSIRT whose constituency would include the customer and to whom incidents could be reported ๐Ÿ—บ๏ธ.

some ISPs have CSIRTs. however, it should not be assumed that either the ISP's connectivity customers, or a site being attacked by a customer of that ISP, can automatically use the ISP's CSIRT ๐Ÿ™…โ€โ™€๏ธ. ISP CSIRTs are often an added-cost service, with the team defining its constituency as only those who specifically subscribe to (and perhaps pay for) Incident Response services ๐Ÿ’ธ. so it's not a free-for-all, babe ๐Ÿ’€.

so it's important for ISPs to publish what incident response and security resources they make available to customers ๐Ÿ“š. that way, customers can define their incident response escalation chain BEFORE an incident occurs ๐Ÿงฏ. planning ahead is everything ๐Ÿ˜คโœจ.

customers should find out whether their ISP has a CSIRT and, if so, what the charter, policies and services of that team are ๐Ÿ•ต๏ธโ€โ™€๏ธ. this information is best expressed using the CSIRT template as shown in Appendix D of "Expectations for Computer Security Incident Response" [RFC2350] ๐Ÿ“‹๐ŸŒท.

3. Appropriate Use Policy ๐Ÿ“œ

every ISP SHOULD have an Appropriate Use Policy (AUP) ๐Ÿ™Œ.

whenever an ISP contracts with a customer to provide Internet connectivity, that contract should be governed by an AUP ๐Ÿค. the AUP should be reviewed each time the contract is up for renewal. on top of that, the ISP should proactively notify customers as policies are updated ๐Ÿ””.

an AUP should clearly identify what customers shall and shall not do on the various components of a system or network, including the type of traffic allowed on the networks ๐Ÿšฆ. it should be as explicit as possible so there's no ambiguity or misunderstanding ๐Ÿซ . for example, an AUP might prohibit IP spoofing ๐ŸŽญ.

3.1. Announcement of Policy ๐Ÿ“ฃ

in addition to communicating their AUP to customers, ISPs should publish their policy in a public place, such as their web site ๐ŸŒ. that way the community can see what the ISP considers appropriate, and can know what action to expect if there's inappropriate behaviour ๐Ÿ‘€โœจ.

3.2. Sanctions โš–๏ธ

an AUP should be clear about what sanctions will be enforced in the event of inappropriate behaviour ๐Ÿšซ. no vague threats, bestie ๐Ÿ’….

3.3. Data Protection ๐Ÿ—๏ธ

many jurisdictions have Data Protection Legislation ๐ŸŒ. where that legislation applies, ISPs should consider the personal data they hold and, if necessary, register themselves as Data Controllers. they should also be prepared to only use the data in accordance with the terms of the legislation ๐Ÿงพ. because the Internet is global, ISPs located where no such legislation exists should at least familiarise themselves with the idea of Data Protection by reading a typical Data Protection Act (e.g., [DPR1998]) ๐Ÿ“š๐Ÿง .

4. Network Infrastructure ๐Ÿ—๏ธ

ISPs are responsible for managing the network infrastructure of the Internet in such a way that it is ๐Ÿ› ๏ธ:

  • reasonably resistant to known security vulnerabilities
  • not easily hijacked by attackers for use in subsequent attacks

4.1. Registry Data Maintenance ๐Ÿ—‚๏ธ

Okay so ISPs are usually the ones keeping the data in big global repositories like the Internet Routing Registry (IRR) and the APNIC, ARIN and RIPE databases ๐Ÿ’…. Updates to that data should only be possible using strong authentication ๐Ÿ”, so no random strangers editing it, bestie!

ISPs should publicly register the address space they assign to their customers ๐Ÿ“‡โœจ. That way there's more specific contact info for the delegated space, and people can actually find who to ask ๐Ÿซถ.

4.2. Routing Infrastructure ๐Ÿ›ฃ๏ธ

An ISP's ability to send traffic to the right destination may depend on routing policy that's configured in routing registries [RFC1786] ๐Ÿ—บ๏ธ. If that's the case, and the registry supports it, they should make sure the registry info they maintain can only be updated using strong authentication, and that the power to make updates is properly restricted ๐Ÿ‘‘. Main character energy means guarding the keys!

Due care should also be taken when deciding whose routing announcements you trust more, if there's a choice of routes to a destination ๐Ÿค”. In the past, bogus announcements have caused traffic to get 'black holed' ๐Ÿ•ณ๏ธ, or even worse, hijacked ๐Ÿ˜ญ.

BGP authentication [RFC2385] SHOULD be used with routing peers ๐Ÿ”‘.

4.3. Ingress Filtering on Source Address ๐Ÿšช

This kind of filtering goes from the edge site (customer) out to the Internet ๐ŸŒ.

Attackers love covering their tracks with forged source addresses ๐Ÿฅท. To throw people off their trail, the source address they pick will usually belong to an innocent remote site, or even come from the addresses reserved for private Internets [RFC1918] ๐Ÿ™ˆ. Forged source addresses also show up a lot in spoof-based attacks that try to abuse a trust relationship between hosts ๐Ÿ’€.

To cut down on attacks that depend on forged source addresses, ISPs should do the following ๐Ÿ“. At the boundary router with each customer, they should proactively filter all traffic coming from that customer whose source address is anything other than the addresses assigned to that customer ๐Ÿ›ก๏ธ. For a deeper dive on this topic, check out [RFC2827] ๐Ÿ“š.

There are (rare) situations where ingress filtering just isn't possible right now, like on large aggregation routers that can't handle the extra load of running packet filters ๐Ÿ˜ฉ. Filtering can also cause trouble for mobile users ๐Ÿ“ฑ. So while using this technique to stop spoofing is strongly encouraged ๐Ÿซถ, it may not always be feasible.

In those rare cases where ingress filtering at the customer-to-ISP interface isn't possible, the customer should be encouraged to set up ingress filtering inside their own network ๐Ÿ . In general, filtering should happen as close to the actual hosts as possible ๐ŸŽฏ.

4.4. Egress Filtering on Source Address ๐Ÿ“ฌ

This one goes the other way: from the Internet into the edge site (customer) ๐ŸŒ.

Tons of applications on the Internet today trust other hosts based only on ip address, like the Berkeley 'r' commands ๐Ÿ˜ฌ. They're open to IP spoofing, as described in [CA-95.01.IP.spoofing] ๐Ÿซ . There are also vulnerabilities that depend on messing with supposedly local addresses, like 'land' as described in [CA-97.28.Teardrop_Land] ๐Ÿ’ฅ.

To lower their customers' exposure to attacks that rely on forged source addresses, ISPs should do the following โœจ. At the boundary router with each customer, they should proactively filter all traffic going to that customer whose source address is any of the addresses assigned to that customer ๐Ÿงฑ.

The situations described in 4.3 where ingress filtering isn't feasible apply to egress filtering too ๐Ÿ”.

4.5. Route Filtering ๐Ÿงน

Excessive routing updates can be used by an attacker as a base load to build a Denial of Service attack on top of ๐ŸŒŠ. At the very least, they'll cause performance to degrade ๐Ÿข.

ISPs should filter the routing announcements they hear ๐Ÿ‘‚. For example, they can ignore routes to addresses allocated for private Internets, avoid bogus routes, implement "BGP Route Flap Dampening" [RFC2439], and apply aggregation policy ๐Ÿงฝ.

ISPs should also use techniques that reduce the risk of piling excessive load onto routing in other parts of the network ๐Ÿซง. These include 'nailed up' routes, aggressive aggregation and route dampening. All of these lower the impact on others when your internal routing changes in a way that doesn't matter to them ๐Ÿ’œ.

4.6. Directed Broadcast ๐Ÿ“ข

The IP protocol allows directed broadcast, which means sending a packet across the network so it gets broadcast onto one specific subnet ๐Ÿ“ก. There are very few practical uses for this feature, but several security attacks use it, mostly Denial of Service attacks that take advantage of the packet multiplication effect of broadcast ๐Ÿ˜ฑ. Because of that, routers connected to a broadcast medium MUST NOT be configured to allow directed broadcasts onto that medium [RFC2644] ๐Ÿšซ. This is a hard no, babe!

โš ๏ธ Routers connected to a broadcast medium MUST NOT allow directed broadcasts onto it. Non-negotiable, periodt ๐Ÿ’€.

5. Systems Infrastructure ๐Ÿ–ฅ๏ธ

The way an ISP manages its systems is super crucial to the security and reliability of its network ๐Ÿ”’. A breach of those systems might only lead to degraded performance or functionality, but it could also lead to lost data or the risk of traffic being eavesdropped (which can turn into 'man-in-the-middle' attacks) ๐Ÿ˜ญ.

It's widely accepted that it's easier to build secure systems when different services, like mail, news and web-hosting, live on separate systems ๐Ÿงโœจ.

5.1. System Management ๐Ÿง‘โ€๐Ÿ’ป

All systems that perform critical ISP functions, like mail, news and web-hosting, should be locked down so that only the administrators of those services can access them ๐Ÿ—๏ธ. That access should only be granted after strong authentication, and it should happen over an encrypted link ๐Ÿ”. Only the ports those services listen on should be reachable from outside the ISP's systems networks ๐Ÿšง.

ISPs should keep up with more secure ways of providing services as they become available, like the IMAP/POP AUTHorize Extension for Simple Challenge/Response [RFC2195] ๐Ÿ†•๐ŸŒธ.

5.2. No Systems on Transit Networks ๐Ÿ›ค๏ธ

Systems should not be attached to transit network segments ๐Ÿ™…โ€โ™€๏ธ. Keep those vibes clean!

5.3. Open Mail Relay ๐Ÿ“ฎ

ISPs should take active steps to stop their mail infrastructure from being used by 'spammers' to inject Unsolicited Bulk E-mail (UBE) while hiding the sender's identity [RFC2505] ๐Ÿ—‘๏ธ. Not every preventive step fits every site, so the most effective site-appropriate methods should be used ๐ŸŽฏ.

ISPs should also strongly encourage their customers to take the necessary steps to stop this on their own systems ๐Ÿซถ.

5.4. Message Submission ๐Ÿ“จ

Message submissions should be authenticated using the AUTH SMTP service extension, as described in the "SMTP Service Extension for Authentication" [RFC2554] ๐Ÿ”๐Ÿ’–.

SMTP AUTH is preferred over IP address-based submission restrictions ๐Ÿ†. Why? Because it lets customers submit mail even when they aren't connected through the ISP's network (like when they're at work) ๐Ÿ’ผ, it's more resistant to spoofing ๐Ÿ›ก๏ธ, and it can be upgraded to newer authentication mechanisms as those show up ๐Ÿ†™.

Also, to help enforce security policy, it is strongly recommended that messages be submitted through the MAIL SUBMIT port (587) as discussed in "Message Submission" [RFC2476], rather than through the SMTP port (25) ๐Ÿ“ฌ. That way, the SMTP port (25) can be restricted to local delivery only ๐Ÿ .

The point of all this is to tell apart inbound local delivery from relay, which means letting customers send email through the ISP's SMTP service to arbitrary receivers on the Internet ๐ŸŒ. Non-authenticated SMTP should only be allowed for local delivery ๐Ÿ™….

As more and more mail clients support both SMTP AUTH and the message submission port (either directly, or by configuring the SMTP port), ISPs may find it useful to require customers to submit messages using both the submission port and SMTP AUTH, while only permitting inbound mail on port 25 ๐Ÿ“ฅโœจ.

These measures (SMTP AUTH and the submission port) do more than protect the ISP from being a UBE injection point via third-party relay ๐Ÿ›‘. They also help track accountability for message submission when a customer sends UBE ๐Ÿ•ต๏ธโ€โ™€๏ธ๐Ÿ’….

6. References โœจ

okay bestie, the reading list is here ๐Ÿ“š๐Ÿซถ every source the RFC leans on, with all its details, so you can go check them yourself

  • [CA-95.01.IP.spoofing] "IP Spoofing Attacks and Hijacked Terminal Connections", ftp://info.cert.org/pub/cert_advisories/ ๐Ÿ•ต๏ธโ€โ™€๏ธ
  • [CA-97.28.Teardrop_Land] "IP Denial-of-Service Attacks", ftp://info.cert.org/pub/cert_advisories/ ๐Ÿ’ฅ
  • [DPR1998] The UK "Data Protection Act 1998 (c. 29)", http://www.hmso.gov.uk/acts/acts1998/19980029.htm ๐Ÿ‡ฌ๐Ÿ‡ง
  • [RFC1786] Bates, T., Gerich, E., Joncheray, L., Jouanigot, J., Karrenberg, D., Terpstra, M. and J. Yu, "Representation of IP Routing Policies in a Routing Registry (ripe-81++)", RFC 1786, March 1995. ๐Ÿ—‚๏ธ
  • [RFC1834] Gargano, J. and K. Weiss, "Whois and Network Information Lookup Service", RFC 1834, August 1995. ๐Ÿ”Ž
  • [RFC1835] Deutsch, P., Schoultz, R., Faltstrom, P. and C. Weider, "Architecture of the WHOIS++ service", RFC 1835, August 1995. ๐Ÿงฉ
  • [RFC1918] Rekhter, Y., Moskowitz, B., Karrenberg, D., de Groot, G. J. and E. Lear, "Address Allocation for Private Internets", BCP 5, RFC 1918, February 1996. ๐Ÿ 
  • [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. ๐Ÿ”‘
  • [RFC2142] Crocker, D., "Mailbox Names for Common Services, Roles and Functions", RFC 2142, May 1997. ๐Ÿ“ฌ
  • [RFC2195] Klensin, J., Catoe, R. and P. Krumviede, "IMAP/POP AUTHorize Extension for Simple Challenge/Response", RFC 2195, September 1997. ๐Ÿ”
  • [RFC2196] Fraser, B., "Site Security Handbook", FYI 8, RFC 2196, September 1997. ๐Ÿ“–
  • [RFC2350] Brownlee, N. and E. Guttman, "Expectations for Computer Security Incident Response", BCP 21, RFC 2350, June 1998. ๐Ÿšจ
  • [RFC2385] Heffernan, A., "Protection of BGP Sessions via the TCP MD5 Signature Option", RFC 2385, August 1998. ๐Ÿ›ก๏ธ
  • [RFC2439] Chandra R., Govindan R. and C. Villamizar, "BGP Route Flap Damping", RFC 2439, November 1998. ๐ŸŒŠ
  • [RFC2476] Gellens R. and J. Klensin, "Message Submission", RFC 2476, December 1998. ๐Ÿ“จ
  • [RFC2505] Lindberg, G., "Anti-Spam Recommendations for SMTP MTAs", BCP 30, RFC 2505, February 1999. ๐Ÿšซ๐Ÿ“ง
  • [RFC2554] Myers, J., "SMTP Service Extension for Authentication", RFC 2554, March 1999. ๐Ÿชช
  • [RFC2644] Senie, D., "Changing the Default for Directed Broadcasts in Routers", BCP 34, RFC 2644, August 1999. ๐Ÿ“ก
  • [RFC2827] Ferguson, P. and D. Senie, "Network Ingress Filtering: Defeating Denial of Service Attacks which employ IP Source Address Spoofing", BCP 38, RFC 2827, May 2000. ๐Ÿงฑ

7. Acknowledgements ๐Ÿซถ

the people in this section gave really constructive comments on the doc, so huge thank-yous to Nevil Brownlee, Randy Bush, Bill Cheswick, Barbara Y. Fraser, Randall Gellens, Erik Guttman, Larry J. Hughes Jr., Klaus-Peter Kossakowski, Michael A. Patton, Don Stikvoort and Bill Woodcock ๐Ÿ’–โœจ


8. Security Considerations ๐Ÿ’€

okay this one is short but it is SERIOUS ๐Ÿ˜ญ the whole entire document is about security issues. every section in here is a security section, so please read the rest of it with that in mind ๐Ÿ”ฅ๐Ÿ™ˆ


9. Author's Address ๐ŸŽ€

the author is Tom Killalea, and here's how to reach him:

Tom Killalea
Lisi/n na Bro/n
Be/al A/tha na Muice
Co. Mhaigh Eo
IRELAND

Phone: +1 206 266-2196
EMail: tomk@neart.org

Copyright (C) The Internet Society (2000). All Rights Reserved. ๐ŸŒˆ

okay so the legal part, but make it cute: this document and its translations can be copied and handed out to others, and people can write derivative works that comment on it or explain it or help people implement it. they can be prepared, copied, published and distributed, in whole or in part, with no restrictions at all, as long as the copyright notice and this paragraph stay on every copy and derivative work ๐Ÿฆ‹

BUT the document itself can't be modified in any way. you can't remove the copyright notice or the references to the Internet Society or other Internet organizations. the one exception is when you need it to develop Internet standards, and then you have to follow the copyright procedures in the Internet Standards process. you're also allowed to translate it into languages other than English ๐ŸŒธ

the permissions above are perpetual, and the Internet Society or its successors or assigns will never revoke them ๐Ÿงš

and the boring-but-important bit, verbatim because it's legal:

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement ๐Ÿ“

last but not least, funding for the RFC Editor function is currently provided by the Internet Society. thank you for keeping the lights on, IS ๐Ÿซถโœจ

๐Ÿ“ฆ where this page comes from