• DocumentCode
    712907
  • Title

    JSObfusDetector: A binary PSO-based one-class classifier ensemble to detect obfuscated JavaScript code

  • Author

    Jodavi, Mehran ; Abadi, Mahdi ; Parhizkar, Elham

  • Author_Institution
    Dept. of Electr. & Comput. Eng., Tarbiat Modares Univ., Tehran, Iran
  • fYear
    2015
  • fDate
    3-5 March 2015
  • Firstpage
    322
  • Lastpage
    327
  • Abstract
    JavaScript code obfuscation has become a major technique used by malware writers to evade static analysis techniques. Over the past years, a number of dynamic analysis techniques have been proposed to detect obfuscated malicious JavaScript code at runtime. However, because of their runtime overheads, these techniques are slow and thus not widely used in practice. On the other hand, since a large quantity of benign JavaScript code is obfuscated to protect intellectual property, it is not effective to use the intrinsic features of obfuscated JavaScript code for static analysis purposes. Therefore, we are forced to distinguish between obfuscated and non-obfuscated JavaScript code so that we can devise an efficient and effective analysis technique to detect malicious JavaScript code. In this paper, we address this issue by presenting JSObfusDetector, a novel one-class classifier ensemble to detect obfuscated JavaScript code. To construct the classifier ensemble, we apply a binary particle swarm optimization (PSO) algorithm, called ParticlePruner, on an initial ensemble of one-class SVM classifiers to find a sub-ensemble whose members are both accurate and have diversity in their outputs. We evaluate JSObfusDetector using a dataset of obfuscated and non-obfuscated JavaScript code. The experimental results show that JSObfusDetector can achieve about 97% precision, 91 % recall, and 94% F-measure.
  • Keywords
    Java; particle swarm optimisation; pattern classification; program diagnostics; security of data; source code (software); support vector machines; F-measure; JSObfusDetector; JavaScript code obfuscation; PSO algorithm; ParticlePruner; binary PSO-based one-class classifier ensemble; binary particle swarm optimization; malicious JavaScript code detection; obfuscated JavaScript code detection; one-class SVM classifiers; static analysis; Atmospheric measurements; Encoding; Feature extraction; Particle measurements; Runtime; Support vector machines; Training; classifier ensemble; ensemble pruning; obfuscated JavaScript code; one-class classifier; particle swarm optimization; static analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Artificial Intelligence and Signal Processing (AISP), 2015 International Symposium on
  • Conference_Location
    Mashhad
  • Print_ISBN
    978-1-4799-8817-4
  • Type

    conf

  • DOI
    10.1109/AISP.2015.7123508
  • Filename
    7123508