Saturday 23 April 2011

How to hack remote computer using IP Address


Now, what do we do with this IP Address. Well first ping the IP Address to make sure that its alive. In otherwords online. Now at the bottom of this document ill include some links where you can obtain some key tools that may help on your journey through the electronic jungle. So we need to find places to get inside of the computer so we can start trying to find a way to "hack" the box. Port Scanners are used to identify the open ports on a machine thats running on a network, whether its a router, or a desktop computer, they will all have ports. Protocols use these ports to communicate with other services and resources on the network.

1) Blues Port Scanner - This program will scan the IP address that you chose and identify open ports that are on the target box.

Example 1:

Idlescan using Zombie (192.150.13.111:80); Class: Incremental
Interesting ports on 208.225.90.120:
(The 65522 ports scanned but not shown below are in state: closed)
Port State Service
21/tcp open ftp
25/tcp open smtp
80/tcp open http
111/tcp open sunrpc
135/tcp open loc-srv
443/tcp open https 1027/tcp open IIS
1030/tcp open iad1
2306/tcp open unknown
5631/tcp open pcanywheredata
7937/tcp open unknown
7938/tcp open unknown
36890/tcp open unknown


In example 1 now we see that there are a variety of ports open on this box. Take note of all the ports that you see listed before you. Most of them will be paired up with the type of protocol that uses that port (IE. 80-HTTP 25-SMTP Etc Etc...) Simply take all that information and paste it into notepad or the editor of your choice. This is the beginning of your targets record. So now we know what ports are open. These are all theoretical points of entry where we could wiggle into the computer system. But we all know its not that easy. Alright so we don't even know what type of software or what operating system that this system is running.

2) NMAP - Port Scanner - Has unique OS fingerprinting methods so when the program sees a certain series of ports open it uses its best judgement to guess what operating system its running. Generally correct with my experiences.

So we have to figure out what type of software this box is running if we are gonna start hacking the thing right? Many of you have used TELNET for your MUDS and MOOS and weird multiplayer text dungeons and many of you havent even heard of it before period. TELNET is used to open a remote connection to an IP Address through a Port. So what that means is we are accessing their computer from across the internet, all we need is their IP Address and a port number. With that record you are starting to compile, open a TELNET connection to the IP Address and enter one of the OPEN ports that you found on the target.
So say we typed 'TELNET -o xxx.xxx.xxx.xxx 25' This command will open up a connection through port 25 to the IP xxx.xxx.xxx.xxx. Now you may see some text at the very top of the screen. You may think, well what the hell, how is that little string of text going to help me. Well get that list you are starting to write, and copy the banners into your compilation of the information youve gathered on your target. Banners/Headers are what you get when you TELNET to the open ports. Heres an example of a banner from port 25.


220 jesus.gha.chartermi.net ESMTP Sendmail 8.12.8/8.12.8; Fri, 7 Oct 2005 01:22:29 -0400


Now this is a very important part in the enumeration process. You notice it says 'Sendmail 8.12.8/8.12.8' Well what do ya know, we now have discovered a version number. This is where we can start identifying the programs running on the machine. There are some instances in which companies will try and falsify their headers/banners so hackers are unable to find out what programs are truly installed. Now just copy all the banners from all the open ports *Some Ports May Have No Bannners* and organize them in the little record we have of the target. Now we have all the open ports, and a list of the programs running and their version numbers. This is some of the most sensitive information you can come across in the networking world. Other points of interest may be the DNS server, that contains lots of information and if you are able to manipulate it than you can pretend to hotmail, and steal a bunch of peoples email. Well now back to the task at handu. Apart from actual company secrets and secret configurations of the network hardware, you got some good juicy info. http://www.securityfocus.com is a very good resource for looking up software vulnerabilities. If you cant find any vulnerabilities there, search on google. There are many, many, many other sites that post vulnerabilities that their groups find and their affiliates.

