This repository has been archived by the owner on Sep 15, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
README
120 lines (96 loc) · 5.05 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
-------------------------------------------------
Sparty - Sharepoint/Frontpage Auditing Tool !
Authored by: Aditya K Sood |{0kn0ck}@secniche.org | 2013
Twitter: @AdityaKSood
Powered by: SecNiche Security Labs !
------------------------------------------------
Sparty is an open source tool written in python to audit web applications using sharepoint and frontpage architecture. The motivation behind this tool is to provide an easy and robust way to scrutinize the security configurations of sharepoint and frontpage based web applications. Due to the complex nature of these web administration software, it is required to have a simple and efficient tool that gathers information, check access permissions, dump critical information from default files and perform automated exploitation if security risks are identified. A number of automated scanners fall short of this and Sparty is a solution to that.
-----------------------------------
Functionalities and capabilities !
-----------------------------------
1. Sharepoint and Frontpage Version Detection!
2. Dumping Password from Exposed Configuration Files!
3. Exposed Sharepoint/Frontpage Services Scan!
4. Exposed Directory Check!
5. Installed File and Access Rights Check!
6. RPC Service Querying!
7. File Enumeration!
8. File Uploading Check!
-----------------------------------------------
Additional notes about working and design
----------------------------------------------
1. This version of sparty is written in Python 2.6 (final) running on backtrack 5.0.
2. This version (v 0.1) primarily includes assessment of configuration flaws.
3. This version is based on the practical testing and assessment of frontpage & sharepoint.
----------------------------------------------
Requirements
----------------------------------------------
1. This version uses following libraries:
import urllib2
import re
import os, sys
import optparse
import httplib
2. Python 2.6 is required.
-----------------------------------------------
[+] Things to take care of while using sparty !
-----------------------------------------------
Please take this into consideration:
1. Always specify https | http explcitly !
2. Always provide the proper directory structure where sharepoint/frontpage is installed !
3. Do not specify '/' at the end of url !
--------------------------
[+] Sparty Help
--------------------------
---------------------------------------------------------------
_|_|_| _|_|_| _|_| _|_|_| _|_|_|_|_| _| _|
_| _| _| _| _| _| _| _| _| _|
_|_| _|_|_| _|_|_|_| _|_|_| _| _|
_| _| _| _| _| _| _| _|
_|_|_| _| _| _| _| _| _| _|
SPARTY : Sharepoint/Frontpage Security Auditing Tool!
Authored by: Aditya K Sood |{0kn0ck}@secniche.org | 2013
Twitter: @AdityaKSood
--------------------------------------------------------------
Usage: sparty.py [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
Frontpage::
-f FRONTPAGE, --frontpage=FRONTPAGE
<FRONTPAGE = pvt | bin> -- to check access permissions
on frontpage standard files in vti or bin directory!
Sharepoint::
-s SHAREPOINT, --sharepoint=SHAREPOINT
<SHAREPOINT = forms | layouts | catalog> -- to check
access permissions on sharepoint standard files in
forms or layouts or catalog directory!
Mandatory::
-u URL, --url=URL target url to scan with proper structure
Information Gathering and Exploit::
-v FINGERPRINT, --http_fingerprint=FINGERPRINT
<FINGERPRINT = ms_sharepoint | ms_frontpage> --
fingerprint sharepoint or frontpage based on HTTP
headers!
-d DUMP, --dump=DUMP
<DUMP = dump | extract> -- dump credentials from
default sharepoint and frontpage files (configuration
errors and exposed entries)!
-l DIRECTORY, --list=DIRECTORY
<DIRECTORY = list | index> -- check directory listing
and permissions!
-e EXPLOIT, --exploit=EXPLOIT
EXPLOIT = <rpc_version_check | file_upload |
config_check> -- exploit vulnerable installations by
checking RPC querying and file uploading
-i SERVICES, --services=SERVICES
SERVICES = <serv | services> -- checking exposed
services !
services !
Authentication [devalias.net]:
-a AUTHENTICATION, --auth-type=AUTHENTICATION
AUTHENTICATION = <ntlm> -- Authenticate with NTLM
user/pass !
General::
-x EXAMPLES, --examples=EXAMPLES
running usage examples !