Disable java update service on Windows Vista or Windows 7. Today it seems that every program, no matter how useless it is, likes to install windows services for some reason. Apparently the creators think that their program is so important that it must be up to date constantly or somehow just has to be worth spending your CPU power and RAM. This service runs constantly, and the reason for this is that JAVA wants to check for updates once a month. Let’s remove that thing! To check if you have this annoyance eating your RAM and CPU time, take a look in the Task Manager.
Tweaking.com - Set Windows Services To Default Startup - This will set the Windows services to their default startup state. These utilities are part of Windows Repair. Msg.exe ( net send) in windows vista / 7 - user does not exist or is disconnected
![]()
So after 2 years of Vista, we still don’t have a working Java control panel that will enable us to disable the update service. Unticking the automatic update field, will not have any effect. It will stay active if you close the window, and take another look. It should be something like: C: Program Files. Javajre. 6binor, if you are running 6.
If applications or processes in a customer's Windows 7 operating system aren't responding, you can use the task manager to view, end and restart them. If I told you there was a public presentation and arguably demonstration of Windows 7, you probably wouldn’t believe me. Which is why I had to share this video with. Protected Processes Part 3 : Windows PKI Internals (Signing Levels, Scenarios, Root Keys, EKUs & Runtime Signers). Many times you need to take ownership of a file or folder in Windows. Development of Windows Vista occurred over the span of five and a half years, starting in earnest in May 2001, prior to the release of Microsoft's Windows XP. How to Customize Command Bar in Windows 7 Explorer? Add Cut, Copy, Paste and Other Useful Buttons. UPDATE: This tutorial has been updated to provide Windows 8 style.
Vista,C: Program Files (x. Javajre. 6bin. Right click on the file javacpl. Run as an administrator. This will open the control panel, and enable you to disable the Java updater. Just untick the selection button, and answer “Never” to the stupid question that the panel will ask you. You can now check that the service is gone from the Task Manager.
While you are in here, you might want to take a look at the advanced settings. Disable the new fancy plugin if your Java is not working in Firefox, and you can also disable the system tray icon if you don’t like it. Tadaaa! Your system is now a tiny bit faster than before.
Pass- the- Hash Mitigations in Windows 8. Alex Ionescu’s Blog.
Introduction. It was more than six years ago that I first posted on the concept of protected processes, making my opinion of this poorly thought- out DRM scheme clear in the title alone: “Why Protected Processes Are A Bad Idea”. It appears that Microsoft took a long, hard look at the mechanism (granted, an impenetrable user- mode process can have interesting security benefits — if we can get DRM out of the picture), creating a new class of process yet again: the Protected Process Light, sometimes abbreviated PPL in the kernel. Unlike its “heavy” brother, the protected process light actually serves as a type of security boundary, bringing in three useful mitigations and security enhancements to the Windows platform. Over the next three or four blog posts, we’ll see how each of these enhancements is implemented, starting this week with Pass- the- Hash (PTH) Mitigation. We’ll talk about LSASS’ role in the Windows security model, followed by the technical details behind the new PPL model. And since it’s hard to cover any new security advancement without delving in at least a few other inter- related internals areas, we’ll also talk a little bit about Secure Boot and protected variables.
Perhaps most importantly, we’ll also see how to actually enable the Pt. H mitigation, as it is currently disabled by default on non- RT Windows versions.
The LSASS Process. In Windows, local user accounts are hashed using a well- known algorithm (NTLM) and stored in a database called the SAM (Security Accounts Manager), which is in itself a registry hive file. Just like with other operating systems, a variety of offline, and online attacks exist in order to obtain, reset, or otherwise reuse the hashes that are stored in the SAM, going from the usual “Password Reset” boot emergency disks, to malicious privilege escalation. Additionally, a variety of other cryptographic data is also stored in the SECURITY database, yet another registry hive file. This data includes information such as secrets, saved plain- text passwords, and more.
A process called the Local Security Authority (LSASS) manages the run- time state of this information, and is ultimately responsible for all logon operations (including remote logon over Active Directory). Therefore, in order to obtain access to this data, two primary mechanisms are used: 1) File- based attacks: the SAM/SECURITY hives are accessed, either offline, or online through tricks such as using Volume Shadow Copies, and the hashes + secrets extracted. This mechanism has disadvantages in that the storage formats can change, detailed registry knowledge is needed, and LSASS will often obfuscate much of the data (such as plain- text cached passwords).
Process- based attacks: since the hash and secret data from #1 above is neatly loaded by LSASS in readable form (and accessible thanks to easy- to- use query APIs), it is often much more preferable to simply inject code into the LSASS process itself, which is then used to dump hashes or secrets, as well as to create tokens based on those hashes. Additionally, researchers such as Gentil Kiwi have even discovered that LSASS contains plain- text passwords using reversible symmetric cryptography (with the key stored in the LSASS process itself). Tools now exist today to not only pass- the- hash, but to also pass- the- pass. In a default Windows 8 installation, both the local user account password, as well as the Microsoft Live Services password, is available in a plaintext- retrievable way. Obviously, both this file and the process are protected such that only the SYSTEM account can access them. But once running as Administrator, this is a simple hurdle — and since most users still run as Administrators (albeit with UAC, but that’s not a security boundary), exploits only have to escape whatever local sandbox they’re running in, get admin rights, get a system token, and inject into LSASS.
And of course, in a shared computer environment, another admin on the machine can get the passwords of all the users. What’s changed in Windows 8. Run Mimikatz or other pass- the- hash attacks and they still work out- of- the- box. But on a Windows 8. RT system (supposing one can compile for ARM), they won’t — in fact, even attempting to attach a debugger to the LSASS process will fail, regardless of user- mode permissions. The title of this blog post gives it away: in Windows 8. RT, LSASS is now a protected process light.
And with Registry Editor and the right key/value pair, your Windows 8. RT) can take advantage of this too. Protected Process Light Internals. Before taking a look at how to enable the mitigation, let’s see what makes a PPL tick. Unlike the simple “Protected. Process” bit in EPROCESS that I documented in Vista, a Windows 8. EPROCESS structure now has a “Protection” field of the following type: 1.
Additionally, the memory manager will prevent loading of DLLs that are not signed appropriately, using the Code Integrity improvements in Windows 8 that I covered in my talk at Break. Point last year — something I plan to revisit in this blog at a later time. Finally, although I didn’t mention this back in the Vista days, the application compatibility database is also disabled for these processes — an interesting attack vector that is blocked thanks to this. Enabling the Pass- the- Hash Mitigation. Now that we know about this improvement to the security architecture, how can one take advantage of it on a non- RT Windows 8. By looking at the updated flow of Wininit. LSASS, one can see that the Exec.
System. Processesroutine now calls Get. Lsa. Protection. Level which does a registry key read of HKLM\SYSTEM\Current.
Control. Set\Control\Lsa for the value Run. As. PPL. Before reading the registry however, it also calls Read. Lsa. Config. Environment. Variable — the importance of which we’ll see in a bit.
Either way, as long as one of these two things is set (the environment variable or the registry key), Exec. System. Processeswill call Start. System. Process with the CREATE. In turn, the routine will utilize the new Vista Process/Thread Attribute List functionality to add attribute 0x. B — documented as the new Windows 8. Protection Level Attribute“.
As you can expect, the level is set to 4, which matches the “LSA Signer” enumeration value above. And just like that, LSASS is now a PPL, and protected against even an admin (or even SYSTEM) attacker. And no, not even SE.
Clicking on any of the linked function names will reveal Hex- Rays output to match this flow. As a side note, is this all you need to launch as process as protected light — a protection level in a new attribute? Astute readers have probably already dumped the EPROCESS for Wininit.
PPL process (albeit, with a different Level!). The security model isn’t stupid — a PPL can only be launched by another PPL (or a PP, which is even more protected), and there’s a hierarchy in the levels as well, which we’ll see in a later post. Obviously, this means that Smss. Wininit’s parent) must also be a PPL, and evidently the kernel has been running as a Protected Process since Vista. You could call this a user- mode protected chain of trust. These processes aren’t the only PPLs — we’ll see a lot more in a future post, and their purpose and configurability. Should you run off and set that registry key?
Once LSASS runs as a PPL, this will break any 3rd party software that might be attempting to inject or modify LSASS state. And sadly, at work, I’ve seen a number of these. Additionally, LSASS has a number of extensibility points, some used as ASEPs by attackers, others used legitimately to provide enhanced security or cryptographic services. Without the right signature and EKU (which right now means a WHQL signature with Microsoft as the signer — not just any Authenticode garbage!), those DLLs, plugins, and extensions will stop working. In certain IT scenarios, this can be a catastrophic compatibility problem, no doubt why Microsoft has chosen to keep this disabled for now. But on a home computer, where you know you don’t have specialized software, and you firmly believe that AV (and others) should leave your LSASS alone? I’d say go for it.
A number of helpful event log entries in the Security log will warn you of any DLLs that failed to load in case you’re curious. Enhanced LSASS Mitigation With Secure Boot. Leaving the endless debate and controversy around Secure Boot aside, running Windows 8. UEFI- compatible machine with Secure Boot turned on will add an additional layer of security. Set the registry key as indicated above, reboot, watch LSASS run as a PPL, and now try deleting the registry key — then reboot again. LSASS will still run as a PPL. In fact, you can even re- install Windows 8.
LSASS will still run as a PPL. This is because Microsoft realized — if the attacker runs as Admin/SYSTEM and can inject into LSASS, but a registry key prevents this — why wouldn’t the Admin/SYSTEM attacker simply delete the key? Outside of active- key- monitoring shenanigans (which some parts of the kernel do employ, mostly licensing), not much. And definitely an offline attacker will have no problem editing the hive directly (unless Bit. Locker is also active). This changes with Secure Boot however, as Windows has the ability to use the standard UEFI system variable runtime routines and set a value directly in the firmware store using Set. Firmware. Environment.
Variable. Ex API (and its kernel equivalents such as the Nt. Set. System. Environment. Variable. Ex and Ex.
Set. Firmware. Environment. Variable routines). To be fair, this is standard UEFI behavior; what Secure Boot brings to the table is the Namespace GUID that Windows can use — which if you were paying attention you saw in the Read. Lsa. Config. Enviroment.
Variable snippet earlier. This GUID, . In this case, it stores a variable named Kernel. As soon as this variable is set, the registry values no longer matter — PPL is enabled for LSASS.