About 26% Of All Malicious JavaScript Threats Are Obfuscated

About 26% Of All Malicious JavaScript Threats Are Obfuscated

A research that analyzed over 10,000 samples of diverse malicious software written in JavaScript concluded that roughly 26% of it is obfuscated to evade detection and analysis.

Obfuscation is when easy-to-understand source code is converted into a hard to understand and confusing code that still operates as intended.

Threat actors commonly use obfuscation to make it harder to analyze malicious scripts and to bypass security software.

Obfuscation can be achieved through various means like the injection of unused code into a script, the splitting and concatenating of the code (breaking it into unconnected chunks), or the use of hexadecimal patterns and tricky overlaps with function and variable naming.

Also Read: How COVID-19 Contact Tracing in Singapore Applies at Workplace

Obfuscation on the rise

Akamai researchers have analyzed 10,000 JavaScript samples including malware droppers, phishing pages, scamming tools, Magecart snippets, cryptominers, etc.

At least 26% of them use some form of obfuscation to evade detection, indicating an uptick in the adoption of this basic yet effective technique.

Most of these obfuscated samples appear to have similar code because they were bundled by the same packers, so their code structure looks similar even if the function is different.

Code structure similarities
Source: Akamai

Akamai plans to present more details about how they are focusing their detection efforts on the packing techniques instead of the file code itself in the upcoming SecTor conference.

Benign sites also use it

But not all obfuscation is malicious or tricky. As the report explains, about 0.5% of the 20,000 top-ranking websites on the web (according to Alexa), also use obfuscation techniques.

These cases can be attributed to the following:

  • Websites are trying to conceal some of their client-side code functionality from competitors.
  • The JavaScript snippets they’re using were obfuscated by a third-party provider.
  • Sensitive information like email addresses needs to be hidden from public view.

As such, detecting malicious code based on the fact that is obfuscated isn’t enough on its own, and further correlation with malicious functionality needs to be made.

Also Read: What Is Data Sovereignty and How Does It Apply To Your Business?

This mixing with legitimate deployment is precisely what makes the detection of risky code challenging, and the reason why obfuscation is becoming so widespread in the threat landscape.

Privacy Ninja

Recent Posts

Role of Enhanced Access Controls in Safeguarding Personal Data in Telecommunications

Role of Enhanced Access Controls in Safeguarding Personal Data in Telecommunications that every Organisation in…

2 weeks ago

Role of Effective Incident Response Procedures in Strengthening Data Security

Effective Incident Response Procedures in Strengthening Data Security that every Organisation in Singapore should know…

2 weeks ago

Strengthening Your Cyber Defenses: The Crucial Role of Regular Vulnerability Scanning

Crucial Role of Regular Vulnerability Scanning that every Organisation in Singapore should know. Strengthening Your…

2 weeks ago

Enhancing Data Security with Multi-Factor Authentication

Enhancing Data Security with Multi-Factor Authentication that every Organisation in Singapore should know. Enhancing Data…

3 weeks ago

A Strong Password Policy: Your Organization’s First Line of Defense Against Data Breaches

Strong Password Policy as a first line of defense against data breaches for Organisations in…

3 weeks ago

Enhancing Website Security: The Importance of Efficient Access Controls

Importance of Efficient Access Controls that every Organisation in Singapore should take note of. Enhancing…

4 weeks ago