How can I prevent a program from checking my connection status












1















I want to block a program from checking if my pc is actually connected to the internet.



I was blocking it's network connection with Windows Defender's Firewall.



In advanced Settings I simply added an outbound rule to block all three
connection types for main .exe file of the program.



It worked i mean it prevent the program from connecting, but it's not exactly what i wanted.





but the program was still trying to reach the internet.



I want the program to read my connection status as offline if it's possible



Many thanks for any help










share|improve this question




















  • 1





    Defender should be enough. Please show us what you have done.

    – montonero
    Jan 24 at 7:33
















1















I want to block a program from checking if my pc is actually connected to the internet.



I was blocking it's network connection with Windows Defender's Firewall.



In advanced Settings I simply added an outbound rule to block all three
connection types for main .exe file of the program.



It worked i mean it prevent the program from connecting, but it's not exactly what i wanted.





but the program was still trying to reach the internet.



I want the program to read my connection status as offline if it's possible



Many thanks for any help










share|improve this question




















  • 1





    Defender should be enough. Please show us what you have done.

    – montonero
    Jan 24 at 7:33














1












1








1








I want to block a program from checking if my pc is actually connected to the internet.



I was blocking it's network connection with Windows Defender's Firewall.



In advanced Settings I simply added an outbound rule to block all three
connection types for main .exe file of the program.



It worked i mean it prevent the program from connecting, but it's not exactly what i wanted.





but the program was still trying to reach the internet.



I want the program to read my connection status as offline if it's possible



Many thanks for any help










share|improve this question
















I want to block a program from checking if my pc is actually connected to the internet.



I was blocking it's network connection with Windows Defender's Firewall.



In advanced Settings I simply added an outbound rule to block all three
connection types for main .exe file of the program.



It worked i mean it prevent the program from connecting, but it's not exactly what i wanted.





but the program was still trying to reach the internet.



I want the program to read my connection status as offline if it's possible



Many thanks for any help







firewall connection blocking






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 24 at 8:15







Gordrik

















asked Jan 24 at 7:12









GordrikGordrik

84




84








  • 1





    Defender should be enough. Please show us what you have done.

    – montonero
    Jan 24 at 7:33














  • 1





    Defender should be enough. Please show us what you have done.

    – montonero
    Jan 24 at 7:33








1




1





Defender should be enough. Please show us what you have done.

– montonero
Jan 24 at 7:33





Defender should be enough. Please show us what you have done.

– montonero
Jan 24 at 7:33










2 Answers
2






active

oldest

votes


















0














Tl;dr – you cannot.





Short of patching to modify the program's executable, you cannot prevent a program from checking my connection status.



It will execute its code, if you allow it to run. So, yes, technically, you can prevent it from checking your internet status by not allowing it run. Once it runs, it will do what it was programmed to do.



Others appear to be addressing “how do I prevent a program from accessing the internet”. If that is what you mean, then please edit the question’s title.



But, as the title stands, the answer is that you cannot.






share|improve this answer
























  • If an application checking its connection status by accessing some network resource then obviously you can prevent it.

    – montonero
    Jan 24 at 9:57











  • No you cannot - as the title stands. The OP is not asking how to prevent the app from knowing his connection status, but form querying it.

    – Mawg
    Jan 24 at 12:47











  • Well it's still theoretically possible to spoof the application into thinking that the network connection state is offline. Therefore it will not try to do the query. Although I wasn't able to find any implemented solution for this.

    – montonero
    Jan 24 at 12:54











  • As the title stands, the question is NOT about what the application believes and how to spoof it. It is about preventing the application from making the query in the first place.

    – Mawg
    Jan 24 at 12:56











  • If the application will believe that the network connection is offline then it will not do the query therefore the goal will be achieved: the application was prevented from making the query.

    – montonero
    Jan 24 at 13:15



















-2














