- Products
- Learn
- Local User Groups
- Partners
- More
Maestro Masters
Round Table session with Maestro experts
I want to block a lots of ip(around 2k-2.5k). But in smartconsole, if i want to add them it is kind of impossible task to create 2.5k object manually and add them in a group.
So i want to know is there any option/command/way to add these ip via CLI? and create object against an single ip via CLI? and also add them in a group(new/existing) at a one time?
There are some different options available depending on the gateway version and what blades are enabled?
fw vpn cvpn urlf av appi ips anti_bot ThreatEmulation content_awareness Scrub, these fiewall blade i have enabled. Plese provide me all the way or one working way.
OS ver: r81.10(Scalable)
How can i use them? any guide or video? Please help me with details things.
I attached some things for you that can help. Json files, you can use for DC objects in a rule (automatically updated every 5 mins), as well as where you can create indicators themselves). I also pasted some useful links below. You can also make your own ioc feed file.
Andy
https://support.checkpoint.com/results/sk/sk132193
The big differences:
However, IF you prefer to add IPs manually, you can do it via API, example below. Then, once those addresses are in dashboard, its easy to group them.
Andy
https://sc1.checkpoint.com/documents/latest/APIs/#~v1.9%20
mgmt_cli add host name "BAD_185.206.27.13" ip-address "185.206.27.13" --format json
mgmt_cli add host name "BAD_162.208.16.20" ip-address "162.208.16.20" --format json
mgmt_cli add host name "BAD_89.248.165.131" ip-address "89.248.165.131" --format json
mgmt_cli add host name "BAD_185.206.24.70" ip-address "185.206.24.70" --format json
mgmt_cli add host name "BAD_162.208.16.14" ip-address "162.208.16.14" --format json
mgmt_cli add host name "BAD_87.251.75.45" ip-address "87.251.75.45" --format json
mgmt_cli add host name "BAD_185.206.24.50" ip-address "185.206.24.50" --format json
Obviously, you can give them any name you like : - )
I would most definitly put a tag on them. It has become my "standard" in all scripting to add a tag to objects so I can easiliy use the tag later. Some scripts add up to 3 different tags as it makkes sense in our setup.
Hello @the_rock Sir,
Mgmt API works only for r81.20. But Environment where i need to add multiple IP it's run on r81.10. And others procudre is so complex(sorry to say). Is these are the best practice for add multiple ip's??
We can add multiple url by exporting .csv file. Is there any option/way like that?
That process works 100% on R81.10, done it many times.
Yes, you can use CSV, but its more appliabce when adding them to app site, as shown below, which you can then use in the rule, as long as you have appc/urlf blade enabled.
Andy
I think fwaccel dos deny is the best way to do this
Excellent point @Dario_Perez
@maxtaan Please refer to below, it has all you need.
Andy
https://support.checkpoint.com/results/sk/sk112454
Hello @Dario_Perez ,
Is it works in maestro (security group and r.81.10) environment?
check https://support.checkpoint.com/results/sk/sk112454
is supported starting R80.20SP with jumbo, which is included on R1+
Also I have used before.
Hi maxtaan, have you managed to apply the fwaccel dos deny in Maestro? I would also prefer to use fwacccel, as it's a lot quicker than doing policy drops.
Also not sure if that command supports dropping entire subnets. The Threat Prevention guide only mentions singular IPs.
@JH_Ranger it's supported with Maestro and you can add subnets.
see fwaccel dos deny
Hi,
IOC Feeds can come in Handy, by using a text file or TOR list, you can block list of IP Addresses with no hassle.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
User | Count |
---|---|
18 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY