[460] 2015-03-26_ASLRDEP绕过技术概览

文档创建者:s7ckTeam
浏览次数:2
最后更新:2025-01-16
2015-03-26_ASLRDEP绕过技术概览 A S L R / D E P w i n s 0 n   A r k T e a m   2 0 1 5 - 0 3 - 2 6 E I P 0 x 7 F F A 4 5 1 2 J M P   E S P J M P   E S P E S P S h e l l c o d e S h e l l c o d e E I P D E P D a t a E x e c u t i o n   P r e v e n t i o n   D E P R O P R e t u r n O r i e n t e d   P r o g r a m m i n g R e t 2 L i b c R O P   G a d g e t R O P   G a d g e t r e t n G a d g e t V i r t u a l P r o t e c t G a d g e t
A S L R A S L R A d d r e s s S p a c e   L a y o u t   R a n d o m i z a t i o n A S L R 使 使 A S L R A S L R P E I M A G E _ D L L _ C H A R A C T E R I S T I C S _ D Y N A M I C _ B A S E A S L R V i s u a l   S t u d i o 使 A S L R A S L R 1 .   P E O l l y d b g
2 .   3 .   P E B / T E B W i n d o w s   X P   S P 2 P E B T E B P E B T E B f s T E B F S   :   [ 1 8 h ] P E B T E B 3 0 h A S L R 1 .   A S L R A S L R   R O P G a d g e t A S L R G a d g e t 使 O D O l l y F i n d A d d r A S L R 2 .   H e a p S p r a y H e a p S p r a y S h e l l C o d e 0 x 0 C 0 C 0 C 0 C H e a p S p r a y 使 R O P D E P 使 A S L R H e a p S p r a y S h e l l C o d e 3 .   0 x 1 2 3 4 5 6 7 8 5 6 7 8 m e m c p y
0 x 1 2 3 4 0 0 0 0   ~   0 x 1 2 3 4 F F F F s t r c p y s t r c p y 0 x 0 0 0 x 1 2 3 4 5 6 7 8 0 x 1 2 3 4 5 6 0 0 0 x 1 2 3 4 0 0 0 1 ~   0 x 1 2 3 4 0 0 F F 使 C o o k i e 4 .   J a v a   A p p l e t   S p r a y J a v a   A p p l e t P A G E _ E X E C U T E _ R E A D W R I T E H e a p S p r a y ( N O P ) S h e l l C o d e H e a p S p r a y A p p l e t 1 0 0 M B H e a p S p r a y 1 G B 5 .   J I T   S p r a y J I T   ( J u s t   I n T i m e   C o m p i l a t i o n )   P y t h o n   A c t i o n S c r i p t X O R F l a s h   V M X o r v a r   y = ( 0 x 1 1 2 2 3 3 4 4 ^ 0 x 4 4 3 3 2 2 1 1 ^ 0 x 4 4 3 3 2 2 1 ) ; J I T P o i n t e r I n f e r e n c e   a n d   J I T   S p r a y i n g W r i t i n g   J I T - S p r a y   s h e l l c o d e   f o r   f u n   a n d   p r o f i t 6 .   T o m b k e e p e r C a n S e c W e s t   2 0 1 3 S h a r e d U s e r D a t a W i n d o w s   N T   4 W i n d o w s   8 S h a r e d U s e r D a t a 0 x 7 f f e 0 0 0 0   W R K n t i 3 8 6 . h n t a m d 6 4 . h # d e f i n e   M M _ S H A R E D _ U S E R _ D A T A _ V A   0 x 7 F F E 0 0 0 0 x 8 6   W i n d o w s W i n d b g 0 : 0 0 1 >   d t   _ K U S E R _ S H A R E D _ D A T A   S y s t e m C a l l 0 x 7 f f e 0 0 0 0 n t d l l ! _ K U S E R _ S H A R E D _ D A T A + 0 x 3 0 0   S y s t e m C a l l   :   0 x 7 7 4 3 6 4 f 0 0 x 7 f f e 0 3 0 0 K i F a s t S y s t e m C a l l 0 : 0 0 1 >   u f   p o i ( 0 x 7 f f e 0 3 0 0 ) n t d l l ! K i F a s t S y s t e m C a l l : 7 7 4 3 6 4 f 0   8 b d 4   m o v   e d x , e s p 7 7 4 3 6 4 f 2   0 f 3 4   s y s e n t e r 7 7 4 3 6 4 f 4   c 3   r e t N t U s e r L o c k W o r k S t a t i o n 7 f f e 0 3 0 0
0 : 0 0 1 >   u f   U S E R 3 2 ! N t U s e r L o c k W o r k S t a t i o n U S E R 3 2 ! N t U s e r L o c k W o r k S t a t i o n : 7 5 f 7 0 f a d   b 8 e 6 1 1 0 0 0 0   m o v   e a x , 1 1 E 6 h 7 5 f 7 0 f b 2   b a 0 0 0 3 f e 7 f   m o v   e d x , o f f s e t   S h a r e d U s e r D a t a ! S y s t e m C a l l S t u b   ( 7 f f e 0 3 0 0 ) 7 5 f 7 0 f b 7   f f 1 2   c a l l   d w o r d   p t r   [ e d x ] 7 5 f 7 0 f b 9   c 3   r e t 1 1 E 6 N t U s e r L o c k W o r k S t a t i o n S h a d o w S S D T 0 x 0 1 E 6 X u e t r ( S S D T   /   S h a d o w   S S D T ) E A X E I P x 8 6   W i n d o w s 6 4 W i n d o w s 0 x 7 f f e 0 3 5 0 n t d l l ! L d r H o t P a t c h R o u t i n e H o t P a t c h B u f f e r s t r u c t   H o t P a t c h B u f f e r   { U L O N G   N o t S o S u r e 0 1 ;   / /   & 0 x 2 0 0 0 0 0 0 0   ! =   0 U L O N G   N o t S o S u r e 0 2 ; U S H O R T   P a t c h e r N a m e O f f s e t ;   / /   U S H O R T   P a t c h e r N a m e L e n ; U S H O R T   P a t c h e e N a m e O f f s e t ; U S H O R T   P a t c h e e N a m e L e n ; U S H O R T   U n k n o w n N a m e O f f s e t ; U S H O R T   U n k n o w n N a m e L e n } ; L d r H o t P a t c h R o u t i n e v o i d   L d r H o t P a t c h R o u t i n e   ( s t r u c t   * H o t P a t c h B u f f e r ) ; H o t P a t c h B u f f e r L d r H o t P a t c h R o u t i n e D L L D L L D L L H e a p S p r a y D L L 6 4 3 2 W i n d o w s   8 1 .   0 D a y * 2 .   P o i n t e r   I n f e r e n c e   a n d   J I T   S p r a y i n g   h t t p : / / w w w . s e m a n t i s c o p e . c o m / r e s e a r c h / B H D C 2 0 1 0 / B H D C - 2 0 1 0 - P a p e r . p d f 3 .   W r i t i n g   J I T - S p r a y   s h e l l c o d e   f o r   f u n   a n d p r o f i t   h t t p : / / d s e c r g . c o m / f i l e s / p u b / p d f / W r i t i n g % 2 0 J I T - S p r a y % 2 0 S h e l l c o d e % 2 0 f o r % 2 0 f u n % 2 0 a n d % 2 0 p r o f i t . p d f h t t p : / / b b s . p e d i y . c o m / s h o w t h r e a d . p h p ? t = 1 0 8 8 6 1 4 .   D E P - A S L R   b y p a s s   w i t h o u t   R O P - J I T h t t p : / / c a n s e c w e s t . c o m / s l i d e s / 2 0 1 3 / D E P - A S L R % 2 0 b y p a s s % 2 0 w i t h o u t % 2 0 R O P - J I T . p d f 1 .   A r k T e a m A r k T e a m
2 .   A r k T e a m A r k T e a m h t t p : / / w w w . w e i b o . c o m / a r k t e a m
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则