[16533] 2021-03-09_安全研究使用ScareCrow框架实现EDR绕过

文档创建者:s7ckTeam
浏览次数:3
最后更新:2025-01-18
2021-03-09_安全研究使用ScareCrow框架实现EDR绕过   |   使 S c a r e C r o w E D R A l p h a _ h 4 c k   F r e e B u f   2 0 2 1 - 0 3 - 0 9 S c a r e C r o w S c a r e C r o w P a y l o a d 广 W i n d o w s D L L 使 E D R D L L E D R S c a r e C r o w 使 A P I V i r t u a l P r o t e c t D L L E x e c u t e - R e a d R e a d - W r i t e - E x e c u t e S c a r e C r o w C : W i n d o w s S y s t e m 3 2 D L L D L L E D R 使 E D R S c a r e C r o w D L L D L L . t e x t D L L E D R 使 S c a r e C r o w 使 V i r t u a l P r o t e c t . t e x t D L L S c a r e C r o w s h e l l c o d e S c a r e C r o w E D R E v e n t   T r a c i n g   f o r   W i n d o w s E T W V i r t u a l P r o t e c t E D R E D R V i r t u a l P r o t e c t N t P r o t e c t V i r t u a l M e m o r y S c a r e C r o w G o l a n g S c a r e C r o w s h e l l c o d e s h e l l c o d e 使 A E S s h e l l c o d e S c a r e C r o w D L L D L L D L L D L L m a i n D L L S c a r e C r o w 使 使 使 S c a r e C r o w 使 G o l i m e l i g h t e r p f x 1 2 使 使 使 s y s o s y s o s y s o S c a r e C r o w 使
g o S c a r e C r o w 使 c - s h a r e d D L L D L L B a s e 6 4 访 S c a r e C r o w g i t   c l o n e   h t t p s : / / g i t h u b . c o m / o p t i v / S c a r e C r o w . g i t g o   g e t   g i t h u b . c o m / f a t i h / c o l o r g o   g e t   g i t h u b . c o m / y e k a / z i p g o   g e t   g i t h u b . c o m / j o s e p h s p u r r i e r / g o v e r s i o n i n f o o p e n s s l o s s l s i g n c o d e m i n g w - w 6 4 g o   b u i l d   S c a r e C r o w . g o . / S c a r e C r o w   - h     _ _ _ _ _ _ _ _ _                                                       _ _ _ _ _ _ _ _ _                                                 /       _ _ _ _ _ /   _ _ _ _   _ _ _ _ _   _ _ _ _ _ _ _       _ _ _ _   _       _ _ _   _ _ _ _ _ _ _     _ _ _ _ _ _     _     _ _   _ _ _ _ _     _ /   _ _ _ _ _     _     _ _   _ /   _ _   /             / _     _ _   /     _     /   /   /   /                     _ _ _   /   _ _   |     |   /     _ _ _ /           _ _ _ _ |     |   (     < _ >   )           / / _ _ _ _ _ _ _     / _ _ _     > _ _ _ _     / _ _ |         _ _ _     > _ _ _ _ _ _     / | _ _ |       _ _ _ _ /   / _ /                     /           /           /                         /                 /                                                                                                                                                             ( @ T y l 0 u s )                 F e a r ,   y o u   m u s t   u n d e r s t a n d   i s   m o r e   t h a n   a   m e r e   o b s t a c l e .                 F e a r   i s   a   T E A C H E R .   t h e   f i r s t   o n e   y o u   e v e r   h a d . U s a g e   o f   . / S c a r e C r o w :     - I   s t r i n g                 P a t h   t o   t h e   r a w   6 4 - b i t   s h e l l c o d e .
S c a r e C r o w     - L o a d e r   s t r i n g                 S e t s   t h e   t y p e   o f   p r o c e s s   t h a t   w i l l   s i d e l o a d   t h e   m a l i c i o u s   p a y l o a d :                 [ * ]   b i n a r y   -   G e n e r a t e s   a   b i n a r y   b a s e d   p a y l o a d .   ( T h i s   t y p e   d o e s   n o t   b e n f i t   f r o m   a n y   s i d e l o a d i n g )                 [ * ]   c o n t r o l   -   L o a d s   a   h i d d e n   c o n t r o l   a p p l e t   -   t h e   p r o c e s s   n a m e   w o u l d   b e   r u n d l l 3 2 .                 [ * ]   d l l   -   G e n e r a t e s   j u s t   a   D L L   f i l e .   C a n   e x e c u t e d   w i t h   c o m m a n d s   s u c h   a s   r u n d l l 3 2   o r   r e g s v r 3 2   w i t h   D l l R e g i s t e r S e r v e r ,   D l l G e t C l a s s O b j e c t   a s   e x p o r t   f u n c t i o n s .                 [ * ]   e x c e l   -   L o a d s   i n t o   a   h i d d e n   E x c e l   p r o c e s s .                 [ * ]   w s c r i p t   -   L o a d s   i n t o   W S c r i p t   p r o c e s s .                   ( d e f a u l t   " d l l " )     - O   s t r i n g                 N a m e   o f   o u t p u t   f i l e   ( e . g .   l o a d e r . j s   o r   l o a d e r . h t a ) .   I f   L o a d e r   i s   s e t   t o   d l l   o r   b i n a r y   t h i s   o p t i o n   i s   n o t   r e q u i r e d .     - c o n s o l e                 O n l y   f o r   B i n a r y   P a y l o a d s   -   G e n e r a t e s   v e r b o s e   c o n s o l e   i n f o r m a t i o n   w h e n   t h e   p a y l o a d   i s   e x e c u t e d .   T h i s   w i l l   d i s a b l e   t h e   h i d d e n   w i n d o w   f e a t u r e .     - d e l i v e r y   s t r i n g                 G e n e r a t e s   a   o n e - l i n e r   c o m m a n d   t o   d o w n l o a d   a n d   e x e c u t e   t h e   p a y l o a d   r e m o t e l y :                 [ * ]   b i t s   -   G e n e r a t e s   a   B i t s a d m i n   o n e   l i n e r   c o m m a n d   t o   d o w n l o a d ,   e x e c u t e   a n d   r e m o v e   t h e   l o a d e r .                 [ * ]   h t a   -   G e n e r a t e s   a   b l a n k   h t a   f i l e   c o n t a i n i n g   t h e   l o a d e r   a l o n g   w i t h   a   M S H T A   c o m m a n d   t o   e x e c u t e   t h e   l o a d e r   r e m o t e l y   i n   t h e   b a c k g r o u n d .                 [ * ]   m a c r o   -   G e n e r a t e s   a n   O f f i c e   m a c r o   t h a t   w i l l   d o w n l o a d   a n d   e x e c u t e   t h e   l o a d e r   r e m o t e l y .     - d o m a i n   s t r i n g                 T h e   d o m a i n   n a m e   t o   u s e   f o r   c r e a t i n g   a   f a k e   c o d e   s i g n i n g   c e r t .   ( e . g .   A c m e . c o m )     - p a s s w o r d   s t r i n g                 T h e   p a s s w o r d   f o r   c o d e   s i g n i n g   c e r t .   R e q u i r e d   w h e n   - v a l i d   i s   u s e d .     - s a n d b o x   s t r i n g                 E n a b l e s   s a n d b o x   e v a s i o n   u s i n g   I s D o m a i n e d J o i n e d   c a l l s .     - u r l   s t r i n g                 U R L   a s s o c i a t e d   w i t h   t h e   D e l i v e r y   o p t i o n   t o   r e t r i e v e   t h e   p a y l o a d .   ( e . g .   h t t p s : / / a c m e . c o m / )     - v a l i d   s t r i n g                 T h e   p a t h   t o   a   v a l i d   c o d e   s i g n i n g   c e r t .   U s e d   i n s t e a d   o f   - d o m a i n   i f   a   v a l i d   c o d e   s i g n i n g   c e r t   i s   d e s i r e d .

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则