[C#] Reset Windows 7 Rearm Count (Need Testers)

Discussion in 'Mixed Languages' started by SS111, Sep 4, 2011.

  1. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #61 CODYQX4, Sep 5, 2011
    Last edited: Apr 15, 2019
    .
     
  2. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    Yes, I call hexadecimal, part of this is considerated a an offset ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    SPP I haven't tried, it's need decompile for search any connection with the kernel .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #64 CODYQX4, Sep 5, 2011
    Last edited: Apr 15, 2019
    .
     
  5. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    It is not static, will have an absolute synchronization since the launch of the application until the injection of code ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    It's a milisseconds class, until SLUI invoke the kernel and is standing right on top of the function ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. SS111

    SS111 MDL Novice

    Jul 19, 2011
    30
    2
    0
    #67 SS111, Sep 5, 2011
    Last edited: Sep 5, 2011
    (OP)
    EDIT:

    No one ever saw that post. Have any of you three compiled JC's new method into an application yet?
     
  8. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    Disassemble without permission generate instantly punish with this forum, per disrespect to others developers ;

    And I doubt you can see some code with "Reflector", anemeros has a hard encryption on your developments from the beginning ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. SS111

    SS111 MDL Novice

    Jul 19, 2011
    30
    2
    0
    Oh, hmm, I guess your right.
    Well, I tried.

    Have you guys got any further with the new activation method?
     
  10. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #70 CODYQX4, Sep 5, 2011
    Last edited: Apr 15, 2019
    .
     
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    This doesn't activate...lol
     
  12. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    #72 Josh Cell, Sep 10, 2011
    Last edited by a moderator: Apr 20, 2017
    Code:
                            using (var user = WindowsIdentity.GetCurrent())
                            {
                                //Take ownership of the directory
                                var dOwnership = new DirectorySecurity();
                                dOwnership.SetOwner(user.User);
                                Directory.SetAccessControl("C:/Windows/System32", dOwnership);
    
    
                                //Get access to the directory.
                                var dAccess = new DirectorySecurity();
                                dAccess.AddAccessRule(new FileSystemAccessRule(user.User, FileSystemRights.FullControl, AccessControlType.Allow));
                                Directory.SetAccessControl("C:/Windows/System32", dAccess);
                            }
    I advise the use of the Icacls and Takeownership for the ACL Replacement ;

    Or use try / catch arguments for not crashing the app if occurs any error ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #73 CODYQX4, Sep 10, 2011
    Last edited: Apr 15, 2019
    .
     
  14. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    The ACL Replacement is useful on hacked OS with ACL Mods in the Tokens ;

    I use the Advanced ACL replacement, restoring the original permissions for Tokens file on Backup / Restore with total success without moding the original ACL's, before it, checks if tokens is in use or access to file is denied asking for restart if this occurs ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #75 CODYQX4, Sep 10, 2011
    Last edited: Apr 15, 2019
    .
     
  16. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    Yeah, if tokens is moded, the ACL's isn't the same ;

    If tokens is denied by ACL, the copy C# method fails and not restore the activation with risk of brick the activation system temporarily ;

    If tokens is hidden, independently of the ACL, the copy also fails ;

    I've implanted the auto-checksum for tokens before start backup / restore for security reasons ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #77 CODYQX4, Sep 10, 2011
    Last edited: Apr 15, 2019
    .
     
  18. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    #78 Josh Cell, Sep 10, 2011
    Last edited: Sep 10, 2011
    I've tested, the SPPSVC and OSPPSVC start / stop doesn't restore the original tokens ACL if the same is Moded / Hacked / Replaced / Denied:

    [​IMG]

    If you use this method for restore permissions for files ...

    This is the ACL Restore module on the Denied Tokens here:

    [​IMG]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,170
    120
    #79 Josh Cell, Sep 10, 2011
    Last edited by a moderator: Apr 20, 2017
    Ah, lol, the tokens restore only is working for Windows, more, not work for Office, I've used this on my video demonstration:



    This is video is tested with MAK key, With BBBBB serial detected, the restore most success on the tests, the Key backup for Windows is not needed in my tests with OEM / Retail / MAK, I reserve the ProductKey Backup also, for any security ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...