







































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








































Pascal Meunier, Ph.D., M.Sc., CISSP April 4 , 2007 Developed thanks to the support of Symantec Corporation, NSF SFS Capacity Building Program (Award Number 0113725) and the Purdue e-Enterprise Center Copyright (2007) Purdue Research Foundation. All rights reserved.
Most common attack vectors:
External or removable disks and remote file systems may contain malicious programs
Symlinks may point to unexpected locations
http://www2.educ.umu.se/~bjorn/linux/howto/NFS- HOWTO-6.html
Recursive deletion utility: "rd" Scenario:
CVE-1999-0433 Symlink vulnerability Xfree86 runs as root, creates a temporary file What will this do?
XFree86 will write its temporary file to the raw device, messing up the file system...
Examine the installer script named "find_java.sh"
The script executes a program named "java" Through links, another program may be invoked, masquerading as the real java
What happens between the attribute check, and the subsequent actions on the file?
Calling "CreateFile" with the
The call uses a file name, which may point to something unexpected through directory junctions or hard links BOOL SetFileAttributes( LPCTSTR lpFileName, DWORD dwFileAttributes ); lpFileName is a path
BOOL DeleteFile( LPCTSTR lpFileName ); Argument is a path Will delete a hard link and not the file pointed to