Hackers Choice

Shcheck – Tool To Scan Security Headers Of Any Website

Shcheck – Tool To Scan Security Headers Of Any Website

By Yashdeep Raj •  2020-06-14T11:39:17.511Z •  Ethical Hacking


HTTP security headers always provide an extra layer of security by helping to mitigate attacks and security vulnerabilities.

During the last few years, a number of new HTTP headers have been introduced whose purpose is to help to enhance the security of a website.

Command HTTP Security Headers –

1. Content-security-policy
2. X-xss-protection
3. Strict-transport-security
4. X-frame-options
5. Public-key-pins
6. X-content-type

Installation of Shcheck –

You can easily install shcheck script which is python based script from Github directly.

Command: git clone https://github.com/m3liot/shcheck.git

Give the full permissions to shcheck.py script with the help of “chmod +x shcheck.py“.

To run this script, simply type “./shcheck.py <Your target>

You can also analyze or scan all headers online from HTTP HEADER CHECK.

Here is the list of other sites/tools through which you can also scan the security headers of any website.

  1. Chrome Dev Tools
  2. Securityheaders.io (our fav website)

This section cover a list of tools to analyze, develop and administrate HTTP secure headers in order to help achieve more secure and trustworthy web systems.

Analysis ToolsReference
hsecscanA security scanner for HTTP response headers.
headersPython script to get some response headers from Alexa top sites file and store in a MySQL database.
securityheaders.ioThere are services out there that will analyse the HTTP response headers of other sites but I also wanted to add a rating system to the results. The HTTP response headers that this site analyses provide huge levels of protection and it’s important that sites deploy them. Hopefully, by providing an easy mechanism to assess them, and further information on how to deploy missing headers, we can drive up the usage of security based headers across the web.
Mozilla ObservatoryA Mozilla project designed to help developers, system administrators, and security professionals configure their sites safely and securely.
High-Tech Bridge Web Security ScannerAn online service that will retrieve and analyse headers syntax and proper configuration in a comprehensive way. It will be able for instance to highlight Public-Key-Pins that matches one certificate of the chain or if Content-Security-Policy contains values that could be unsafe or too permissive.
Check Your HeadersJust another web scanner for HTTP response headers.
Recx Security AnalyserChrome extension that allows the inspection of security aspects of a site’s HTTP headers, cookies and other key security settings.
KickOffWhile each project you launch may have a different feature set, they often share many of the same performance, SEO and security requirements. This tool aims to automate the process of checking your list of requirements shortly before launch or directly after a deployment.

Development LibrariesLanguageReference
secureheadersSecurity related headers all in one gem.
  • Ruby
Security Header Injection Module (SHIM)SHIM is a HTTP module that provides protection for many vulnerabilities by injecting security-specific HTTP headers into ASP.NET web applications.
Spring SecuritySpring Security’s support for adding various security headers to the response.
  • Java
rack-secure_headersSecurity related HTTP headers for Rack applications.
  • Rack
helmet and hoodNode.js (express).
blankieA CSP plugin for hapi.
NWebsecNWebsec consists of several security libraries for ASP.NET applications.
django-csp + commonware; django-securitydjango-csp + commonware; django-security.
  • Python
secureheaderPackage secureheader adds some HTTP header fields widely considered to improve safety of HTTP requests.
  • Go
secure_headersThis Plug will automatically apply several security headers to the Plug.Conn response. By design SecureHeaders will attempt to apply the most strict security policy. Although, security headers are configurable and are validated to avoid misconfiguration.
  • Elixir
dropwizard-web-securityA bundle for applying default web security functionality to a dropwizard application.
  • Dropwizard
ember-cli-content-security-policyThis addon makes it easy to use Content Security Policy (CSP) in your project. It can be deployed either via a Content-Security-Policy header sent from the Ember CLI Express server, or as a meta tag in the index.html file.

Operation ToolsWeb Servers SupportedReference
http_hardeningPuppet module to enable, configure and manage secure http headers on web servers.
  • Apache HTTP Server
  • Lighttpd

Powered by Froala Editor

Yashdeep Raj
 You may also like
Download our apps
Get it on Google Play