Try to detect which ports the program uses with the Fiddler (https://www.telerik.com/fiddler).






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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%2fsuperuser.com%2fquestions%2f1397800%2fhow-can-i-prevent-a-program-from-checking-my-connection-status%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









    0














    Tl;dr – you cannot.





    Short of patching to modify the program's executable, you cannot prevent a program from checking my connection status.



    It will execute its code, if you allow it to run. So, yes, technically, you can prevent it from checking your internet status by not allowing it run. Once it runs, it will do what it was programmed to do.



    Others appear to be addressing “how do I prevent a program from accessing the internet”. If that is what you mean, then please edit the question’s title.



    But, as the title stands, the answer is that you cannot.






    share|improve this answer
























    • If an application checking its connection status by accessing some network resource then obviously you can prevent it.

      – montonero
      Jan 24 at 9:57











    • No you cannot - as the title stands. The OP is not asking how to prevent the app from knowing his connection status, but form querying it.

      – Mawg
      Jan 24 at 12:47











    • Well it's still theoretically possible to spoof the application into thinking that the network connection state is offline. Therefore it will not try to do the query. Although I wasn't able to find any implemented solution for this.

      – montonero
      Jan 24 at 12:54











    • As the title stands, the question is NOT about what the application believes and how to spoof it. It is about preventing the application from making the query in the first place.

      – Mawg
      Jan 24 at 12:56











    • If the application will believe that the network connection is offline then it will not do the query therefore the goal will be achieved: the application was prevented from making the query.

      – montonero
      Jan 24 at 13:15
















    0














    Tl;dr – you cannot.





    Short of patching to modify the program's executable, you cannot prevent a program from checking my connection status.



    It will execute its code, if you allow it to run. So, yes, technically, you can prevent it from checking your internet status by not allowing it run. Once it runs, it will do what it was programmed to do.



    Others appear to be addressing “how do I prevent a program from accessing the internet”. If that is what you mean, then please edit the question’s title.



    But, as the title stands, the answer is that you cannot.






    share|improve this answer
























    • If an application checking its connection status by accessing some network resource then obviously you can prevent it.

      – montonero
      Jan 24 at 9:57











    • No you cannot - as the title stands. The OP is not asking how to prevent the app from knowing his connection status, but form querying it.

      – Mawg
      Jan 24 at 12:47











    • Well it's still theoretically possible to spoof the application into thinking that the network connection state is offline. Therefore it will not try to do the query. Although I wasn't able to find any implemented solution for this.

      – montonero
      Jan 24 at 12:54











    • As the title stands, the question is NOT about what the application believes and how to spoof it. It is about preventing the application from making the query in the first place.

      – Mawg
      Jan 24 at 12:56











    • If the application will believe that the network connection is offline then it will not do the query therefore the goal will be achieved: the application was prevented from making the query.

      – montonero
      Jan 24 at 13:15














    0












    0








    0







    Tl;dr – you cannot.





    Short of patching to modify the program's executable, you cannot prevent a program from checking my connection status.



    It will execute its code, if you allow it to run. So, yes, technically, you can prevent it from checking your internet status by not allowing it run. Once it runs, it will do what it was programmed to do.



    Others appear to be addressing “how do I prevent a program from accessing the internet”. If that is what you mean, then please edit the question’s title.



    But, as the title stands, the answer is that you cannot.






    share|improve this answer













    Tl;dr – you cannot.





    Short of patching to modify the program's executable, you cannot prevent a program from checking my connection status.



    It will execute its code, if you allow it to run. So, yes, technically, you can prevent it from checking your internet status by not allowing it run. Once it runs, it will do what it was programmed to do.



    Others appear to be addressing “how do I prevent a program from accessing the internet”. If that is what you mean, then please edit the question’s title.



    But, as the title stands, the answer is that you cannot.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 24 at 8:12









    MawgMawg

    1,59053051




    1,59053051













    • If an application checking its connection status by accessing some network resource then obviously you can prevent it.

      – montonero
      Jan 24 at 9:57











    • No you cannot - as the title stands. The OP is not asking how to prevent the app from knowing his connection status, but form querying it.

      – Mawg
      Jan 24 at 12:47











    • Well it's still theoretically possible to spoof the application into thinking that the network connection state is offline. Therefore it will not try to do the query. Although I wasn't able to find any implemented solution for this.

      – montonero
      Jan 24 at 12:54











    • As the title stands, the question is NOT about what the application believes and how to spoof it. It is about preventing the application from making the query in the first place.

      – Mawg
      Jan 24 at 12:56











    • If the application will believe that the network connection is offline then it will not do the query therefore the goal will be achieved: the application was prevented from making the query.

      – montonero
      Jan 24 at 13:15



















    • If an application checking its connection status by accessing some network resource then obviously you can prevent it.

      – montonero
      Jan 24 at 9:57











    • No you cannot - as the title stands. The OP is not asking how to prevent the app from knowing his connection status, but form querying it.

      – Mawg
      Jan 24 at 12:47











    • Well it's still theoretically possible to spoof the application into thinking that the network connection state is offline. Therefore it will not try to do the query. Although I wasn't able to find any implemented solution for this.

      – montonero
      Jan 24 at 12:54











    • As the title stands, the question is NOT about what the application believes and how to spoof it. It is about preventing the application from making the query in the first place.

      – Mawg
      Jan 24 at 12:56











    • If the application will believe that the network connection is offline then it will not do the query therefore the goal will be achieved: the application was prevented from making the query.

      – montonero
      Jan 24 at 13:15

















    If an application checking its connection status by accessing some network resource then obviously you can prevent it.

    – montonero
    Jan 24 at 9:57





    If an application checking its connection status by accessing some network resource then obviously you can prevent it.

    – montonero
    Jan 24 at 9:57













    No you cannot - as the title stands. The OP is not asking how to prevent the app from knowing his connection status, but form querying it.

    – Mawg
    Jan 24 at 12:47





    No you cannot - as the title stands. The OP is not asking how to prevent the app from knowing his connection status, but form querying it.

    – Mawg
    Jan 24 at 12:47













    Well it's still theoretically possible to spoof the application into thinking that the network connection state is offline. Therefore it will not try to do the query. Although I wasn't able to find any implemented solution for this.

    – montonero
    Jan 24 at 12:54





    Well it's still theoretically possible to spoof the application into thinking that the network connection state is offline. Therefore it will not try to do the query. Although I wasn't able to find any implemented solution for this.

    – montonero
    Jan 24 at 12:54













    As the title stands, the question is NOT about what the application believes and how to spoof it. It is about preventing the application from making the query in the first place.

    – Mawg
    Jan 24 at 12:56





    As the title stands, the question is NOT about what the application believes and how to spoof it. It is about preventing the application from making the query in the first place.

    – Mawg
    Jan 24 at 12:56













    If the application will believe that the network connection is offline then it will not do the query therefore the goal will be achieved: the application was prevented from making the query.

    – montonero
    Jan 24 at 13:15





    If the application will believe that the network connection is offline then it will not do the query therefore the goal will be achieved: the application was prevented from making the query.

    – montonero
    Jan 24 at 13:15













    -2














    Try to detect which ports the program uses with the Fiddler (https://www.telerik.com/fiddler).






    share|improve this answer




























      -2














      Try to detect which ports the program uses with the Fiddler (https://www.telerik.com/fiddler).






      share|improve this answer


























        -2












        -2








        -2







        Try to detect which ports the program uses with the Fiddler (https://www.telerik.com/fiddler).






        share|improve this answer













        Try to detect which ports the program uses with the Fiddler (https://www.telerik.com/fiddler).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 24 at 7:36









        Roman TarasiukRoman Tarasiuk

        173




        173






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1397800%2fhow-can-i-prevent-a-program-from-checking-my-connection-status%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







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            RAC Tourist Trophy