Show simple item record

Assessment of static analysis tools for C/C++ code focused on overflow vulnerabilities

dc.contributor.advisorΚαμπουράκης, Γεώργιοςel_GR
dc.contributor.authorΒαμβακάκης, Νικόλαςel_GR
dc.contributor.authorVamvakakis, Nikolasen_US
dc.coverage.spatialΣάμοςel_GR
dc.date.accessioned2023-03-29T11:29:57Z
dc.date.available2023-03-29T11:29:57Z
dc.date.issued2023-01
dc.identifier.urihttp://hdl.handle.net/11610/24983
dc.description.abstractΗ παρούσα διπλώματική εργασία μελετάει και αξιολογεί την απόδοση ανοιχτού κώδικα εργαλείων στατικής ανάλυσης εφαρμοσμένα σε δημοφιλή, ανοιχτού κώδικα πραγματικά πακέτα λογισμικού υλοποιημένα σε C/C++. Η βιβλιογραφία περιέχει αρκετές μελέτες τέτοιων εργαλείων, αλλά η πλειοψηφία τους εφαρμόζεται σε σουίτες ελέγχου ειδικά διαμορφωμένες ώστε εσκεμμένα να περιλαμβάνουν πληθώρα προβλημάτων ασφάλειας. Συγκεκριμένα, παρά την αυξημένη δυσκολία λόγω της απαίτησης για χειροκίνητη επιβεβαίωση των ευρημάτων, σε αντίθεση με την προαναφερόμενη προσέγγιση, θεωρήθηκε σημαντικό τα εργαλεία ανάλυσης κώδικα να εκτελεστούν σε πραγματικά πακέτα λογισμικού, συγκεκριμένα στα Kodi Home Theater και Telegram. Αυτό θα επιτρέψει την εξαγωγή συμπερασμάτων σχετικά με την απόδοση των εργαλείων σε πραγματικές συνθήκες. Τα πακέτα λογισμικού που επιλέχθηκαν βρίσκονται σε ώριμο επίπεδο ανάπτυξης, άρα το ενδιαφέρον επικεντώνεται σε τυχόν παραμένοντα προβλήματα ασφάλειας. Η μελέτη επικεντρώθηκε σε προβλήματα υπερχείλισης και πιο συγκεκριμένα σε Buffer Overflows (CWE-120) και Integer Overflows (CWE-190). Ως εργαλεία στατικού ελέγχου επιλέχτηκαν τα Flawfinder και CppCheck (cli|gui). Συνολικά, αφού παρουσιαστεί το θεωρητικό υπόβαθρο, η διπλωματική εστιάζει στο πειραματικό μέρος, δηλαδή την εκτέλεση των εργαλείων ανάλυσης κώδικα στα δύο επιλεγμένα πακέτα λογισμικού και τον έλεγχο της ορθότητας των ευρημάτων. Συμπερασματικά, παρόλο που και τα δύο εργαλεία ανίχνευσαν κενά ασφαλείας στο κώδικα και των δύο πακέτων λογισμικού, τα προβλήματα αυτά δεν είναι άμεσα (πρακτικά) εκμεταλλεύσιμα.el_GR
dc.description.abstractThis Master thesis explores and assesses the performance of open source static analysis tools, applied to popular open source real-life projects implemented in C/C++. The bibliography presents several studies of such tools, however their majority have been applied to specially designed software test suites which include a great number of deliberate security flaws. Even though the difficulty of such a process is increased due to the need for manual verification of the findings, in contrast to the aforementioned approaches, it was considered important that such tools should be applied to real-life software projects, specifically Kodi Home Theater and Telegram. This will enable testers to draw conclusions about the performance of such tools against real-life mature software and provide comparisons with results stemming from software test suites. Specifically, the chosen software projects are in a mature development stage, assuring that any verification actions by the development team are already complete. Therefore, it is interesting to check if the analysis tools can identify any remaining, latent security flaws. The study is focused on overflow vulnerabilities, specifically on Buffer Overflows (CWE-120) and Integer Overflows (CWE-190). Flawfinder and CppCheck (cli|gui) were chosen as the static analysis tools to be tested. Initially, a theoretical analysis of all components that contributed to this thesis is presented, which is followed by the tools' execution targeting the aforementioned software projects. We present the findings after verifying them; this provides an initial, empirical assessment of the tool's performance as well. It is interesting to see that although both the tools were able to detect existing security flaws in various parts of the software projects, these flaws were structured in such a way that they are not directly exploitable.en_US
dc.format.extent107 σ.el_GR
dc.language.isoel_GRel_GR
dc.rightsDefault License
dc.subjectστατική ανάλυσηel_GR
dc.subjectαυτοματοποιημέναel_GR
dc.subjectυπερχείλισηel_GR
dc.subjectflawfinderen_US
dc.subjectcppchecken_US
dc.subjectc/c++en_US
dc.subject.lcshOpen source softwareen_US
dc.titleΑξιολόγηση αυτοματοποιημένων εργαλείων στατικής ανάλυσης C/C++ κώδικα με εστίαση σε ευπάθειες υπερχείλισηςel_GR
dc.titleAssessment of static analysis tools for C/C++ code focused on overflow vulnerabilitiesen_US
dcterms.accessRightsfreeel_GR
dcterms.rightsΠλήρες Κείμενο - Ελεύθερη Δημοσίευσηel_GR
heal.typemasterThesisel_GR
heal.recordProvideraegeanel_GR
heal.committeeMemberNameΚαμπουράκης, Γεώργιοςel_GR
heal.committeeMemberNameΚαπόρης, Αλέξηςel_GR
heal.committeeMemberNameΣκούτας, Δημήτριοςel_GR
heal.academicPublisherΠανεπιστήμιο Αιγαίου - Πολυτεχνική Σχολή - Τμήμα Μηχανικών Πληροφοριακών και Επικοινωνιακών Συστημάτωνel_GR
heal.academicPublisherIDaegeanel_GR
heal.fullTextAvailabilitytrueel_GR
dc.contributor.departmentΑσφάλεια Πληροφοριακών και Επικοινωνιακών Συστημάτωνel_GR


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record