Results 1 to 2 of 2

Thread: TCP port forwarding over multiple ethernet cards (different networks) Share/Save - My123World.Com!

  1. #1

    TCP port forwarding over multiple ethernet cards (different networks)

    Hi all,

    This is a setup I am creating for c0c0n. My paper is based on a combination of multiple penetration tests that I have conducted in the past few years. I thought of adding a twist today but got stuck. A little push maybe would help

    I had a setup in the following fashion:
    Attacker [System A] - Public IP [10.10.10.12] [My laptop]
    VictimWebApp [System B] - Public IP [10.10.10.25]
    Another Server [System C] - Public IP/Inaccessible to A [10.10.10.30]

    System B and C can talk to each other. System A cannot access System C.

    I have a web shell (www-data privs) on System B. I used a perl tcp proxy script from here: http://www.inwap.com/mybin/miscunix/...s.pl?tcp-proxy to port forward System B's port 12345 to System C's 3389 and I was able to RDP to 10.10.10.25:12345 and connect to System C.

    Now I made the following changes:
    VictimWebApp [System B] - Public IP [10.10.10.25]; Internal IP [192.168.100.8] [2 NICs]
    Another Server [System C] - Internal IP [192.168.100.10]
    System B and C can talk to each other. System A cannot, obviously, access System C.

    My question is, is there a way to port forward from interface 10.10.10.25:12345 to 192.168.100.10:3389. Remember, this is over multiple networks [10.10.10.x and 192.168.100.x] and I don't have root on System B to work with iptables. Any thoughts??

    Regards,
    karniv0re

  2. #2
    Eureka!!
    Figured it out . Will post the walkthrough of this case study post c0c0n
    See you guys..

    Regards,
    karniv0re

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •