You should make this a new topic. Offhand this seems to be the wrong level
to do this sort of checking. The system policy should allow/deny unsigned
processes and the system security policy should control which users/groups
have access to which devices. Obviously you could write a service that
collected the information you needed and provided this information on demand
to your driver. A cache of some sort available to the driver would probably
be a good idea.
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@bitdefender.com
Sent: Wednesday, November 08, 2006 4:53 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] spinlock & event questionHi all,
Can anyone tell me if and how could I check from a driver,
that a process which tries to connect to a communication port
of the driver is digitally signed or not, if the signature if
valid, who signed that process and so on. This could be a
quite effective way to prevent unauthorized processes to
connect to the driver.Any comments on this subject are welcomed.
thank you very much,
Sandor LUKACS
Virus Analyst, SOFTWIN
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256To unsubscribe, visit the List Server section of OSR Online
at http://www.osronline.com/page.cfm?name=ListServer