SlideShare a Scribd company logo
Web Hacking

       KSAJ Inc.
www.PENETRATIONTEST.com
HaX0rz Toolkit
Complicated ‘sploits that need a
Bachelor’s degree to understand and
use
Scripts in various languages and
syntaxes like C, PERL, gtk and bash
Automated scanning tools like nmap
and nessus
A web browser
A Web Browser?
Web surfing:
• Is easy to do,
• Is Operating System independent,
• Doesn’t require intimate knowledge of
  “the system”,
• Provides access to vast amounts of data
  and information,
• and topped off with all kinds of data
  mining tools
Web Features
Reverse phone number searches
Detailed address topological maps
Satellite photography of target area
Resumes
Phone and Email lists
Likely targets described in detail
Exploit information easy to obtain
Data aggregation makes it more serious
What We’ll Learn
Methods of Reconnaissance
The level of sensitive detail
companies and organizations leave
exposed to the Internet
The level of detail about specific
people on the Internet
The effect of data aggregation on
privacy
Where to start?
Search Engines are
one of the first things
people learn to use on
the Internet
Most use highly
effective search
algorithms to mine the
Internet
Most provide equally
advanced search
abilities to the user
allintitle:”Index of /admin”
Web hacking
• Here is a Google hit from MIT, pulled from the cache
• allintitle:”Index of /” site:mil
Web hacking
Web hacking
Web hacking
Web hacking
Web hacking
Web hacking
Sometimes it works when broken
From an allintitle:”Index of /admin”
search
Admin account had been patched
But the error information was pretty
interesting, too…
• Within the full page error report was:
   Full paths to libraries
   /home/faraway/opt/cancat/lib
   /usr/local/share/perl/5.6.1/Apache/ASP.pm
   /usr/local/lib/perl/5.6.1/DBD/mysql.pm
Search Engines
allintitle:”Index of /”
site:gov site:mil site:ztarget.com
filetype:doc filetype:pdf filetype:xls
[cached]        [view as html]
intitle:, inurl:, allinurl:
Filetypes include: pdf, ps, wk[12345], wki,
wks, wku, lwp, mw, xls, ppt, doc, wps,
wdb, wri, rtf, ans and txt
Other Interesting Searches
Far too many password files to bother
counting anymore
Access and error logs from a hotel chain
• Included booking information and how long
  customers were staying
• Some very well-known people had their full
  vacation schedules made available to the
  public
Military “Procedures and Practices”
Other Interesting Searches
allintitle:”Index of /” +confidential filetype:doc
 • A regulatory matters postal letter to an
    executive at a telecommunications
    commission, which contained competitor and
    specific revenue information, and made the
    following declaration:
     The release of such information on the public record
     would allow current and potential competitors to
     develop more effective business and marketing
     strategies…
Other Interesting Searches
Searches for WS_FTP.LOG give a rather
detailed list of files that are updated
regularly, and often provides internal
network IP information normally hidden
from the Internet
Name, job title, phone number, and email
address of mailroom staff at major
military sites
Inter-department electronic funds
transfers
Other Interesting Searches
robots.txt files tell search engines
“don’t look here”
World-readable and in a known
location so the search engines will
find it easily, and ignore confidential
or private directories
What do you find when you do look
in those directories?
Other Interesting Searches
Passive scanning for vulnerable
targets
Where to find targets:
• Search for phrases commonly found on
  web-based application interfaces (and
  especially their error messages)
• Sites like http://www.securityfocus.com
  – provide information that can be used
  to create search criteria
Web hacking
Web hacking
Web hacking
Web hacking
Unreported Vulnerabilities
Many vulnerabilities go unreported and
unfixed, despite how obvious they are
Example:
• HAMWeather is a weather software package
  that allows websites to provide accurate
  weather information. Geared towards news
  sites.
• Does not require authentication for any of its
  administrative processes
• Lets search for that administrative program…
Web hacking
Web hacking
Web hacking
Web hacking
Web hacking
Web hacking
More Web Hacking
Search engines are a treasure trove
of information
We’ve looked at general web search
engines, but let’s now look at more
information specific sites
• Administrative web servers
• Reconnaissance from the sky
• Proxies
Administrative Web Servers
Many devices come with web servers
enabled by default:

• Printers
• Routers and Switches
• Wireless Access Points
Printers on the Web?
Netcraft provides an ongoing tally of
web servers operating on the
Internet.
Can we find web based
administration?
Web hacking
Agranat-EmWeb
Several sites seem to have left
this particular printer wide open
Web hacking
Web hacking
Web hacking
Web hacking
Reconnaissance
We’ve seen a glimpse of various back
doors available to web browsers
Let’s turn the tables now, and talk
much closer to home
How much personal detail do we put
online for all to see?
Reconaissance
Web surfing habits
Cookies
Resumes
Web site histories (www.archive.org)
News group posts
Friends
Relatives
School archives
Maps
Web hacking
Web hacking
Web hacking
Web hacking
Web hacking
Web hacking
Web hacking
Web hacking
Final Thoughts
We have shown a few ways that a web
browser can be used to gather huge
amounts of target information, and a few
ways the web browser can be used to
exploit trivial vulnerabilities
There are many more online services like
the ones pointed out in this presentation
It is easy to collect and analyze this
information to produce thorough profiles
Thank You

    Karsten Johansson
        KSAJ Inc.
