Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Bob_Zimmerman
MVP Gold
MVP Gold

Block Malicious ASNs?

I recently had a conversation on the quality of various signals of malicious intent. ASNs were brought up as an extremely high-quality signal, as they're much more difficult to get (and to change) than public IPs are. Large numbers of "bulletproof hosting" companies typically send their traffic through a very small number of ASNs. It struck me I don't know if there's a good way to block traffic based on source ASN on a Check Point firewall.

Most of my firewalls have enough RAM they could store the global BGP RIB and I guess use routemaps to refuse import of routes from ASNs I want to block. That seems gross and cumbersome, though. I don't like using routing for access control, as it's too low-visibility. When something is wrong, the problem isn't in the logs you check all the time for other problems.

I could get a global BGP feed to a system which can parse it and generate a feed suitable for use with a Network Feed object. Also feels gross, but at least it would generate good log data in the same place as our other drops.

Maybe a good candidate for an RFE for some updatable objects? It doesn't seem feasible to make an updatable object for every ASN, so maybe something more like a domain object?

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

fwaccel dos can rate limit (and with a limit of zero, effectively block) based on ASN.
That lacks visibility in SmartConsole, of course.

0 Kudos
IgorSantos
Explorer

I’ve been considering this topic, much like Bob (which is actually what led me to this thread). However, upon searching the Check Point knowledge base, I only found sk182350, which states:

SecureXL Rate Limiting rules for DoS Mitigation do not yet support the parameter "asn:<AUTONOMOUS_SYSTEM_NUMBER>".

Perhaps there is another way to go about this?

0 Kudos
Vincent_Bacher
MVP Silver
MVP Silver

Depends on the release. Checked on R81.10, R81.20 and R82.10

[Expert@****:0]#fwaccel dos rate add source help | grep -A 5 asn
        asn:AUTONOMOUS_SYSTEM_NUMBER
            Valid value syntax is ASnnnn, where nnnn is a number unique to
            the specific organization. The rule matches the AS number of the
            organization to the IP addresses that are assigned to this
            organization, based on the Geo IP database.

Edit: I have just checked that the source filter exists, but did not test it.

and now to something completely different - CCVS, CCAS, CCTE, CCCS, CCSM elite
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events