how to set permissions on a serviceHow to add dependency on a Windows Service AFTER the service is installedWindows Service can't access network shareRed Hat server permissions issueWhat is the difference between running a Windows service vs. running through shell?How to fix “TCP/IP Sequence Prediction Blind Reset Spoofing DoS”NTFS permissions explanationWindows Service Account Log on as Batch doesnt set appdataService able to access file on network when running as specific user, but not as Local System accountWhy is my Windows BuildBot service failing immediately with error 7000?Some Windows services not visible remotely

Multi tool use
Multi tool use

Very serious stuff - Salesforce bug enabled "Modify All"

Does the Aboleth have expertise in history and perception?

What city and town structures are important in a low fantasy medieval world?

Can't think of a good word or term to describe not feeling or thinking

Bash Read: Reading comma separated list, last element is missed

Pedaling at different gear ratios on flat terrain: what's the point?

Bookshelves: the intruder

Working hours and productivity expectations for game artists and programmers

How to choose the correct exposure for flower photography?

Why should one apply for UK visa before other visas, on a multi-destination European holiday?

Is my company merging branches wrong?

Why does snapping your fingers activate the Infinity Gauntlet?

How do I unravel apparent recursion in an edef statement?

Novel where a cube cooled below absolute zero makes a hole in reality

Chain rule instead of product rule

Is it a good idea to teach algorithm courses using pseudocode instead of a real programming language?

Managing heat dissipation in a magic wand

pwaS eht tirsf dna tasl setterl fo hace dorw

Head-internal relative clauses

Good examples of "two is easy, three is hard" in computational sciences

Why could the Lunar Ascent Engine be used only once?

