Democratizing Network Security Management: How ESP32 Makes Professional Packet Sniffing Accessible

  • Arnastya Iswara Sanantagraha Computer Science Department, BINUS Graduate Program, Doctor of Computer Science, Bina Nusantara University, Jakarta, Indonesia
  • Erlina Puspitaloka Mahadewi Universitas Esa Unggul, Jakarta, Indonesia
Keywords: Esp32; iot; mqtt, pcap and real-time monitoring.

Abstract

This study presents a comprehensive design and implementation of an ESP32-based WiFi packet sniffer system optimized for real-time monitoring and analysis of 802.11 network traffic, adopting a modular architecture that integrates hardware abstraction, packet processing, and user interface layers to ensure scalability, maintainability, and efficient resource utilization while leveraging the ESP32's dual-core processor, integrated WiFi, and advanced memory management strategies to achieve high performance in packet capture, filtering, and storage with low power consumption; key features include support for industry-standard PCAP file formats, microsecond-precision timestamps, and compatibility with MQTT and WebSocket protocols, enabling seamless integration into diverse IoT applications, with the system capable of capturing all supported 802.11 frame types and applying real-time filtering based on MAC addresses, frame types, signal strength, and protocol-specific parameters to reduce storage and processing overhead, while addressing memory limitations through efficient buffer management techniques such as circular buffers and dynamic memory allocation, ensuring adaptability to traffic patterns and resources, with performance evaluations demonstrating its ability to handle high traffic loads with minimal latency and memory overhead, making it suitable for applications like disaster monitoring, factory automation, and environmental sensing, further highlighting the ESP32's versatility through compatibility with solar-powered systems and renewable energy sources for long-term deployment in remote environments, while future work will focus on enhancing energy efficiency and exploring AI-driven analytics for edge computing scenarios, bridging the gap between expensive commercial solutions and accessible educational/research tools to demonstrate practical viability in real-world applications.

Downloads

Download data is not yet available.

References

S. D. Kalamaras, M.-A. Tsitsimpikou, C. A. Tzenos, A. A. Lithourgidis, D. S. Pitsikoglou, and T. A. Kotsopoulos, “A Low-Cost IoT System Based on the ESP32 Microcontroller for Efficient Monitoring of a Pilot Anaerobic Biogas Reactor,” Applied Sciences, vol. 15, no. 1, p. 34, Dec. 2024, doi: 10.3390/app15010034.

B. Patel and P. Shah, “Simulation, modelling and packet sniffing facilities for IoT: A systematic analysis,” International Journal of Electrical and Computer Engineering (IJECE), vol. 10, no. 3, p. 2755, Jun. 2020, doi: 10.11591/ijece.v10i3.pp2755-2762.

M. A. Navarrete-Sanchez, Re. Olivera-Reyna, Ro. Olivera-Reyna, R. J. Perez-Chimal, and J. U. Munoz-Minjares, “IoT-Based Classroom Temperature Monitoring and Missing Data Prediction Using Raspberry Pi and ESP32,” Journal of Robotics and Control (JRC), vol. 6, no. 1, pp. 234–245, Jan. 2025, doi: 10.18196/jrc.v6i1.24345.

P. W. Rusimamto, E. Endryansyah, L. Anifah, R. Harimurti, and Y. Anistyasari, “Implementation of arduino pro mini and ESP32 cam for temperature monitoring on automatic thermogun IoT-based,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 23, no. 3, p. 1366, Sep. 2021, doi: 10.11591/ijeecs.v23.i3.pp1366-1375.

Imran, “IoT Task Management Mechanism Based on Predictive Optimization for Efficient Energy Consumption in Smart Residential Buildings,” Energy Build, vol. 257, 2022, doi: 10.1016/j.enbuild.2021.111762.

Z. Didi and I. El Azami, “Monitoring of submersible pumps using ESP32 microcontroller and photovoltaic panels,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 30, no. 3, p. 1470, Jun. 2023, doi: 10.11591/ijeecs.v30.i3.pp1470-1477.

L. O. Aghenta and M. Tariq Iqbal, “Design and implementation of a low-cost, open source IoT-based SCADA system using ESP32 with OLED, ThingsBoard and MQTT protocol,” AIMS Electronics and Electrical Engineering, vol. 4, no. 1, pp. 57–86, 2020, doi: 10.3934/ElectrEng.2020.1.57.

