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 40 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Expoits from a web page?
EH-Net
May 21, 2013, 05:14:50 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
) >
Expoits from a web page?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Expoits from a web page? (Read 3412 times)
0 Members and 1 Guest are viewing this topic.
SephStorm
Hero Member
Offline
Posts: 530
Expoits from a web page?
«
on:
October 16, 2011, 03:03:58 PM »
So I am just remembering when I was testing out Metasploit that there were exploits that would be hosted by the framework on a generic web page. Now my question is, could I create a public web site, and have the framework host a page on that site with the exploit code? i.e, create a page with links (hosted on a public webserver (
www.test.lon.com
) and then all the links go to a subpage on that site (
www.test.lon.com/exploitmenow)?
Also, how do hackers get exploit code on to public websites? I assume they compromise the webserver and literally place the code into a script or whatnot on the webserver?
A third question, when I hosted those pages through metasploit, were they world accessible? Or only accessible by machines on the LAN? I dont remember much from the old web dev days, but I thought you had to get domain space in order to host a publicly accessible web site.
Logged
Support my hactivities.
http://www.cafepress.com/TRUEHacker
hayabusa
Hero Member
Offline
Posts: 1631
Re: Expoits from a web page?
«
Reply #1 on:
October 16, 2011, 03:42:39 PM »
It literally depends on the website, and your goal.
The hackers / pentesters would have to first find a vulnerability and place their code there, yes (in the case of putting code onto another public server, like the one I mentioned in my malware post, where my clients had code inserted into their static webpages.)
As for your own server, accessibility is determined by the victim's need to reach your server. So if you're on the LAN with the victim, then it'd need to be reachable from other machines on the LAN / subnet. If your target is remote, then obviously your box needs to be reachable from wherever the target is.
If you're out to try to 'exploit the world,' then you'd need to be on a publicly-visible IP address / webserver.
So for your specific requests:
Paragraph 1 - yes, in the sense that you'd create the page with Metasploit, then upload onto the server
Paragraph 2 - yes, unless you're up to some XSS or other attacks. But for your purpose, as explained in your post, for straight exploits on hosted pages, you'd exploit first, then place your code.
Paragraph 3 - Depends on the IP, and accessibility from the public side, that you have assigned to your Metasploit host machine.
In short, your post basically seems to ask if you could use MSF to create publicly-accessible and usable exploits, hosted on public websites.
Yep!
Also... (sorry for edits...)
As far as obtaining hosting space - nah. You could register your address with dyndns, port-forward from your router to your MSF box, and wholla! You're hosting a page, which you could either use directly, or link to from someone else's page.
«
Last Edit: October 16, 2011, 03:51:50 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
millwalll
Guest
Re: Expoits from a web page?
«
Reply #2 on:
October 17, 2011, 03:33:16 AM »
Agree for example you might have file upload that does not do any validation on the file.You can upload a reverse shell giving you access with nc .Then from this you can try find way to compromise the box this could be uploading additional exploits.
I does really depends on what web site and what is running.
Logged
SephStorm
Hero Member
Offline
Posts: 530
Re: Expoits from a web page?
«
Reply #3 on:
October 17, 2011, 10:00:58 AM »
Thanks guys, i'll have to look into this when I get back home, and can try this in the lab. Might have some more questions when I do.
Logged
Support my hactivities.
http://www.cafepress.com/TRUEHacker
Ignatius
Jr. Member
Offline
Posts: 91
Re: Expoits from a web page?
«
Reply #4 on:
October 17, 2011, 01:01:33 PM »
Quote from: SephStorm on October 17, 2011, 10:00:58 AM
Thanks guys, i'll have to look into this when I get back home, and can try this in the lab. Might have some more questions when I do.
Please feed back with your experience. This is something that I might also try in the lab.
Logged
ev0wpnz
Newbie
Offline
Posts: 5
Re: Expoits from a web page?
«
Reply #5 on:
November 08, 2011, 09:01:54 PM »
Attackers typically compromise sites and use something called an exploit kit. These 'kits' allow the attackers to try a variety of different browser/flash/pdf exploits against the target to get it to download malicious software.
Information about the current exploit packs can be found here:
http://contagiodump.blogspot.com/2010/06/overview-of-exploit-packs-update.html
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: Expoits from a web page?
«
Reply #6 on:
November 10, 2011, 06:25:51 PM »
Talking about Exploit Packs, check out this research:
http://forum.intern0t.net/offensive-guides-information/2189-paper-hacking-skiddies.html
I know it's old, but it's for example not only interesting to see so many share the same vulnerabilities, but also that most of them use the same code.
Logged
I'm an InterN0T'er
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
GAWN - GIAC Assessing Wireless Networks
: Karen Millen Dresses Things did improve as the decade gone on
(0) by
dtree70fx
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Programming
: Finished Python Course in Codecademy now what?
(11) by
securitian
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
Tutorials
: Need guidance
(8) by
r0ckm4n
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
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
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.