СÐÄÐÂÐͽ©Ê¬Goldoon£ºÒ»¿îÖ¸ÁÁýÕÖ×î¹ãµÄÁã¼ì³öÂʽ©Ê¬¼Ò×å

Ðû²¼Ê±¼ä 2024-04-29

Ò»¡¢¸Å Êö


½üÆÚ£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøADLab¼à²âµ½Ò»ÅúVTƽ̨Áã¼ì³öÂʵÄÐÂÎïÁªÍø½©Ê¬£¬ÎÒÃǶԽ©Ê¬³ÌÐòµÄ¶þ½øÖÆ´úÂëºÍͨѶЭÒé×öÁËÉîÈëͬԴÐÔÆÊÎö£¬²¢ÅжϸÃϵÁн©Ê¬ÎªÒ»¿î´Óδ·ºÆð¹ýµÄÐÂÐͽ©Ê¬¼Ò×å¡£¸Ã½©Ê¬µÄÎļþÃüÃû¡¢´úÂëÌØÕ÷Öо­³£°üÀ¨¡± Goldoon¡°µÄ×Ö·û´®£¬Òò´ËÎÒÃǽ«´Ë½©Ê¬ÍøÂç¼Ò×åÃüÃûΪ¡°Goldoon¡°¡£±ðµÄ¸Ã½©Ê¬¾ßÓм«Ç¿µÄƽ̨¼æÈÝÐÔ£¬ÊÇÏÖÔÚÖ§³ÖÖ¸Á×îÈ«µÄ½©Ê¬¼Ò×壨ÏÖÔÚÒÑ·¢Ã÷µÄÖ§³ÖÖ¸Á¶à´ï18ÖÖ£©£¬³ýÁËÖ§³ÖÖ÷Á÷µÄx86¡¢arm¡¢mips¡¢mipsel¡¢powerpc¡¢sparc¡¢riscv¡¢sh4¡¢m68kµÈÖ¸ÁÍ⣬Æ仹֧³ÖһЩºÜÊÇÓÐÊýµÄÖ¸Áalpha¡¢hppaµÈ¡£ÖµµÃ×¢ÖصÄÊÇ£¬alphaÖ¸ÁÏÖÔÚ³ýÁËÎÒ¹úij¹ú²ú´¦Öóͷ£Æ÷£¨Ö÷ÒªÓÃÓÚÎÒ¹ú³¬µÈÅÌËã»ú£©ÔÚʹÓÃÍ⣬ÆäËû¹ú¼Ò¼¸½ü¾ø¼££¬Æä¿ÉÄÜÔì³ÉµÄÍþвֵµÃÎÒÃÇÖØÊÓ¡£


ÎÒÃÇ×î³õÓÚ2024Äê4ÔÂ8ÈÕ·¢Ã÷Goldoon½©Ê¬£¬ÔçÏÈ£¬ÎÒÃǶÔÕâЩÁ㱨¶¾µÄELFÎļþ¾ÙÐÐÁË¿ìËÙÆÊÎöÈ·ÈÏ£¬·¢Ã÷Æä±£´æ¶ñÒâÐÐΪ£¬µ«¹ØÓÚÕâЩÎļþÇå¾²Èí¼þÔÚ½üÁ½ÖÜʱ¼äÄÚ¶¼Î´Äܼì²âÔ¤¾¯£¬ÕâÒýÆðÁËÎÒÃǵÄŨÖØÐËȤ²¢½øÒ»²½¶ÔÆä×·×ÙÆÊÎö£¬×îºóÎÒÃÇ·¢Ã÷ÁË80¶à¸öÑù±¾¡£Í¨¹ýÄæÏò¹¤³ÌÕâЩÑù±¾·¢Ã÷£¬¸Ã½©Ê¬Í¨¹ýÄ£¿é»¯Éè¼ÆºÍ·Ö½×¶Î×÷ÒµµÄ·½·¨½µµÍ±»¼ì²âµÄΣº¦£¬ºÃ±È½«ÈëÇÖɨÃè¡¢Ô¶³ÌÏ·¢¡¢ÍâµØ¼ÓÔؼ°½©Ê¬ÊغòµÈ¹¦Ð§Éè¼Æ³É×ÔÁ¦Ä£¿é¡£±ðµÄÏà±ÈÓÚͨÀýµÄÎïÁªÍø½©Ê¬£¬Goldoon½©Ê¬µÄ¹¥»÷×°±¸ÀàÐÍ¿ÉÁýÕÖÁè¼Ý18ÖÖ´¦Öóͷ£Æ÷¼Ü¹¹£¬²¢ÇÒÏÕЩ֧³Ö°üÀ¨windows¡¢unix/linuxÒÔ¼°ËùÓÐPOSIX±ê×¼µÄϵͳ£¬³ý´ËÖ®Í⣬Æ仹½«¡°Ä§×¦¡±ÉìÏòÁËһЩÏà¶ÔСÖÚµÄÖ¸Á¼Ü¹¹£¬Õâ¹ØÓÚÎïÁªÍø×°±¸ÓÈÆäÊÇһЩºã¾ÃδÔâÓö¹¥»÷µÄСÖڼܹ¹×°±¸À´Ëµ¿ÉÄÜ×é³ÉÑÏÖصÄÍþв¡£