C. , L. B. , Y. Y. , C. Z. , Z. L. , & C. L. Hu, “Human activity recognition system based on low-cost IoT chip ESP32,” Chinese Journal on Internet of Things, 2023.

D. Álvarez Robles, P. Nuño, F. González Bulnes, and J. C. Granda Candás, “Performance Analysis of Packet Sniffing Techniques Applied to Network Monitoring,” IEEE Latin America Transactions, vol. 19, no. 3, pp. 490–499, Mar. 2021, doi: 10.1109/TLA.2021.9447699.

U. R. Bhagat, N. S. Gujar, and S. M. Patel, “Iot based Wi-Fi enabled streetlight using Esp32,” International Journal of Innovative Technology and Exploring Engineering, vol. 8, no. 7, 2019.

D. Hercog, T. Lerher, M. Truntič, and O. Težak, “Design and Implementation of ESP32-Based IoT Devices,” Sensors, vol. 23, no. 15, p. 6739, Jul. 2023, doi: 10.3390/s23156739.

A.-D. , Tomșe, C.-O. , & Stașac, and C.-O. Molnar, “ESP32 Based Detection and Monitoring System of Power Quality in Electrical Networks,” Journal of Electrical and Electronics Engineering, vol. 17, no. 2, p. 5962, Oct. 2024.

C. Qin, C. Hu, and Y. Feng, “A novel bidding strategy based on dynamic targeting in real-time bidding market,” Electronic Commerce Research, 2023, doi: 10.1007/s10660-023-09714-4.

C. , L. B. , Y. Y. , C. Z. , Z. L. , & C. L. Hu, “Human activity recognition system based on low-cost IoT chip ESP32,” Chinese Journal on Internet of Things, vol. 7, no. 2, pp. 133–142, Jun. 2023.

Dr. Rajalaxmi S, Shamna A. S, and Kishore Kumar T. M, “Smart AcuGlove: A Mobile-Controlled Wearable for Targeted Pain Relief and Wellness,” Int J Sci Res Sci Eng Technol, vol. 12, no. 3, pp. 156–167, May 2025, doi: 10.32628/IJSRSET2512322.

H. Zhang, J. Yu, X. Chen, Y. Tian, W. Qi, and A. Hu, “A Low-cost ESP32-driven Wireless Key Generation System Based on Response Mechanism,” in 2023 8th International Conference on Computer and Communication Systems (ICCCS), IEEE, Apr. 2023, pp. 708–713. doi: 10.1109/ICCCS57501.2023.10151089.

F. P. , S. H. K. , A. S. , A. W. , A. F. T. , & T. P. V Syahrani, “A Comprehensive IoT Solution for Electrical Energy Consumption Monitoring: System Development Using NodeMCU ESP32, SCT-013, ZMPT101B, and Blynk Platform,” Journal of Logistics, Informatics and Service Science, Jun. 2024, doi: 10.33168/JLISS.2024.0622.

E. Gomez-Huaylla, L. Mejía-Cruz, and E. Paiva-Peredo, “Management and monitoring of lithium-ion battery recharge with ESP32,” International Journal of Power Electronics and Drive Systems (IJPEDS), vol. 15, no. 3, p. 1677, Sep. 2024, doi: 10.11591/ijpeds.v15.i3.pp1677-1686.

A. Anggrawan, S. Hadi, and C. Satria, “IoT-Based Garbage Container System Using NodeMCU ESP32 Microcontroller,” Journal of Advances in Information Technology, vol. 13, no. 6, 2022, doi: 10.12720/jait.13.6.569-577.

N. Mitrovic, M. Djordjevic, S. Veljkovic, and D. Dankovic, “Implementation and testing of WebSocket protocol in ESP32 based IoT systems,” Facta universitatis - series: Electronics and Energetics, vol. 36, no. 2, pp. 267–284, 2023, doi: 10.2298/FUEE2302267M.

A. D. W. Sumari, I. Annurroni, and A. Ayuningtyas, “The Internet-of-Things-based Fishpond Security System Using NodeMCU ESP32-CAM Microcontroller,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 9, no. 1, pp. 51–61, Jan. 2025, doi: 10.29207/resti.v9i1.6033.

