Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: How is the protocol determined in a Cisco Pix firewall log file?

Expand / Collapse


This article applies to:

  • Security Reporting Center 2.0
  • Security Reporting Center 2.1
  • Firewall Suite 4.1x

Question:

How is the protocol determined in a Cisco Pix firewall log file?

Symptoms:

  • Cisco PIX log file does not indicate which port number is the protocol.
  • Cisco PIX log file does not indicate which end of the connection is the 'server'.

Causes:

Cisco PIX has an unusual log file format. The format does not indicate which end of the connection is the 'server'.

Nearly all firewalls log information in the following way.

TCP src=x.x.x.x/7777 dest=y.y.y.y/8888

It is obvious that the 'server' is at IP y.y.y.y and the protocol is port 8888. However, the firewall does not tell you which end of the connection is 'behind the firewall'. The user must configure this.

However, Cisco PIX has a different method of logging, as shown below.

TCP behind-firewall=x.x.x.x/7777 outside-firewall=y.y.y.y/8888

In PIX terms, behind-firewall is marked laddr, and outside-firewall is marked faddr. So, the Cisco PIX log file does not indicate which end of the connection is the 'server'. The log file also does not indicate which port number is the protocol. All that is known is which end is 'behind the firewall'.

Procedure:

To overcome this issue with Cisco PIX, the analysis engine of Firewall Suite and Security Reporting Center uses the following technique.

To determine the protocol, the parsing engine must make an 'educated guess', using the following algorithm.

  1. If laddr port is less than 1024, use that as the protocol (implies 'incoming' traffic).

  2. Else, if faddr port is less than 1024, use that as the protocol (implies 'outgoing' traffic).

  3. Else, check the 'Protocol List' as configured by the user.

  4. Else, use the faddr port as the protocol (assume outgoing).

This article was previously published as:
NETIQKB13941

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.