ÏÖÔÚ£¬´ó×ÚзºÆðµÄ±»¸÷´ó³§ÉÌÖØÐÂÃüÃûµÄÎïÁªÍø½©Ê¬ÍøÂç´ó²¿·ÖÕվɻùÓÚ¿ªÔ´½©Ê¬¿ò¼ÜÈçMirai¡¢GafgytµÈ¾ÙÐж¨ÖÆ¿ª·¢£¬´Ë´ÎÎÒÃÇ·¢Ã÷µÄGoldoonÔòÊÇÍêÈ«ÖØÐÂÉè¼ÆºÍ¿ª·¢µÄн©Ê¬³ÌÐò£¬ÏÖÔÚ£¬¹¥»÷Õß»¹ÔÚÒ»Á¬Õë¶Ô¶à½×¶ÎÑù±¾¾ÙÐй¦Ð§µÄ¸üµüºÍ²âÊÔ¡£×èÖ¹±¾ÎÄÐû²¼£¬ÉÐδ·¢Ã÷¿ØÖÆÕßÌᳫ´ó¹æÄ£¹¥»÷Ô˶¯£¬²»¹ýÎÒÃÇÒѾ­¼à²âµ½Æä·¢³öµÄһЩÁãÐǵÄÖ¸ÁîÓÃÓÚ²âÊÔ¹¥»÷£¬Õâ˵Ã÷GoldoonÄ¿½ñ¿ÉÄÜ´¦ÓÚ¿ìËÙ¹¹½¨½×¶Î£¬ÐèÒª¸ß¶ÈСÐÄØʺóÐøµÄÀ©Õź͹¥»÷Ô˶¯¡£±¾ÎĽ«ÏêϸÏÈÈÝGoldoon½©Ê¬ÍøÂç²¢Õë¶ÔÆä¹¥»÷Ô˶¯Ìص㡢¹¦Ð§´úÂëÒÔ¼°¿ØÖÆЭÒéµÈ¾ÙÐÐÉîÈëÆÊÎö¡£


ͼƬ1.png

ͼ1: Goldoon LoaderÔÚVTµÄ¼ì²âÇéÐÎ


ͼƬ2.png
ͼ2: Goldoon dropperÔÚVTµÄ¼ì²âÇéÐÎ

¶þ¡¢¹¥»÷ÍþвÆÊÎö


ͨ¹ýÎÒÃǵÄÎïÁªÍøÍþвÊý¾Ýƽ̨¼°Ïà¹ØÇ鱨µÄ½»Ö¯Ó¡Ö¤£¬ÏÖÔÚ¹²·¢Ã÷ºÍ¹ØÁªµ½GoldoonÏà¹ØÑù±¾80Óà¸ö¡£´ÓÕâÅúÑù±¾µÄ¹¥»÷Ä¿µÄÀ´¿´£¬Goldoon½©Ê¬ÍøÂç³ýÁËÕë¶Ô¹Å°åµÄPC¶Ë×°±¸ÈçWindows¡¢Linux£¨x86¡¢x64£©ÊµÑé¹¥»÷Í⣬»¹¶¢ÉÏÁËÎïÁªÍø×°±¸Õâ¿é·ÊÈ⣬°üÀ¨arm¡¢mips¡¢mipsel¡¢powerpc¡¢sparc¡¢riscv¡¢sh4¡¢m68kµÈ³£¼û´¦Öóͷ£Æ÷¼Ü¹¹µÄ×°±¸¶¼ÔÚÆä¹¥»÷¹æÄ£Ö®ÄÚ¡£Goldoon¹²¼ÆÖ§³Ö18ÖÖ´¦Öóͷ£Æ÷¼Ü¹¹£¬ÓÐÒâ˼µÄÊÇÆäÖл¹Éæ¼°µ½s390x¡¢alpha¡¢hppaµÈÏà¶ÔСÖÚµÄÖ¸Á£¬ÕâЩָÁËäÈ»ÆÕ¼°ÂʽϵÍ£¬µ«ÈÔÓв»ÉÙСÖÚ×°±¸¡¢¾É×°±¸»òÊÇ»ùÓÚÏà¹ØÖ¸Á×ÔÑÐÉý¼¶µÄ¹ú²ú×°±¸ÔÚʹÓ㬺ñÈIBM zSystems·þÎñÆ÷£¨s390x£©¡¢Ä³¹ú²ú´¦Öóͷ£Æ÷£¨alpha£©µÈ£¬¸Ã¹ú²ú´¦Öóͷ£Æ÷ÏÖÔÚÖ÷ÒªÓÃÓÚÎÒ¹ú³¬µÈÅÌËã»ú£¬Éæ¼°µ½¹ú¼ÒËãÁ¦Çå¾²¡£Òò´Ë²»¿É½ö½öÓÉÓÚ×°±¸Ð¡ÖÚ¡¢Ç±ÔÚ¹¥»÷ÉÙ¾ÍËÉ¿ªÐ¡ÐÄ£¬¸ßÕíÎÞÓÇ£¬Í¬ÑùÐèÒªÖØÊÓÆäÖпÉÄÜÒþ²ØµÄÇ徲Σº¦¡£GoldoonÄ¿½ñÖ§³Ö¹¥»÷µÄÖ¸Á¼Ü¹¹ÈçϱíËùʾ£º


