NT Authority\System + registry: access denied? (BFE, Firewall, Defende


Recommended Posts

hi

Someone brought me a laptop where "the internet did not function anymore". I attempted a system restore, still the problem existed.

I tried scanning with a few anti-malware programs (MBAM, Avast), nothing was found.

MSE can also not be installed.

I noticed a firewall issue, but it's much more than that. The Base Filtering Engine did not start, so several depending services couldn't be started, so no internet... I fixed the internet problem by changing some permissions to a reg key, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BSE or something like that. Internet access is back. I now have the firewall service running, but not the firewall. Also Windows Defender fails to start.

Thanks to ProcMon, I noticed that "NT Authority\System" returns "access denied" while accessing the registry in nearly all those instances. Yet when I check, "SYSTEM" is found in (most of) the permissions for the reg keys, and has full access in (nearly) all cases.

So before I manually change anything: are there any hints on what might be causing this? (I solved one or two by adding FULL CONTROL permissions for EVERYONE, which is definitely not the way to go. NT Authority\SYSTEM has also been added to the ADMINISTRATORS group, but no avail).

Thank you very much in advance!

( Windows 7 Home Premium )

Are you positive that there is not a virus or malware on the system? I had one on my system the MWB detected and removed, but it still came back, and it was masquerading as a system file (csrss.exe) but it was loading it from a hidden/system folder simply called Nvida. I would also recommend trying NTFS Access and see if perhaps the NTFS permissions are screwed up. One other check that can be done easily is: Open command prompt, and do

dir/ah

you also might want to include the /s switch and see if anything looks out of the ordinary.

No, not positive the malware has been removed (and yes, it's very likely it's malware, but my usual set of tools didn't pick up anything - and MSE even failed to (re)install, it's also gone).

As for the access, I really mean the rights in the registry. Those keys ( HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BSE / HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Winsock2/Parameters / HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Epoch2 or something like that) all returned "NT AUTHORITY\SYSTEM" "access denied", although the rights are in fact granted if I check everything.

One other thing to attempt: open an elevated command prompt, and type in

sfc/scannow

this process will take some time, but should be able to fix any corrupted system files.

Found this doing a google search:

I had some problems with my registery permissions a while ago, I couldn?t delete any thing any more, so I was looking for something that could reset my registery permissions to defaults. Here is the solution that worked for me

If you want to reset the entire registry permissions to defaults follow these steps

Note:- Before Doing any changes to registry plesae take a backup and start your changes

First you need to download SubInACL from here

SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.

Create a file with the name reset.cmd under C:\Program Files\Windows Resource Kits\Tools folder

Now you need to Edit the reset.cmd file and add the following lines

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f

subinacl /subdirectories %SystemDrive% /grant=administrators=f

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f

subinacl /subdirectories %SystemDrive% /grant=system=f

Save and exit your file

Now you need to open command prompt run the following command

cdcd ?C:\Program Files\Windows Resource Kits\Tools?

after this press enter and enter the following command

reset.cmd

after entering this please press enter

after a few minutes by processing subinacl, the permission will be reset

Thanks. Still no fix though. Yesterday I managed to have an internet connection, working, just not the firewall, today I'm offline again.

Even the Diagnostics Policy Service fails (also access denied).

This must have been / be one serious malware infection!

Have you attempted to create a new user account? I would try and see if perhaps just that profile is corrupt. If not then it seems that your only remaining choice would be a reinstall!

"So far, never had to format any PC after malware"

Sad as it may be, this really is no longer a viable option with the sophistication and complexity of modern day infections.

Sometimes you just have to "nuke it from orbit" as the only sure way of being sure its clean.

If you can not be reasonably sure that you have cleaned it after a specific time frame, a nuke is most likely going to be the safest approach both in time spent and confidence that it is actually clean.

It is a good practice once you create a system and get your applications/tools installed and configured how you like it to take an image. And then update this image as you make major changes to the system, say after a specific number of patches, install of new major applications, etc. This way if the need arises you can get back to a clean usable install in just a few minutes.

Never use a laptop/desktop when you bought it off from someone. Who knows what it might have.

The safest way is to first the drivers for the computer and second do a clean install.

Never use a stranger's computer ever.

I didn't buy it, it's someone who brought it to me to have a look at the problem. I only buy new stuff ;)

I had already tried the creation of a new user account, but I had the same issues.

Last night, I tried a repair install (the fake upgrade method) of Windows 7. Lots of previously-unable-to-start services running again, although I did get a warning that the hard disk might be failing soon (but I think it's a consequence of removing SP1 so I could attempt the repair install). I'll be looking further into it tonight and keep you posted.

I'll say it again: You might as well format the HDD and reinstall the OS! Whatever is going on in the system is going to continue until you remove it, and based on what you are saying, you can not install any A/V or malware scanner, so the next most likely option is a reinstall :/

Something is really screwed up in that system :/ It might be worth while to ask your friend what he/she was doing prior to all hell breaking loose. At least in that case you might have a pretty good idea when/where the infection took place.

Screwed, beyond any malware infection I've seen so far (except for an XP one a couple of months ago).

No, they're the typical user who doesn't know why stuff happened... I bet adult sites, since apparently there was some warning in French about porn and having to pay up and stuff.

Current status: after the repair install, I got a bad HDD warning. On reboot, Windows hang on the logo. Win7 Start-up repair didn't help, I attached the drive to another laptop to make a back-up and try some chkdsk-stuff (which all was fine!). Ultimately, I was lucky and got it running again. Internet connection OK, just immensely slow for my taste, but that could be the PC itself, I obviously can't judge how slow it used to be let's say two weeks ago. Hope tonight it still works, since I need to re-apply lots of updates.

So how many days we into this now? If you would of just nuked it after say 2 hours dicking with it and not getting anywhere, the user would already have their machine back.

"I'm just too obsessed with the cause"

The cause is the USER ;) What they actually infected themselves with, it could be MULTIPLE things and the combo of them really messed things up. Does not always come down to 1 infection. Most machines I have cleaned in the past were infected with a plethora of things!!

I can understand your curiosity, I am inflected with the same trait!! But to be honest it comes down to the fact it was compromised in some fashion. The only real way to be sure that the infection is gone is nuke it.

New crap comes out hourly, its code changes at that same kind of rate - your going to see lots of different variants of the same infection. Most of the antivirus players don't always give lots of details of what a specific virus/malware/crapware does, etc.. So even if you had a name of the infection to work with - getting the details you seek might not be possible.

