Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

13
Invest in security to secure investments Arch bugs in SAP Software Deployment Manager Evgeny Neyolov feat. Dmitry Chastuhin ERP Security Analyst

description

 

Transcript of Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

Page 1: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

Invest in securityto secure investments

Arch bugs in SAP Software Deployment Manager

Evgeny Neyolov feat. Dmitry ChastuhinERP Security Analyst

Page 2: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SAP NetWeaver Development Infrastructure

• Design Time Repository (DTR)• Component Build Service (CBS)• Change Management Service (CMS)• Software Landscape Directory (SLD) / NS• Software Deployment Manager (SDM)

erpscan.com 2ERPScan — invest in security to secure investments

Page 3: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SAP NetWeaver Development Infrastructure

erpscan.com 3ERPScan — invest in security to secure investments

Page 4: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SAP NetWeaver Development Infrastructure

erpscan.com 4ERPScan — invest in security to secure investments

Page 5: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SAP NetWeaver Development Infrastructure

erpscan.com 5ERPScan — invest in security to secure investments

Page 6: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SAP NetWeaver Development Infrastructure

erpscan.com 6ERPScan — invest in security to secure investments

Page 7: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SAP NetWeaver Development Infrastructure

erpscan.com 7ERPScan — invest in security to secure investments

Page 8: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SAP NetWeaver Development Infrastructure

erpscan.com 8ERPScan — invest in security to secure investments

Page 9: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

Software Deployment Manager

• Single interface for the deployment• Deploy apps (*.ear, *.war, *.sda)• Implement custom patches• only one user at time• only hardcoded admin user

9erpscan.com ERPScan — invest in security to secure investments

Page 10: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SDM + UME = Love

• User Management Engine• affects almost all SAP-Java-stuff

10erpscan.com ERPScan — invest in security to secure investments

Page 11: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SDM Attack Intro

• thick client Java application (sad story)• SAP has own SAP Java Virtual Machine (JVM)• Java 6 has Attach API• attaching to another JVM at runtime• intercept and modify calls

11erpscan.com ERPScan — invest in security to secure investments

Page 12: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

SDM Post Exploitation

12erpscan.com ERPScan — invest in security to secure investments

Page 13: Evgeny Neyolov - Dev system hacking — arch bugs in SAP SDM

Post Exploitation

13erpscan.com ERPScan — invest in security to secure investments