Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 56 guests and 1 member online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
ettercap with backtrack 4
EH-Net
May 22, 2013, 09:55:43 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
ettercap with backtrack 4
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: ettercap with backtrack 4 (Read 28280 times)
0 Members and 1 Guest are viewing this topic.
joshboss1234
Newbie
Offline
Posts: 12
ettercap with backtrack 4
«
on:
February 18, 2010, 06:27:46 PM »
i ve been looking at tutorials for ettercap. i ve been trying to sniff out passwords with arp injection on my network, but im not having too much luck. a little help please. here is what i have been doing:
in shell: ettercap -G
goes into graphic mode:
sniff > unified sniffing > network interface (i chose wlan0) im pretty sure that this is the correct one for me.
start > start sniffing
hosts > scan for hosts
when done scanning:
hosts > host list
then i set the user as taget1 and the AP as target2
mitm > arp poisoning > sniff remote conections
the tutorial said it should just start printing passwords in plain text. but its not working for me. i went to all kinds of login sites on my other computer, but still nothing. im thinking that i didnt configure something. (even though the tutorial didnt mention it) or it has something to do with the vista security. (even though my anti-virus didnt say anything) apprechiate the help.
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: ettercap with backtrack 4
«
Reply #1 on:
February 18, 2010, 06:55:58 PM »
Are you sure you are logging into sites that transmit authentication in clear text? Encryption will stop you from seeing passwords.
Logged
~~~~~~~~~~~~~~
Ketchup
joshboss1234
Newbie
Offline
Posts: 12
Re: ettercap with backtrack 4
«
Reply #2 on:
February 18, 2010, 07:06:01 PM »
are you saying that the steps that i took are correct? and the tutorial that i watched showed them going to google,hotmail,ebay,etc... and it worked on the video. and i thought that ettercap turns the packets that it captures into plain text. no idea why it isnt working for me?
Logged
hayabusa
Hero Member
Offline
Posts: 1632
Re: ettercap with backtrack 4
«
Reply #3 on:
February 18, 2010, 10:02:21 PM »
* Edited: Note, the I was half-baked last night, from lack of sleep. the steps below were for SSH downgrade, not SSL. See my last post for something more relevant to SSL *
Ketchup and joshboss1234...
ettercap has an ssl man-in-the-middle, which will allow you to catch encrypted usernames and passwords, yes. I've used it previously. There is an extra setting that needs to be set / enabled for the ssl piece, though. You can't simply play 'arp man-in-the-middle'
To step through configuration and attack, using ettercap on linux:
http://openmaniak.com/ettercap.php
then proceed to the next section, about filters:
http://openmaniak.com/ettercap_filter.php
specifically, where it discusses ssh downgrade attacks:
http://openmaniak.com/ettercap_filter.php#ssh-downgrade-attack
Hope this helps. There are other tutorials about this, but the point being, first you have to configure for the ARP mitm attack, then you have to enable the ssh pieces, to truly get plain-text capture of username and passwords to work from ssl encrypted pages and forms.
«
Last Edit: February 19, 2010, 07:39:16 AM by hayabusa
»
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
Ketchup
Hero Member
Offline
Posts: 1021
Re: ettercap with backtrack 4
«
Reply #4 on:
February 18, 2010, 11:02:47 PM »
Ha, I learned something new
I knew that you could use ettercap with sslstrip, but I had no idea that ettercap had a built-in filter for dealing with SSL. It also doesn't strip the SSL, instead it presents the user with a fake certificate. Do you get any CA trust warnings with the fake cert? I am going to have to test this.
Logged
~~~~~~~~~~~~~~
Ketchup
joshboss1234
Newbie
Offline
Posts: 12
Re: ettercap with backtrack 4
«
Reply #5 on:
February 19, 2010, 02:59:17 AM »
thanks man
Logged
hayabusa
Hero Member
Offline
Posts: 1632
Re: ettercap with backtrack 4
«
Reply #6 on:
February 19, 2010, 07:33:37 AM »
Quote from: Ketchup on February 18, 2010, 11:02:47 PM
Ha, I learned something new
I knew that you could use ettercap with sslstrip, but I had no idea that ettercap had a built-in filter for dealing with SSL. It also doesn't strip the SSL, instead it presents the user with a fake certificate. Do you get any CA trust warnings with the fake cert? I am going to have to test this.
It will warn the user, or at a minimum, prompt the user to accept a new certificate, so a truly 'watchful' end-user would likely catch it. (Thus I prefer sslstrip, myself, as it's much more stealthy.) But for spur of the moment needs, ettercap is, at least, a workable / usable solution.
Edit: Incidentally, I missed the proper section when I gave steps above. You don't want the 'SSH downgrade attack.' But there IS an ssl plugin for attacking ssl, as well. (Sorry if I confused anyone) Here's one sample video, where they do some https stuff (later in the video):
http://www.milw0rm.com/video/watch.php?id=49
Cheers!
«
Last Edit: February 19, 2010, 07:43:43 AM by hayabusa
»
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
LT72884
Jr. Member
Offline
Posts: 95
Re: ettercap with backtrack 4
«
Reply #7 on:
February 25, 2010, 06:57:07 PM »
Hope you dont mind me hi-jackin the thread real fast, but i wanna try this with virtual box. So i need a lab. I just bought Toms book and it should be here within the week. The lab that he instructs us to build in the book, will that work with these ettercap attacks and tutorials?? Or do i need to add some other hosts and devices to it for it to work?
thanx
Matt
Logged
hayabusa
Hero Member
Offline
Posts: 1632
Re: ettercap with backtrack 4
«
Reply #8 on:
February 25, 2010, 10:30:11 PM »
While I never actually setup Tom's lab, 'specifically' per the book (in virtualbox, or otherwise,) assuming you can put the box on a physical (or logical / virtual) network segment which allows ARP injection (which I'm guessing it should,) then this should be perfectly doable in the lab. I've honestly never used virtualbox, but rather VMWare. However, from anything I've read quickly tonight, arp spoofing should be perfectly workable with virtualbox.
Case in point, an ARP spoofing tutorial (non-ssl specific) at:
http://hack2live.blogspot.com/2008/07/ip-takeover-attack-with-arping.html
So assumption is that it's perfectly doable in virtualbox.
«
Last Edit: February 25, 2010, 10:32:54 PM by hayabusa
»
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
hayabusa
Hero Member
Offline
Posts: 1632
Re: ettercap with backtrack 4
«
Reply #9 on:
February 25, 2010, 10:39:16 PM »
Also, if you're looking to do more proactive monitoring / warning for this type of ARP spoofing activity, you can use tools like arpmon and arpwatch to keep an eye on things, and be notified if the arp table entries on the network are changing for the machines on the network.
Additionally, SANS has a good read about ARP and monitoring ARP, at:
http://www.sans.org/reading_room/whitepapers/protocols/monitoring_the_arp_protocol_on_local_area_networks_1304?show=1304.php&cat=protocols
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
LT72884
Jr. Member
Offline
Posts: 95
Re: ettercap with backtrack 4
«
Reply #10 on:
February 25, 2010, 10:50:33 PM »
Quote from: hayabusa on February 25, 2010, 10:39:16 PM
Also, if you're looking to do more proactive monitoring / warning for this type of ARP spoofing activity, you can use tools like arpmon and arpwatch to keep an eye on things, and be notified if the arp table entries on the network are changing for the machines on the network.
Additionally, SANS has a good read about ARP and monitoring ARP, at:
http://www.sans.org/reading_room/whitepapers/protocols/monitoring_the_arp_protocol_on_local_area_networks_1304?show=1304.php&cat=protocols
I appreciate your concern and time. Since i am new to the security world, i lack the experience for it. Hence why i am here. haha. Im looking forward to toms book. At least with that i will have a foot in the door. From there i will use the backtrack labs/tutorials i got from my professor. Im glad that virtual box will do what i need it to do and thank you for researching that for me. I didnt know where to start. The only issue i have is i cant really use VB to do security with routers and switches or firewalls. But luckily for me i have a CCNP cisco lab in my dang room. haha.
Logged
UNIX
Hero Member
Offline
Posts: 1235
Re: ettercap with backtrack 4
«
Reply #11 on:
March 01, 2010, 06:12:19 AM »
Generally there is no problem in simulating ARP spoofing and similar attacks within a virtual lab. You might have to play around with the network settings though, but usually there is no need to further mess around.
Logged
johnnekar
Newbie
Offline
Posts: 11
Information Revolution
Re: ettercap with backtrack 4
«
Reply #12 on:
March 02, 2010, 01:21:14 AM »
hey, first you'll have turn ssl dissection on. Does your ettercap window say valid redir command need for ssl dissection. Browse to the file /etc/etter.conf..
Get it into editing mode and find iptables.. There are two lines of code below iptables, uncomment those lines.. i.e. remove the '#' from front of those lines.
Your edited code should look like this as in the image below. Save and exit.
Logged
Your tomorrow should be better than your today.. j0hnn3k4r
johnnekar
Newbie
Offline
Posts: 11
Information Revolution
Re: ettercap with backtrack 4
«
Reply #13 on:
March 02, 2010, 07:22:34 AM »
http://techkranti.blogspot.com/2010/02/ettercap-tool-for-sniffing-gmail-yahoo.html
Logged
Your tomorrow should be better than your today.. j0hnn3k4r
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
Programming
: Finished Python Course in Codecademy now what?
(15) by
hanyhasan
Network Pen Testing
: Ruby on Rails Vulnerabilities / Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.