±í1£ºGoldoonÖ§³ÖµÄÖ¸Á¼Ü¹¹

±í1.png


ÓÉÓÚGoldoonÏÖÔÚ»¹´¦ÔÚ¹¹½¨À©ÕŽ׶Σ¬ÎÒÃÇƾ֤ÒÑÖªµÄ¹¥»÷ÊÖ·¨ºÍͶµÝÑù±¾µÈÌص㣬ÊáÀíËüµÄ¹¥»÷Á÷³ÌÈçÏÂËùʾ£º


ͼƬ3.png
ͼ3£ºGoldoon¹¥»÷Á÷³Ìͼ


¹¥»÷ÕßÕë¶ÔLinuxºÍWindowsƽ̨»®·ÖÉè¼ÆÁËÄ£¿éÊèÉ¢µÄ·½·¨½µµÍñîºÏ¶È´Ó¶øïÔÌ­±»¼ì²âΣº¦£¬°üÀ¨Îó²îɨÃè¡¢¾ç±¾Ö´ÐС¢Loader¡¢DropperµÈÄ£¿é¡£´ÓÏÖÔÚ²¶»ñµ½µÄÑù±¾´úÂëÀ´¿´£¬ÉÐδ·¢Ã÷Îó²îɨÃèÄ£¿é£¬ÒâÁϸÃÄ£¿éÓ¦±»Éè¼ÆÓÃÓÚÔÚC2·þÎñÆ÷ÖÐÖ´ÐÐÒÔ×èֹй¶Îó²îPOCºÍÇ鱨×ÊÔ´¡£ÈëÇÖÀֳɺ󣬹¥»÷Õß½øÒ»²½Ê¹Óþ籾»òLoader³ÌÐòÏÂÔØÖ´ÐÐ×îÖյĽ©Ê¬³ÌÐò(Dropper)¡£


ΪÁËÈ·ÈϹ¥»÷ÕßÊÇ·ñÔÚ¾ÙÐÐÃâɱ²âÊÔ£¬ÎÒÃÇͳ¼ÆÁËÕâÅúÑù±¾Öб£´æ±àÒëʱ¼äµÄPEÑù±¾²¢ÓëÉÏ´«VTƽ̨µÄʱ¼ä¾ÙÐнÏÁ¿£¬´Óϱí¿ÉÒÔ¿´³öÑù±¾µÄ±àÒëʱ¼äÓëÉÏ´«Ê±¼ä¾àÀëͨ³£ÔÚÊý·ÖÖÓÄÚ£¬ºÜÊÇ¿¿½ü¡£Òò´Ë»ù±¾¿ÉÒÔÅжÏÕⲿ·ÖÑù±¾ÊÇÓɹ¥»÷Õß×ÔÐÐÉÏ´«²¢ÓÃÓÚ²âÊÔÃâɱЧ¹û£¬ÒÔÏÂÊDz¿·ÖPEÑù±¾µÄʱ¼äÐÅÏ¢£º


±í2£ºPEÑù±¾Ê±¼äÐÅÏ¢

±í2.png



Ö®ºó£¬ÎÒÃÇÕë¶ÔÕâÅúÑù±¾¾ÙÐÐÁ˶àά¶ÈµÄËÝÔ´ºÍÆÊÎö£¬°üÀ¨Óë³£¼û½©Ê¬¼Ò×åµÄ´úÂëÏàËƶȡ¢Í¬Ô´ÐԵȱȶÔÆÊÎöºó£¬È·ÈÏÕâÊÇÒ»¿îзºÆðµÄÎïÁªÍø½©Ê¬ÍøÂç¡£ÕâÅúÑù±¾×îÔçµÄ»îԾʱ¼äÔÚ4ÔÂ8ÈÕ£¬¿ÉÒÔÆðÔ´ÅжÏÄ»ºóµÄ¿ØÖÆÕßÓ¦¸ÃÔÚ4Ô³õÍê³ÉÁ˽©Ê¬´úÂëµÄ¿ª·¢½á¹¹£¬ÏÖÔÚÒѾ­´¦ÓÚ¹¦Ð§²âÊÔºÍÀ©ÕŵÄÇ°Æڽ׶Ρ£ÎÒÃÇ´ÓÖÐÌáÈ¡µ½¹¥»÷ÕßʹÓõÄÁ½¸öC2·þÎñÆ÷£º185.106.94.51£¨°ÂµØÀû£©ºÍ94.228.168.60£¨µÂ¹ú£©¡£ÔÚÒ»Á¬¼à²âÆä»îÔ¾¶¯ÏòµÄÀú³ÌÖУ¬Ôø¼à¿Øµ½2´Î¹¥»÷Õß·¢Ë͵ÄÖ¸ÁÆä½ÓÄÉudp_legitµÄ¹¥»÷·½·¨»®·ÖÕë¶ÔλÓÚºÉÀ¼ºÍÒÁÀʵÄIPÌᳫDDoS¹¥»÷£¬ÅжϿÉÄÜÊÇÓÃÓÚС¹æÄ£µÄ²âÊÔÔ˶¯¡£×èÖ¹ÏÖÔÚÉÐδ·¢Ã÷Óдó¹æÄ£µÄ¹¥»÷Ô˶¯±¬·¢£¬ÎÒÃÇÒ²»áÒ»Á¬¹Ø×¢ºÍ×·×ÙGoldoonµÄ×îа汾ת±äºÍ¹¥»÷¶¯Ì¬¡£


