Crossref DOIMemberCiteFactoropen accessissn
SJIF Impact Factor 8.659 | ISSN: 2582-3930
IJSREM Logo

International Journal of Scientific Research in Engineering and Management

(Gateway to Global Scholars - An International, Scholarly, Multi-Disciplinary, Open Access Journal)

Peer-Reviewed Journal Designed to Meet UGC's Quality Parameters

HomeCurrent IssuePast IssuesPay OnlineConferencesEditorial BoardAbout UsContact Us
IJSREM

Loading article...

Follow Us

  • Google Scholar
  • ResearchGate
  • Academia.edu
  • Mendeley
  • LinkedIn
  • Facebook
  • Instagram

Journal Policies

  • Peer Review Policy
  • Publication Ethics
  • Copyright Infringement
  • Refund & Cancellation Policy
  • Terms and Conditions
  • Privacy Policy

Journal Identifiers & Licenses

  • ISSN Verified: 2582-3930ISSN Verified: 2582-3930
  • Crossref DOI: 10.55041Crossref DOI: 10.55041
  • SJIF Ranking: 08.659SJIF Ranking: 08.659
  • Licensed under CC BY 4.0Licensed under CC BY 4.0
  • ISO Certification: 9001:2015ISO Certification: 9001:2015
  • Indexed & Cited In: Google ScholarIndexed & Cited In: Google Scholar

Contact Us

International Journal of Scientific Research in Engineering and Management (IJSREM)

#62/1, New No 7, 1st Cross, 2nd Main, Ganganagar, R T Nagar, Bangalore North, Bangalore, Karnataka, India – 560032
[email protected]+91 93911 67991
logos
logos
Working Hours

Mon – Sat: 9:00 AM – 6:00 PM

Sunday: 10:00 AM – 4:00 PM

+91 93911 67991

© 2026 IJSREM – International Journal of Scientific Research in Engineering and Management. This is an open-access journal. Articles are published under the Creative Commons Attribution (CC BY 4.0) License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

DisclaimerPrivacy PolicyTerms and Conditions
ArticlePeer ReviewedOpen AccessPlagiarism Passed
Paper ID:IJSREM68807

TOGEPI: A Python-Based Host Intrusion Detection and Automated Firewall Response System

Stream/Area:

-

Subject:

-

Paper ID:

IJSREM68807

Volume:

10 |

11 |

Nov 2026

Pages:

1-8

Publication Frequency:

Monthly (12 issues per year)

DOI
Digital Object Identifier
10.55041/IJSREM68807

License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Share this article:

Authors

Om Adhau

Om Adhau

Department of Electronics and telecommunication

Priyadarshini college of engineering

Download Author Certificate
Hemant Pise

Hemant Pise

Department of Electronics and telecommunication

Priyadarshini college of engineering

Download Co-Author Certificate
Anshool Kumar

Anshool Kumar

Department of Electronics and telecommunication

Priyadarshini college of engineering

Download Co-Author Certificate

Mentors

V.V.Panchbhai

V.V.Panchbhai

Department of Electronics and telecommunication

Priyadarshini college of engineering

Download Mentor Certificate

Author Services & Downloads

Full ArticlesAcceptance Certificate

Abstract

Operating systems record failed login attempts in their authentication logs, yet the native logging services do nothing to stop those attempts at the network bounda-ry. This paper presents TOGEPI (Threat-Oriented Guard Engine for Protective Infrastructure), a light-weight Python prototype that joins four tasks into one pipeline: watching security logs, detecting brute-force behavior, extracting and validating the source IPv4 address, and blocking that address through the host firewall. Two implementations are described. The Linux reference version reads authentication logs and issues iptables rules, while the Windows console ver-sion offers a menu-driven interface, a synthetic event simulator and Windows Advanced Firewall com-mands. Detection combines keyword matching with a state-aware sliding window set to five failed attempts within 30 seconds. According to the project thesis, all ten functional test cases passed, and five controlled trials gave a mean detection-to-mitigation time of 0.537 s. Idle monitoring used 0.05%–0.15% CPU and 14.2 MB of RAM in the test environment. We also trace a Windows BLOCK_FAILED status to a code-level cause: the state-deduplication check returned a generic false value that the caller read as a firewall failure. The results are laboratory-scale evidence only, and we treat successful rule creation and independent-ly verified packet dropping as two separate outcomes.

KEYWORDS

host-based intrusion detection brute-force mitigation automated incident response log analytics iptables Windows Firewall.

Cite This Article

Om Adhau, Hemant Pise, Anshool Kumar, V.V.Panchbhai, "TOGEPI: A Python-Based Host Intrusion Detection and Automated Firewall Response System," International Journal of Scientific Research in Engineering and Management, vol. 10, no. 11, pp. 1-8, Nov 2026. https://doi.org/10.55041/IJSREM68807

