🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1892

Re: How to detect dll injection and hook installers on a Windows system

#1892
From: Mike Collins
Date: Wed, 30 May 2007 16:41
32 lines
2243 bytes
As Remy has pointed out, there are some api's that are used specifically 
when injecting.

However, there are many many ways to inject and hook.  Madshi's system, as 
far as i know, uses a layer file system driver as well.  The concepts most 
commonly explained when taking about injection, are often outdated.  It 
really all depends on what you are trying to achieve.  Are you looking for a 
global protection and alert system to inform on rouge injection or do you 
have a specific requirement.  Most of the text that you will read, relates 
directly to user-land injection although the current trend is moving towards 
system injection systems.

A particularly good text is "Rootkits - Subverting the Windows kernal" by 
Greg Hoglund and James Bulter.  Madshi's site is also a very good basis for 
practical information.

HTH

Mike


"Mark Jacobs" <www.jacobsm.com/mjmsg.htm?Borland Newsgroup> wrote in message 
news:465b45cb$1@newsgroups.borland.com...
>I need some information on how an application can raise an alert if another 
>process on the system attempts to perform DLL code injection. I also need 
>to know how to detect when a process attempts to install a hook into the 
>Windows system. Any ideas anyone? It is for a security application. TIA,
> -- 
> Mark Jacobs
> http://jacobsm.com
>
> 
Technical Details
Message-ID: <465d98ef$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <465b45cb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1b1d8084f8b63121
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@TheBottomOfThePost>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <465b45cb$1@newsgroups.borland.com>
Subject: Re: How to detect dll injection and hook installers on a Windows system
Date: Wed, 30 May 2007 16:41:20 -0000
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.3959
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3959
NNTP-Posting-Host: 89.242.135.15
Message-ID: <465d98ef$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1180539119 89.242.135.15 (30 May 2007 08:31:59 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail