Exetools

Exetools (https://forum.exetools.com/index.php)
-   x64 OS (https://forum.exetools.com/forumdisplay.php?f=44)
-   -   Disable PatchGuard & Driver Signing (https://forum.exetools.com/showthread.php?t=12628)

Fyyre 01-22-2010 05:38

Disable PatchGuard & Driver Signing
 
1 Attachment(s)
Hello,

This patch is for Windows 7 X64 RTM & Windows 7 SP1. It directly modifies ntoskrnl.exe & winload.exe to remove Microsoft's "PatchGuard" and requirement of driver signing.

This is accomplished by patching 6 bytes inside ntoskrnl.exe and four bytes inside of winload.exe ... it is file patch version of my existing bootkit

I originally made this for myself... wanting to again be able to hook inside of ntoskrnl like with X86 Windows.

Hope that someone find this useful,

-Fyyre

p.s. attachment updated for SP1 -- new attachment added on 8 March, 2011

Pansemuckl 01-23-2010 03:11

Tested on my Win x64. Works perfectly.

metr0 01-23-2010 06:47

Seems like I got not enough permission to access the file, probably due to my different user group. Just some minor setting in the board panel I guess.

Thanks anyway, I guess I already read about it on your page. :)

JMI 01-23-2010 11:24

metr0:

You should be able to download the attachment to Fyyre's post. Your usergroup has permission to download from this forum.

Regards,

quosego 01-23-2010 17:30

Same here actually JMI.. I also get a permission denied.

ahmadmansoor 01-23-2010 18:08

@quosego & metr0 : I have fix the problem .pls try it now .
Thanks for replay

metr0 01-23-2010 21:58

Thanks JMI and ahmadmansoor for the fix, it works fine now. Time to boot into 7 x64! :)

bball0002 01-25-2010 03:47

I can't seem to download this attachment either. Is there a certain amount of posts I'm supposed to have before I can download attachments?

JMI 01-25-2010 04:15

Promotion is a manual process and does not get done on a set schedule. However, your post count qualifies you for promotion to "Trial Member", and they have upload and download privileges.

Please give it a try again.

Regards,

nulli 01-26-2010 16:53

This is exactly what I've been looking for! Thanks for this Fyyre!

bball0002 01-28-2010 07:30

JMI: Works now. Thanks a bunch.

ahmadmansoor 01-30-2010 20:02

@Fyyre : my friend could we see some useful tut in win x64 if that possible ??!!
if u have some time ..of course .
Thanks in adv

Fyyre 02-04-2010 03:43

Hi Ahmadmansoor,

A tutorial to disable the PatchGuard and Driver Signing? Or did you have something else in mind?

-Fyyre

Quote:

Originally Posted by ahmadmansoor (Post 66694)
@Fyyre : my friend could we see some useful tut in win x64 if that possible ??!!
if u have some time ..of course .
Thanks in adv


ahmadmansoor 02-04-2010 16:32

as u know some of guys now begin work on win 64 ...
and we still have many weakness points in dealing with win x64 .
so any new inf or any new tuts r very welcome at this time ,even if it is for beginners .
specially in reversing or debugging or Analyzing (PE)
so if u can write some useful tuts for us about win x64 that will be very welcome and thankful, and I promise u that I will make a special sticky post at the top of this section just for ur tuts .
Thanks in adv for ur nice work ....we will wait ur great work .

Fyyre 02-04-2010 22:32

Hi ahmadmansoor,

Certainly I can make some tutorials for X64 =)

-Fyyre

comrade 02-07-2010 17:09

Whoever is using this should be aware that this breaks Windows Update.

Fyyre 02-08-2010 04:31

Quote:

Originally Posted by comrade (Post 66757)
Whoever is using this should be aware that this breaks Windows Update.

I am using this patch of mine since September and no problems with Windows Update...

What kind of error do you get?

-Fyyre

Fyyre 02-09-2010 01:31

Again, I wanted to show that Window's Update does indeed work, using this patch:

http://fyyre.l2-fashion.de/images/wu.jpg

Av0id 02-09-2010 23:49

Quote:

Originally Posted by comrade (Post 66757)
Whoever is using this should be aware that this breaks Windows Update.

maybe wuauclt.exe /detectnow /resetauthorization will help

SLV 02-16-2010 10:21

This is a nice one.

MaRKuS-DJM 07-26-2010 14:38

nice one :-) will try it these days...

ycloud 10-13-2010 14:06

It works. Thanks a lot!

yogi_saw 10-13-2010 20:50

@ crabdance there is actually no need for x86 since unsigned drivers are accepted in 32bit windows
can somebody upload to rapidshare pls...

jump 11-12-2010 18:06

Did you read the posting rules??? http://forum.exetools.com/showthread.php?t=6206
And if you wont be lazy you will find in one of above post authors website where is this patch guard available for download...

--
Jump

