Tech Off Thread

5 posts

Implementing tunneling

Back to Forum: Tech Off
  • User profile image
    W3bbo

    This has been questioning me for a while...

    I understand how DNS tunneling works, the mechanism of the exact tunneling isn't the problem, but I'm asking how you get client programs to send data through the tunnel.

    VPNs and other tunnels solve this by creating a virtual Network connection in Windows, you just get your apps to use that.

    But consider DNS tunneling in Windows, where would you start? Would you need the DDK or something?

  • User profile image
    figuerres

    W3bbo wrote:
    This has been questioning me for a while...

    I understand how DNS tunneling works, the mechanism of the exact tunneling isn't the problem, but I'm asking how you get client programs to send data through the tunnel.

    VPNs and other tunnels solve this by creating a virtual Network connection in Windows, you just get your apps to use that.

    But consider DNS tunneling in Windows, where would you start? Would you need the DDK or something?


    this: http://www.daemon.be/maarten/dnstunnel.html

    or some other thing ??

  • User profile image
    AndyC

    W3bbo wrote:

    But consider DNS tunneling in Windows, where would you start? Would you need the DDK or something?


    Well you could try writing a device driver to fake a network card and then wrap requests into DNS (much like a VPN), though quite why you'd bother is beyond me.

  • User profile image
    PerfectPhase

    W3bbo wrote:
    This has been questioning me for a while...

    I understand how DNS tunneling works, the mechanism of the exact tunneling isn't the problem, but I'm asking how you get client programs to send data through the tunnel.

    VPNs and other tunnels solve this by creating a virtual Network connection in Windows, you just get your apps to use that.

    But consider DNS tunneling in Windows, where would you start? Would you need the DDK or something?


    You could do it as a SOCKS proxy?  Not transparent, but depends what your end goal is.

  • User profile image
    Secret​Software

    W3bbo wrote:
    This has been questioning me for a while...

    I understand how DNS tunneling works, the mechanism of the exact tunneling isn't the problem, but I'm asking how you get client programs to send data through the tunnel.

    VPNs and other tunnels solve this by creating a virtual Network connection in Windows, you just get your apps to use that.

    But consider DNS tunneling in Windows, where would you start? Would you need the DDK or something?


    You can intercept WinSock API calls, by any application through DLL Hook/injection.

    Or you could just use this program called WideCap,
    which forces any application to connect to any IP:Port.

    There are others but you will have to discover them on your own.Wink

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.