Your symptoms may be the cause of virus A doing X, then virus B doing Y, then C.. doing Z... etc..

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Flameshot 14.0 Final by Razvan Serea Flameshot is a free and open-source, cross-platform tool to take screenshots with many built-in features to save you time. Using Flameshot is as simple as launching, dragging the selection box to cover the area you want to capture, making annotations as needed in on-screen and saving the shot to your computer, all with a very simple and straightforward interface. Flameshot allows users to simply upload their screenshots directly to the cloud in order to easily share it with others. You can upload your image directly to Imgur with a single click and share the URL with others. In-app screenshot editing - You can choose to add an arrow mark, highlight text, blur a section (blur or pixelate an area), add a text, draw something, add a rectangular/circular shaped border, add an incrementing counter number, and add a solid color box with Flameshot's built-in editing tools. Command-line interface (CLI) - Flameshot has several commands you can use in the terminal without launching the GUI via a command line interface. The command line interface lets you script Flameshot and use it as the subject of key binds. Flameshot 14.0 release notes: This release brings major improvements to multi-monitor support, fractional scaling support, new capture workflows, and a long list of bug fixes across all platforms. Changelog: New Multi-Monitor Capture Workflow New monitor selection screen before capture for better multi-monitor and mixed-scaling support. Option to auto-capture the monitor under the cursor (X11 & Windows). Tray menu can directly select a monitor. Linux Improvements XDG Desktop Portal is now the primary screenshot method. Added legacy X11 fallback option for minimal window managers. New D-Bus capture API for scripting and automation. Windows Enhancements Global screenshot hotkeys now supported (not limited to Print Screen). New portable mode stores settings next to the executable. Clipboard now always uses PNG format for better compatibility. CLI & Platform Updates Redesigned flameshot screen command with per-monitor capture support. Added native Nix Flake support. More compact launcher UI and improved update notifications. Major Fixes Multiple Wayland stability fixes, including KDE Plasma crash fixes. Clipboard compatibility improvements for GNOME, Wayland, X11, Windows, and macOS. Fixed D-Bus hangs, capture crashes, and HiDPI region issues. Other Changes Dropped Ubuntu 20.04 (Focal) support. Updated translations and build infrastructure. Intel macOS builds are no longer provided. [full release notes] Download: Flameshot 14.0 | 18.1 MB (Open Source) Download: Flameshot Portable | 53.0 MB Links: Flameshot Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Helium Browser 0.13.4.1 by Razvan Serea Helium is a private, fast, and honest Chromium-based web browser — built for people, with love. It offers the best privacy by default, unbiased ad-blocking, and a clean experience free from bloat and noise. Proudly based on Ungoogled-Chromium, Helium removes Google’s clutter while keeping a fast, efficient development pipeline. With thoughtful touches like native !bangs and split view, Helium is a people-first, fully open-source browser that puts control back in your hands. Privacy, security, and control come first. Ads, trackers, and third-party cookies are blocked automatically, HTTPS is enforced everywhere, and all Chromium extensions work seamlessly — while Google can’t track your activity. Helium’s 13,000+ offline-ready !bangs let you jump straight to sites or AI tools like ChatGPT instantly. Open-source, people-first, and unbiased, Helium delivers a browsing experience that’s fast, secure, and free from noise, ads, and compromises. Helium Browser key features: Performance Fast, efficient, and lightweight — built on Chromium’s optimized engine. Energy-saving and consistent — stays fast over time without slowing down. No bloat — stripped of unnecessary components for maximum speed. Minimalist interface — compact, clean, and distraction-free. Customizable toolbar — hide elements you don’t need. Smooth and stable — no flicker, lag, or animation glitches. Comfort-focused experience — intuitive and unobtrusive. Privacy & Security Best privacy by default — blocks ads, trackers, phishing, and third-party cookies. Unbiased ad-blocking — powered by community filters and uBlock Origin. No telemetry or analytics — zero background web requests on first launch. Strict HTTPS enforcement — warns for insecure sites. Passkeys supported — modern authentication made simple. No built-in password manager or cloud sync — your data stays yours. Extension Compatibility Full Chromium extension support — including MV2 extensions. Anonymized Chrome Web Store requests — Google can’t track extension installs. Extended MV2 support — maintained for as long as possible. Smart Features Native !bangs — browse faster using 13,000+ offline-ready shortcuts. AI integration — use !chatgpt and others directly from the address bar. Offline functionality — bangs work without an Internet connection. Philosophy People-first design — open source, transparent, and community-driven. No ads, no noise, no bias — privacy and honesty over profit. Helium Browser 0.13.4.1 changelog: 0a4f1149 revision: bump to 4 (#1969) 4848de1f helium/core: enable the chromium screenshot feature (#1968) e0dec3f5 onboarding: integrate strings to i18n system (#1948) 417fa5bc i18n: fix newline parsing for onboarding 7a339b39 i18n: add foraged translations for onboarding 4f090cff i18n/generate: add handling for onboarding strings bfe48d58 i18n_apply: manually override parent grd logic for onboarding strings ab214e3c onboarding: bump in deps, wire up grdp afa6a059 helium/core: disable pdf infobar feature (#1965) eba585e7 helium/ui/vertical: fix new tab button alignment and icon size (#1964) 6ecfc9e0 helium/ui/tabs: fix horizontal tab hover background color (#1963) 3db87dc0 helium/ui/tabs: fix new tab button hover/press colors (#1962) 6bbdcc3e helium/ui: improve tab group UI in all layouts (#1961) 53deb314 helium/ui/tabs: enable tab group hover cards e93aece7 helium/ui/vertical: fix tab group appearance, prevent line overlap 629f5495 helium/ui/tabs: restore solid group header colors, enable new colors 961c962e helium/ui/tabs: move horiz tab group underline to bottom, make it thick c96deab6 merge: update to chromium 149.0.7827.155 (#1959) 36db56b4 i18n: update source.gen.json 5ce006ae patches: refresh for chromium 149.0.7827.155 b4c1ea62 merge: update ungoogled-chromium to 149.0.7827.155 4e5e8671 Update to Chromium 149.0.7827.155 08a3e7da helium/ui/layout: disable mute on collapsed vertical tabs (#1778) a0a5bbaf helium/core: simplify context menu and prevent huge widths (#1951) c4732aac devutils/i18n: add forage command (#1944) 11d16986 devutils/i18n: add an option to translate using local CLI tools (#1942) d820c3a2 i18n/prompt: tighten translation rules to prevent common errors (#1940) cf827007 Update to Chromium 149.0.7827.114 6e3d5164 Update to Chromium 149.0.7827.102 Download: Helium 64-bit | Portable 64-bit |~100.0 MB (Open Source) Download: Helium ARM64 | Portable ARM64 Links: Helium Home Page | macOS | Linux | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Reacting Well
      BizSAR earned a badge
      Reacting Well
    • First Post
      AndreaB earned a badge
      First Post
    • Week One Done
      Huge Trailer earned a badge
      Week One Done
    • Week One Done
      Classifyskilleducation earned a badge
      Week One Done
    • One Month Later
      eurospharma62 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      579
    2. 2
      +Edouard
      183
    3. 3
      PsYcHoKiLLa
      75
    4. 4
      Michael Scrip
      74
    5. 5
      neufuse
      64
  • Tell a friend

    Love Neowin? Tell a friend!