Hardentools for disabling some risky features

Discussion in 'other anti-malware software' started by ichito, Mar 1, 2017.

  1. ichito

    ichito Registered Member

    Joined:
    Jan 14, 2011
    Posts:
    1,997
    Location:
    Poland - Cracow
    https://github.com/securitywithoutborders/hardentools

    "Here is the list of features that Hardentools disables when you press that button:
    1. Disables Windows Scripting Host.
    2. Disables AutoRun and AutoPlay.
    3. Disables powershell.exe, powershell_ise,exe, and cmd.exe execution via Windows Explorer.
    4. Disables Microsoft Office Macros.
    5. Disables Microsoft Office OLE object execution.
    6. Disables Microsoft Office ActiveX.
    7. Disables JavaScript in PDF documents in Acrobat Reader.
    8. Disables the execution of objects embedded in PDF documents."
    https://www.ghacks.net/2017/02/24/hardentools-make-windows-more-secure-by-disabling-features/

    They said that author is Claudio Guarnieri (Cuckoo Sandbox)
    https://www.security.nl/posting/505...ws?channel=rssThu, 23 Feb 2017 14:17:00 0100
     
    Last edited: Mar 1, 2017
  2. TairikuOkami

    TairikuOkami Registered Member

    Joined:
    Oct 10, 2005
    Posts:
    3,434
    Location:
    Slovakia
    I wonder, how does it disable cmd.exe, if it is via DisableCMD, good luck installing Windows Updates and other stuff, basically crippling Windows.
     
  3. guest

    guest Guest

    Not via DisableCMD, but via "DisallowRun"
    Code:
    /*
    Disables Powershell and cmd.exe
     [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
     "DisallowRun"=dword:00000001
     [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun]
     "1"="powershell_ise.exe"
     "2"="powershell.exe"
     "3"="cmd.exe"
    */
     
  4. It is a threshold to reduce shoot in the foot errors, together with disabling javascript, macro's, activeX and OLE-object execution, it should stop most ransomware delivered through poisoned documents. In combination of also crypto prevent like partial SRP deny execute of double file extensions, it is not watertight but it reduces an open door to the size of a letterbox. Pity he did not add ACL deny execute for Everyone in for example the download directory.

    All examples of partial solutions not adding up to a 100% protection, but still a lot better than without these hardening tweaks.
     
    Last edited by a moderator: Mar 1, 2017
  5. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
    This is really quite interesting. At the very least, it makes it easy to enable/disable in a simple way compared to modifying each of these manually by registry, etc. Something to keep an eye on, for sure. :thumb:
     
  6. ArchiveX

    ArchiveX Registered Member

    Joined:
    Apr 7, 2014
    Posts:
    1,501
    Location:
    .
  7. TairikuOkami

    TairikuOkami Registered Member

    Joined:
    Oct 10, 2005
    Posts:
    3,434
    Location:
    Slovakia
    Thanks.
     
  8. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    2,010
    Location:
    Member state of European Union
  9. guest

    guest Guest

    Hardentools 2.1 Released (September 4, 2021)
    Website
    Download
     
  10. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,126
    Location:
    U.S.A. (South)
    Holy Smokes Batman. Long time since this one is popped up right?
     
  11. guest

    guest Guest

    Hardentools 2.2 Beta Released (November 6, 2021)
    Website
    Download
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.