Why are stats in Angband written as 18/** instead of 19, 20...?

Hotel booking: Why is Agoda much cheaper than booking.com?

Vehemently against code formatting



how to set permissions on a service


How to add dependency on a Windows Service AFTER the service is installedWindows Service can't access network shareRed Hat server permissions issueWhat is the difference between running a Windows service vs. running through shell?How to fix “TCP/IP Sequence Prediction Blind Reset Spoofing DoS”NTFS permissions explanationWindows Service Account Log on as Batch doesnt set appdataService able to access file on network when running as specific user, but not as Local System accountWhy is my Windows BuildBot service failing immediately with error 7000?Some Windows services not visible remotely






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















A Nessus plugin 44676 audit scan revealed this issue:
"SMB Insecurely Configured Service"
Description
At least one insecurely configured Windows service was detected on the remote host. Unprivileged users can modify the properties of these affected services.



An unprivileged, local attacker could exploit this to execute arbitrary commands as SYSTEM.
Solution
Ensure the 'Everyone' group does not have ChangeConf, WDac, or WOwn permissions. Refer to the Microsoft documentation for more information.
See Also
http://support.microsoft.com/kb/914392
http://msdn.microsoft.com/en-us/library/ms685981(VS.85).aspx
Output
• The following service has insecure permissions for Everyone:


• Task Scheduler (Schedule) : DC, WD, WO



I copied the security descriptor from another machine that doesn't have this issue, with sc sdshow schedule. Then I tried to set it on the affected machine with sc sdset schedule *SDDL_security_descriptor*. But when I rebooted the machine and then checked again with the sdshow, it was back to what it was before.
Does anyone know how to make this work or another remediation for this finding?










share|improve this question






















  • What is the output of sc sdshow schedule?

    – sippybear
    Aug 10 '16 at 21:40











  • I would expect an output more along the lines of: D:(A;;CCLCSWLORC;;;AU)(A;;CCLCSWRPDTLOCRRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWLORC;;;BU)

    – sippybear
    Aug 11 '16 at 17:48












  • I'm sorry, I was thinking sdset. The sdshow output is: D:(A;OICI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

    – Roman
    Aug 12 '16 at 20:28

















3















A Nessus plugin 44676 audit scan revealed this issue:
"SMB Insecurely Configured Service"
Description
At least one insecurely configured Windows service was detected on the remote host. Unprivileged users can modify the properties of these affected services.



An unprivileged, local attacker could exploit this to execute arbitrary commands as SYSTEM.
Solution
Ensure the 'Everyone' group does not have ChangeConf, WDac, or WOwn permissions. Refer to the Microsoft documentation for more information.
See Also
http://support.microsoft.com/kb/914392
http://msdn.microsoft.com/en-us/library/ms685981(VS.85).aspx
Output
• The following service has insecure permissions for Everyone:


• Task Scheduler (Schedule) : DC, WD, WO



I copied the security descriptor from another machine that doesn't have this issue, with sc sdshow schedule. Then I tried to set it on the affected machine with sc sdset schedule *SDDL_security_descriptor*. But when I rebooted the machine and then checked again with the sdshow, it was back to what it was before.
Does anyone know how to make this work or another remediation for this finding?










share|improve this question






















  • What is the output of sc sdshow schedule?

    – sippybear
    Aug 10 '16 at 21:40











  • I would expect an output more along the lines of: D:(A;;CCLCSWLORC;;;AU)(A;;CCLCSWRPDTLOCRRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWLORC;;;BU)

    – sippybear
    Aug 11 '16 at 17:48












  • I'm sorry, I was thinking sdset. The sdshow output is: D:(A;OICI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

    – Roman
    Aug 12 '16 at 20:28













3












3








3








A Nessus plugin 44676 audit scan revealed this issue:
"SMB Insecurely Configured Service"
Description
At least one insecurely configured Windows service was detected on the remote host. Unprivileged users can modify the properties of these affected services.



An unprivileged, local attacker could exploit this to execute arbitrary commands as SYSTEM.
Solution
Ensure the 'Everyone' group does not have ChangeConf, WDac, or WOwn permissions. Refer to the Microsoft documentation for more information.
See Also
http://support.microsoft.com/kb/914392
http://msdn.microsoft.com/en-us/library/ms685981(VS.85).aspx
Output
• The following service has insecure permissions for Everyone:


• Task Scheduler (Schedule) : DC, WD, WO



I copied the security descriptor from another machine that doesn't have this issue, with sc sdshow schedule. Then I tried to set it on the affected machine with sc sdset schedule *SDDL_security_descriptor*. But when I rebooted the machine and then checked again with the sdshow, it was back to what it was before.
Does anyone know how to make this work or another remediation for this finding?










share|improve this question














A Nessus plugin 44676 audit scan revealed this issue:
"SMB Insecurely Configured Service"
Description
At least one insecurely configured Windows service was detected on the remote host. Unprivileged users can modify the properties of these affected services.



An unprivileged, local attacker could exploit this to execute arbitrary commands as SYSTEM.
Solution
Ensure the 'Everyone' group does not have ChangeConf, WDac, or WOwn permissions. Refer to the Microsoft documentation for more information.
See Also
http://support.microsoft.com/kb/914392
http://msdn.microsoft.com/en-us/library/ms685981(VS.85).aspx
Output
• The following service has insecure permissions for Everyone:


• Task Scheduler (Schedule) : DC, WD, WO



I copied the security descriptor from another machine that doesn't have this issue, with sc sdshow schedule. Then I tried to set it on the affected machine with sc sdset schedule *SDDL_security_descriptor*. But when I rebooted the machine and then checked again with the sdshow, it was back to what it was before.
Does anyone know how to make this work or another remediation for this finding?







windows permissions windows-service nessus






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 10 '16 at 21:22









RomanRoman

90311




90311












  • What is the output of sc sdshow schedule?

    – sippybear
    Aug 10 '16 at 21:40











  • I would expect an output more along the lines of: D:(A;;CCLCSWLORC;;;AU)(A;;CCLCSWRPDTLOCRRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWLORC;;;BU)

    – sippybear
    Aug 11 '16 at 17:48












  • I'm sorry, I was thinking sdset. The sdshow output is: D:(A;OICI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

    – Roman
    Aug 12 '16 at 20:28

















  • What is the output of sc sdshow schedule?

    – sippybear
    Aug 10 '16 at 21:40











  • I would expect an output more along the lines of: D:(A;;CCLCSWLORC;;;AU)(A;;CCLCSWRPDTLOCRRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWLORC;;;BU)

    – sippybear
    Aug 11 '16 at 17:48












  • I'm sorry, I was thinking sdset. The sdshow output is: D:(A;OICI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

    – Roman
    Aug 12 '16 at 20:28
















What is the output of sc sdshow schedule?

– sippybear
Aug 10 '16 at 21:40





What is the output of sc sdshow schedule?

– sippybear
Aug 10 '16 at 21:40













I would expect an output more along the lines of: D:(A;;CCLCSWLORC;;;AU)(A;;CCLCSWRPDTLOCRRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWLORC;;;BU)

– sippybear
Aug 11 '16 at 17:48






I would expect an output more along the lines of: D:(A;;CCLCSWLORC;;;AU)(A;;CCLCSWRPDTLOCRRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWLORC;;;BU)

– sippybear
Aug 11 '16 at 17:48














I'm sorry, I was thinking sdset. The sdshow output is: D:(A;OICI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

– Roman
Aug 12 '16 at 20:28





I'm sorry, I was thinking sdset. The sdshow output is: D:(A;OICI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

– Roman
Aug 12 '16 at 20:28










2 Answers
2






active

oldest

votes


















1














I finally found the answer. The sc sdset command was working, but really unnecessary. The real cause of the issue was a Group Policy object that set the task scheduler service startup setting and permissions. It was set inappropriately and was being applied every time the machine started, of course, as it was applied to the root of the domain.






share|improve this answer






























    -1














    The following command solved the issue for us:



    sc.exe sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)





    share|improve this answer




















    • 2





      you might want to add some details about what the command does, what are the parameter or similiar.

      – Dennis Nolte
      Mar 28 '17 at 15:34











    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f796110%2fhow-to-set-permissions-on-a-service%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    I finally found the answer. The sc sdset command was working, but really unnecessary. The real cause of the issue was a Group Policy object that set the task scheduler service startup setting and permissions. It was set inappropriately and was being applied every time the machine started, of course, as it was applied to the root of the domain.






    share|improve this answer



























      1














      I finally found the answer. The sc sdset command was working, but really unnecessary. The real cause of the issue was a Group Policy object that set the task scheduler service startup setting and permissions. It was set inappropriately and was being applied every time the machine started, of course, as it was applied to the root of the domain.






      share|improve this answer

























        1












        1








        1







        I finally found the answer. The sc sdset command was working, but really unnecessary. The real cause of the issue was a Group Policy object that set the task scheduler service startup setting and permissions. It was set inappropriately and was being applied every time the machine started, of course, as it was applied to the root of the domain.






        share|improve this answer













        I finally found the answer. The sc sdset command was working, but really unnecessary. The real cause of the issue was a Group Policy object that set the task scheduler service startup setting and permissions. It was set inappropriately and was being applied every time the machine started, of course, as it was applied to the root of the domain.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 17 '16 at 3:18









        RomanRoman

        90311




        90311























            -1














            The following command solved the issue for us:



            sc.exe sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)





            share|improve this answer




















            • 2





              you might want to add some details about what the command does, what are the parameter or similiar.

              – Dennis Nolte
              Mar 28 '17 at 15:34















            -1














            The following command solved the issue for us:



            sc.exe sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)





            share|improve this answer




















            • 2





              you might want to add some details about what the command does, what are the parameter or similiar.

              – Dennis Nolte
              Mar 28 '17 at 15:34













            -1












            -1








            -1







            The following command solved the issue for us:



            sc.exe sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)





            share|improve this answer















            The following command solved the issue for us:



            sc.exe sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 28 '17 at 15:33









            Dennis Nolte

            2,40632133




            2,40632133










            answered Mar 28 '17 at 12:10









            deXdeX

            12




            12







            • 2





              you might want to add some details about what the command does, what are the parameter or similiar.

              – Dennis Nolte
              Mar 28 '17 at 15:34












            • 2





              you might want to add some details about what the command does, what are the parameter or similiar.

              – Dennis Nolte
              Mar 28 '17 at 15:34







            2




            2





            you might want to add some details about what the command does, what are the parameter or similiar.

            – Dennis Nolte
            Mar 28 '17 at 15:34





            you might want to add some details about what the command does, what are the parameter or similiar.

            – Dennis Nolte
            Mar 28 '17 at 15:34

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f796110%2fhow-to-set-permissions-on-a-service%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            ZZ3TdWF4,sBOTogyI QhdgzK8plR4HfLY Zg7YsY,C
            1Ozjr99Jk,Jxwk6cVfoZfzoXJ5VpXTICwyv8TE 60gW0R riE

            Popular posts from this blog

            RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

            Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

            Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020