At SecurityFocus you can search through vendor and whatnot to try and find your peice of software, or you can use the search box. When i searched SecurityFocus i found a paper on how Sendmail 8.12.8 had a buffer overflow. There was proof of concept code where they wrote the shellcode and everything, so if you ran the code with the right syntax, a command prompt would just spawn. You should notice a (#) on the line where your code is being typed. That pound symbol means that the command prompt window thats currently open was opened as root. The highest privilage on a UNIX/Linux Box. You have just successfully hacked a box. Now that you have a command shell in front of you, you can start doing whatever you want, delete everything if you want to be a fucking jerk, however I dont recommend that. Maybe leave a text file saying how you did it and that they should patch their system.....whoever they are. And many times the best thing you can do is just lay in the shadows, dont let anyone know what you did. More often than not this is the path you are going to want to take to avoid unwanted visits by the authorities.

There are many types of exploits out there, some are Denial of Service exploits, where you shut down a box, or render an application/process unusable. Called denial of service simply because you are denying a service on someones box to everyone trying to access it. Buffer Overflow exploits are involved when a variable inside some code doesnt have any input validation. Each letter you enter in for the string variable will be 1 byte long. Now where the variables are located at when they are in use by a program is called the buffer. Now what do you think overflowing the buffer means. We overflow the buffer so we can get to a totally different memory address. Then people write whats called shellcode in hex. This shellcode is what returns that command prompt when you run the exploit. That wasnt the best description of a buffer overflow, however all you need to remember is that garbage data fills up the data registers so then the buffer overflows and allows for remote execution of almost every command available. There are many, many other types of attacks that cannot all be described here, like man-in-the-middle attacks where you spoof who you are. Performed correctly, the victim will enter http://www.bank.com and his connection will be redirected to your site where you can make a username and password box, make the site look legit. And your poor mark will enter their credentials into your site, when they think its really http://www.bank.com. You need to have a small script set up so it will automatiically display like an error or something once they try and log in with their credentials. This makes it seem like the site is down and the victim doenst give it a second thought and will simply try again later.
__________________________________________________ _______o_________

So as a summary of how to 0wn a box when you only have an IP Address
Method Works On BOTH linux and Windows

****You can do the same with domain names (IE google.com) than what you can with IP Addresses. Run a WHOIS Lookup or something along those lines. Or check up on InterNIC you should be able to resolve the domain name to an IP address.

- Port Scan The Address And Record Open Ports
- Telnet To Open Ports To Identify Software Running On Ports

3) netcat - Network swiss army knife. Like TELNET only better and with a lot more functionality. Both can be used when you are trying to fingerprint software on open ports

- Record Banners And Take Note Of The Application Running and The Version Number
- Take A Gander Online At SecurityFocus.com or Eeye.com. If you cant find any vulnerabilities then search google.
- Make a copy of some Proof-Of-Concept code for the vulnerability.

*Read the documentation if there is any, for the proof-of-concept code you will be using for your exploit*

- Run The Exploit Against The Victim.
- Reap The Cheap-Shot Ownage

So guys...i hope you now know how to hack into a computer using a known IP Address. Once you get IP Address of the victim, you are able to access and hack the computer remotely as described in the post.
Credit: Codine.

25 comments:

  1. sir ...
    i cnt understand ...plz help ..

    ReplyDelete
  2. dear 1st u need all the listed softwares i.e. blue port scanner,nmap and netcat and after that follow the steps listed its quite simple i think...

    ReplyDelete
  3. is it works on other state computers..??

    ReplyDelete
  4. Ya surely nd if u still dnt understand it then send me ur static ip address nd i will hack ur pc maybe dat wud be the best example 4 u

    ReplyDelete
  5. sir will u plz explain in simple way ...
    i cnt understand dis method ..
    plz help ..

    ReplyDelete
  6. K i will bt 1st giv me a cnfrmation dat u wnt be hacking my laptop after dat.....
    :-)

    ReplyDelete
  7. sir
    plz send or post da tutorial in step by step in simple way ..
    plz ...
    pratima.gupta26@gmail.com

    ReplyDelete
  8. Well 1st i need to knw r u a hacker or wat coz wat u r askin me to teach u is cmpletely illegal

    ReplyDelete
  9. sir..
    i m asking just 4 education purpose only .....
    no i m nt a hacker ...

    ReplyDelete
  10. DEAR SIR
    i m frm sri Lanka...I CAN UNDERSTAND FIRST PART,, BUT NOT WHOLE...
    can u please send the tutoriles,,to ma e-mail
    namalweje@yahoo.com
    thankxx

    ReplyDelete
  11. Quality articles or reviews is the main to be a focus for the viewers to
    pay a quick visit the web site, that's what this web site is providing.

    Here is my web site: exercises for vertical

    ReplyDelete
  12. Unquestionably believe that which you said.
    Your favorite justification seemed to be on the web the simplest thing to be aware of.
    I say to you, I definitely get irked while people think about worries that they just do not know about.
    You managed to hit the nail upon the top as well as defined
    out the whole thing without having side-effects , people could take a
    signal. Will likely be back to get more. Thanks

    Also visit my website; upbible.org

    ReplyDelete
  13. bookmarked!!, I really like your blog!

    Also visit my webpage: vertical leap workouts

    ReplyDelete
  14. Everything is very open with a very clear explanation of the issues.

    It was definitely informative. Your site is useful. Many
    thanks for sharing!

    Also visit my website: http://www.alexanderburstein.com/

    ReplyDelete
  15. Hello, I enjoy reading through your article post. I wanted to write a little comment to support you.


    my page :: workouts to jump higher

    ReplyDelete
  16. I simply couldn't depart your web site before suggesting that I really enjoyed the usual information a person supply to your guests? Is gonna be again ceaselessly to check out new posts

    my web page :: vertical jump exercises

    ReplyDelete
  17. Thanks very nice blog!

    Also visit my web page exercises to improve vertical

    ReplyDelete
  18. This is my first time go to see at here and i am genuinely pleassant to read all at alone place.


    my page ... vertical leap workouts

    ReplyDelete
  19. I'm not sure where you're getting your info, but great
    topic. I needs to spend some time learning more or understanding more.
    Thanks for magnificent info I was looking for this information for my mission.


    Also visit my blog post; http://www.churchofchristnet.com/index.php?option=com_blog&view=comments&pid=6436&Itemid=0

    ReplyDelete
  20. I got this web page from my friend who shared with me regarding this site and now this time I am visiting this site and reading
    very informative content here.

    Here is my web-site :: Exercises to jump higher

    ReplyDelete
  21. Hello i am kavin, its my first occasion to commenting anywhere, when i read this
    post i thought i could also create comment due to this
    brilliant post.

    Here is my web-site; exercises for vertical

    ReplyDelete
  22. If you think your spouse may be cheating, you can contact PHONESPYAPPS1@GMAIL.COM
    He’s a real hacker and was very reliable in helping me spy on my cheating husband’s cell phone remotely.

    ReplyDelete
  23. If you think your spouse may be cheating, you can contact PHONESPYAPPS1@GMAIL.COM
    He’s a real hacker and was very reliable in helping me spy on my cheating husband’s cell phone remotely.

    ReplyDelete


  24. This professional hacker is absolutely reliable and I strongly recommend him for any type of hack you require. I know this because I have hired him severally for various hacks and he has never disappointed me nor any of my friends who have hired him too, he can help you with any of the following hacks:

    -Phone hacks (remotely)
    -Credit repair
    -Bitcoin recovery (any cryptocurrency)
    -Make money from home (USA only)
    -Social media hacks
    -Website hacks
    -Erase criminal records (USA & Canada only)
    -Grade change

    Email: cybergoldenhacker at gmail dot com

    ReplyDelete