Shellcode & NT System Calls

From: ma1ler_deamon (ma1ler_deamon_at_yahoo.com)
Date: 12/30/03


Date: Mon, 29 Dec 2003 17:10:52 -0800 (PST)
To: vuln-dev@securityfocus.com


If you were to use the NT system call int2E interupt to do things
like the filewriting etc as mentioned above, would this bypass things
like virus scanners?

[quote http://www.internals.com/articles/apispy/apispy.htm ]

If you have ever examined ntdll.dll with QuickView, you might have noticed that
it exports a set of functions that begin with the Nt prefix. These functions
are actually small stubs of code that pass control to the Windows NT kernel
(NTOSKRNL) using interrupt 2E. Many of the functions exported from kernel32.dll
are nothing more than control transfer routines to the stubs located in ntdll.
For example, when a Windows application issues a call to CreateFile located in
kernel32.dll, the call is redirected to NtCreateFile, which passes it on to
NT's kernel for further processing. The special design of this mechanism allows
a device driver to hook these interfaces, thus providing a way for monitoring
activities performed by Windows NT/2000 applications

[/quote]

 

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/



Relevant Pages

  • Re: GRUB and the last FC4 kernel
    ... > kernel - a more likely problem would be that there ... Windows. ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (Fedora)
  • Re: Using Visual Basic to Write System-Wide Hooks
    ... Wondering how to hook into Interrupt 0x2E and if that might help? ... when a Windows application issues a call ... which passes it on to NT's kernel for further ...
    (microsoft.public.vb.winapi)
  • Re: GRUB and the last FC4 kernel
    ... > After booting using the new kernel, ... I uncomment the previous FC4 kernel, ... will I be able to 'enter' either FC4 or Windows? ... Do you Yahoo!? ...
    (Fedora)
  • Re: Hello Everyone!
    ... is the worst possible operating system on the planet (and most likely ... Windows on the other hand is a GUI'ed and ... Wintendo also requires regular reboots and its kernel still contains ...
    (comp.os.linux.misc)
  • Re: Hello Everyone!
    ... Since Vista is a version of MICROS~1 Wintendo and MICROS~1 Wintendo is ... the worst possible operating system on the planet (and most likely in ... Windows on the other hand is a GUI'ed and ... Wintendo also requires regular reboots and its kernel still contains ...
    (comp.os.linux.misc)