Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

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

Co-Managed SOC (SIEM)

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

Advisory & Diagnostics

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

Penetration Testing

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

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

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

Digital Forensics & Incident Response

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

Firewall & Technology Management

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

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
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 do I enable the 'res=' field in Check Point Firewall-1 log files?

Expand / Collapse


This article applies to:

  • Security Reporting Center 2.X
  • Firewall Suite 4.X

Question:

How do I enable the 'res=' field in Check Point Firewall-1 log files?

Procedure:

For Check Point Firewall-1 4.0 and earlier

In Firewall-1 4.0, most protocols are handled by the Stateful Inspection (SI) engine. This engine operates as a kernel module, and inspects everything at the packet level. It does look at data in packets, but does not do reassembly of information. When HTTP is handled via SI, Firewall-1 does not look into the stream to find the URL. In this case, the res= field will not be there.

When you use an HTTP resource (URL Filtering, CVP Virus Scanning) the HTTP session is sent to the security server (a process running on the Firewall-1 machine) which reassembles the data stream for data processing. In this case, the URL is seen by the firewall, and is logged in the res= field. To enable URL logging, define an HTTP resource that performs an action such as ActiveX filtering. Enable this action in the policy, and you should see the URLs logged.

For Check Point Firewall-1 4.1

  1. Ensure that Firewall-1 is running.

  2. Decide which of the following log methods to use:
    • URL_NO_LOG: TCP Streaming will be performed for additional security, but no URL logging is performed.
    • URL_LOG_ALL: TCP Streaming is performed, and all the URLs in a connection will be logged.
    • URL_LOG_FIRST: Only the first URL (usually the web page) will be logged. After logging, the streaming for the connection is stopped. This method is useful since in most cases the rest of the GET requests are for images (GIFs, JPEGs, etc.).
    • URL_LOG_FIRST_SECURE: URL logging behavior is the same as LOG_FIRST, but TCP Streaming is performed for the entire connection. This method provides additional security; since the streaming is performed for the entire connection, certain scenarios (such as a transmission containing a legal URL followed by a retransmission containing an illegal URL) are detected and rejected.
  3. Add the appropriate new service. In the policy editor, define a new service of type Other with the following in the match field:

      URL_LOG_SVC (rule_no, port, log_method)

    where:

    • rule_no - the rule number that this service is used in. This number does not affect security, but is only the number used for entries in the firewall log.
    • port - the HTTP port used (usually 80)
    • log_method - one of: URL_NO_LOG, URLOG_LOG_ALL, URLOG_LOG_FIRST, URLOG_LOG_FIRST_SECURE.

  4. If the active streaming mode is needed, append "| URLOG_USE_ACTIVE_STREAMING" (without the quotes) to the log_method.

  5. If the rule is used with authentication, URL_LOG_AUTH_SVC should be used instead of URL_LOG_SVC.
    Examples:
    • URL_LOG_SVC (2, 80, URLOG_LOG_FIRST_SECURE)
    • URL_LOG_SVC (3, 80, URLOG_LOG_FIRST | URLOG_USE_ACTIVE_STREAMING)
    • URL_LOG_AUTH_SVC(10, 80, URLOG_LOG_ALL)

  6. Make a new rule in the policy editor which uses the new service. No other services or resources may be listed in that rule.

  7. Select "Long" logging for that rule if full URL logging is desired.

  8. Install the policy.

Notes:

If you are still having difficult with this implementation please consult your firewall documentation or seek technical support from Check Point.

This article was previously published as:
NETIQKB1107

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
.