middleware hacking

18
Hello From $3cur! tyB3@t

Upload: nullowaspmumbai

Post on 16-Apr-2017

123 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Middleware hacking

Hello From

$3cur!tyB3@t

Page 2: Middleware hacking

Agenda• what is Middleware?• Vendors for Middleware?• Where it stands in a picture?• Types of Middleware?• Vulnerabilities in Middleware?• Importance of middleware patching?

Page 3: Middleware hacking

What is Middleware ?

 What is Middleware?Middleware is the software that connects software components or enterprise applications. Middleware is the software layer that lies between the operating system and the applications on each side of a distributed computer network Typically, it supports complex, distributed business software applications.

https://docs.oracle.com/cd/E15523_01/core.1111/e10103/intro.htm#BABEICDD

Servers / Client This is middleware in my understanding..

Page 4: Middleware hacking

Vendors for Middleware?

Page 5: Middleware hacking

Where Middleware stands in picture

MIDDLEWARE

APP 1

APP 2

DATABASE

Page 6: Middleware hacking

Where Middleware stands in picture

KERNEL

Network OS Service

Middleware

Distributed Application APP Server 1

APP Server 2APP Server 3

Page 7: Middleware hacking

Types of Middleware?

OBJECT Oriented Middleware

RPC (remote procedure call)

MOM Message oriented Middleware

Event based Middleware

Page 8: Middleware hacking

RPC (remote procedure call)

http://p.motionelements.com/stock-video/nature/me705539-inside-mcdonald-s-restaurant-hd-a0252.jpg

Page 9: Middleware hacking

RPC (remote procedure call)

APPLICATION CALL(function)

CLIENT STUBmarshalling

(network portable format)

RPC RPC

SERVER STUBunmarshalling

Function execute and result

PROS* Distributed application* can call any function from anywhere

CONS• Platform Dependent• Language Dependent

RPC

Page 10: Middleware hacking

RPC call

APP 1APP 2

Live Example RPC

Page 11: Middleware hacking

OBJECT Oriented Middleware (ORB)CORBA The Common Object Request Broker Architecture

Page 12: Middleware hacking

OBJECT Oriented Middleware (ORB)CORBA The Common Object Request Broker Architecture BY OMG Group

PROS• Platform Independent• Language Independent • ORB :- Object request broker• IIOP :- internet inter operable protocol.

APPLICATION CALL(function)

CLIENT STUB

ORB ORB

Skeleton

Function execute and result

IIOP :- internet inter operable protocol.

IDL

Page 13: Middleware hacking

Live Example ORB

Page 14: Middleware hacking

COM/DCOM

PROS

• MSIDL:- Microsoft IDL• DCE-RCP :-distributed computing Env-R.

CLIENT

Proxy

COM runtime lib in windows NT

COM runtime lib in windows NT

STUB

Function execute and result

DCE-RPC

Component object module and distributed component Object Module

MSIDL

Page 15: Middleware hacking

Enterprise JAVA BeanJAVA RMI (Remote Method Invocation)

PROS• Platform Independent • JAVA RMI .

WEB Browser

WEB APP

RMI registry/ JVM RMI registry/ JVM

JDBC

DATABASEIDL

RMI-IIOP

Page 16: Middleware hacking

Vulnerabilities in Middleware

ISSUES• OVERFLOWS• WEB Application TOP 10• Architecture flow• Say No to Scanner’s

Page 17: Middleware hacking

Importance of middleware patching?

Page 18: Middleware hacking

Thank You…!