OWASP LA – SharePoint Hacking – 22Feb2012 – Slides.PDF
The document presents advanced security tips and tools for Microsoft SharePoint, detailing key components and potential security risks. It emphasizes the importance of being aware of external exposures, managing user permissions, and the risks associated with third-party plugins. Additionally, it provides backup strategies for securing SharePoint environments.
OWASP LA – SharePoint Hacking – 22Feb2012 – Slides.PDF
1.
SharePoint Security
Advanced SharePointSecurity Tips and Tools
22 Feb 2012 – OWASP L.A. 2012 – Los Angeles, CA
Presented by:
Francis Brown
Stach & Liu, LLC
www.stachliu.com
2.
Agenda
2
• Brief Introto SharePoint
• Overview of Major Components
• SharePoint Security
• Security Tips and Tools
O V E R V I E W
WikiLeaks and SharePoint
RI S K O F E X P O S U R E
14
• Wget scripts targeting SharePoint downloads
• 250,000 government cables sent to WikiLeaks
15.
Security Tips
15
S HA R E P O I N T S E C U R I T Y
# Security Tip
1 Know your external exposure…
2 Beware of normal users with excessive access…
3 Spot check user permissions and inheritance…
4 Beware third-party plugins/code…BUT not too much…
5 Backup every which way from Sunday…
…
External Exposure
F IN D I N G H O L E S
17
1. “Google Hack yourself”
1. Search Google for exposed SharePoint admin pages
2. E.g. inurl:"/_catalogs/wt/“
3. NEW: SharePoint Google Regexs for S&L SearchDiggity – 121 queries
4. Coming Soon: SharePoint Bing Dictionary
5. SHODAN searching for SharePoint servers
6. SharePoint Hacking Alerts
2. SharePoint URL Brute-forcing
1. Forceful browse to common SharePoint extensions to test access
2. NEW: Tool to bruteforce SharePoint URLs – 101 known extensions
3. Nmap for other SharePoint administrative apps
1. E.g. Central Administration, Shared Service Providers (SSP)
Excessive User Access
MO R E T H A N Y O U B A R G A I N E D F O R . . .
28
• Web Services examples
• Admin.asmx
• Permissions.asmx
• User Administration examples
• “People and Groups”
• ”Add Users”
• “PeoplePicker”
29.
DEMO
C O NT I N U E D S H A R E P O I N T H A C K I N G
29
Security Tip #4
40
BE W A R E T H I R D - P A R T Y C O D E… N O T T O O M U C H
41.
Third-Party Plugins
N EC E S S A R Y E V I L
41
• SharePoint without third-party plugins is
like an iPhone with no apps
• Solutions, Features
• Web Parts, Templates
• If too strict, people will circumvent you
• Leads to rogue SharePoint deployments
42.
Detect Rogue SharePoint
RO G U E D E P L O Y M E N T S
42
Quest Software - Server Administrator for SharePoint
43.
Detect Rogue SharePoint
RO G U E D E P L O Y M E N T S
43
McAfee - Network Discovery for Microsoft SharePoint
Backups
M A NY M E T H O D S … M O S T T E R R I B L E
51
1. Microsoft System Center: Data Protection Manager
2. Windows 2003/2008 Server backups
3. Stsadm.exe cmdline tool backups
4. Central Administration v3 backups
5. SharePoint Designer backups
6. Site and List template backups
7. Raw MS SQL database backups
Questions?
Ask us something
We’lltry to answer it.
For more info:
Email: contact@stachliu.com
Project: diggity@stachliu.com
Stach Liu, LLC
www.stachliu.com
58.
Thank You
58
Stach Liu SharePoint Hacking Diggity Project info:
http://www.stachliu.com/index.php/resources/tools/sharepoint-hacking-diggity-project/