Related Experiment Video
Updated: Aug 26, 2025

Asthma Detection Research Based on Voice Signal Processing and Machine Learning
Published on: July 22, 2025
iDetect for vulnerability detection in internet of things operating systems using machine learning.
Abdullah Al-Boghdady1, Mohammad El-Ramly2, Khaled Wassif1
1Department of Computer Sciences, Faculty of Computers and Artificial Intelligence, Cairo University, 5, Ahmed Zewail Street, Dokki, Giza, 12613, Egypt.
This study introduces iDetect, a Machine Learning (ML) tool for finding security vulnerabilities in Internet of Things (IoT) Operating System (OS) source code. iDetect, using Random Forest, achieved high accuracy in detecting C/C++ code weaknesses.
Area of Science:
- Computer Science
- Software Engineering
- Cybersecurity
Background:
- Internet of Things (IoT) devices are increasingly prevalent, operating in diverse environments susceptible to security threats.
- Vulnerabilities in IoT Operating Systems (IoT OSs) can undermine higher-level security measures.
- Identifying and mitigating security flaws in IoT OS source code is critical for device security.
Purpose of the Study:
- To develop a Machine Learning (ML) based tool, named iDetect, for detecting vulnerabilities in C/C++ source code of IoT OSs.
- To train and evaluate ML models for identifying Common Weakness Enumeration (CWE) vulnerabilities within IoT OS codebases.
- To compare the performance of ML models against traditional Static Analysis Tools (SATs) for IoT OS vulnerability detection.
Main Methods:
- A labeled dataset was created using source code from 16 IoT OS releases and the Software Assurance Reference Dataset (SARD), annotated with CWEs.
- Three ML models—Random Forest (RF), Convolutional Neural Network (CNN), and Recurrent Neural Network (RNN)—were trained for vulnerability detection.
- The Random Forest model was selected for iDetect due to its superior performance in binary and multiclass classification tasks.
Main Results:
- Machine learning models, particularly Random Forest, demonstrated high accuracy in identifying vulnerabilities in IoT OS source code.
- iDetect achieved a macro-averaged F1 score of 98.5% for multiclass classification and 97.8% for binary classification on unseen data.
- iDetect outperformed three Static Analysis Tools (SATs) in detecting vulnerabilities within the evaluated IoT OS code snippets.
Conclusions:
- Machine Learning, specifically the Random Forest algorithm, is effective for developing automated tools like iDetect to enhance IoT OS security.
- The iDetect tool provides a robust solution for identifying C/C++ source code vulnerabilities in IoT OSs, surpassing traditional methods.
- Automated vulnerability detection in IoT OSs is essential for securing the expanding landscape of connected devices.
Related Concept Videos
Classification of Systems-I
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Classification of Systems-II
Types of Errors: Detection and Minimization
Absolute error in a measurement is the numerical difference from the true or central value. Relative error is the ratio between absolute error and the true or central value, expressed as a percentage.
Errors can be classified by source, magnitude, and sign. There are three types of errors: systematic, random, and gross.
Systematic or...
Machines: Problem Solving I
The toggle clamp system is a machine structure consisting of movable, pin-connected multi-force members that form a stabilized system to transmit forces. The...
Machines: Problem Solving II
Machines
A free-body diagram of the...