Èý¡¢¹¥»÷ÑùÌìÖ°Îö


3.1 Linuxƽ̨Ñù±¾


ÏÖÔÚ£¬¼à²âµ½Goldoon»ùÓÚLinuxƽ̨µÄÑù±¾Ô¼50¸ö£¬ÆäÖоø´ó²¿·ÖÑù±¾×öÁË·ûºÅ°þÀë´¦Öóͷ£¡£Í¬Ê±£¬Ïàͬ¼Ü¹¹Æ½Ì¨µÄÑù±¾¼äÒ²´ó¶à±£´æ¹¦Ð§ÏàÒìµÄÇéÐΣ¬²»¹ýÓÉÓÚÕâЩ¹¦Ð§×ª±ä¾àÀëʱ¼ä½Ï¶ÌÇÒ¶àÊôÓÚ¶ÀÍÌ×°±¸¡¢·´µ÷ÊÔ¡¢³¤ÆÚ»¯µÈ¶Ô¿¹ÐÔ¹¦Ð§µÄת±ä£¬ÕûÌå´úÂë¿ò¼ÜºÍͨѶЭÒéµÈ²¢Î´¸Ä±ä£¬Òò´Ë²»×ö°æ±¾µÄϸ·Ö¡£±ðµÄ£¬ÎÒÃÇ»¹´ÓÖз¢Ã÷Á˸öÌå±£´æ·ûºÅµÄµ÷ÊÔ°æÑù±¾£¨ÍƲâÊôÓÚ×÷ÕßÎó´«£©£¬Í¬ÑùÄܹ»×ôÖ¤Goldoon´¦ÓÚ²âÊÔ¹¦Ð§¼°ÃâɱµÄ°æ±¾¿ìËÙ¸üµü½×¶Î¡£


3.1.1 Shell¾ç±¾


ÔÚÏà¹Ø¹¥»÷ÖÐÒÑ·¢Ã÷ÁËÁè¼Ý5ÖÖ²î±ð´úÂëÃûÌõľ籾Îļþ£¬´úÂëʵÏֵĻù±¾¹¦Ð§ÀàËÆ£¬¾ùÊÇͨ¹ýwget¡¢curl¡¢ftpµÈ·½·¨ÏÂÔØÖ´Ðвî±ð¼Ü¹¹µÄ¶ñÒâÄ£¿éDropper£¬Ö®ºóɾ³ý×ÔÉíºÍÏÂÔصÄÄ£¿éÒÔɨ³ýºÛ¼£¡£¸ü½øÒ»²½µÄ£¬¹¥»÷Õßͨ¹ý¸Ä±äһЩ´úÂëÒò×Ó£¬Èç²î±ðµÄÏÂÁîÖ´ÐвÎÊý¡¢º¯Êý·â×°¡¢Ñ­»·Ç¶Ìס¢½á¹¹ÂÒÐò¡¢»»Ðзû¡¢ÒýºÅ°ü¹üµÈ·½·¨À´ÊµÑé¶Ô¿¹¾²Ì¬ÌØÕ÷¼ì²â£¬ÏÖÔÚÏà¹Ø¾ç±¾ÔÚVTÉÏÒÀÈ»ÊÇ0±¨¶¾µÄ״̬¡£²¿·Ö¾ç±¾Ê¾ÀýÈçÏÂͼ£º


ͼƬ4.png

ͼ4£ºShell¾ç±¾


3.1.2 Loader


LoaderÖ÷ÒªÊÇÓÃÓÚ¼ÓÔغóÐøµÄ¶ñÒâÄ£¿éDropper£¬Ïà½ÏShell¾ç±¾¼ÓÔØDropperµÄ·½·¨£¬»áÔöÌí²¿·Ö¶Ô¿¹¼ì²âµÄ»úÖƼ°¹¦Ð§£¬ÕâÀïÒÔDebug°æLoaderΪÀýÏÈÈÝ¡£


