Malicious JavaScript Detection by Features Extraction

Journal Title: e-Informatica Software Engineering Journal - Year 2014, Vol 8, Issue 1

Abstract

In recent years, JavaScript-based attacks have become one of the most common and successful types of attack. Existing techniques for detecting malicious JavaScripts could fail for different reasons. Some techniques are tailored on specific kinds of attacks, and are ineffective for others. Some other techniques require costly computational resources to be implemented. Other techniques could be circumvented with evasion methods. This paper proposes a method for detecting malicious JavaScript code based on five features that capture different characteristics of a script: execution time, external referenced domains and calls to JavaScript functions. Mixing different types of features could result in a more effective detection technique, and overcome the limitations of existing tools created for identifying malicious JavaScript. The experimentation carried out suggests that a combination of these features is able to successfully detect malicious JavaScript code (in the best cases we obtained a precision of 0.979 and a recall of 0.978).

Authors and Affiliations

C Visaggio, F Mercaldo, G Canfora

Keywords

Related Articles

Experience Report: Towards Extending an OSEK-Compliant RTOS with Mixed Criticality Support

Background: With an increase of the number of features in a vehicle, the computational requirements also increase, and vehicles may contain up to 100 Electronic Control Units (ECUs) to accommodate these requirements. For...

The Role of Organisational Phenomena in Software Cost Estimation: A Case Study of Supporting and Hindering Factors

Despite the fact that many researchers and practitioners agree that organisational issues are equally important as technical issues from the software cost estimation (SCE) success point of view, most of the research focu...

Generating Graphical User Interfaces from Precise Domain Specifications

Turning requirements into working systems is the essence of software engineering. This paper proposes automation of one of the aspects of this vast problem: generating user interfaces directly from requirements models. I...

Reducing the Number of Higher-order Mutants with the Aid of Data Flow

Higher-order mutants are created by injecting two or more mutations into the original program, while first-order mutants are generated by seeding single faults in the original program. Mutant generation is a key stage of...

NRFixer: Sentiment Based Model for Predicting the Fixability of Non-Reproducible Bugs

Software maintenance is an essential step in software development life cycle. Nowadays, software companies spend approximately 45% of total cost in maintenance activities. Large software projects maintain bug repositorie...

Download PDF file
  • EP ID EP167090
  • DOI 10.5277/e-Inf140105
  • Views 64
  • Downloads 0

How To Cite

C Visaggio, F Mercaldo, G Canfora (2014). Malicious JavaScript Detection by Features Extraction. e-Informatica Software Engineering Journal, 8(1), -. https://europub.co.uk/articles/-A-167090