Skip to content

JavaScript Deobfuscation ​

FieldValue
Module ID41
DifficultyEasy
TierTier 0
CategoryDefensive
Estimated Time4 hours
Cubes Earned0
Experience Points435
Creators21y4d
Last Updated2020-07-19T17:01:41.000000Z
URLhttps://academy.hackthebox.com/app/module/41

Module Includes ​

  • 11 Sections
  • 5 Interactive Exercises
  • 1 Assessments
  • 0 Cubes

Module Description ​

This module will take you step-by-step through the fundamentals of JavaScript Deobfuscation until you can deobfuscate basic JavaScript code and understand its purpose.

Module Summary ​

Many malicious actors tend to obfuscate their code to avoid it being detected by systems or understood by other developers.

The ability to deobfuscate code is a useful technique that can be applied to various real-world scenarios. It is useful on web application assessments to determine if a developer has used "security by obscurity" to hide JavaScript code containing sensitive data. It can also be useful for defenders when, for example, attempting to deobfuscate code that was responsible for the Phishing website used in an attack.

In this module, you will learn the basics of deobfuscating and decoding JavaScript code and will have several exercises to practice what you learned.

You will learn the following topics:

  • Locating JavaScript code
  • Intro to Code Obfuscation
  • How to Deobfuscate JavaScript code
  • How to decode encoded messages
  • Basic Code Analysis
  • Sending basic HTTP requests

Our final exercise in this module will open a door for many other challenges and exercises in Hack The Box!


Requirements ​

It is recommended to take the Web Requests module before this one to get a general understanding of how HTTP requests work. If you are already familiar with them, then you should be able to start this module.

Sections ​

11 sections - 5 Interactive

#GroupTypeTitle
1IntroductiontheoryIntroduction
2interactiveSource Code
3ObfuscationtheoryCode Obfuscation
4theoryBasic Obfuscation
5theoryAdvanced Obfuscation
6interactiveDeobfuscation
7Deobfuscation ExamplestheoryCode Analysis
8interactiveHTTP Requests
9interactiveDecoding
10Skills AssessmentinteractiveSkills Assessment
11theorySummary

Conclusion ​

Congratulations on finishing the Intro to JavaScript Deobfuscation course. We hope that what you learned in this course helped you 'hack your way' into Hack The Box!

If you are interested in learning more about JavaScript Deobfuscation, check out the Secure Coding 101 module, which should thoroughly cover this topic.