Full Article/Conclusion

TOGEPI is a lightweight host-security tool that links live log monitoring directly to firewall mitigation on both Linux and Windows. It combines log tailing, multi-pattern keyword scanning, a sliding-window frequency counter and IPv4 syntax checking into a detection-and-mitigation chain that runs on ordinary inputs. Controlled experiments tested whether the system behaves as intended, and the passing test cases indicate that most of the algorithms were implemented correctly. The mean time from detection to mitigation was 0.537 s, and idle monitoring used between 0.05% and 0.15% of the CPU. The analysis of the BLOCK_FAILED case clarifies how the host firewall path behaves, but confirming that mitigation really works would need further testing in realistic environments, together with packet-drop statistics.

References

[1]  S. K. Singh, S. Gautam, C. Cartier, S. Patil, and R. Ricci, “Where the Wild Things Are: Brute-Force SSH Attacks in the Wild and How to Stop Them,” in Proc. 21st USENIX Symp. Networked Systems Design and Implementation (NSDI 24), Santa Clara, CA, USA, Apr. 2024, pp. 1731–1750. [Online]. Available: https://www.usenix.org/conference/nsdi24/presentation/singh-sachin [2]  MITRE ATT&CK, “Brute Force (T1110),” Enterprise Matrix. [Online]. Available: https://attack.mitre.org/techniques/T1110/. Accessed: Oct. 21, 2026. [3]  OpenBSD Project, “sshd(8) — OpenSSH SSH daemon,” OpenBSD manual pages. [Online]. Available: https://man.openbsd.org/sshd.8. Accessed: Oct. 21, 2026. [4]  R. Gerhards, “The Syslog Protocol,” RFC 5424, Internet Engineering Task Force, Mar. 2009. [Online]. Available: https://www.rfc-editor.org/rfc/rfc5424/ [5]  K. Kent and M. Souppaya, “Guide to Computer Security Log Management,” NIST Special Publication 800-92, National Institute of Standards and Technology, Gaithersburg, MD, USA, Sept. 2006, doi: 10.6028/NIST.SP.800-92. [6]  K. Scarfone and P. Mell, “Guide to Intrusion Detection and Prevention Systems (IDPS),” NIST Special Publication 800-94, National Institute of Standards and Technology, Gaithersburg, MD, USA, Feb. 2007, doi: 10.6028/NIST.SP.800-94. [7]  A. Kumar, H. Pise, and O. Adhau, “Threat-Oriented Guard Engine for Protective Infrastructure (TOGEPI),” B.Tech (Honors) Thesis, Dept. Electron. & Telecommun. Eng., Priyadarshini College of Engineering, Nagpur, India, Oct. 2026. [8]  A. A. Hamza and R. J. S. Al-Janabi, “Detecting brute force attacks on SSH and FTP protocol using machine learning: A survey,” J. Al-Qadisiyah Comput. Sci. Math., vol. 16, no. 1, pp. Comp. 21–31, 2024, doi: 10.29304/jqcsm.2024.16.11432. [9]  R. A. Bridges, T. R. Glass-Vanderlan, M. D. Iannacone, M. S. Vincent, and Q. Chen, “A survey of intrusion detection systems leveraging host data,” ACM Comput. Surv., vol. 52, no. 6, Art. no. 128, 2019, doi: 10.1145/3344382. [10] P. He, J. Zhu, Z. Zheng, and M. R. Lyu, “Drain: An online log parsing approach with fixed depth tree,” in Proc. 2017 IEEE 24th Int. Conf. Web Services (ICWS), Honolulu, HI, USA, 2017, pp. 33–40, doi: 10.1109/ICWS.2017.13.

Editorial & Review Transparency

Publication Date

11/6/2026

Peer Review Type

Double-Blind Peer Review

Review Rounds: 2

Documents

Review Report (Confidential)
Copyright Form (Office)

Article Metrics & Impact

Article Views

2

Total views since publication

PDF Downloads

4

Total downloads since publication

Geographic Reach

5

Indexing, Archiving & Preservation

Google Scholar
Academia
ResearchGate
Crossref
SSRN
Semantic Scholar
Thomson Reuters
WorldCat
Mendeley
OpenAlex
EBSCO
Zenodo

Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.

Ethics, Compliance & Transparency

Plagiarism Screening

This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.

Conflict of Interest

The authors declare no conflict of interest related to this research work.

Funding Information

No funding information available for this research.

Similar & Recommended Articles

Similar Articles by Topic

Related research in the same subject area

Loading similar articles...