JavaScript Deobfuscation
| Field | Value |
|---|---|
| Module ID | 41 |
| Difficulty | Easy |
| Tier | Tier 0 |
| Category | Defensive |
| Estimated Time | 4 hours |
| Cubes Earned | 0 |
| Experience Points | 435 |
| Creators | 21y4d |
| Last Updated | 2020-07-19T17:01:41.000000Z |
| URL | https://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
| # | Group | Type | Title |
|---|---|---|---|
| 1 | Introduction | theory | Introduction |
| 2 | interactive | Source Code | |
| 3 | Obfuscation | theory | Code Obfuscation |
| 4 | theory | Basic Obfuscation | |
| 5 | theory | Advanced Obfuscation | |
| 6 | interactive | Deobfuscation | |
| 7 | Deobfuscation Examples | theory | Code Analysis |
| 8 | interactive | HTTP Requests | |
| 9 | interactive | Decoding | |
| 10 | Skills Assessment | interactive | Skills Assessment |
| 11 | theory | Summary |
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.