Custom App ID

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom App ID

L2 Linker

Hi Experts,

We've created a new custom app ID (custom-sql) for the SQL server with the ports TCP/10001- TCP/10004 with the Parent app as 'mssql-db-base'. Below are the firewall rules we've in place and noticed the application is correctly classified as the parent app when checking in monitor logs but instead of the below rule, it's hitting deny rule.

Any idea why is it so and what should be corrected. Thanks in advance

 

Name: Custom-SQL-rule

Source: 10.0.0.0/8

Source Zone: Inside

Destination: 172.16.0.0/16

Destination Zone: DMZ

Application: custom-sql

service:TCP/10001

Action:Allow

1 ACCEPTED SOLUTION

Accepted Solutions

L7 Applicator

there is a dependency for the parent app to be allowed as well,

 

since the parent app is being blocked right now, App-ID is not able to identify the child app

Tom Piens
Like my answer? check out my book! https://bit.ly/MasteringPAN

View solution in original post

6 REPLIES 6

L7 Applicator

there is a dependency for the parent app to be allowed as well,

 

since the parent app is being blocked right now, App-ID is not able to identify the child app

Tom Piens
Like my answer? check out my book! https://bit.ly/MasteringPAN

View solution in original post

Hi Tom,

Thanks for the reply.

Does this mean the firewall rule should be updated with the mssql-db-base ?

Should the port TCP/10001 from the service condition can exist or it can be removed?

Please assist.

Hi @nsrini1991 

 

yes, you will need to add mssql-db-base . you can leave the port there as you don't want to offer this application on different ports

Tom Piens
Like my answer? check out my book! https://bit.ly/MasteringPAN

Hi Tom

Thanks for the assistance. Final one, can you please overview on how the parent app works on this example?

I tried to google but not able to get any clear answers.

Please assist.

it's how APP-ID works:

 

1. first a syn packet comes un, firewall checks if the source zone/ip, destination zone/ip, destination port and protocol are allowed somewhere (skips app for now)

if yes: session is created, if no, packet is discarded

2. handshake completes and first payload is transferred, app-id checks if anything can be identified (eg. http GET  = web-browsing)

at this stage most of the parent apps will be identified as they display the most basic behavio.

Security rules are re-evaluated to see if this app is allowed to pass, if yoes, the session carris on, if no, the session is discarded

This is where dependencies require their parent app to be allowed somewhere in the rulebase

3. session continues to transfer payload and a child-app is detected, security rules are evaluated once more to see if child-app is allowed

if yes, sesion is allowed to complete, if no session is discarded

 

 

hope this helps

Tom Piens
Like my answer? check out my book! https://bit.ly/MasteringPAN

@reaper 

 

So basically, there is no "implicit" use of an official app on a custom app-id, even if a parent application is defined?

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!