Your SlideShare is downloading. ×
0
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
IronSAP
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

IronSAP

1,021

Published on

IronSAP is a OpenSource Security scanner for testing SAP platforms.

IronSAP is a OpenSource Security scanner for testing SAP platforms.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,021
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. IronSAP
  • 2. Who Am iPrasanna KanagasabaiWork @ MNC in Bangalore IndiaPen tester in the DAY, Programmer by NIGHT@prasannain
  • 3. ScenarioMy BOSS wants me to test our internal SAP servers and report findings…PROBLEMI have never seen a SAP systemI have no knowledge of SAP vulnerabilitiesWere is the documents availablePeople who deploy and maintain SAP have poor knowledge ofsecurity
  • 4. SolutionDownload documents on SAP from various sites.Understand the architectureUnderstand SAP security vulnerabilitiesTest each vulnerabilities manuallyTry some of the Open Source SAP testing tools:1. Bizsploit (http://www.onapsis.com/research-free-solutions.php)2. Metasploit Modules (http://labs.mwrinfosecurity.com/blog/2012/04/27/mwr-sap-metasploit- modules/)3. ERPScans SAP Pentesting Tool (http://erpscan.com/products/erpscan-pentesting-tool/)Buy and run a commercial SAP security scanner
  • 5. This was case till today
  • 6. Fortunately it changes tomorrow Introducing "IronSAP" Open Source SAP Security Scanner
  • 7. Identification via bannerServer Header could provide information what the underlying infrastructure is hosted on “Server: SAP J2EE Engine/7.00”Sap systems are no differentIronWASP has a passive plug-in that automatically picks these and raises it as a finding
  • 8. Error MessagesSAP Error messages could revel a big deal of critical information. “Errorcode: ICF-NF-http-XXXX_EAZ_00-…………”XXXX -- > HostnameEAZ -- > SAPSID00 -- > System NumberIronSAP can detect this information, it will raise a finding with the pages and critical information found
  • 9. ICFThere are 1500 ICF services that are shippedThey behave like any normal server side pages do.They receive web input, process, and output the resultsServices are divided into Public Services Private Services
  • 10. ICFPublic services are responded without any authenticationPrivate services can request authentication as configured…Most services require authentication
  • 11. ICF & IronSAPIronSAP can find all the services that respond to a request. (200 OK)If the response was 200 it continues to check If it is a login page or has some interesting contentIf login is Basic authentication it launches a brute force attack.Automatically checks all HTTP(s) ports and finds interesting pages.
  • 12. ICF - Info ServiceA dangerous Public ICF serviceFound @ /sap/public/infoReturns SAP internal information as a XMLironSAP: Icf Finger printer scans and finds the info service and raises a finding in the system.
  • 13. ICF 2 – SOAP RFCRFC is a protocol to call ABAP programsNot available on the internetICF service allows access to the underlying RFCIf enabled the malicious user can run RFC programs as present in the local networkIronSAP: fingerprint finds presence of this ICF service and raises the finding.
  • 14. Admin PagesSAP has web administration page that has in store real time information on SAP infrastructure.Can be found without authenticationIronSAP: fingerprint finds presence of this ICF service and raises the finding
  • 15. Verb TamperingWeb.xml defines if a request should challenge a with a authentication for a given HTTP methodA faulty implementation can allow a user to bypass the authentication.IronSAP: attempts to access the resource using “HEAD” for all requests that challenged with a request, records positive outcome.
  • 16. REMOTE_USERSAP EP can use web access manger for authenticationThe user contacts the WAM with his credentialsThe WAM verifies his identityThe WAM forwards the user to the SAP EP with a HTTP header with the username of the successful logged in userEP checks its database if the user existsEP sets the SSO logged in cookie
  • 17. REMOTE_USERThe problem is if a request is sent to the SAP EP with the correct header a user could be logged in without having credentials.IronSAP: on finding a portal login it would try to login to the system with different users in REMOTE_USER header.
  • 18. SAP Start ServiceSAP management Console found on the SAP system on port 5<instance id>13/14Installed by DefaultRemote management of usersInformation DisclosureNo or basic AuthenticationIronSAP: Queries this web service and retrieves the information from the SAP system and raises the finding
  • 19. Next For IronSAPDatabase SecurityRFCSAP Client attacksSAP TransactionsPasswordsABAP
  • 20. Thank YouIronSAP automates the process discovery of theSAP attacks found by the following researchers:Mariano Nuñez DiCroceChris John RileyAlexander PolyakovDave HartleyI would also like to thank:Lavakumar (Author of IronWASP)Pavan Kumar (I bugged him nearly every night for information on SAP)Garrage4Hackers (I got a lot of resources from here)
  • 21. Prasanna KanagasabaiPrasanna.in@gmail.com@prasannain

×