www.PENETRATIONTEST.com

More Related Content

PPT
MLA Plenary Session IV - Bart Ragon
PPTX
Datasets, APIs, and Web Scraping
PPTX
Introduction to shodan
PPT
AppSec 2007 - .NET Web Services Hacking
PPT
Application fuzzing
PPT
Web Scraping and Data Extraction Service
PDF
BlackHat USA 2013 Arsenal - Sparty : A FrontPage and SharePoint Security Audi...
DOCX
Muhammad Nazim Al Zafir resume
MLA Plenary Session IV - Bart Ragon
Datasets, APIs, and Web Scraping
Introduction to shodan
AppSec 2007 - .NET Web Services Hacking
Application fuzzing
Web Scraping and Data Extraction Service
BlackHat USA 2013 Arsenal - Sparty : A FrontPage and SharePoint Security Audi...
Muhammad Nazim Al Zafir resume

Viewers also liked (20)

DOCX
PPTX
Actividad n1 yoselin barrera
PPTX
Solamon energy epa recognizes hanscom office building for energy efficiency
PDF
freeCodeCampTokyoMeetup 17
PPTX
壹基金和阿里巴巴的那些事儿Final
PPTX
Workers' Compensation in Utah
PPTX
GUIDE TO E-LEARNING DESIGN FOR NON-DESIGNERS
PDF
Hoa quynh
PDF
BIMobject dkt oslo 2012
PPT
Sin and Salvation
PDF
Inland Technology General Profile 2016
PPTX
MA Research Methods 2: Working Practices
PDF
103845188 unidades-de-controle-na-parte-dianteira-do-veiculo-parte-2
PDF
Patterns for Cleaning Up Bug Data
PPTX
Fivekingdomclassification 110903031134-phpapp01
PPTX
Maquina virtual
PDF
golf clinic pacchetto vacanza hotel gianna madonna di campiglio
PDF
Freshwater Matters October2013
DOCX
pengajian islam
PPTX
Redis: no solo una caché
Actividad n1 yoselin barrera
Solamon energy epa recognizes hanscom office building for energy efficiency
freeCodeCampTokyoMeetup 17
壹基金和阿里巴巴的那些事儿Final
Workers' Compensation in Utah
GUIDE TO E-LEARNING DESIGN FOR NON-DESIGNERS
Hoa quynh
BIMobject dkt oslo 2012
Sin and Salvation
Inland Technology General Profile 2016
MA Research Methods 2: Working Practices
103845188 unidades-de-controle-na-parte-dianteira-do-veiculo-parte-2
Patterns for Cleaning Up Bug Data
Fivekingdomclassification 110903031134-phpapp01
Maquina virtual
golf clinic pacchetto vacanza hotel gianna madonna di campiglio
Freshwater Matters October2013
pengajian islam
Redis: no solo una caché

Similar to Web hacking (20)

PDF
Web hacking
PPTX
Lesson 6 web based attacks
PDF
OSINT for Attack and Defense
PPTX
Reconnaissance - For pentesting and user awareness
PDF
1. web technology basics
PPS
Information Gathering With Google
PPS
Information Gathering with Google (c0c0n - India)
PDF
What is web scraping?
PPTX
Module 3
PPTX
Eba ppt rajesh
PDF
IRJET - Review on Search Engine Optimization
PPT
Web Server Hardware and Software
PPT
Applciation footprinting, discovery and enumeration
PPTX
The Hacking Game - Think Like a Hacker Meetup 12072023.pptx
PPTX
10 Big Data Technologies you Didn't Know About
PDF
DEF CON 23 - BRENT - white hacking web apps wp
PPTX
Module 5 and 6
PDF
CNIT 129S: Ch 4: Mapping the Application
PDF
technical-information-gathering-slides.pdf
PPTX
freelancing
Web hacking
Lesson 6 web based attacks
OSINT for Attack and Defense
Reconnaissance - For pentesting and user awareness
1. web technology basics
Information Gathering With Google
Information Gathering with Google (c0c0n - India)
What is web scraping?
Module 3
Eba ppt rajesh
IRJET - Review on Search Engine Optimization
Web Server Hardware and Software
Applciation footprinting, discovery and enumeration
The Hacking Game - Think Like a Hacker Meetup 12072023.pptx
10 Big Data Technologies you Didn't Know About
DEF CON 23 - BRENT - white hacking web apps wp
Module 5 and 6
CNIT 129S: Ch 4: Mapping the Application
technical-information-gathering-slides.pdf
freelancing

Recently uploaded (20)

PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Cell Structure & Organelles in detailed.
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
master seminar digital applications in india
PDF
Classroom Observation Tools for Teachers
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Orientation - ARALprogram of Deped to the Parents.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
O7-L3 Supply Chain Operations - ICLT Program
FourierSeries-QuestionsWithAnswers(Part-A).pdf
O5-L3 Freight Transport Ops (International) V1.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Cell Structure & Organelles in detailed.
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Microbial diseases, their pathogenesis and prophylaxis
master seminar digital applications in india
Classroom Observation Tools for Teachers
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
A systematic review of self-coping strategies used by university students to ...
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Final Presentation General Medicine 03-08-2024.pptx

Web hacking

  • 1. Web Hacking KSAJ Inc. www.PENETRATIONTEST.com
  • 2. HaX0rz Toolkit Complicated ‘sploits that need a Bachelor’s degree to understand and use Scripts in various languages and syntaxes like C, PERL, gtk and bash Automated scanning tools like nmap and nessus A web browser
  • 3. A Web Browser? Web surfing: • Is easy to do, • Is Operating System independent, • Doesn’t require intimate knowledge of “the system”, • Provides access to vast amounts of data and information, • and topped off with all kinds of data mining tools
  • 4. Web Features Reverse phone number searches Detailed address topological maps Satellite photography of target area Resumes Phone and Email lists Likely targets described in detail Exploit information easy to obtain Data aggregation makes it more serious
  • 5. What We’ll Learn Methods of Reconnaissance The level of sensitive detail companies and organizations leave exposed to the Internet The level of detail about specific people on the Internet The effect of data aggregation on privacy
  • 6. Where to start? Search Engines are one of the first things people learn to use on the Internet Most use highly effective search algorithms to mine the Internet Most provide equally advanced search abilities to the user
  • 9. • Here is a Google hit from MIT, pulled from the cache
  • 10. • allintitle:”Index of /” site:mil
  • 17. Sometimes it works when broken From an allintitle:”Index of /admin” search Admin account had been patched But the error information was pretty interesting, too… • Within the full page error report was: Full paths to libraries /home/faraway/opt/cancat/lib /usr/local/share/perl/5.6.1/Apache/ASP.pm /usr/local/lib/perl/5.6.1/DBD/mysql.pm
  • 18. Search Engines allintitle:”Index of /” site:gov site:mil site:ztarget.com filetype:doc filetype:pdf filetype:xls [cached] [view as html] intitle:, inurl:, allinurl: Filetypes include: pdf, ps, wk[12345], wki, wks, wku, lwp, mw, xls, ppt, doc, wps, wdb, wri, rtf, ans and txt
  • 19. Other Interesting Searches Far too many password files to bother counting anymore Access and error logs from a hotel chain • Included booking information and how long customers were staying • Some very well-known people had their full vacation schedules made available to the public Military “Procedures and Practices”
  • 20. Other Interesting Searches allintitle:”Index of /” +confidential filetype:doc • A regulatory matters postal letter to an executive at a telecommunications commission, which contained competitor and specific revenue information, and made the following declaration: The release of such information on the public record would allow current and potential competitors to develop more effective business and marketing strategies…
  • 21. Other Interesting Searches Searches for WS_FTP.LOG give a rather detailed list of files that are updated regularly, and often provides internal network IP information normally hidden from the Internet Name, job title, phone number, and email address of mailroom staff at major military sites Inter-department electronic funds transfers
  • 22. Other Interesting Searches robots.txt files tell search engines “don’t look here” World-readable and in a known location so the search engines will find it easily, and ignore confidential or private directories What do you find when you do look in those directories?
  • 23. Other Interesting Searches Passive scanning for vulnerable targets Where to find targets: • Search for phrases commonly found on web-based application interfaces (and especially their error messages) • Sites like http://www.securityfocus.com – provide information that can be used to create search criteria
  • 28. Unreported Vulnerabilities Many vulnerabilities go unreported and unfixed, despite how obvious they are Example: • HAMWeather is a weather software package that allows websites to provide accurate weather information. Geared towards news sites. • Does not require authentication for any of its administrative processes • Lets search for that administrative program…
  • 35. More Web Hacking Search engines are a treasure trove of information We’ve looked at general web search engines, but let’s now look at more information specific sites • Administrative web servers • Reconnaissance from the sky • Proxies
  • 36. Administrative Web Servers Many devices come with web servers enabled by default: • Printers • Routers and Switches • Wireless Access Points
  • 37. Printers on the Web? Netcraft provides an ongoing tally of web servers operating on the Internet. Can we find web based administration?
  • 40. Several sites seem to have left this particular printer wide open
  • 45. Reconnaissance We’ve seen a glimpse of various back doors available to web browsers Let’s turn the tables now, and talk much closer to home How much personal detail do we put online for all to see?
  • 46. Reconaissance Web surfing habits Cookies Resumes Web site histories (www.archive.org) News group posts Friends Relatives School archives Maps
  • 55. Final Thoughts We have shown a few ways that a web browser can be used to gather huge amounts of target information, and a few ways the web browser can be used to exploit trivial vulnerabilities There are many more online services like the ones pointed out in this presentation It is easy to collect and analyze this information to produce thorough profiles
  • 56. Thank You Karsten Johansson KSAJ Inc. www.PENETRATIONTEST.com