Skip to content

weizman/awesome-javascript-anti-debugging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Curated list of Javascript Anti Debugging techniques

When it comes to Web Security there is a wide range of different aspects to it. The most discussed aspect is the different types of security breaches, such as XSS, CSRF and more.

Javascript Anti Debugging on the other hand is an aspect that is not disscued enough, but might have a large potential impact when it comes to attacking and defending in the web security world.

Please read the contribution guidelines of the awesome-web-security repo before contributing - we follow similar guidelines here!

By Gal Weizman

ATTENTION ⚠️

YOU SHOULD PREFER THE SERVED VERSION, WHERE YOU CAN ALSO INTERACT WITH LIVE DEMOS!

Contents

Intro

What Is Browser Anti Debugging?

Anti Debugging techniques allow attackers to tell whether their malicious code is being inspected or not when is executed within the browser. The idea is to use the tools given by the browser (which is simply javascript in most cases) to understand whether the website's source code is being inspected and/or debugged in any way, and to take different actions based on the result.

Usually, these techniques are used by attackers to hide their malicious activity and protect their code from being uncovered. Meaning, attackers can protect their code using anti debugging techniques, that when find that the code is being inspected stop the attack instead of completing it.