Linux Forensic Toolkit (LFT)
A comprehensive command-line tool for Linux system monitoring, forensic analysis, and diagnostics with a user-friendly interface.
Features
🖥️ System Monitoring
- Real-time system resource dashboard
- CPU/RAM/Disk/Network usage statistics
- Active network connections monitoring
- System uptime tracking
🔍 Forensic Analysis
-
File Analysis
- File hash generation (MD5, SHA1, SHA256)
- SUID/SGID file detection
- File metadata inspection
- Keyword-based file search
-
Process Analysis
- Real-time process monitoring
- Process sorting by resource usage
- Process memory maps inspection
🌐 Network Analysis
- Active connection monitoring
- Listening port display
- Routing table inspection
- ARP cache analysis
📊 System Diagnostics
- Mounted filesystems list
- Kernel module inspection
- Environment variables display
- User login history
� Memory Analysis
- Memory usage by process
- Shared memory segments
- Process memory maps 🚀 Usage Quick Start bash
Install package
pip install linux-forensic-toolkit
# Run the tool
lft
Interactive Menu System
=== LINUX FORENSIC TOOLKIT ===
1. System Monitoring Dashboard [Realtime metrics]
2. Process Analysis [Top 50 processes]
3. File Analysis [Hashes/SUID/Search]
4. Network Analysis [Connections/Routing]
5. Memory Analysis [Shared memory]
6. System Information [Login history/Kernel]
7. Exit
Practical Examples
Search files containing "password"
lft → 3 → 4
Enter directory: /home/user/documents
Keyword: password
Check user login history
lft → 6 → 5
Analyze network connections
lft → 4 → 1
🔑 Key Features
Feature Command Path Description
Real-time Monitoring Main Menu → 1 Live CPU/RAM/Disk/Network stats with color-coded alerts
Forensic File Search File Analysis → 4 Recursive content search with line numbers and context
Security Audit File Analysis → 2 Detect suspicious SUID/SGID executables
Network Recon Network Analysis → 1-4 Complete network mapping (connections/ports/routes)
Advanced Features
► User Login Timeline
Path: System Info → 5
Shows: Login/logout times, IP addresses, durations
► Process Memory Inspection
Path: Memory Analysis → 3
Features: View memory maps for any running process
► File Fingerprinting
Path: File Analysis → 1
Algorithms: MD5, SHA1, SHA256 hash generation
► Environment Audit
Path: System Info → 4
Displays: All environment variables with values
📦 Installation
Requirements
-
Python 3.6+
-
Linux system
-
Root access (recommended for full functionality)
-
Recommended packages:
net-tools,psutil,prettytable
Install via pip
pip install linux-forensic-toolkit
###Install from source
bash
git clone https://github.com/Veyselxan/linux-forensic-toolkit.git
cd linux-forensic-toolkit
pip install .
📌 Notes
Requires psutil and prettytable packages
Some features require root privileges
File search may take time on large directories
Network features depend on net-tools package
🤝 Contributing
Pull requests welcome! Please follow PEP8 guidelines and include tests for new features.
📄 License
MIT License - See LICENSE for details
Metadata
Release files for linux-forensic-toolkit 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linux-forensic-toolkit-1.0.1.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linux_forensic_toolkit-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.7 kB
Release files / linux-forensic-toolkit-1.0.1.tar.gz
| Download URL | linux-forensic-toolkit-1.0.1.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fbcc27af5ce357f01ac327ba675ba15c963886d883f1b4360250c2c07fb6039
|
|
BLAKE2b-256 checksum How to use checksums |
3f3b5cd3e40be301c03f4c70870c3d33ecd66b49e5a8c2b5570fabc88bd206c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Release files / linux_forensic_toolkit-1.0.1-py3-none-any.whl
| Download URL | linux_forensic_toolkit-1.0.1-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50fc9c70b78b71cbdd8a66d02d7af6d85b3956b296ec211a34f621957d375c24
|
|
BLAKE2b-256 checksum How to use checksums |
8c234278462ed9416b89bbe2bbe29d6f112a23799b2be267544da03f0ae8ba1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|