Dissertation Boosting Static Security Analysis of Android Apps Through Code Instrumentation

Total Page:16

File Type:pdf, Size:1020Kb

Dissertation Boosting Static Security Analysis of Android Apps Through Code Instrumentation PhD-FSTC-2016-52 The Faculty of Science, Technology and Communication Dissertation Defense held on the 29th November 2016 in Luxembourg to obtain the degree of Docteur de l’Université du Luxembourg en Informatique by Li Li Born on 13th February 1989 in ChongQing (China) Boosting Static Security Analysis of Android Apps through Code Instrumentation Dissertation Defense Committee Dr. Yves Le Traon, Dissertation Supervisor Professor, University of Luxembourg, Luxembourg Dr. Lionel Briand, Chairman Professor, University of Luxembourg, Luxembourg Dr. Tegawendé Bissyandé, Vice Chairman Research Associate, University of Luxembourg, Luxembourg Dr. Xiangyu Zhang Professor, Purdue University, USA Dr. Michael Backes Professor, Saarland University, Germany Dr. Jacques Klein Senior Research Scientist, University of Luxembourg, Luxembourg Abstract Within a few years, Android has been established as a leading platform in the mobile market with over one billion monthly active Android users. To serve these users, the official market, Google Play, hosts around 2 million apps which have penetrated into a variety of user activities and have played an essential role in their daily life. However, this penetration has also opened doors for malicious apps, presenting big threats that can lead to severe damages. To alleviate the security threats posed by Android apps, the literature has proposed a large body of works which propose static and dynamic approaches for identifying and managing security issues in the mobile ecosystem. Static analysis in particular, which does not require to actually execute code of Android apps, has been used extensively for market-scale analysis. In order to have a better understanding on how static analysis is applied, we conduct a systematic literature review (SLR) of related researches for Android. We studied influential research papers published in the last five years (from 2011 to 2015). Our in-depth examination on those papers reveals, among other findings, that static analysis is largely performed to uncover security and privacy issues. The SLR also highlights that no single work has been proposed to tackle all the challenges for static analysis of Android apps. Existing approaches indeed fail to yield sound results in various analysis cases, given the different specificities of Android programming. Our objective is thus to reduce the analysis complexity of Android apps in a way that existing approaches can also succeed on their failed cases. To this end, we propose to instrument the app code for transforming a given hard problem to an easily-resolvable one (e.g., reducing an inter-app analysis problem to an intra-app analysis problem). As a result, our code instrumentation boosts existing static analyzers in a non-invasive manner (i.e., no need to modify those analyzers). In this dissertation, we apply code instrumentation to solve three well-known challenges of static analy- sis of Android apps, allowing existing static security analyses to 1) be inter-component communication (ICC) aware; 2) be reflection aware; and 3) cut out common libraries. • ICC is a challenge for static analysis. Indeed, the ICC mechanism is driven at the framework level rather than the app level, leaving it invisible to app-targeted static analyzers. As a consequence, static analyzers can only build an incomplete control-flow graph (CFG) which prevents a sound analysis. To support ICC-aware analysis, we devise an approach called IccTA, which instruments app code by adding glue code that directly connects components using traditional Java class access mechanism (e.g., explicit new instantiation of target components). • Reflection is a challenge for static analysis as well, because it also confuses the analysis context. To support reflection-aware analysis, we provide DroidRA, a tool-based approach, which instruments Android apps to explicitly replace reflective calls with their corresponding traditional Java calls. The mapping from reflective calls to traditional Java calls is inferred through a solver, where the resolution of reflective calls is reduced to a composite constant propagation problem. • Libraries are pervasively used in Android apps. On the one hand, their presence increases time/memory consumption of static analysis. On the other hand, they may lead to false positives and false negatives for static approaches (e.g., clone detection and machine learning-based i malware detection). To mitigate this, we propose to instrument Android apps to cut out a set of automatically identified common libraries from the app code, so as to improve static analyzer’s performance in terms of time/memory as well as accuracy. To sum up, in this dissertation, we leverage code instrumentation to boost existing static analyzers, allowing them to yield more sound results and to perform quicker analyses. Thanks to the afore- mentioned approaches, we are now able to automatically identify malicious apps. However, it is still unknown how malicious payloads are introduced into those malicious apps. As a perspective for our future research, we conduct a thorough dissection on piggybacked apps (whose malicious payloads are easily identifiable) in the end of this dissertation, in an attempt to understand how malicious apps are actually built. ii Acknowledgements This dissertation would not have been possible without the support of many people who in one way or another have contributed and extended their precious knowledge and experience in my PhD studies. It is my pleasure to express my gratitude to them. First of all, I would like to express my deepest thanks to my professor Yves Le Traon who has given me this great opportunity to come across continents to pursue my doctoral degree. He has always trusted and supported me with his great kindness throughout my whole PhD journey. Second, I am equally grateful to my daily supervisors, Dr. Jacques Klein and Dr. Tegawendé Bissyandé, for their patience, valuable advice and flawless guidance. They have taught me how to perform research, how to write technical papers and how to conduct fascinating presentations. Their dedicated guidance has made my PhD journey a fruitful and fulfilling experience. I am very happy for the friendship we have built up during the years. Third, I am particularly grateful to Dr. Alexandre Bartel who has introduced me into the world of static analysis of Android apps. Since then, working in this field is just joyful for me. I would like to extend my thanks to all my co-authors including Prof. Eric Bodden, Prof. Patrick McDaniel, Prof. David Lo, Dr. Lorenzo Cavallaro, Dr. Damien Octeau, Steven Arzt, Siegfried Rasthofer, Jabier Martinez, Daoyuan Li, etc. for their helpful discussions and collaborations. I would like to thank all the members of my PhD defense committee, including chairman Prof. Lionel Briand, external reviewers Prof. Xiangyu Zhang and Prof. Michael Backes, my supervisor Prof. Yves Le Traon, and my daily advisers Dr. Jacques Klein, Dr. Tegawendé Bissyandé. It is my great honer to have them in my defense committee and I appreciate very much their efforts to examine my dissertation and evaluate my PhD work. I would like to also express my great thanks to all the friends that I have made in the tiny Grand Duchy of Luxembourg for the memorable moments that we have had. More specifically, I would like to thank all the team members of SerVal at SnT for the great coffee breaks and interesting discussions. Finally, and more personally, I would like to express my deepest appreciation to my dear wife Fengmei Chen, for her everlasting support, encouragement, and love. Also, I can never overemphasize the importance of my parents in shaping who I am and giving me the gift of education. Without their support, this dissertation would not have been possible. Li LI University of Luxembourg November 2016 iii Contents List of figures ix List of tables xiii Contents xiv 1 Introduction 1 1.1 Motivation for Static Security Analysis..........................2 1.2 Challenges of Static Security Analysis..........................3 1.2.1 Android-specific Challenges............................3 1.2.2 Java-inherited Challenges.............................4 1.3 Contributions........................................5 1.4 Roadmap..........................................7 2 Background 9 2.1 Android........................................... 10 2.1.1 App Structure................................... 11 2.1.2 Inter-Component Communication (ICC)..................... 13 2.1.3 Reflection...................................... 14 2.2 Static Analysis....................................... 15 2.2.1 Call Graph (CG) Construction.......................... 15 2.2.2 Control-Flow Graph (CFG) Construction.................... 16 2.2.3 Data-Flow Analysis................................ 17 2.3 Code Instrumentation................................... 18 3 An SLR on Static Analysis of Android Apps 21 3.1 Introduction......................................... 22 3.2 Methodology for the SLR................................. 23 3.2.1 Research Questions................................. 24 3.2.2 Search Strategy................................... 25 3.2.3 Exclusion Criteria................................. 27 3.2.4 Backward Snowballing............................... 28 3.2.5 Primary publications selection.......................... 28 3.3 Data Extraction...................................... 30 3.4 Summary of Findings................................... 31 3.4.1 Purposes of the Analyses............................. 31 3.4.2 Form and Extent of Analysis..........................
Recommended publications
  • A Review Paper on Effective Behavioral Based Malware Detection and Prevention Techniques for Android Platform
    International Journal of Engineering Research and Technology. ISSN 0974-3154 Volume 10, Number 1 (2017) © International Research Publication House http://www.irphouse.com A Review Paper on Effective Behavioral Based Malware Detection and Prevention Techniques for Android Platform Mr. Sagar Vitthal Shinde1 M.Tech Comp. Department of Technology, Shivaji University, Kolhapur, Maharashtra, India. Email id: [email protected] Ms. Amrita A. Manjrekar2 Assistant Professor, Department of Technology, Shivaji University, Kolhapur, Maharashtra, India. Email Id: [email protected] Abstract late). It has been recently reported that almost 60% of Android is most popular platform for mobile devices. existing malware send stealthy premium rate SMS messages. Smartphone’s and mobile tablets are rapidly indispensable in Most of these behaviors are exhibited by a category of apps daily life. Android has been the most popular open sources called Trojanized that can be found in online marketplaces mobile operating system. On the one side android users are not controlled by Google. However, also Google Play, the increasing, but other side malicious activity also official market for Android apps, has hosted apps which have simultaneously increasing. The risk of malware (Malicious been found to be malicious [1] [21]. apps) is sharply increasing in Android platform, Android Existing system consist of some limited features of android mobile malware detection and prevention has become an app, malware detection is based on behavioral base. The important research topic. Some malware attacks can make the malware detection and prevention process is also static which phone partially or fully unusable, cause unwanted SMS/MMS create some problems such as it increase false positive rate.
    [Show full text]
  • Methods for Improving the Quality of Software Obfuscation for Android Applications
    Methods for Improving the Quality of Software Obfuscation for Android Applications Methoden zur Verbesserung der Qualit¨atvon Softwareverschleierung f¨urAndroid-Applikationen Der Technischen Fakult¨atder Friedrich-Alexander-Universit¨at Erlangen-N¨urnberg zur Erlangung des Grades DOKTOR-INGENIEUR vorgelegt von Yan Zhuang aus Henan, VR China Als Dissertation genehmigt von der Technischen Fakult¨atder Friedrich-Alexander-Universit¨at Erlangen-N¨urnberg Tag der m¨undlichen Pr¨ufung: 26. September 2017 Vorsitzende des Promotionsorgans: Prof. Dr.-Ing. Reinhard Lerch Gutachter: Prof. Dr.-Ing. Felix C. Freiling Prof. Dr. Jingqiang Lin Dedicated to my dear parents. Abstract Obfuscation technique provides the semantically identical but syntactically distinguished transformation, so that to obscure the source code to hide the critical information while preserving the functionality. In that way software authors are able to prevail the re- sources e.g. computing power, time, toolset, detection algorithms, or experience etc., the revere engineer could afford. Because the Android bytecode is practically easier to decompile, and therefore to reverse engineer, than native machine code, obfuscation is a prominent criteria for Android software copyright protection. However, due to the lim- ited computing resources of the mobile platform, different degree of obfuscation will lead to different level of performance penalty, which might not be tolerable for the end-user. In this thesis, we optimize the Android obfuscation transformation process that brings in as much “difficulty" as possible meanwhile constrains the performance loss to a tolerable level. We implement software complexity metrics to automatically and quantitatively evaluate the “difficulty" of the obfuscation results. We firstly investigate the properties of the 7 obfuscation methods from the obfuscation engine Pandora.
    [Show full text]
  • What Are Kernel-Mode Rootkits?
    www.it-ebooks.info Hacking Exposed™ Malware & Rootkits Reviews “Accessible but not dumbed-down, this latest addition to the Hacking Exposed series is a stellar example of why this series remains one of the best-selling security franchises out there. System administrators and Average Joe computer users alike need to come to grips with the sophistication and stealth of modern malware, and this book calmly and clearly explains the threat.” —Brian Krebs, Reporter for The Washington Post and author of the Security Fix Blog “A harrowing guide to where the bad guys hide, and how you can find them.” —Dan Kaminsky, Director of Penetration Testing, IOActive, Inc. “The authors tackle malware, a deep and diverse issue in computer security, with common terms and relevant examples. Malware is a cold deadly tool in hacking; the authors address it openly, showing its capabilities with direct technical insight. The result is a good read that moves quickly, filling in the gaps even for the knowledgeable reader.” —Christopher Jordan, VP, Threat Intelligence, McAfee; Principal Investigator to DHS Botnet Research “Remember the end-of-semester review sessions where the instructor would go over everything from the whole term in just enough detail so you would understand all the key points, but also leave you with enough references to dig deeper where you wanted? Hacking Exposed Malware & Rootkits resembles this! A top-notch reference for novices and security professionals alike, this book provides just enough detail to explain the topics being presented, but not too much to dissuade those new to security.” —LTC Ron Dodge, U.S.
    [Show full text]
  • Detection and Classification of Malicious Processes Using System
    Detection and Classification of Malicious Processes Using System Call Analysis A Thesis Submitted to the Faculty of Drexel University by Raymond J. Canzanese, Jr. in partial fulfillment of the requirements for the degree of Doctor of Philosophy May 2015 c Copyright 2015 Raymond J. Canzanese, Jr. ii Dedications To Madison, without whose support and companionship this would have been a far less rewarding and enjoyable experience. iii Acknowledgments Throughout the course of writing this thesis, I was surrounded by an outstanding community who provided the support, inspiration, encouragement, and distraction necessary for its completion. To my advisers, Moshe Kam and Spiros Mancoridis, and committee, Naga Kandasamy, Ko Nishino, Harish Sethu, and Steven Weber, I am most thankful. It was their insights, guidance, feedback, and support that made this thesis possible. I cannot overstate the depth and breadth of the lessons I have learned from them, which have shaped not only this thesis, but my general approach to problem solving, my outlook on life, and my ambitions. That my advisers managed to find the time, energy, and patience to meet with me regularly to discuss my successes and failures confounds me. Watching them advance in their careers while remaining so humble and grounded has been truly inspiring. I also had the great fortune to learn from a number of other faculty members here at Drexel who have helped shape and inspire this work, including Kapil Dandekar, John Walsh, Tom Chmielewski, Ali Shokoufandeh, and Marcello Balduccini. My friends and colleagues here at Drexel, especially those members of the Data Fusion Lab and Software Engineering Research Group, have also served to educate, motivate, and inspire me.
    [Show full text]
  • Download Briefing Schedule
    WED. JULY 31 07:00-17:00 REGISTRATION 08:00-08:50 BREAKFAST Sponsored by / Forum Ballroom ROOM Roman II Roman IV Roman I / III Palace II Palace III Augustus V / VI Palace I Augustus I / II Augustus III / IV 08:50-09:00 Welcome & Introduction to Black Hat USA 2013 / Augustus Ballroom 09:00-10:00 Keynote Speaker: General Keith B. Alexander / Augustus Ballroom 10:00-10:15 Break 10:15-11:15 Mainframes: The Past Will BlackberryOS 10 From a Security With BIGDATA comes BIG New Trends in FastFlux Networks Lessons from Surviving a Combating the Insider Threat Beyond the Application: Cellular Java Every-Days: Exploiting How to Build a SpyPhone Come to Haunt You Perspective responsibility: Practical (Wei Xu + Xinran Wang) 300Gbps Denial of at the FBI: Real-world Lessons Privacy Regulatory Space Software Running on Three (Kevin McNamee) (Philip Young) (Ralf-Philipp Weinmann) exploiting of MDX injections Service Attack Learned (Christie Dudley) Billion Devices (Dmitry Chastuhin) (Matthew Prince) (Patrick Reidy) (Brian Gorenc + CrowdSource: An Open Source, Jasiel Spelman) Crowd Trained Machine Learning Legal Considerations for Model for Malware Detection Cellular Research (Joshua Saxe) (Marcia Hofmann) TM 11:15-11:45 Coffee Service Sponsored by / Octavius Ballroom 11:45-12:45 Black-box Assessment of Shattering Illusions in Lock-Free Power Analysis Attacks for Denying Service to DDoS What Security Researchers Just-In-Time Code Reuse: The A Tale of One Software Bypass TLS 'Secrets' Million Browser Botnet Pseudorandom Algorithms Worlds: Compiler/Hardware
    [Show full text]
  • Malware Detection and Classification Based on Extraction of API Sequences
    Downloaded from http://iranpaper.ir http://translate68.ir Malware Detection and Classification Based on Extraction of API Sequences Dolly Uppal, Rakhi Sinha, Vishakha Mehra and Vinesh Jain Department of Computer Engineering and Information Technology Government Engineering College Ajmer, India [email protected], [email protected], [email protected], [email protected] Abstract— With the substantial growth of IT sector in the the concept of pattern (byte code-signature) recognition. Anti- 21st century, the need for system security has also become Virus Scanners (AVS) follow traditional signature based inevitable. While the developments in the IT sector have detection method to identify malware. Signatures are the innumerable advantages but attacks on websites and computer sequences of bytes existent in the database. Although systems are also increasing relatively. One such attack is zero day signature based examination can discern malware by yielding malware attack which poses a great challenge for the security low false positive rates but this technique turns out to be testers. The malware pen testers can use bypass techniques like inefficient for malware whose signature are not listed in the Compression, Code obfuscation and Encryption techniques to database. Also, once should be well versed with the minutiae easily deceive present day Antivirus Scanners. This paper of software for static analysis, which is not usually possible. elucidates a novel malware identification approach based on Malware detection using static analysis can be easily extracting unique aspects of API sequences. The proposed feature selection method based on N grams and odds ratio circumvented by malware writers by making use of the selection, capture unique and distinct API sequences from the obfuscation techniques.
    [Show full text]
  • The Journal of AUUG Inc. Volume 23 ¯ Number 4 December 2002
    The Journal of AUUG Inc. Volume 23 ¯ Number 4 December 2002 Features: This Issues CD: Knoppix Bootable CD 4 Using ODS to move a file system on the fly 7 Handling Power Status using snmptrapd 9 Process Tracing us ptrace - Part 2 11 Viruses: a concern for all of us 13 Viruses and System Security 21 Why Success for Open Source is great for Windows Users 22 Root-kits and Integrity 24 Installing and LAMP System 32 Exploring Perl Modules - Part 2: Creating Charts with GD:: Graph 38 DVD Authoring 41 Review: Compaq Presario 1510US 43 Athlon XP 2400 vs Intel Pentium 4 2.4Ghz and 2.8Ghz 46 Creating Makefiles 52 The Story of Andy’s Computer 54 News: Public Notices 5 AUUG: Corporate Members 9 AUUG: Chapter Meetings and Contact Details 61 Regulars: President’s Column 3 /var/spool/mail/auugn 3 My Home Network 5 AUUGN Book Reviews 7 ISSN 1035-7521 Print post approved by Australia Post - PP2391500002 AUUG Membership and General Correspondence The AUUG Secretary AUUG Inc Editorial PO Box 7071 Con Zymaris [email protected] Baulkham Hills BC NSW 2153 Telephone: 02 8824 95tl or 1800 625 655 (Toll-Free) I remember how exhilarating my first few brushes Facsimile: 02 8824 9522 with computerswere. It was the late ’70s. We had just Email: [email protected] experienced two massive waves of pop-technology AUUG Management Committee which swept through the public consciousness like a Email: au ugexec@au u.q.org.au flaring Tesla-coil: Star Wars had become the most successful film of all time, playing in cinemas (and President drive-ins.., remember those?) for over two years.
    [Show full text]
  • Black Hat USA 2012 Program Guide
    SUSTAINING SPONSORS Black Hat AD FINAL.pdf 1 6/30/12 8:12 PM C M Y CM MY CY CMY K Black Hat AD FINAL.pdf 1 6/30/12 8:12 PM SCHEDULE WELCOME TABLE OF CONTENTS Schedule . 4-7 Welcome to Las Vegas, and thank you for your participation in the growing Black Hat community. As we celebrate our 15th anniversary, we believe that the event Briefi ngs . 8-24 continues to bring you timely and action packed briefi ngs from some of the top Workshops . 21 security researchers in the world. Security saw action on almost every imaginable front in 2012. The year started Turbo Talks . 23 with a massive online protest that beat back US-based Internet blacklist legislation Speakers . 25-39 including SOPA and PIPA, echoed by worldwide protests against adopting ACTA in the European Union. Attackers showed no signs of slowing as Flame Keynote Bio . 25 replaced Stuxnet and Duqu as the most sophisticated malware yet detected. The Floorplan . 40-41 Web Hacking Incident Database (WHID) has added LinkedIn, Global Payments, eHarmony and Zappos.com while Anonymous and other politically motivated groups Arsenal . 42-51 have made their presence known in dozens of attacks. Special Events . 52-53 No matter which incidents you examine—or which ones your enterprise must C respond to—one thing is clear: security is not getting easier. The industry relies upon Stay Connected + More . 54 M the Black Hat community to continue our research and education, and seeks our Sponsors . 55 guidance in developing solutions to manage these threats.
    [Show full text]
  • Understanding Linux Malware
    Understanding Linux Malware Emanuele Cozzi Mariano Graziano Yanick Fratantonio Davide Balzarotti Eurecom Cisco Systems, Inc. Eurecom Eurecom Abstract—For the past two decades, the security community on a short time-to-market combined with innovative features has been fighting malicious programs for Windows-based operat- to attract new users. Too often, this results in postponing ing systems. However, the recent surge in adoption of embedded (if not simply ignoring) any security and privacy concerns. devices and the IoT revolution are rapidly changing the malware landscape. Embedded devices are profoundly different than tradi- With these premises, it does not come as a surprise that tional personal computers. In fact, while personal computers run the vast majority of these newly interconnected devices are predominantly on x86-flavored architectures, embedded systems routinely found vulnerable to critical security issues, ranging rely on a variety of different architectures. In turn, this aspect from Internet-facing insecure logins (e.g., easy-to-guess hard- causes a large number of these systems to run some variants coded passwords, exposed telnet services, or accessible debug of the Linux operating system, pushing malicious actors to give birth to “Linux malware.” interfaces), to unsafe default configurations and unpatched To the best of our knowledge, there is currently no comprehen- software containing well-known security vulnerabilities. sive study attempting to characterize, analyze, and understand Embedded devices are profoundly different
    [Show full text]
  • Methods for Detecting Kernel Rootkits
    University of Louisville ThinkIR: The University of Louisville's Institutional Repository Electronic Theses and Dissertations 12-2007 Methods for detecting kernel rootkits. Douglas Ray Wampler University of Louisville Follow this and additional works at: https://ir.library.louisville.edu/etd Recommended Citation Wampler, Douglas Ray, "Methods for detecting kernel rootkits." (2007). Electronic Theses and Dissertations. Paper 1507. https://doi.org/10.18297/etd/1507 This Doctoral Dissertation is brought to you for free and open access by ThinkIR: The University of Louisville's Institutional Repository. It has been accepted for inclusion in Electronic Theses and Dissertations by an authorized administrator of ThinkIR: The University of Louisville's Institutional Repository. This title appears here courtesy of the author, who has retained all other copyrights. For more information, please contact [email protected]. METHODS FOR DETECTING KERNEL ROOTKITS By Douglas Ray Wampler B.S., Indiana State University, 1994 M.S. Ball State University, 2003 A Dissertation Submited to the Faculty of the Graduate School of the University of Louisville In Partial Fulfillment of the Requirements For the Degree of Doctor of Philsophy Department of Computer Engineering and Computer Science University of Louisville Louisville, Kentucky December 2007 Copyright 2007 by Douglas Ray Wampler All rights reserved METHODS FOR DETECTING KERNEL ROOTKTIS By Douglas Ray Wampler B.S. Indiana State University, 1994 M.S., Ball State University, 2003 A Dissertation Approved on November 12, 2007 By the following Dissertation Committee: ________________________________________ James H. Graham, Dissertation Director ________________________________________ DarJen Chang ________________________________________ Gail W. Depuy ________________________________________ Adel S. Elmaghraby ________________________________________ Mehmed M. Kantardzic ii DEDICATION This dissertation is dedicated to my parents, Mr.
    [Show full text]
  • 2Nd Annual Cyber Resilience for National Security DC/VA, USA 17 September - 19 September 2013 41
    As much as I like going to industry conferences, enjoying their energy and frenzy, and getting together with old friends, sometimes company events like the BalaBit IT Security one I recently attended in Budapest inspire me even more. Getting to meet so many dedicated security experts and a peek into their everyday work really makes you conscious of the fact that we are all doing our best to "fight the good fight." With that in mind, this is our latest contribution to it, and we hope you'll enjoy it. Mirko Zorz Editor in Chief Visit the magazine website at www.insecuremag.com (IN)SECURE Magazine contacts Feedback and contributions: Mirko Zorz, Editor in Chief - [email protected] News: Zeljka Zorz, Managing Editor - [email protected] Marketing: Berislav Kucan, Director of Operations - [email protected] Distribution (IN)SECURE Magazine can be freely distributed in the form of the original, non-modified PDF document. Distribution of modified versions of (IN)SECURE Magazine content is prohibited without the explicit permission from the editor. Copyright (IN)SECURE Magazine 2013. www.insecuremag.com Researches test resilience of P2P Amsterdam, and tech companies Dell botnets SecureWorks and Crowdstrike has decided to test botnets' resilience to new attacks. While acknowledging that estimating a P2P botnet’s size is difficult and that there is currently no systematic way to analyze their resilience against takedown attempts, they have nevertheless managed to apply their methods to real-world P2P botnets and come up with quality information. They used crawling and sensor injection to detect the size of the botnets and discovered Following increased efforts by a number of two things: that some botnets number over a companies and organizations, the takedown million of bots, and that sensor injection offers on botnet C&C servers is now a pretty regular more accurate results.
    [Show full text]
  • RNNIDS: Enhancing Network Intrusion Detection Systems Through Deep Learning
    1 RNNIDS: Enhancing Network Intrusion Detection Systems through Deep Learning SOROUSH M. SOHI, Security in Telecommunications Technische Universität Berlin JEAN-PIERRE SEIFERT, Security in Telecommunications Technische Universität Berlin, and Fraunhofer-Institut für Sichere Informationstechnologie FATEMEH GANJI, Electrical and Computer Engineering Department Worcester Polytechnic Institute Security of information passing through the Internet is threatened by today’s most advanced malware ranging from orchestrated botnets to simpler polymorphic worms. These threats, as examples of zero-day attacks, are able to change their behavior several times in the early phases of their existence to bypass the network intrusion detection systems (NIDS). In fact, even well-designed, and frequently-updated signature- based NIDS cannot detect the zero-day treats due to the lack of an adequate signature database, adaptive to intelligent attacks on the Internet. More importantly, having an NIDS, it should be tested on malicious traffic dataset that not only represents known attacks, but also can to some extent reflect the characteristics of unknown, zero-day attacks. Generating such traffic is identified in the literature as one of the main obstacles for evaluating the effectiveness of NIDS. To address these issues, we introduce RNNIDS that applies Recurrent Neural Networks (RNNs) to find complex patterns in attacks and generate similar ones. In this regard, for the first time, we demonstrate that RNNs are helpful to generate new, unseen mutants of attacks aswell synthetic signatures from the most advanced malware to improve the intrusion detection rate. Besides, to further enhance the design of an NIDS, RNNs can be employed to generate malicious datasets containing, e.g., unseen mutants of a malware.
    [Show full text]