Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
CheckMate-R77
Contributor

Custom Intelligence Feeds in CIDR format via SmartConsole

Dear Mates,

R81.10 Take 87

1. Since Custom Intelligence Feeds via SmartConsole allows only "IP Address" or  "IP Range" types, is it possible to apply Spamhaus DROP list which is in CIDR format? In ioc_feeder.elg I get: "Feed format problem. Feed format not supported" - for both IP types.

Spamhaus.jpg

 

2. TOR_Exit_Nodes (https://secureupdates.checkpoint.com/IP-list/TOR.txt)

When I "Test Connectivity" it is OK, but in ioc_feeder.elg I get: "Feed format problem. Empty feed file".

Tor.jpg

Any ideas?

Regards

M.

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

Custom Intelligence Feeds files have a very specific format that is required.
It’s documented here: https://support.checkpoint.com/results/sk/sk132193
If the file is not in that format, it won’t work.

Network Feed objects (available in R81.20) should solve both issues.

0 Kudos
CheckMate-R77
Contributor

Thank You PhoneBoy.

1. In sk132193 there is following CLI example for Spamhaus and CIDR format:

Original CSV structure is a list of IP addresses in CIDR format and comment lines are marked as ';'

ioc_feeds add --feed_name ip_cidr_list_with_delimiter --transport https --resource "https://www.spamhaus.org/drop/edrop.txt" --format [value:1,type:ip] --delimiter ";" --comment ";"

Mirosaw_Zimny_0-1676359881741.jpeg

When I test it in gateway CLI (I added only "--test true" option to original example) I get following error:

[Expert@gw1:0]# export EXT_IOC_NO_SSL_VALIDATION=1
[Expert@gw1:0]# ioc_feeds add --feed_name ip_cidr_list_with_delimiter --transport https --resource "https://www.spamhaus.org/drop/edrop.txt" --format [value:1,type:ip] --delimiter ";" --comment ";" --test true

Modifying feed ip_cidr_list_with_delimiter
start add
Feed ip_cidr_list_with_delimiter will add on

Feed Name: ip_cidr_list_with_delimiter
Feed is Active
File will be fetched via HTTPS
Resource: https://www.spamhaus.org/drop/edrop.txt
Action: Prevent
Feed is cli managed
Feed type: custom_csv

Fetching active feeds
Something went wrong
Something went wrong
Signatures load failed

 

The same error when I try to test it with http transport and even in case of local file downloaded by curl_cli - still doesn't work.

 

2. There is last point in Known Limitations section of sk132193: "Before 81.20, there is limit of number of observables , See sk171988."

Maybe I have exceeded the limit, but where can I find sk171988? I wonder if there is any mechanism to check and eliminate duplicated IOCs (IPs for example) by few external (and maybe overlapping) feeds?

 

3. I have also noticed differences in notation in sk132193

--format [value:#1 orvalue:1

and

--comment [#] or --comment "#"

It seems both forms are equal?

sk132193 was last modified on 2023-02-07 and seems ...  not so actual?

0 Kudos
PhoneBoy
Admin
Admin

Hm...if it's an explicitly listed example that doesn't work, might be worth a TAC case.
Regardless, you might see if there are other messages in $FWDIR/log/load_sigs.elg that explain what's happening.
Don't know that there's a way to deduplicate things. 

The SK mentioned is internal, but  it provides some details on the limits that exist prior to R81.20.
R81.20 has new infrastructure for IOC Feeds and Network Feeds that supports ~2 million observables.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events