heibaiyuedui 02-21-2011 17:31

Thank Fyyre,Tested on my Windows7(64bit), perfectly!!! Not again by "dseo13b" to windows7 into test mode.

Pansemuckl 05-26-2011 08:51

Does any1 have the latest offsets for x64 Sp1 ?

Fyyre 05-27-2011 22:36

Quote:

Originally Posted by Pansemuckl (Post 73137)
Does any1 have the latest offsets for x64 Sp1 ?

NT service indexes? They are same.

If some other offset in question... please specify...

-Fyyre

disauto 05-29-2011 09:59

Here's how to do it:
Hit Windows ORB in your taskbar
Run CMD (Command Prompt) in elevated mode. (Right click | Run as Administrator)
NOTE: If you have UAC (User Account Control) enabled, you will get a prompt
message. Select YES to continue.
Type the following two commands and hit Enter after each line.
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
You will receive The operation completed successfully message for both commands.
Restart you computer for the changes to take effect.
Now, you should be able to install unsigned drivers on Windows 7 SP1.
If you're like me, you might want to revert changes that we've just made after
successful installation of unsigned drivers. To do so repeat the steps above and
in the Command Prompt enter the following commands:
bcdedit.exe -set loadoptions DENABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING OFF

Kerlingen 06-03-2011 02:57

The switch DDISABLE_INTEGRITY_CHECKS was only present on Windows Vista alpha/beta versions and has been removed in Vista RC. It was never available on any Windows 7 version.

TESTSIGNING ON does not allow you to load unsigned drivers, it only allows you to load selfsigned drivers. It has nothing to do with installing selfsigned drivers, it only allows them to be loaded. As soon as you use TESTSIGNING OFF Windows will only load drivers signed or cross-signed by Microsoft again and doesn't care if you installed selfsigned drivers in TESTSIGNING mode.

Both switches do not disable PatchGuard, the thing this thread is about. Please read the topic und check your posts before you copy&paste something which is false information and does not have anything to do with the topic.

heibaiyuedui 07-03-2011 12:19

add(1.cmd):
bcdedit -set %ENTRY_GUID% locale zh-CN
or:
bcdedit -set %ENTRY_GUID% locale en-US
appearing to Starting:
Four-color logo of Microsoft

yogi_saw 07-25-2011 21:13

1 Attachment(s)
hi fyyre
I am new to win7 and 64bit os
this is first time I installed it
now I tried with ur tool but as I see some of the commands were not successful and I am not able to install unsigned drivers
I am attaching rar file which contains the error pls chk and tell me if I am doing something wrong, or I need something else

Kerlingen 07-25-2011 23:01

The one command which shows an error is not important. Everything else looks ok. Was there some error with the patch? Did you reboot?

Does your event log contain several "Service Control Manager Event-ID 7000" entries or how did you notice that the driver couldn't be loaded?

Does the driver work in testsigning mode?

yogi_saw 07-27-2011 15:17

I didn't chk event log but noticed that the driver which I wanted to install was not installing. further I managed to install it by DSEO method

ChupaChu 08-06-2011 20:49

tuts are always welcomed!

thanks!

_MAX_ 08-28-2011 23:06

Good job fyyre,
but unfortunately not working for me!
i test it on Windows 7 with no ServicePack(Version:6.17600.16385/ntkrnlmp.exe), i do everything with Administrator Permission and got Success message for each step, i restart and Boot with No PatchGuard(Windows Loading changes to Visa type :P) But when i try to load a sime DbgPrint() .sys file with OSRLoader i got Unsigned Warning Message like before !!!!
Can u please help Me? How to fix it ?

Kerlingen 08-29-2011 01:19

The patch is ONLY for Windows 7 x64 SP1 (v6.1.7601.17514) just like it says in the description.

_MAX_ 08-29-2011 03:18

Quote:

Originally Posted by Kerlingen (Post 74624)
The patch is ONLY for Windows 7 x64 SP1 (v6.1.7601.17514) just like it says in the description.

Is there any old version of available for older Windows for example Vista, Win7 Without Service pack and ...

Kerlingen 08-29-2011 03:29

The patch is more a proof of concept than something usable for any special purpose.

The official way to load drivers without using a trusted (and expensive) code signing certificate is running Windows in TESTSIGNING mode. This works with Windows Vista and Windows 7, no matter what service packs or security fixes are installed.

giv 09-15-2011 15:24

Read the rules first. Don't spam the board.
 
Quote:

Originally Posted by Kpoch (Post 74824)
well i need this and cant dl

A sent you on pm what you want.

Tachyon 10-05-2011 23:24

Quote:

Originally Posted by Fyyre (Post 66742)
Hi ahmadmansoor,

Certainly I can make some tutorials for X64 =)

-Fyyre


I'd also be interested to know what tools your using to reverse in x64.

Thanks !


All times are GMT +8. The time now is 15:26.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX