Thursday, May 5, 2011

Hacking Basics

Guys,To start with hacking website or a server,you'll require some skill that helps to write your own code.

  • First of all, to start hacking.
You'll need a target website.Once you’ve got it, add it for Pinging
[For that,you have to follow these steps(In Windows).
1) Start - Run - cmd
2) type ping "your target website(without quote)"
3) copy that ip address]


  • Now, we need to gather information about the website.You have to to Whois lookup.That will gather all information about server.

Go to

http://whois.domaintools.com

& add IP or the website.You’ll see a large amount of information about the website.
Use Google to find even more information about the website.

After all mess up,

  • Open Nmap(A tool to hack/get info of online).
    Once you have done that,
     "ip_address nmap –sT –sV"(without quote) in Nmap’s command bar & scan website.]Once done,observe O.S.(Operating System), Ports, Services running on the website server.


  • Once done, you’ll need to find banner of the software.
    [Banner: It shows the software & version running on ports.]
    It may chage depending on the OS of server.
    • For WIN VISTA & 7:

You need to download & Open Netcat.
[Because Telnet is disabled in WIN VISTA & 7]

Once done type, nc
Ex: nc 127.0.0.1 21

It will show banner with all information.

  • For other OS:

Open Telnet[Start > RUN > telnet]

Once done type, O
Ex: O 127.0.0.1 21
Once you’ve done that, you’ll get a banner.
This will be displaying all the details of the software running on port.
If this doesn’t work you can try the first method.

Once you’ve got the banner, you need to search for vulnerability matching with banner.

  • Exploit databases:

Injector_____http://www.inj3ct0r.com/
Milw0rm_____http://www.milw0rm.com
Security Focus_____http://www.securityfocus.com
Osvdb_____http://www.osvdb.org
Cve Mitre_____http://cve.mitre.org
Metasploit_____http://www.metasploit.com

More info:http://www.hackforum.net

Once you’ve got the matching exploit of the same version software.
[If you haven’t got, try another port.]
You need to edit values, compile & run it.

Most common exploit Coders:

  • Perl

For perl exploits, Copy the exploit in notepad & save it with .pl extension.
Download & Install, Active Perl:

 http://www.activestate.com/activeperl

Once done, edit the exploit with notepad & double click to run it.

  • PHP

For PHP exploits, copy & save it in .php extension.
Download & Install WAMP:


http://www.wampserver.com/en/

Once done, edit the exploit with notepad & execute it from CMD.

  • Python

For python exploits, copy & save it in .py extension.
Download & Install python:


http://www.python.org/download

Once done, edit the exploit with notepad & double click to run it.

  • C/C++

For C/C++ exploits, copy & save it in notepad.
Download & Install Blood Shed. (Google the link)
Once done, edit the exploit, compile & double click to run it.

If your exploit is successful you will get access to server,
You’ll be able to edit every part of the website.
If your exploit wasn’t successful try with different port, services & software.
You can also use Metasploit web to search exploits.



Fundamentals Of Networking

IP Address:It is an address provided to every computer or nod in network by ISP(Internet Service Provider) to connect to using internet.In VPN(Virtual Private Network ),it may have been provided by server.

Domain Name System (DNS): This allows IP address to be translated to words. It is easier for human being to remember character.
E-mail addresses are also converted by DNS in character or string.

For example, it is much easier for anyone to remember address "facebook.com" than to remember 69.63.189.63.

Dynamic IP Address: One that is not static or other word changing.It is given by your ISP or DHCP(Dynamic Host Configuration Protocol
) Server.
Computer will get this number as it logs on to the network and saves you the trouble of having to know details regarding the specific network configurations.
This number can be assigned to anyone using a dial-up connection, Wireless and High Speed Internet(i.e DSL,TSL Cable) connections.

Static IP Address: One that is fixed and never changes.
Most ISP's can offer to assign a single static IP for Some more rupees(or your currency).

IPv4: It is being used by most devices.However,IPv4 IPs are running out quickly.
IPv4 is limited to 4,294,967,296 IPs.

IPv5: This is an experimental protocol for UNIX based systems. In keeping with standard UNIX release conventions, all odd-numbered versions are considered experimental. It was never intended to be used by the general public.

IPv6: The replacement for IPv4.
The estimated number of unique IPs for IPv6 is (340,282,366,920,938,463,463,374,607,431,768,211,456)(Count how many no. are there???!! lolzz) or Base(2)mentisa(128).


If you need any kind of help.Just make sure you comment and publish it.
Have Fun Hacking.
Nirmal Kantharia(man1aachaker)...

Tuesday, May 3, 2011

1) Character Map - charmap.exe

2) Disk Cleanup - cleanmgr.exe

3) Clipboard Viewer - clipbrd.exe


4) Dr Watson - drwtsn32.exe (Troubleshooting tool)


5) DirectX diagnosis - dxdiag.exe (Diagnose & test DirectX, video & sound cards)


6) Private character editor - eudcedit.exe (allows to create or change characters)


7) IExpress Wizard - iexpress.exe (Create self-extracting)


8) Microsoft Synchronization Manager - mobsync.exe (allow synchronization of files on the network for when working offline)


9) Windows Media Player 5.1 - mplay32.exe (Retro version of Media Player, very basic).


10) ODBC Data Source Administrator - odbcad32.exe (something to do with databases)


11) Object Packager - packager.exe (to do with packaging objects for insertion in files, appears to have comprehensive help files).


12) System Monitor - perfmon.exe (aspect of PC performance, for advanced users only )


13) Program Manager - progman.exe (Legacy Windows 3.x desktop shell).


14) Remote Access phone book - rasphone.exe


15) Registry Editor - regedit.exe (Windows Registry).


16) Network shared folder wizard - shrpubw.exe (create shared folders on network).


17) File siganture verification tool - sigverif.exe


18) Volume Control - sndvol32.exe

 
19) System Configuration Editor - sysedit.exe (modify System.ini & Win.ini just like in Win98! ).


20) Syskey - syskey.exe (Secures XP Account database - Syskey password)


21) Microsoft Telnet Client - telnet.exe


22) Driver Verifier Manager - verifier.exe (
  Driver Troubleshooting)

23) Windows for Workgroups Chat - winchat.exe (appears to be an old NT utility to allow chat sessions over a LAN, help files available).


24) System configuration - msconfig.exe (can use to control starup programs)


25)Policy management - gpedit.msc ( For Policies)

Some RUN Commands For Windows

RUN Menu Commands:
 


  1. compmgmt.msc - For Computer management .
  2. devmgmt.msc - Device manager.
  3. diskmgmt.msc - Disk management.
  4. eventvwr.msc - Event viewer.
  5. dfrg.msc - Disk defrag.
  6. fsmgmt.msc - Shared folders.
  7. gpedit.msc - Group policies.
  8. lusrmgr.msc - Local users and groups.
  9. perfmon.msc - Performance monitor.
  10. rsop.msc - Resultant set of policies.
  11. secpol.msc - Local security settings.
  12. services.msc - Various Services.
  13. msconfig - System Configuration Utility.
  14. regedit - Registry Editor.
  15. msinfo32 - System Information.
  16. sysedit - System Edit.
  17. win.ini - Windows loading information.
  18. system.ini - Likewise win.ini.
  19. winver - Shows current version of windows.
  20. mailto: - Open default email client.
  21. cmd - Open command prompt

How To Add Banner in Windows XP