ͼƬ5.png

ͼ5£ºLoader½¹µã´úÂë


ÔÚLoaderºÍDropperÖУ¬GoldoonµÄ¶à¸öÑù±¾¾ù°üÀ¨initkillerº¯Êý»òÊDZ£´æ¸Ãº¯ÊýδŲÓã¬ÀàËƵijõʼ»¯ºÍ¶Ô¿¹¹¦Ð§½Ï¶à£¬ÓÉÓÚÕâЩ°æ±¾¸üµüµÄʱ¼äºÜÊÇ¿¿½üÇÒ²î±ð¹¦Ð§°æ±¾µÄÊýÄ¿Ðí¶à£¬Òò´Ë²»×ö¸üϸµÄ°æ±¾Çø·Ö£¬Ò»Ð©Ö÷Òª¹¦Ð§ÀýÈ磺¶ÀÍÌ×°±¸£¬³ÌÐòͨ¹ý½ûÓÃCVE-2017-17215Îó²î¶Ë¿Ú(37215)¡¢½ûÓÃtelnet¶Ë¿Ú(23)ÒÔ¼°½ûÓÃSSH¶Ë¿Ú(22)µÈ·½·¨À´ÊµÑé¶ÀÍÌ×°±¸¡£


ͼƬ6.png
ͼ6£º¶ÀÍÌ×°±¸


ÔÚStart_dropperº¯ÊýÖУ¬³ÌÐò»á´ÓÖ¸¶¨C2ÏÂÔضñÒâ´úÂ룬²¢ÔÚÐÞ¸ÄÎļþȨÏÞºóÖ´ÐжñÒâ³ÌÐò¡£


ͼƬ7.png
ͼ7£ºÏÂÔØÖ´ÐкóÐø¶ñÒâ´úÂë(Dropper)


3.1.3 Dropper


Ê×ÏÈ£¬ºóÐøÏÂÔØÖ´ÐеĶñÒâ´úÂë(Dropper)»áͨ¹ýSetInjectMethodº¯Êý»ñÈ¡³ÌÐòÖ´ÐвÎÊýÀ´ÉèÖÃBOT_INFECT_METHODÖµ£¬´ËֵӦָװ±¸±»Ñ¬È¾µÄ·½·¨£¨ÈçÈëÇÖʹÓõÄÎó²î»ò±¬ÆÆÖֱ𣩣¬¸ÃÖµÖ®ºóÔÚÉÏÏß°üÖлá×÷ΪϵͳÐÅÏ¢»Ø´«¡£


ͼƬ8.png
ͼ8£º»ñȡװ±¸±»Ñ¬È¾·½·¨


Startº¯ÊýÖÐÔòÊdzÌÐò½¹µãµÄ´úÂ벿·Ö£¬°üÀ¨³õʼ»¯ÉèÖá¢ÉÏÏß»úÖÆ¡¢ÐÄÌø»úÖÆ¡¢¿ØÖÆÖ¸ÁîÆÊÎöµÈ¡£


ͼƬ9.png

ͼ9£º½¹µã´úÂ벿·Ö


£¨1£©³õʼ»¯ÉèÖÃ


°üÀ¨³õʼ»¯Òì³£´¦Öóͷ£¡¢³õʼ»¯Ëæ»úÖÖ×Ó¡¢³õʼ»¯DNSÆÊÎö¡¢³õʼ»¯¹¥»÷ÖÎÀíµÈ£¬ÆäÖл¹³õʼ»¯ÁËwolfSSL_InitµÄ¼ÓÃܿ⣬wolfSSLÊÇÒ»¸öÇáÁ¿¼¶¡¢¿ÉÒÆÖ²¡¢»ùÓÚCÓïÑÔÃæÏòǶÈëʽµÄTLS ¿â£¬²»¹ý´ÓÏÖÔÚÕÆÎÕµÄÇéÐÎÀ´¿´£¬¹¥»÷Õß»¹Ã»ÓÐÏÖʵŲÓøÿâÀ´¼ÓÃÜͨѶÁ÷Á¿£¬¿ÉÊǺóÆÚ¿ÉÄÜ»áͨ¹ýwolfSSL¼ÓÃÜÒÔÔöÇ¿Á÷Á¿ÒþÄäÐÔ¡£


ͼƬ10.png
ͼ10£º³õʼ»¯ÉèÖÃ


ÔÚ³õʼ»¯ÉèÖõĻù´¡ÉÏ£¬GoldoonµÄһЩ°æ±¾»¹ÔÚ²âÊÔÔöÌí²î±ðµÄ¹¦Ð§£¬ÀýÈç·´µ÷ÊÔ¡¢³¤ÆÚ»¯µÈ¶Ô¿¹¹¦Ð§¡£


ͼƬ11.png

ͼ11£º·´µ÷ÊÔ´úÂë



ͼƬ12.png

ͼ12£º³¤ÆÚ»¯´úÂë


£¨2£©ÉÏÏß»úÖÆ


