Jump to content

Recommended Posts

Posted

Hi

I would like to get some help with metasploit connecting to someones ip address, I know the backdoor attack were you make a file and put it on another pc you are trying to connect to. But ive only done this when you are conected to the same internet connection and the ip router address is somthing like 192.168.1.1. What im tring to do is to connect to another box as if it was a few miles away. Also whats a good why to get someones ip address with out phyisiclly sat at there pc.

Thanks

Posted

Have them connect to you rather than you connect to them, that bypasses any problem with NAT as well

Posted
  • 2 weeks later...
Posted

I am confused - about being able to bypass NAT - by just using a reverse connection. I thought you'd have to at least forward ports on your router to point your external IP to your local 'attack' machine.

Posted

NAT (technically PAT in most cases) is a way to bring an external port through to an internal IP so what you need to do is to setup a rule on your router to bring the external port in to your listening IP and port on your machine. The victim then connects to your external IP/port and the router knows to forward traffic to your internal machine.

Posted

You can run netcat behind a NAT and connect to it using metaspoit from the outside world. You can get someones ip address from email headers or IM, but that is there public ip address. Getting someones private ip address from the internet (WAN) is a bit tricky through.

Posted

If you are in a position to set up NAT on their router and run netcat inside their network and connect to it then working out what their IP address is won't be a problem.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...