Premium Resources

Hacking Methodology

Web footprinting:

Gathering information related to the web application like-

  • Whois information

  • Netcraft information

  • Firewall information

  • Ports and services running

  • Server and OS discovery

  • Hidden contents

Vulnerability scanners:

Scanners like Nikto, Nessus, URLscan, Acunetix can be used to find out vulnerabilities in a web application.

Identify Entry Points and Attack surface:

The next step is to know the entry points like login screens, URLs, cookies, and output points like display screens, reports, etc. We need to find vulnerabilities to bypass the access controls and break into the application. All the above discussed attacks should be tested for the possibility.

Countermeasures:

  • Always validate the input fields.

  • Limit the entry in the input fields.

  • Check for arbitrary inputs like scripts, SQL injection codes, etc.

  • Use a Web application firewall.

  • Run database accounts with minimal access rights.

  • Use input/output encoding.

  • Use prepared statements and parameterised sql queries to avoid Sql injection.

  • Configure the firewall with strict rules.

  • Use secure protocols.

  • Encrypt cookies.

  • Use random numbers for cookies and proper session expiry.

Disclaimer

PMI®, PMBOK®, PMP® and PMI-ACP® are registered marks of the Project Management Institute, Inc.

The Swirl logo™ is a trade mark of AXELOS Limited.

ITIL® is a registered trade mark of AXELOS Limited, used under permission of AXELOS Limited. All rights reserved.

PRINCE2® is a registered trade mark of AXELOS Limited, used under permission of AXELOS Limited. All rights reserved.

IASSC® is a registered trade mark of International Association for Six Sigma Certification.

Certified ScrumMaster® (CSM) is a registered trade mark of SCRUM ALLIANCE®

CISSP® is a registered mark of The International Information Systems Security Certification Consortium (ISC)2.

CCNA® is a trademark of Cisco.

Microsoft and MS Project are the registered trademarks of the Microsoft Corporation.

SAP Trademark(s) is/are the trademark(s) or registered trademark(s) of SAP SE in Germany.