D. Hermanto, D. Stiawan, B. Y. Suprapto, E. Permata, and E. P. Widiyanto, “New Approach Monitoring System with ESP32 and MQTT for the Best Position of the Floating Net Cage,” in 2023 10th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), IEEE, Sep. 2023, pp. 139–144. doi: 10.1109/EECSI59885.2023.10295802.

W. Song, X. Wang, T. Wang, Z. Li, Z. Zhang, and L. Yang, “Design of Factory Environmental Monitoring System based on ESP32,” in 2023 5th International Conference on Frontiers Technology of Information and Computer (ICFTIC), IEEE, Nov. 2023, pp. 311–314. doi: 10.1109/ICFTIC59930.2023.10456317.

N. Litayem and A. Al-Sa’di, “Exploring the Programming Model, Security Vulnerabilities, and Usability of ESP8266 and ESP32 Platforms for IoT Development,” in 2023 IEEE 3rd International Conference on Computer Systems (ICCS), IEEE, Sep. 2023, pp. 150–157. doi: 10.1109/ICCS59700.2023.10335558.

L. Samal and P. Bute, “Wireless network for Industrial application using ESP32 as Gateway,” in 2023 14th International Conference on Computing Communication and Networking Technologies (ICCCNT), IEEE, Jul. 2023, pp. 1–5. doi: 10.1109/ICCCNT56998.2023.10306864.

W. He, M. J. A. Baig, and M. T. Iqbal, “An Open-Source Supervisory Control and Data Acquisition Architecture for Photovoltaic System Monitoring Using ESP32, Banana Pi M4, and Node-RED,” Energies (Basel), vol. 17, no. 10, p. 2295, May 2024, doi: 10.3390/en17102295.

A. Perdomo-Campos, I. Vega-González, and J. Ramírez-Beltrán, “ESP32 Based Low-Power and Low-Cost Wireless Sensor Network,” 2023, pp. 275–285. doi: 10.1007/978-3-031-26361-3_24.

N. Maneetien, S. Kawdungta, and V. Jaikampan, “The Design and Construction of an IoT Learning Board Using ESP32 and FPGA,” in 2024 9th International STEM Education Conference (iSTEM-Ed), IEEE, Jul. 2024, pp. 1–4. doi: 10.1109/iSTEM-Ed62750.2024.10663107.

I. Fadelallah, A. M. Nicolae, and D. M. Emil, “IoT ESP32 device for remote experiment manipulation within a LiFePO 4 energy storage study,” in 2023 15th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), IEEE, Jun. 2023, pp. 01–04. doi: 10.1109/ECAI58194.2023.10194049.

S. Budijono and Felita, “Smart Temperature Monitoring System Using ESP32 and DS18B20,” IOP Conf Ser Earth Environ Sci, vol. 794, no. 1, p. 012125, Jul. 2021, doi: 10.1088/1755-1315/794/1/012125.

I. Plauska, A. Liutkevičius, and A. Janavičiūtė, “Performance Evaluation of C/C++, MicroPython, Rust and TinyGo Programming Languages on ESP32 Microcontroller,” Electronics (Basel), vol. 12, no. 1, p. 143, Dec. 2022, doi: 10.3390/electronics12010143.

O. Barybin, E. Zaitseva, and V. Brazhnyi, “Testing the Security ESP32 Internet of Things Devices,” in 2019 IEEE International Scientific-Practical Conference Problems of Infocommunications, Science and Technology (PIC S&T), IEEE, Oct. 2019, pp. 143–146. doi: 10.1109/PICST47496.2019.9061269.

C. G. Kennedy, K. Okokpujie, F. T. Young, I. P. Okokpujie, A. V. Akingunsoye, and A. R. Asuna, “Development of a Lower-Cost Surveillance System Using an ESP32-Cam, IoT, and Twilio Application Programming Interface,” 2024, pp. 109–119. doi: 10.1007/978-981-97-0573-3_9.

Published
2025-09-27
How to Cite
Iswara Sanantagraha, A., & Puspitaloka Mahadewi, E. (2025). Democratizing Network Security Management: How ESP32 Makes Professional Packet Sniffing Accessible . International Journal of Science, Technology & Management, 6(5), 972-980. https://doi.org/10.46729/ijstm.v6i5.1351

Most read articles by the same author(s)