Re: Using TTL to Locate Hosts



Hi,

It's a pretty open question. Do you want to know if the machine (networking stack in kernel) is up or the service?

TTL is a guide. When you send a packet, you are looking for a response. That response will contain a TTL. However, you don't know many things about that TTL. The most important thing you don't know is if the TTL was created by the stack on the host or somewhere else, most often a device between you and the host. This device can be proxies for certain ports, like cache proxies for HTTP port 80, or a "firewall".

The good thing is that the TTL if through correlation you can identify where the response came from, you have your probable answer of "up".

There are tools, especially in HPING, that will help you do things such as Fire Walking (there is also a firewalking tool) and loose source routing which both work with "hops" and end-effect TTLs in sending to achieve responses. Something as simple as Traceroute and its derivatives (like TCPtraceroute) especially with attempting certain settings (see the OSSTMM 2.11 modules on Logistics and Enumeration) will aide in eliciting responses. Every response counts as it tells you something about the host.

Sincerely,
-pete.

Chris Hammer wrote:
Hello everyone, I had an interesting question posed to me earlier. The
question was "Could you use only the TTL of a packet to locate hosts and
verify they are up?" I know playing around with Tracert this could be
possible, or a crafted packet using HPING. Any other ideas or thoughts?
Thanks!
Chris

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security? As attacks through web applications continue to rise, you need to proactively protect your applications from hackers. Cenzic has the most comprehensive solutions to meet your application security penetration testing and vulnerability management needs. You have an option to go with a managed service (Cenzic ClickToSecure) or an enterprise software (Cenzic Hailstorm). Download FREE whitepaper on how a managed service can help you: http://www.cenzic.com/forms/ec.php?pubid=10025
And, now for a limited time we can do a FREE audit for you to confirm your results from other product. Contact us at request@xxxxxxxxxx
------------------------------------------------------------------------------



Relevant Pages

  • external registrar problem
    ... header flags: response, want recursion, recursion avail. ... ttl = 3600 ...
    (microsoft.public.windows.server.dns)
  • Re: DNS - TTL problem with Solaris 9
    ... This would enable the disable the caching, but my problem is that I ... want my application to respect the TTL value returned in the DNS ... >>dictates the actual time to live of a dns response. ...
    (comp.unix.solaris)
  • Re: host not found error
    ... the short TTL is causing every query to generate a new root server query, ... Whereas, nslookup, dig, and friends are taking the extra time to ... if you have sendmail's host status caching enabled. ... they screwed the TTL up as well and have alot more authority. ...
    (comp.mail.sendmail)
  • Re: MX Records At GoDaddy
    ... Host Name: sbs ... TTL: 1 hr ... internet wizard i named the vpn server sbs.company.com and web server ...
    (microsoft.public.windows.server.sbs)
  • Re: DNS registrations for Exchange and RWW
    ... here's how I have DNS set up: ... Domain host name: providencereno.com ... TTL: 1 hour ... Warn on SPF record. ...
    (microsoft.public.windows.server.sbs)