Commit Graph

36 Commits

Author SHA1 Message Date
wj32 32866905e6 fixed critical file object query hang bug
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1722 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-20 07:31:47 +00:00
wj32 d3adc7ad1d * added deferred object deletion to KPH
* fixed potential sysservice.c deadlock

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1714 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-15 00:33:59 +00:00
wj32 99b43642c8 * improved KPH comments
* added defs for Ss module block

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1680 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-09 03:35:04 +00:00
wj32 5a9e1df893 * fixed KPH ref deadlock - replaced KphIsDestroyedObject with KphReferenceObjectSafe
* reorganized ExtraTools; added System Call Hacker
* fixed PH tab indicies

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1651 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-01 23:57:10 +00:00
wj32 945be0e039 added better rule matching (at the cost of performance)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1641 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-27 11:14:46 +00:00
wj32 29a5b6f67a added KphSsQueryClientEntry, fixed critical handle referencing bugs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1639 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-27 08:37:33 +00:00
wj32 9da61ad2c8 many improvements to KphSs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1633 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-26 06:50:37 +00:00
wj32 bc1878d845 system service logging works!
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1629 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-24 02:24:21 +00:00
wj32 b41cf81165 * introduced guarded locks
* fixed KiFastCallEntry scanning
* fixed client entry (PhCl) pool leaks (now uses ref.c for client entries)
* fixed ref.c delete procedure synchronization

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1627 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-23 05:18:00 +00:00
wj32 9eb0d23fc4 made further progress on system service logging; removed test code in kprocesshacker.c
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1625 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-22 10:24:26 +00:00
wj32 2f51600da1 added KphOpenDirectoryObject
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1614 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-20 10:09:11 +00:00
wj32 bbdf6b3f49 added ability to unload drivers
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1613 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-20 09:45:43 +00:00
wj32 66333c166f added object/handle code to KPH
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1612 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-20 05:04:01 +00:00
wj32 3d8e9894c2 Terminator test: TT4 (dangerous thread termination)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1467 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-25 10:26:50 +00:00
wj32 fe52a61b6b * kernel-mode stack traces!
* pool tag cleanup

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1439 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-20 23:41:17 +00:00
wj32 a17e10d425 * added KphQueryProcessHandles
* added KphOpenThreadProcess
* hidden processes scanner can now detect FUTo
* KPH cleanup - added argument attributes
* improved auto-ForeColor

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1436 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-20 02:47:04 +00:00
wj32 a0ecb1c49d Ability to set DEP status of processes in other sessions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1432 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-19 06:58:46 +00:00
wj32 10113a1831 added KphUnsafeReadVirtualMemory, fixed very rare BSOD
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1425 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-06-16 11:18:39 +00:00
wj32 5a25f7aeeb fixed "don't allow kernel-mode to bypass protection" by allowing rule creators to bypass the rules
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1296 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-18 09:11:21 +00:00
wj32 7f2f872b96 fixed BSOD when unloading KPH after ObOpenObjectByPointer has been hooked - forgot to delete the lookaside list
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1289 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-17 10:17:50 +00:00
wj32 91d061b663 added experimental feature: protect processes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1287 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-17 02:59:06 +00:00
wj32 666df2e06f * added ObSetHandleAttributes
* ability to set handle flags such as protect-from-close and inherit

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1256 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-10 01:57:45 +00:00
wj32 6eaaa3deb8 * added KphSetHandleGrantedAccess; KPH can finally bypass all protected process restrictions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1254 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 11:57:47 +00:00
wj32 1384a506d1 * removed KPH ExpGetProcessInformation
* fixed PsTerminateProcess and PspTerminateThreadByPointer scanning for Windows 7 ntoskrnl

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1245 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-08 07:46:54 +00:00
wj32 741af29084 * KProcessHacker can now perform process memory reading/writing by itself and does not require MmCopyVirtualMemory
* added KphAssignImpersonationToken
* added KphAcquireProcessRundownProtection and KphReleaseProcessRundownProtection
* added some impersonation code

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1226 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-03 07:03:02 +00:00
wj32 1134c7820a * completely refactored argument code in KPH
* fixed: random file-object-related BSODs
* removed GetObjectName - unsafe, not used
* added Terminate Process Tree

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1147 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-26 00:08:16 +00:00
wj32 4dba651028 added ExpGetProcessInformation (not used yet)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1116 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-21 09:01:12 +00:00
wj32 69a6811b71 added KphTerminateThread -> PspTerminateThreadByPointer
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1102 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-19 22:36:44 +00:00
wj32 fd240faf2a fixed handle filter to use KPH properly
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1098 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-19 06:25:48 +00:00
wj32 949417b506 * named KPH functions properly (according to MS)
* added support for version-specific info for service packs

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1091 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-18 23:06:36 +00:00
wj32 2e1120a4a9 added version-dependent info for ProtectedProcess
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1089 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-18 09:26:08 +00:00
wj32 36d0d9299a * added new system for OS version-dependent data
* fixed GenericMapping offset for Windows XP

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1087 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-18 08:02:21 +00:00
wj32 fd789a3cbf * KphAttachProcess* functions
* improved handle viewing
* improved start addresses on Windows XP

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1085 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-18 02:52:10 +00:00
wj32 83ff30039b new KPH I/O control: ZwQueryObject
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1080 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-17 11:45:17 +00:00
wj32 08854be5dd After 8 hours of debugging and 5 BSODs, nothing has been achieved :(
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1079 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-17 09:01:10 +00:00
wj32 5eccb86895 * reorganized KProcessHacker
* added KphDuplicateObject

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1078 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-04-17 02:29:25 +00:00