Skip to content

About

A Bash-based Linux process monitor that detects and logs rogue or suspicious activity.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ ProcessGuard — Linux Rogue Process Monitoring & Threat Detection Tool

ProcessGuard is a Bash-based Linux process monitoring utility that continuously scans running processes, detects suspicious or unauthorized applications, and records security events for system administrators and security teams.

Designed as a practical Linux administration and security project, ProcessGuard helps improve system visibility by identifying potentially malicious processes and maintaining detailed audit logs.


✨ Features

  • 🛡️ Detects suspicious or unauthorized processes
  • 🔍 Monitors running processes using ps
  • ⚙️ Supports a customizable list of suspicious keywords
  • 📝 Generates timestamped security logs
  • 🧹 Automatically removes logs older than 7 days
  • ⏰ Cron-friendly automation
  • ⚡ Lightweight with minimal system overhead
  • 🐧 Compatible with most Linux distributions

📂 Project Structure

ProcessGuard/
├── processguard.sh
├── logs/
└── README.md

🚀 Installation

Clone the repository:

git clone https://github.com/Kachinonye/processguard.git

Navigate into the project directory:

cd processguard

Make the script executable:

chmod +x processguard.sh

▶️ Usage

Run the monitoring utility:

./processguard.sh

Or schedule it with cron for continuous monitoring:

*/5 * * * * /path/to/processguard/processguard.sh >> /path/to/processguard/processguard_cron.log 2>&1

📋 Monitoring Capabilities

ProcessGuard can detect processes matching configurable keywords, including examples such as:

  • nmap
  • hydra
  • netcat (nc)
  • sshpass
  • msfconsole
  • cryptominer processes

The keyword list can easily be customized to suit your environment.


💼 Skills Demonstrated

This project showcases practical experience with:

  • Linux System Administration
  • Bash Shell Scripting
  • Process Monitoring
  • Security Monitoring
  • Threat Detection
  • Log Management
  • Automation
  • Cron Scheduling
  • Technical Documentation

🎯 Use Cases

ProcessGuard is useful for:

  • Linux System Administrators
  • DevOps Engineers
  • Security Analysts
  • Home Lab Environments
  • Server Security Monitoring
  • Linux Administration Training

🔮 Planned Enhancements

Future releases may include:

  • Email notifications
  • Slack and Discord alerts
  • HTML security reports
  • JSON export
  • Process reputation checking
  • Whitelisting and blacklisting
  • CPU and memory threshold detection
  • Multi-server monitoring

👨‍💻 Author

Kachinonye Nmezi

Linux Systems Administrator | Bash Automation Specialist | Cloud Engineering Enthusiast


📜 License

Licensed under the MIT License.

About

A Bash-based Linux process monitor that detects and logs rogue or suspicious activity.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages