Solved

Alternative to disabling timestamp

Posted on 2014-10-30
3
1,109 Views
Last Modified: 2014-11-10
In a CageScan test, the report advised to disabling "TCP timestamp response" on the F5 LTM but F5 has advised
us against it as given below.  

Q1:
What other alternative we can adopt to mitigate this ?   We can't remain status quo as it was not
acceptable to audit.
In particular, can we do anything on Internet facing servers (web servers?), eg, deploy a host/endpoint
based IPS to drop certain pattern or Windows firewall to block certain timestamp traffic or any patch
we can get from MS & Redhat ?

Q2:
Is this risk considered a DoS vulnerability or ACK storm vulnerability or ?

Q3:
If we have many servers, is there a quick way to check if "TCP timestamp received"
from ntp server (or is it ntp client?) and the servers' system uptime match?
Can't afford to login individually to each server to check as too many of it & the
uptime data is changing very fast.


F5's response :
"A number of publicly-available networking and security utilities (for example, nmap, hping, and some commercial tools) can perform network scans using a TCP timestamp option, which can be used to calculate the uptime (time since boot) of a system.

Timestamps are a TCP option used by a TCP/IP networking stack to implement two algorithms: the Round-Trip Time Measurement (RTTM) algorithm and the Protection Against Wrapped Sequence Numbers (PAWS) algorithm. Both algorithms are defined in RFC 1323, and are widely implemented by most modern operating systems' TCP/IP stacks, including F5 products.

Because the values in the timestamp are tied to the passage of time as tracked by the system clock, capturing two or more TCP packets allows interpolation back to the time at which the system started.

Uptime information, when combined with other system fingerprinting techniques, may sufficiently identify a system to an attacker as a potentially worthwhile target for an attack.

Note: The issue of using uptime information to select a subsequent attack should not to be confused with any attack against the timestamp mechanism directly.


Eliminating the use of TCP timestamps is not desirable because a performance penalty would occur without RTTM. More importantly, PAWS can protect against both the loss of data when TCP sequence numbers wrap, but also against denial-of-service attacks, which attempt to shut down an existing TCP connection. Without PAWS, the attacker needs only the IP addresses and port numbers of the connection endpoints to reset the connection.

F5 believes that the probability of system uptime information being used as the basis of a subsequent, successful attack is low. Additionally, denying an attacker access to uptime information would be a significant deterrent only if other operating system information could be hidden from fingerprinting techniques, which is not possible.  "
0
Comment
Question by:sunhux
  • 2
3 Comments
 

Author Comment

by:sunhux
ID: 40412769
I can try the suggestion below but it's been reported to be not
working & rescan still report the vulnerability :

http://stackoverflow.com/questions/24067609/how-to-disable-windows-server-2008-timestamp-response
0
 

Author Comment

by:sunhux
ID: 40412799
Perhaps these ones:

https://social.technet.microsoft.com/Forums/en-US/d4015aa9-0613-473e-8950-a3b3d3e72b04/i-have-security-vulnerability-tcp-timestamp-response-on-w2k3-w2k8-servers-how-to-fix-it?forum=winserversecurity     :
    Add & set Tcp1323Opts value to 0 in registry HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters


http://www.tmltechnologies.com/html-2012/index.php/linux-rescue-kits/82-secret/91-disable-tcp-timestamps-on-linux
    echo 0 > /proc/sys/net/ipv4/tcp_timestamps
        &
    add the following line to /etc/sysctl.conf:
        net.ipv4.tcp_timestamps = 0


2nd url above also suggests using iptables to block, so what's the
equivalent Windows firewall, can give an exact syntax rule:
IPTables


To be on the safe side, add the following 2 lines to your firewall script:
iptables -A INPUT -p icmp --icmp-type timestamp-request -j DROP
iptables -A OUTPUT -p icmp --icmp-type timestamp-reply -j DROP
0
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40415165
netsh firewall set icmpsetting 13 disable
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now