ÔÚopen_connectionº¯ÊýÖУ¬³ÌÐò»á»ñȡϵͳÐÅÏ¢£¬°üÀ¨Óû§Ãû¡¢Ö÷»úÃû¡¢²Ù×÷ϵͳÐÅÏ¢¡¢ÊÜѬȾ·½·¨¡¢CPU½¹µãÊý¡¢ÊÇ·ñÖ§³ÖIPV6¡¢Äڴ桢ϵͳ°æ±¾µÈ£¬²¢×é°ü·¢ËÍÖÁC2¡£Ïà¹Ø´úÂë¼°ÉÏÏßÊý¾Ý°üÈçÏÂËùʾ£º


ͼƬ13.png
ͼ13£ºÉÏÏß»úÖÆ´úÂë


̫ͨ¹ýÎö£¬ÎÒÃǽ«ÉÏÏßÊý¾Ý°üÃûÌþÙÐÐÆÊÎö£¬ÆÊÎöºóµÄÏêϸ½á¹¹ÈçϱíËùʾ¡£


±í3£ºÉÏÏßÊý¾Ý°üÃûÌÃ

±í3.png


£¨3£©ÐÄÌø»úÖÆ

³ÌÐò½¨Éèµ¥¶ÀµÄÏß³ÌÓÃÓÚ·¢ËÍÐÄÌø°ü£¬Ã¿¾àÀë60Ãë·¢ËÍ¡±Time¡±ÊµÊ±¼ä´Á£¬Ïà¹Ø´úÂëºÍÉÏÏßÊý¾Ý°üÈçÏ£º


ͼƬ14.png
ͼ14£ºÐÄÌø°ü»úÖÆ´úÂë


ÐÄÌø°üÊý¾ÝÆÊÎöÈçϱíËùʾ¡£


±í4£ºÐÄÌø°üÊý¾ÝÃûÌÃ

±í4.png


ץȡµÄÉÏÏß°üºÍÐÄÌø°üÁ÷Á¿Êý¾ÝÈçÏÂͼËùʾ¡£


ͼƬ15.png
ͼ15£ºÉÏÏß°üºÍÐÄÌø°üÁ÷Á¿Êý¾Ý


£¨4£©¿ØÖÆÖ¸ÁîÆÊÎö


ÕâÀïÐèҪעÖصÄÊÇ£¬ÔÚread_packetº¯ÊýÖУ¬³ÌÐòÊ×ÏÈ»áÎüÊÕÁ½´Î£¨4×Ö½Ú/ÿ´Î£©Êý¾Ý£¬¸ÃÊý¾Ý»®·ÖΪtypeºÍargs_length£¬ÇÒÔÚÀÖ³ÉÎüÊÕºó¾ÙÐÐÅжÏ£¬ÈôÖµ²»Îª-1ʱÔÙ¼ÌÐøÎüÊÕÆäËûÊý¾Ý¡£


ͼƬ16.png
ͼ16£ºÎüÊÕÊý¾Ý´úÂë


ÔÚhandle_packetº¯ÊýÖУ¬³ÌÐòÆÊÎö¿ØÖÆÖ¸ÁîÈçÏ£º


ͼƬ17.png
ͼ17£º¿ØÖÆÖ¸Áî´úÂë


¹¥»÷Ö¸ÁîÊý¾Ý°üËù¶ÔÓ¦µÄ½á¹¹ÌåÈçÏÂËùʾ¡£


ͼƬ18.png

ͼ18£º¿ØÖÆÖ¸ÁîÊý¾Ý°ü½á¹¹Ìå


¹¥»÷Ö¸ÁîÓÉPacket½á¹¹ÌåÖеÄtype¾öÒ飬¹²°üÀ¨ÎåÀࣺ


±í5£º¹¥»÷Ö¸Áî

±í5.png


¹¥»÷Ö¸ÁîµÄÊý¾Ý°ü£¨Ä£ÄâÊý¾Ý°ü£©ÈçÏÂͼËùʾ¡£


ͼƬ19.png
ͼ19£º¹¥»÷Ö¸ÁîÊý¾Ý°ü


¹¥»÷Ö¸ÁîÊý¾ÝÆÊÎöÈçϱíËùʾ¡£


±í6£º¹¥»÷Ö¸ÁîÊý¾ÝÆÊÎö

±í6.png


½á¹¹ÌåÊý×éargs[]ÖÐvalueÖµ»áƾ֤Êý×é³ÉÔ±ÒÀÐò´Óϱê0ÖÁ3¾ÙÐÐÏìÓ¦µÄÊý¾ÝÌáÈ¡£¬ÏêϸÊý¾ÝÄÚÈÝÈçÏÂͼËùʾ¡£


ͼƬ20.png

ͼ20£º½á¹¹ÌåÊý×éÄÚÈÝ


