Incomplete application matching app-id rule

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Incomplete application matching app-id rule

L0 Member

I have a rule matching for ms-update app-id, but when looking at logs I see sessions hitting the rule that have an imcomplete application.

 

How is this possible?

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

a single session will actually go through the security policy twice

 

When a new session is initiated, the SYN packet does not contain a lot of information that can be used for AppID, so it will be parsed against the security policy based on the 5 tuples: source zone, source subnet, destination zone, destination subnet, destination port

 

in the security policy the configured applications will be ignored in this stage (as we don't know the app yet) and sessions wil be matched based on the destination port (this is why setting 'application-default' in the service is important!)

if a rule is matched that allows the 5 tuples, the handshake is allowed through and a session is created in the session table

 

if then after the handshake nothing happens, the session will timeout and be discarded, the application will be set as incomplete because it never continued.

 

however, because the session was created, we still want to have a log entry in the traffic log to indicate the session was there, but because it never managed to reach the next stage where AppID could be applied, it was never matched against a different policy so it will be logged as a hit on the first policy that simply let the session be created

 

 

 

hope this makes sense

Tom

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

3 REPLIES 3

Community Team Member

hi bdugger,

 

That behavior is explained in this article :

 

Not-Applicable-Incomplete-Insufficient-Data-in-the-Application

 

Incomplete means that either the three-way TCP handshake did not complete or the three-way TCP handshake did complete but there was no data after the handshake to identify the application.

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

Cyber Elite
Cyber Elite

a single session will actually go through the security policy twice

 

When a new session is initiated, the SYN packet does not contain a lot of information that can be used for AppID, so it will be parsed against the security policy based on the 5 tuples: source zone, source subnet, destination zone, destination subnet, destination port

 

in the security policy the configured applications will be ignored in this stage (as we don't know the app yet) and sessions wil be matched based on the destination port (this is why setting 'application-default' in the service is important!)

if a rule is matched that allows the 5 tuples, the handshake is allowed through and a session is created in the session table

 

if then after the handshake nothing happens, the session will timeout and be discarded, the application will be set as incomplete because it never continued.

 

however, because the session was created, we still want to have a log entry in the traffic log to indicate the session was there, but because it never managed to reach the next stage where AppID could be applied, it was never matched against a different policy so it will be logged as a hit on the first policy that simply let the session be created

 

 

 

hope this makes sense

Tom

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

Thanks for the quick response Tom!

  • 1 accepted solution
  • 11817 Views
  • 3 replies
  • 0 Likes
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!