Preview

Herald of Dagestan State Technical University. Technical Sciences

Advanced search

Emulating and Detecting Computer Network Attacks Using Python

https://doi.org/10.21822/2073-6185-2025-52-4-91-98

Abstract

Objective. Methods for emulating network attacks on computer networks using the Python programming language are discussed. Special attention is paid to such types of attacks as ARP-spoofing, DDoS attacks and SQL injections, as well as various ways to detect and monitor them.

Method. Python libraries such as scapy for creating fake ARP responses and performing ARP spoofing attacks, requests for emulating DDoS attacks, and SQL injection tools for testing server and application vulnerabilities are used.

Result. Code examples demonstrating attack implementation are provided, along with methods for analyzing network traffic to identify anomalies caused by these attacks. The obtained data was visualized.

Conclusion. The results are intended for specialists studying the vulnerabilities of computer networks, for developers of systems for protection against external threats, and are useful in developing solutions for protection against various threats.

About the Authors

A. P. Kulikov
Volga Region State University of Telecommunications and Informatics
Russian Federation

Alexey P. Kulikov - Student, Department of Software Engineering.

23 L. Tolstoy Str., Samara, 443010



E. A. Radaeva
Volga Region State University of Telecommunications and Informatics
Russian Federation

Elizaveta A. Radaeva - Student, Department of Software Engineering.

23 L. Tolstoy Str., Samara, 443010



D. O. Yakupov
Volga Region State University of Telecommunications and Informatics
Russian Federation

Denis O. Yakupov - Senior Lecturer, Department of Software Engineering.

23 L. Tolstoy Str., Samara, 443010



References

1. "ARP Spoofing." Wikipedia. – Available at: https://ru.wikipedia.org/wiki/ARP-spoofing

2. "DDoS Attacks: A Primer." Cloudflare. Available at: https://www.cloudflare.com/learning/ddos/what-is-addos-attack/

3. "Understanding SQL Injection Attacks." Acunetix. –/www.acunetix.com/websitesecurity/sql-injection/

4. "Scapy: Packet Manipulation Tool." Official Scapy Documentation. https://scapy.readthedocs.io/en/latest/

5. "Requests: HTTP for Humans." Official Requests Documentation. – Available at: https://docs.python-requests.org/en/master/

6. "Python Network Programming". By John Goerzen. https://www.oreilly.com/library/view/python-networkprogramming/9781788621755/

7. "Black Hat Python: Python Programming for Hackers and Pentesters." By Justin Seitz. – [https://www.no starch.com/black-hat-python] (https://www.no starch.com/black-hat-python)

8. "Wireshark User Guide." Wireshark. –https://www.wireshark.org/docs/wsug_html_chunked/

9. "Metasploit Unleashed." Offensive Security. –https://www.offensive-security.com/metasploit-unleashed/

10. "OWASP Top Ten Project." OWASP. – Access mode: https://owasp.org/www-project-top-ten/

11. "Hacking: The Art of Exploitation" by Jon Erickson. –https://www.nostarch.com/hacking2.htm

12. "The Web Application Hacker's Handbook" by Dafydd Stuttard, Marcus Pinto. https://www.wiley.com/enus/The+Web+Application+Hacker%27s+Handbook%3A+Discovering+and+Exploiting+Security+Flaws%2C+2nd+Edition-p-9781118026476

13. "Practical Packet Analysis" by Chris Sanders. https://www.oreilly.com/library/view/practical-packet-analysis/9781593273037/

14. "The Hacker Playbook 2: Practical Guide to Penetration Testing." By Peter Kim. – Available at: https://www.hackerplaybook.com/

15. "Gray Hat Python: Python Programming for Hackers and Reverse Engineers." By Justin Seitz.: [https://www.no starch.com/gray-hat-python] (https://www.no starch.com/gray-hat-python)


Review

For citations:


Kulikov A.P., Radaeva E.A., Yakupov D.O. Emulating and Detecting Computer Network Attacks Using Python. Herald of Dagestan State Technical University. Technical Sciences. 2025;52(4):91-98. (In Russ.) https://doi.org/10.21822/2073-6185-2025-52-4-91-98

Views: 457

JATS XML


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2073-6185 (Print)
ISSN 2542-095X (Online)