Linux°æÑù±¾ÏÖÔÚ¹²·¢Ã÷28ÖÖ¹¥»÷·½·¨£¬ÆäÖÐhttp_exploit¡¢http_xflow¡¢http_ppsº¯ÊýÄÚ¹¦Ð§´úÂëΪ¿Õ£¬¹¥»÷ÕßδÀ´¿ÉÄÜ»á¼ÌÐøÀ©Õ¹Ïà¹Ø¹¦Ð§¡£


ͼƬ21.png

ͼ21£ºLinux°æÑù±¾¹¥»÷·½·¨´úÂë


3.2 Windowsƽ̨Ñù±¾


3.2.1 powershell¾ç±¾


Windows°æµÄpowershell½ÅÄÚÇé¶Ô½Ï¼òÆÓ£¬´ÓÖ¸¶¨µØµãÏÂÔز¢Ö´ÐÐÏÂÒ»½×¶ÎµÄ¶ñÒâÄ£¿é¡£Í¬Ê±¸Ã¾ç±¾ÔÚVT¼ì²âÂÊÒ²¼«µÍ£¬Ð§¹ûÏÔʾ½ö1¼Ò±¨¶¾¡£


ͼƬ22.png
ͼ22£ºpowershell¾ç±¾


3.2.2 Loader


Windows°æÓëLinux°æ±¾µÄLoader¹¦Ð§Ïà±È£¬½ö¾ßÓÐÏÂÔز¢Ö´ÐÐÏÂÒ»½×¶Î¶ñÒâ³ÌÐòµÄ¹¦Ð§¡£


ͼƬ23.png
ͼ23£ºLoader²¿·Ö´úÂë


3.2.3 Dropper


µ±DropperÍê³É³õʼ»¯Òì³£´¦Öóͷ£¡¢³õʼ»¯Ëæ»úÖÖ×Ó¡¢³õʼ»¯DNSÆÊÎöÒÔ¼°³õʼ»¯¹¥»÷ÖÎÀíµÈÉèÖúó£¬Æä»á¿ªÆôµ¥¶ÀµÄÏß³ÌÀ´±éÀúÄ¿½ñÔËÐеÄÀú³Ì£¬²¢´ÓÖвéÕÒ¡±taskmgr.exe¡±ºÍ¡±debugg¡±Àú³Ì£¬Èô±£´æÔò¹Ø±Õ¸ÃÀú³Ì£¬ÒÔµÖ´ïÒþ²Ø×ÔÉíºÍ·´µ÷ÊÔÄ¿µÄ¡£


ͼƬ24.png
ͼ24£º·´µ÷ÊÔ´úÂë


ͨ¹ý¿ØÖÆ̨ÏÂÁî²éÕÒÕýÔÚ¼àÌý3389¶Ë¿Ú£¨Í¨³£ÓÃÓÚÔ¶³Ì×ÀÃæÅþÁ¬£©µÄÀú³Ì£¬Èô±£´æÔò¿¢Ê¸ÃÀú³Ì£¬ËæºóÔٰ󶨺ͼàÌý¸Ã¶Ë¿Ú¡£


ͼƬ25.png
ͼ25£º¶Ë¿Ú¼àÌý´úÂë


ÉèÖÃÄ¿½ñÀú³ÌÓÅÏȼ¶ÎªÊµÊ±ÒÔ¼°Ä¿½ñÏß³ÌÓÅÏȼ¶Îª×î¸ß¼¶±ð¡£Ïêϸ´úÂëÈçÏÂͼËùʾ¡£


ͼƬ26.png
ͼ26£ºÉèÖÃÀú³ÌºÍÏß³ÌÓÅÏȼ¶


½«×ÔÉíÎļþ¸´ÖƵ½Æô¶¯ÏîÎļþ¼Ð·¾¶ÏºÍWindowsϵͳÎļþ¼ÐÖУ¬²¢Ìí¼Óµ½×¢²á±í×ÔÆô¶¯ÏÒÔʵÏÖÆ䳤ÆÚÐÔ¡£


ͼƬ27.png
ͼ27£ºÊµÏÖ³¤ÆÚ»¯


̫ͨ¹ýÎöÎÒÃÇ·¢Ã÷£¬Windows°æÓëLinux°æµÄÉÏÏß»úÖÆ¡¢ÐÄÌø»úÖÆÒÔ¼°¿ØÖÆÖ¸ÁîÆÊÎöµÈͨѶЭÒéÏàͬ£¬Òò´ËÎÒÃDZ㲻ÔÙ¾ÙÐÐ׸Êö¡£


µ«ÔÚ¹¥»÷ģʽ·½Ã棬Windows°æGoldoonÏÖÔÚ×ܹ²½ö°üÀ¨15ÖÖ¹¥»÷ģʽ£¬ÇÒÆäÖÐÓÐ4ÖÖ¹¥»÷ģʽÔÝδʵÏÖ£¬ÏêϸÈçÏÂͼËùʾ¡£


ͼƬ28.png
ͼ28£ºWindows°æ¹¥»÷ģʽ´úÂë

ËÄ¡¢×Ü ½á


