NTFS Permissions - SYSTEM

2,611

Solution 1

Most Windows services are running under the SYSTEM account. Windows Search Indexer, for example, runs under Local System account. If LocalSystem account cannot access your files, they will not be indexed / found via Windows Search.

There could be other side-effects, mostly related to the fact that many services (including third-party ones) are built with the assumption that user files are accessible to the system account.

So, in theory you can remove these permissions, but in practice you need a really good reason to do so.

Solution 2

If the directory gives access to Administrators, then it is not necessary to give access to SYSTEM. Any access token including SYSTEM will also have Administrators.

Share:
2,611

Related videos on Youtube

Marcos Bontempo
Author by

Marcos Bontempo

Updated on September 18, 2022

Comments

  • Marcos Bontempo
    Marcos Bontempo over 1 year

    I'm using the FIPS 140-2 module with OpenSSL (https://openssl.org/docs/fips/UserGuide-2.0.pdf). I'm programming an application that only gets the FIPS mode.

    Here is my Makefile:

    TOOLCHAIN:=/home/marcos/work/nitere/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin:$PATH
    CROSS_COMPILE:=arm-linux-gnueabihf-
    
    OPENSSLDIR = /usr/local/ssl
    INCLUDES = -I$(OPENSSLDIR)/include -I$(OPENSSLDIR)/fips-2.0/include
    LIBS= -lcrypto
    
    PATH:=${TOOLCHAIN}:${PATH}
    
    all:
        ${CROSS_COMPILE}gcc fipsctl.c -o fipsctl $(INCLUDES) $(LIBS)
    
    clean:
        rm -Rf *.o fipsctl
    

    And here is my code:

    #include <openssl/crypto.h>
    #include <stdio.h>
    
    ...
    int mode = FIPS_mode();
    if(mode == 0)
    {
        printf("*** FIPS module is disabled. ***");
    }
    if(mode == 1)
    {
        printf("*** FIPS module is enabled. ***");
    }
    

    When I try to cross-compile, I get this error:

    marcos@marcos-X450LD:~/work/nitere/app/nitere$ make
    arm-linux-gnueabihf-gcc fipsctl.c -o fipsctl -I/usr/local/ssl/include -I/usr/local/ssl/fips-2.0/include -Lcrypto
    /tmp/ccSQhRme.o: In function main': fipsctl.c:(.text+0x1a): undefined reference to `FIPS_mode
    collect2: error: ld returned 1 exit status
    make: *** [all] Error 1
    

    Does anybody know why I'm getting this error?

    Any tip will be very helpful, Thanks.

    • jww
      jww over 8 years
      I believe you need build/install the FIPS Object Module. That's the *-fips-* download. For example, openssl-fips-2.0.11.tar.gz.
    • dave_thompson_085
      dave_thompson_085 over 8 years
      Your makefile shows -lcrypto lowercase-ell but your log shows -Lcrypto uppercase-ell; which is it? If you actually have uppercase in your makefile, that's wrong. @jww: apps don't call the FIPS module directly, only through the 'FIPS capable' OpenSSL library. If FIPS_mode did link but on execution returned false, that could be a missing FIPS module.
    • Marcos Bontempo
      Marcos Bontempo over 8 years
      Thanks for the answers! I installed the FIPS object module and OpenSSL using ./config fips. Did I forget to include some parameter? Is there a way to check if my OpenSSL installation supports FIPS 140-2?
  • bwDraco
    bwDraco over 12 years
    FYI: Norton Internet Security uses the SYSTEM account as well. If you use NIS, it will not be able to scan any files in folders which the Local System account cannot access.
  • Psycogeek
    Psycogeek over 12 years
    general installation? depending on the OS. I am thinking nothing good could come of it, but it would be fun to try :-)
  • CristiFati
    CristiFati over 7 years