±¾ÎÄÅû¶Á˽üÆÚзºÆðµÄÎïÁªÍø½©Ê¬ÍøÂçGoldoon£¬ÖصãÕë¶ÔÆä¹¥»÷Ô˶¯Ìص㡢¸÷×ÔÁ¦Ä£¿éµÄ¹¦Ð§´úÂëÒÔ¼°¿ØÖÆЭÒéµÈ¾ÙÐÐÁËÉîÈëÆÊÎöºÍÏÈÈÝ£¬²¢»®·Ö¶ÔLinuxƽ̨ºÍWindowsƽ̨µÄÑù±¾¾ÙÐÐÁËÊÖÒÕÆÊÎö£¬°üÀ¨ÆäÖÐÉæ¼°µÄ¹¦Ð§µü´ú¡¢¼æÈÝÐÔ¡¢ÃâɱÐÔµÈÌØÕ÷¡£


GoldoonÔÚÉè¼ÆÖ®³õ¾ÍÒÑÊÊÅäÁËÁè¼Ý18ÖÖÖ¸Á¼Ü¹¹£¬ÕâÔÚ´ó´ó¶¼ÎïÁªÍø½©Ê¬ÖÐÊǽÏΪÉÙ¼ûµÄ£¬Ò²¿ÉÄܳÉΪδÀ´½©Ê¬ÍøÂçÀ©ÕŵÄÒ»¸öÐÂÆ«Ïò¡£Í¨³£À´Ëµ£¬±£´æÇå¾²Òþ»¼µÄ×°±¸ÍùÍù¿ÉÄܱ»²î±ðµÄ½©Ê¬ÍøÂçÖظ´¶à´ÎÈëÇÖ£¬¶øÄ¿½ñÔ½À´Ô½¶àµÄ½©Ê¬¶¼×îÏÈʵÑé½ûÓÃÎó²î¶Ë¿ÚÒÔ¶ÀÍÌ×°±¸£¬Õâ¾ÍÔì³É´ó×ÚÒ×ÈëÇÖµÄ ¡°È⼦¡±×ÊÔ´ÔÚº£Á¿µÄ½©Ê¬¹¥»÷ÏÂÔ½À´Ô½Ï¡È±¡£Óë´Ëͬʱ£¬¹ØÓÚһЩСÖÚÖ¸Á¼Ü¹¹À´Ëµ£¬ÓÉÓÚ´ó´ó¶¼½©Ê¬ÍøÂ粢ûÓÐ×öÊÊÅäÖ§³Ö£¬ÄÇô×ÝÈ»ÆäÖб£´æÇå¾²Òþ»¼µÄ×°±¸±»ÈëÇÖÒ²ºÜ¿ÉÄÜδÀÖ³ÉÖ²Èë¶ñÒâ´úÂë¡£Òò´Ë£¬Õë¶ÔÕâЩ¡°É¥¼Ò֮Ȯ¡±¶¨Öƹ¥»÷¿ÉÄܳÉΪδÀ´½©Ê¬ÍøÂç¿ØÖÆÕß¿ìËÙÀ©´óÍøÂç¹æÄ£µÄÒ»ÖÖÏà¶Ô¸ßЧµÄ·½·¨£¬ÐèÒª¸ñÍâСÐÄ¡£Î´À´ÎÒÃÇÒ²»áÒ»Á¬¹Ø×¢ºÍ×·×ÙGoldoonµÄ×îа汾µü´úת±äºÍ¹¥»÷¶¯Ì¬¡£


Îå¡¢IOC


C&C :


94.228.168.60

185.106.94.51


Shell¾ç±¾£º


3f0e0c2f929d2e8ed24efac137fba2100a9afa317b5e74cb9a98b306e36d38bd
53acad3c3017049c5b02bbbb39118198d22c494d21fd2a528eccc8ea7feb6c33
f25f235823386935504b91e74f34a581c8c66982e51d0d94b9af2fb9e528aac7
35ad992121d507477793fc3cd555fbabf38b399a282bd6a29e4361f0b42ebbe8

6ddd5789e2ed4d071a17f6aaeba61f3a7c4844168a3cb02fb4cebdbaee183b49


Loader£º


b48afb4e5fed1a42e2d60709329f2ac1009aae5fb18a6ec23917e64872ed540f
8eb9c1eaecd0dcdd242e1bc8c62a1052915b627abe2de8ce147635fb7da3bfcc

48130a7c09a5c92e15b3fc0d2e1eb655e0bd8f759e01ba849f7734e32dbc2652


Dropper:


e7cd7305eeb4b26b36648febbed3ed5bfebf0345464f73deefa54d366bbbb6a1
cd416d8ef5c1274a5e77dfd4830d495a29f02442fb5ccaa9842824d70a43c640
a60b505d0d42c334901fb4972b004a4bcb78de5035ed4f8c3f27b16df35429c3
df8d88ff3e138be09c921058265e07df98ad50121dd70d9a292f223b19f456ac
26737091fe62098ec80bf03ae1377bafd85c6796fffd538519689fd663649af7