Releases: DefinetlyNotAI/Logicytics
v3.6.0
🚀 Release v3.6.0
This release introduces new forensic scripts, refactors core scanning logic, and improves configuration management for smoother operation and better logging.
✨ New Features
-
USB History Extraction (
usb_history.py
)- Logs connected USB devices for forensic tracking.
-
Encrypted Drive Audit Script
- Analyses mounted volumes and retrieves BitLocker status.
🔧 Improvements
-
Config File Updates
config.ini
updated to version 3.6.0 with new settings for scan behavior.
-
Sensitive Path Handling (
vulnscan.py
)- Removed unnecessary browser data paths.
- Added refined definitions for sensitive paths.
-
File Processing & Backup
- Improved handling of detected files.
- Enhanced backup functionality with better logging.
-
Execution Logic Refactor
- Main scan workflow streamlined for clarity and reliability.
📄 Documentation
- Updated PLANS.md for version tracking.
- Minor document adjustments in preparation for v3.6.0.
What's Changed
- v3.6.0 Update features by @DefinetlyNotAI in #235
Full Changelog: v3.5.1...v3.6.0
v3.5.1
Logicytics: Flag Promotions, Device Auto-Detection, and Core Cleanup - Version 3.5.1
Major Updates and Enhancements
Flag System & Model Handling Improvements
Automatic Device Detection:
-
vulnscan.py
:- Introduced automatic CPU/GPU detection when loading PyTorch models.
- Implemented
torch.load(..., map_location=...)
to prevent CUDA-only crashes. - Ensures safe execution across systems lacking GPU acceleration.
Flag Updates and New Features:
-
Flag Enhancements:
- Promoted
--performance-check
flag from Beta to Stable. - Removed unstable memory usage reporting due to inconsistent values and external process interference.
- Introduced new
--usage
flag for tracking user flag interaction history.
- Promoted
-
Debug Mode Improvements:
- Fixed crash when Git is missing by validating its existence before use.
- Resolved false positives in
--debug
file diffing (ignored vs extra). - Synchronized debug file comparison logic with internal
_dev.py
behavior. - Extended Python 3.13 compatibility to prevent future errors.
- Improved logging clarity and structure for traceable debugging.
Core Refactors & Codebase Simplification
File & Directory Fixes:
- Renamed previously buggy
vulnscan
folder to avoid automatic inclusion during zipping. - Addressed crash caused by uninitialized logging directories—
Logger
now ensures correct creation.
Feature Removal:
-
Removed the
--backup
flag entirely.- It introduced complexity and redundancy - Git handles all historical tracking better.
- Refactored backup-related logic and removed dead code linked to the feature.
Planning & Maintenance Updates
- Promoted
Match.generate_summary_and_graph()
out of beta after patches and testing. - Updated
PLANS.md
with roadmap changes and clarified deprecation of backup. - Performed basic cleanup tied to removed features and older implementation quirks.
Base Change
- Implemented cross-platform model loading with automatic device detection in
vulnscan.py
. - Promoted
--performance-check
andgenerate_summary_and_graph()
from beta to stable. - Introduced
--usage
flag for historical usage stats. - Removed memory usage metrics and the
--backup
feature for clarity and stability. - Refactored debug logic to align with dev tools and fix Git and Python edge cases.
- Fixed zipping errors and init directory issues for consistent startup.
What's Changed
- v3.5.1 Patch by @DefinetlyNotAI in #234
Full Changelog: v3.5.0...v3.5.1
v3.5.0
🔒 Logicytics v3.5.0 - Security Enhancements, CI Refactor, and VulnScan Isolation
✨ New Features
- Implemented Least Privileged GitHub Actions Token Permissions for hardened CI workflows.
- Added dedicated Dependency Review workflow for improved security tracking and approval processes.
- Introduced Harden Runner configuration to tighten runtime behavior in CI.
⚙️ Improvements
- Updated
Logicytics.py
--dev
flag to be more consistent. - Moved VulnScan tools and v3 modules to a separate repository to streamline scope. The output files still exist, but the trainer and helper files were moved
- Updated README and VulnScan installation instructions for a new structure.
- Improved file management and flag handling logic across modules.
- Removed unimplemented flags for cleaner CLI behavior (2 flags one of which was
--webhook
). - Updated requirements with proper pinning and included
sentence-transformers
.
🐛 Bug Fixes
- Fixed a critical bug in
dump_memory.py
:
Binary mode now avoids settingencoding
, resolving a crash during memory dumps. - Re-added and fixed the previously broken CodeQL Action to ensure continued static analysis.
🔐 Security
- Patched a vulnerability in the
requests
package:- GHSA-9hjg-9r4m-mvj7 (CVSS 5.3 — Medium) via (#233)
- All GitHub Actions dependencies are now explicitly pinned for deterministic builds.
🧹 Chores
- Updated
security.md
documentation with clarified practices and new automation. - Refreshed GitHub issue labels and updated the CodeClimate badge for clarity.
What's Changed
- v3.5.0 - Fix CI bugs, dev refactoring, and issue fixes by @DefinetlyNotAI in #229
- Create codeql.yml by @DefinetlyNotAI in #231
- Patching github related stuff by @DefinetlyNotAI in #230
- [StepSecurity] Apply security best practices by @step-security-bot in #232
- Updated dependency of requests due to vuln by @DefinetlyNotAI in #233
Full Changelog: v3.4.2...v3.5.0
v3.4.2
🔧 Logicytics v3.4.2 — Async Scanning, Type Hints, and Config Upgrades
✨ New Features
-
Introduced asynchronous scanning for sensitive data detection, improving performance and efficiency.
-
Added new configuration options:
remote_config_url
MAX_FILE_SIZE
(default: 50MB,None
to disable)max_workers
UNREADABLE_EXTENSIONS
⚙️ Improvements
-
Added explicit variable type annotations across most files for better clarity and static analysis.
-
Rewrote
dump_memory
to include previous TODO logic and enhance robustness. -
Enhanced debugger version check:
- Now supports custom Git repository URLs.
-
Improved forced exit handling in
Logicytics.py
:- Basic cleanup to ensure cleaner shutdowns.
-
Replaced all
print()
calls in the logicytics library with structured logging vialogging
. -
Improved configurability and fault-tolerance in memory dump and system info gathering.
-
Improved feature extraction pipeline in
vulnscan
. -
Optimized model loading using caching mechanisms.
-
Updated functions with explicit return values for clearer control flow and behavior.
🐛 Bug Fixes
- Ensured all relevant functions return explicitly to prevent silent failures or undefined behavior.
🧹 Chores
-
Updated dependencies:
- Added
configparser
andaiofiles
to requirements.
- Added
-
Revised internal documentation and project plans for upcoming changes.
🔁 Refactor
- Replaced synchronous, thread-based scanning logic with asynchronous I/O and concurrency control.
- Consolidated and clarified configuration management across the codebase.
What's Changed
- Major improvements across debugger, vulnscan, and logging by @DefinetlyNotAI in #225
Full Changelog: v3.4.1...v3.4.2
v3.4.1
Logicytics: Configuration Enhancements, Logging Improvements, and Network Optimization - Version 3.4.2
Major Updates and Enhancements
Code Refinements & Deprecations
Expanded .gitignore
Rules:
- Added executable files from
/CODE/SysInternal_Suite/
to the ignore list to prevent unnecessary tracking.
Improved CSV Configuration:
- Introduced a new XML file
csv-editor.xml
under.idea/
, defining CSV file attributes and separator configuration for consistency.
Configuration & Logging Updates
Configuration File Enhancements:
- Updated
CODE/config.ini
with:- New sections: DumpMemory Settings, NetWorkPsutil Settings.
- Adjusted memory dump file size, safety margin, and output directory for better memory handling.
Logging and Structure Improvements:
-
CODE/Logicytics.py
:- Renamed
CONFIG
toconfig
for consistency. - Enhanced worker initialization.
- Improved file exclusion logic.
- Added detailed memory logging.
- Refactored zipping logic into a dedicated ZIP class.
- Renamed
-
CODE/logicytics/Config.py
,Flag.py
,Get.py
,Logger.py
,__init__.py
:- Renamed config variables for clarity.
- Updated method signatures with
exclude_dirs
for better modularity. - Modified logging to sanitize ANSI codes, preventing corrupted log outputs.
Network Performance Enhancements
Asynchronous Network Measurement:
CODE/network_psutil.py
,CODE/packet_sniffer.py
:- Converted network measurement to asynchronous execution for improved efficiency.
- Enhanced configuration retrieval and validation to prevent misconfiguration errors.
- Improved error handling to ensure uninterrupted data collection.
Security & Stability Enhancements
Code Cleanup & Stability Fixes:
CODE/vulnscan.py
:- Removed a redundant TODO comment to improve code clarity.
PLANS.md
:- Updated task version from
v3.4.1
tov3.4.2
for consistency with release tracking.
- Updated task version from
Base Change
- Enhanced
.gitignore
to exclude SysInternal executables. - Updated
config.ini
with new DumpMemory and NetWorkPsutil settings. - Refactored
Logicytics.py
for better memory logging and file exclusion logic. - Introduced a dedicated ZIP class for improved file compression.
- Converted network measurement in
network_psutil.py
andpacket_sniffer.py
to asynchronous operations. - Sanitized ANSI codes in logging output for cleaner logs.
- Removed redundant comments and updated task version tracking.
What's Changed
- Update psutil requirement from ~=6.1.1 to ~=7.0.0 by @dependabot in #215
- Bump ossf/scorecard-action from 2.4.0 to 2.4.1 by @dependabot in #216
- Bump actions/upload-artifact from 4.6.0 to 4.6.1 by @dependabot in #217
- Bump github/codeql-action from 3.28.9 to 3.28.10 by @dependabot in #218
- Update LICENSE by @DefinetlyNotAI in #219
- Update safetensors requirement from ~=0.5.2 to ~=0.5.3 by @dependabot in #221
- Update matplotlib requirement from ~=3.10.0 to ~=3.10.1 by @dependabot in #222
- Update prettytable requirement from ~=3.14.0 to ~=3.15.1 by @dependabot in #223
- Fixed major bugs that affect Logicytics (performance checker) by @DefinetlyNotAI in #224
Full Changelog: v3.4.0...v3.4.1
v3.4.0
Logicytics: Enhanced Performance, Logging Improvements, and New Features - Version 3.4.0
Major Updates and Enhancements
Code Refinements & Deprecations
Improved GPU Acceleration Handling:
check_gpu
inCODE/VulnScan/tools/_test_gpu_acceleration.py
now returns strings instead of printing directly, enhancing testability.
Deprecated & Removed Legacy Code:
CODE/VulnScan/v2-deprecated/_generate_data.py
removed as it contained outdated test data generation functions.
Configuration & Logging Updates
Configuration File Enhancements:
- Updated
CODE/config.ini
:- Version incremented from 3.3.0 to 3.4.0.
- Added
network_psutil.py
to tracked files. - Introduced new logging and threading configuration options.
Improved Logging Mechanism:
- Updated direct log imports across multiple scripts:
CODE/dump_memory.py
CODE/bluetooth_details.py
CODE/bluetooth_logger.py
CODE/dir_list.py
CODE/event_log.py
CODE/log_miner.py
CODE/media_backup.py
CODE/packet_sniffer.py
CODE/registry.py
CODE/ssh_miner.py
CODE/sys_internal.py
CODE/tasklist.py
CODE/wifi_stealer.py
CODE/wmic.py
CODE/logicytics/Logger.py
now implements a Singleton pattern for improved log handling.- Added a reset method to the Logger class for dynamic logging session control.
New Features & Enhancements
Expanded Functionality:
- Introduced
CODE/network_psutil.py
, a new module for collecting and saving network statistics using the psutil library. CODE/logicytics/Get.py
:- Refactored
list_of_files
for better parameterization. - Moved
config_data
method to streamline code.
- Refactored
CODE/logicytics/Flag.py
:- Renamed
Match
class to_Match
for better encapsulation. - Now utilizes
CONFIG
object for improved configuration handling and globalization to prevent multiple initializations.
- Renamed
CODE/logicytics/Config.py
:- Added
__config_data
function for improved retrieval of configuration data.
- Added
CODE/_debug.py
:- Introduced new classes:
FileManager
,SysInternalManager
,SystemInfoManager
,ConfigManager
. - Enhanced logging through a new log instance.
- Introduced new classes:
CODE/_dev.py
:- Added
color_print
function for enhanced terminal output.
- Added
Optimized File and Process Management:
CODE/cmd_commands.py
: Now utilizes a context manager for file operations.CODE/wmic.py
: Improved file handling with context manager and enhanced command iteration via enumerate.CODE/sys_internal.py
: Added filtering for existing executables in SysInternal_Suite.
Security & Stability Enhancements
Memory & System Security Improvements:
CODE/browser_miner.ps1
: RemovedC:\WINDOWS\system32\config\SAM
from source paths due to access errors.CODE/sensitive_data_miner.py
: Improved error handling for file access permissions.CODE/packet_sniffer.py
:- Refactored to use a Sniff class.
- Added a cleanup method.
- Enhanced packet processing for better network analysis.
CODE/registry.py
: Modified error logging for backup failures.
Training & AI Enhancements
Vectorizer & Model Improvements:
CODE/VulnScan/v3/_train.py
: Added global vectorizer variable and reorganized comments for clarity.
Documentation & Meta Updates
Project Metadata Updates:
README.md
: Added entry for the new network_psutil.py script.MODS/_MOD_SKELETON.py
: Updated import statement and clarified function call recommendations.
Known Limitations
- Sensitive Data Miner: Enhanced error handling, but restricted access permissions may still impact some use cases.
What's Changed
- Update safetensors requirement from ~=0.4.5 to ~=0.5.0 by @dependabot in #177
- Update numpy requirement from ~=2.0.2 to ~=2.2.1 by @dependabot in #180
- Update faker requirement from ~=30.3.0 to ~=33.3.0 by @dependabot in #179
- Refactor dev_checks method to reduce complexity by @DefinetlyNotAI in #182
- Update safetensors requirement from ~=0.5.0 to ~=0.5.1 by @dependabot in #183
- Bump actions/upload-artifact from 4.5.0 to 4.6.0 by @dependabot in #186
- Bump step-security/harden-runner from 2.10.2 to 2.10.3 by @dependabot in #185
- Update safetensors requirement from ~=0.5.1 to ~=0.5.2 by @dependabot in #184
- Update faker requirement from ~=33.3.0 to ~=33.3.1 by @dependabot in #187
- Update scikit-learn requirement from ~=1.6.0 to ~=1.6.1 by @dependabot in #188
- Bump github/codeql-action from 3.28.0 to 3.28.1 by @dependabot in #189
- Bump step-security/harden-runner from 2.10.3 to 2.10.4 by @dependabot in #190
- Update numpy requirement from ~=2.2.1 to ~=2.2.2 by @dependabot in #191
- Bump actions/stale from 9.0.0 to 9.1.0 by @dependabot in #192
- Bump github/codeql-action from 3.28.1 to 3.28.2 by @dependabot in #193
- Update faker requirement from ~=33.3.1 to ~=34.0.2 by @dependabot in #195
- Bump github/codeql-action from 3.28.2 to 3.28.3 by @dependabot in #194
- Bump github/codeql-action from 3.28.3 to 3.28.4 by @dependabot in #198
- Update faker requirement from ~=34.0.2 to ~=35.0.0 by @dependabot in #197
- Update sentence-transformers requirement from ~=3.3.1 to ~=3.4.0 by @dependabot in #196
- Bump github/codeql-action from 3.28.4 to 3.28.5 by @dependabot in #200
- Update prettytable requirement from ~=3.12.0 to ~=3.13.0 by @dependabot in #199
- Bump github/codeql-action from 3.28.5 to 3.28.6 by @dependabot in #201
- Update plotly requirement from ~=5.24.1 to ~=6.0.0 by @dependabot in #202
- Update sentence-transformers requirement from ~=3.4.0 to ~=3.4.1 by @dependabot in #204
- Bump github/codeql-action from 3.28.6 to 3.28.8 by @dependabot in #203
- Update faker requirement from ~=35.0.0 to ~=35.2.0 by @dependabot in #205
- Update prettytable requirement from ~=3.13.0 to ~=3.14.0 by @dependabot in #206
- Update xgboost requirement from ~=2.1.3 to ~=2.1.4 by @dependabot in #207
- Bump github/codeql-action from 3.28.8 to 3.28.9 by @dependabot in #209
- Update faker requirement from ~=35.2.0 to ~=36.1.0 by @dependabot in #210
- Update faker requirement from ~=36.1.0 to ~=36.1.1 by @dependabot in #213
- Update numpy requirement from ~=2.2.2 to ~=2.2.3 by @dependabot in #212
- Bump step-security/harden-runner from 2.10.4 to 2.11.0 by @dependabot in #214
- Refactored config path retrieval, removed deprecated files, and more by @DefinetlyNotAI in #211
Full Changelog: v3.3.0...v3.4.0
v3.3.0
Logicytics: Comprehensive Refactoring, Enhanced Logging, and Improved Functionality - Version 3.3.0
Major Refactoring and Cleanup
Feature Deprecation
-
Complete Removal of Legacy Functions: Eliminated
unzip_extra
andextra
methods from the codebase- Streamlines core functionality
- Reduces complexity in main operational flow
-
Centralized Main Entry Point: Introduced
Logicytics()
function inCODE/Logicytics.py
- Consolidates tool workflow
- Improves traceability of the complete process
-
Simplified Flag Retrieval: Refactored
get_flags
function inCODE/logicytics/Flag.py
- Directly retrieves main action and sub-action
- Eliminates previous error-prone tuple unpacking
Code Organization and Structure
-
Modularization Efforts: Restructured code to improve modularity and readability
- Separated concerns in various scripts
- Enhanced code maintainability and scalability
-
Function Consolidation: Merged similar functionalities into centralized methods
- Reduces code duplication
- Improves consistency across the codebase
Logging Enhancements
-
Granular Logging Implementation: Utilized decorators like
@log.function
across multiple scripts- Emphasizes detailed logging for essential functions
- Improves debugging capabilities
-
Expanded System Check Logging: Enhanced logging in
CODE/_debug.py
andCODE/bluetooth_logger.py
- Includes more detailed information about system version checks
- Provides clearer debug steps and potential error outcomes
-
Improved Error Handling and Logging: Updated try-except blocks in various methods
- Ensures robust logging of errors (e.g.,
UnicodeDecodeError
, config loading issues) - Prevents crashes due to unhandled exceptions
- Ensures robust logging of errors (e.g.,
Improved Device and Event Coverage
Bluetooth Functionality
-
Enhanced Error Handling: Improved
bluetooth_details.py
andbluetooth_logger.py
- More precise error handling for device communication
- Implements fallback messaging for unresponsive devices
-
Broader Compatibility: Updated
CODE/event_log.py
- Replaced
win32evtlog
calls with WMI queries - Improves data consistency and concurrency when parsing logs
- Replaced
Configuration and User Interface Updates
Configuration File Enhancement
- New Sections and Settings: Updated
CODE/config.ini
- Introduced
[Flag Settings]
section - Added
accuracy_min
,model_to_use
, andmodel_debug
settings - Implemented
save_preferences
setting for user history and preferences control
- Introduced
Flag System Improvements
-
Intelligent Flag Matching: Introduced
Match
class inCODE/logicytics/Flag.py
- Manages user-input similarity scoring using Sentence Transformers
- Enhances intelligent flag suggestion capabilities
-
Efficient History Storage: Implemented gzipped JSON storage for user history
- Preserves data in a smaller footprint
- Automatically loads and saves history
Streamlined Execution
Concurrency Improvements
- ThreadPoolExecutor Implementation: Upgraded threaded operations in various scripts
- Includes
dir_list.py
,vulnscan.py
, anddump_memory.py
- Enables more efficient parallel execution
- Improves scaling on multicore systems
- Includes
Safe Conditional Imports
- Improved Import Logic: Implemented
if __name__ == "__main__"
checks in numerous scriptsCODE/cmd_commands.py
,CODE/ssh_miner.py
,CODE/registry.py
, etc.- Prevents accidental execution when importing modules
- Enhances modularity and clarity in larger pipelines
Deprecated Feature Removal
-
Unzipping Functionality: Completely removed
FileManagement.unzip
method- Requires external library or script for unarchiving if needed
-
Legacy Parameters: Eliminated
extra
parameters fromhandle_special_actions
- Reduces confusion about rarely used tasks
- Streamlines core functionality
Upgrade Path
-
Dependency Updates: Ensure installation or update of
sentence-transformers~=3.3.1
andWMI~=1.5.1
-
Configuration Adjustments: Review and update any references to removed settings (e.g.,
unzip_extra
) -
Script Execution Changes: Many scripts are now only executed when run directly. Ensure explicit calling of relevant functions when importing.
Known Limitations and Considerations
-
Experimental Flag Suggestions: May show inaccuracies with limited user history or highly varied data
-
Platform Compatibility: Windows-specific libraries may not function on non-Windows systems. Alternative approaches needed for Linux-based setups
-
Concurrent Execution: Be mindful of system constraints when dealing with large datasets. May need thread pool sizing adjustments for optimal performance
Conclusion
Version 3.3.0 represents a significant leap forward in Logicytics' development. By focusing on refactoring, improving logging capabilities, and enhancing functionality, we've created a more robust, efficient, and user-friendly tool. These changes align with our commitment to providing cutting-edge tools for system analysis and management.
We're confident that these comprehensive updates will significantly enhance the user experience and developer productivity within the Logicytics ecosystem. As always, we appreciate feedback from our community and look forward to continuing to improve based on user needs and technological advancements.
This version positions Logicytics for future growth while maintaining backwards compatibility where possible. We believe these changes will contribute to a more streamlined and powerful tool for system diagnostics and management, setting the stage for even more innovative features in future releases.
What's Changed
- Update psutil requirement from ~=6.1.0 to ~=6.1.1 by @dependabot in #173
- Update numpy requirement from ~=1.26.4 to ~=2.2.1 by @dependabot in #175
- Bump github/codeql-action from 3.27.9 to 3.28.0 by @dependabot in #174
- 📝 Add docstrings to
bug-fixes-and-v3.3.0
by @coderabbitai in #178 - Bug fixes and v3.3.0 by @DefinetlyNotAI in #176
New Contributors
- @coderabbitai made their first contribution in #178
Full Changelog: v3.2.0...v3.3.0
v3.2.0
Logicytics: Comprehensive Deprecation, Code Refactoring, and Documentation Updates - Version 3.2.0
Major Functional Changes and Deprecations
Feature Deprecation
-
Extra and Unzip-Extra Features: Deprecated
extra
andunzip-extra
features inCODE/Logicytics.py
- Added warnings for usage of these deprecated features
- Implemented fallback mechanisms to maintain functionality while encouraging migration to newer alternatives
-
Flag System Updates: Modified
CODE/logicytics/Flag.py
- Moved
--extra
and--unzip-extra
flags to a deprecated section - Implemented new
show_help_menu
static method for displaying help menu - Enhanced error handling and logging for deprecated features
- Moved
Code Refactoring and Optimization
-
VulnScan Documentation Update: Updated
CODE/VulnScan/README.md
- Added warning about upcoming move of VulnScan to a different repository
- Included migration guide and best practices for users affected by this change
-
Import Reorganization: Restructured imports in
CODE/logicytics/v3/_generate_data.py
- Improved code organization and readability
- Added deprecation warning for SenseMacro feature
-
Removed Deprecated Files: Eliminated
CODE/_extra.py
as part of the deprecation process- Ensures cleaner project structure and reduces maintenance overhead
Documentation and Configuration Updates
-
Pull Request Template: Added checkbox option for "Deprecation Change" in pull request template
- Facilitates easier tracking and management of deprecation-related changes
-
Configuration File Update: Modified configuration file to reflect removal of deprecated features
- Ensures proper functionality across all supported environments
Error Handling and Logging Improvements
-
Enhanced Error Handling: Improved error messages and logging for deprecated features
- Provides clearer guidance to users when encountering deprecated functionalities
-
Logging Enhancements: Optimized script execution logging to better track usage of deprecated features
Motivation and Context
This release focuses on streamlining Logicytics by removing outdated features and reorganizing the codebase. The deprecation of extra and unzip-extra features aligns with our strategy to maintain a focused and up-to-date toolset. By providing clear warnings and migration paths, we ensure a smooth transition for users while encouraging adoption of more modern and efficient methods.
The removal of deprecated files and functions contributes to improved code maintainability and reduces potential points of confusion for developers using the tool. These changes position Logicytics for future growth and development while maintaining backwards compatibility where possible.
We believe these comprehensive updates will significantly enhance the user experience and developer productivity within the Logicytics ecosystem. As always, we appreciate feedback from our community and look forward to continuing to improve based on user needs and technological advancements.
This version represents a significant step towards optimizing Logicytics' architecture and ensuring its continued relevance in the field of system diagnostics and management. We're excited about the opportunities this brings for further innovation and expansion of the tool's capabilities.
What's Changed
- V3.2 features and deprecation by @DefinetlyNotAI in #172
Full Changelog: v3.1.2...v3.2.0
v3.1.2
Logicytics: Enhanced Debugging Capabilities, Workflow Automation, and Code Refactoring - Version 3.1.2
Major Functional Additions and Enhancements
Code Refactoring and Optimization
-
Debug Check Improvements: Refactored
CODE/_debug.py
- Modified
HealthCheck.check_files
,HealthCheck.compare_versions
, andDebugCheck.sys_internal_binaries
methods- Replaced return-based status messages with logging
- Improved error handling and reporting
- Modified
-
Python Version Checking: Added new
python_version
method inCODE/_debug.py
- Logs Python version and compatibility status
- Enhances debugging capabilities by providing runtime environment information
-
Execution Policy Check: Moved
execution_policy
method fromDebugCheck
toCheck
class inCODE/logicytics/Checks.py
- Centralized execution policy checking functionality
- Improves code organization and maintainability
Documentation Updates
- Method Signatures: Updated method signatures in
CODE/_debug.py
for improved clarity and consistency - New Methods: Added documentation for new methods such as
python_version
andCheck.execution_policy
Code Refactoring and Bug Fixes
-
Simplified Debug Method: Refactored
debug
method inCODE/_debug.py
- Removed redundant logging calls
- Utilized new
python_version
method for enhanced debugging information
-
Error Handling: Improved error handling across various scripts
- Implemented more robust exception catching and reporting mechanisms
Configuration Management
- Updated Configuration File: Modified configuration file to reflect changes in model and vectorizer paths
- Requirements.txt Update: Updated
requirements.txt
to add and remove several package dependencies
Conclusion
Version 3.1.2 introduces significant improvements to Logicytics' debugging capabilities, workflow automation, and code organization. Code refactoring efforts improve maintainability and readability while addressing various bug fixes. These changes align with our commitment to providing cutting-edge tools for system analysis and management.
We're confident that this version will significantly enhance the capabilities of developers and security professionals worldwide in understanding and managing complex system interactions. As we continue to push the boundaries of what's possible in system diagnostics and management, we look forward to bringing even more innovative features to our users in future releases.
This release emphasizes our dedication to improving code quality, enhancing debugging capabilities, and streamlining development processes. We believe these changes will contribute to a more robust and efficient Logicytics experience for all users.
What's Changed
- Update scikit-learn requirement from ~=1.5.2 to ~=1.6.0 by @dependabot in #164
- Optimised _debug.py by @DefinetlyNotAI in #166
- Cflite fuzzing adding by @DefinetlyNotAI in #165
- Update transformers requirement from ~=4.38.2 to ~=4.47.1 by @dependabot in #168
- Bump actions/upload-artifact from 4.4.3 to 4.5.0 by @dependabot in #167
- [StepSecurity] ci: Harden GitHub Actions by @step-security-bot in #169
- Quick fix by @DefinetlyNotAI in #171
Full Changelog: v3.1.1...v3.1.2
v3.1.1
Logicytics: Comprehensive Bluetooth Integration, Code Refinement, and System Enhancements - Version 3.1.1
Major Functional Additions and Enhancements
Bluetooth Functionality
-
Bluetooth Device Logging: Introduced
bluetooth_details.py
script to retrieve and log detailed information about Bluetooth devices on Windows systems- Utilizes PowerShell commands to gather comprehensive device data
- Includes fields such as device name, address, type, and connection state
- Implements efficient data collection to minimize system impact
-
Bluetooth Data Analysis: Added
bluetooth_logger.py
module for collecting, logging, and analyzing Bluetooth-related data- Accesses Windows registry for historical Bluetooth event logs
- Analyzes Event Viewer records related to Bluetooth activities
- Implements data filtering and aggregation for meaningful insights
-
Configuration Updates: Updated
config.ini
to include new Bluetooth-related files and scripts- Reflects the addition of
bluetooth_details.py
andbluetooth_logger.py
- Ensures proper execution order and resource allocation for Bluetooth functions
- Reflects the addition of
Code Refactoring and Optimization
-
Global Variable Restructuring: Refactored global variable handling in
CODE/Logicytics.py
- Renamed
EXECUTION_LIST
toexecution_list
for improved clarity - Declared
ACTION
andSUB_ACTION
as global variables for better scope management - Implemented local variable
execution_list
inthreaded_execution
function - Reduced global variable usage in favor of local variables for improved code readability and maintainability
- Renamed
-
Error Handling Enhancements: Improved error handling and logging in
packet_sniffer.py
- Enhanced
print_packet_summary
function with more detailed error messages - Implemented better exception handling in the main function
- Added checks for invalid packet count or timeout values
- Enhanced
Documentation and Configuration Updates
-
CODEOWNERS File: Updated
.github/CODEOWNERS
to include new Bluetooth-related files- Assigned
bluetooth_details.py
andbluetooth_logger.py
to@ski-sketch
- Ensures clear ownership and responsibility for new Bluetooth functionality
- Assigned
-
README.md Updates: Enhanced
README.md
documentation to reflect new Bluetooth capabilities- Added detailed descriptions of Bluetooth data handling functions
- Included usage examples and best practices for leveraging Bluetooth features
Code Refactoring and Bug Fixes
-
Dev Environment Checks: Refactored
_dev_checks
function inCODE/_dev.py
- Improved error handling and logging for better debugging
- Fixed logical errors in response handling (e.g., "yes" and "y" responses)
-
Graph Visualization: Modified
visualize_graph
function inCODE/packet_sniffer.py
- Implemented proper plot closure instead of showing it directly
- Ensured smooth integration with other visualization functions
Configuration Management
- IDE Configuration: Updated
.idea/Logicytics.iml
- Added excluded folder for virtual environment (
venv
) - Upgraded Python SDK version from 3.11 to 3.12 for improved compatibility
- Added excluded folder for virtual environment (
Dependency Management
- requirements.txt Update: Modified dependencies in
requirements.txt
- Downgraded scikit-learn version for better stability
- Added several new packages including networkx and plotly
Conclusion
Version 3.1.1 represents a significant expansion of Logicytics' capabilities with the introduction of comprehensive Bluetooth functionality. This release enhances the tool's diagnostic reach by allowing users to gather detailed information about Bluetooth devices and analyze related system activities. The code refactoring efforts improve maintainability and readability while addressing various bug fixes. These changes align with our commitment to providing cutting-edge tools for system analysis and management. We're confident that this version will greatly enhance the capabilities of developers and security professionals worldwide in understanding and managing complex system interactions. As we continue to push the boundaries of what's possible in system diagnostics and management, we look forward to bringing even more innovative features to our users in future releases.
What's Changed
- Update requirements.txt by @ski-sketch in #159
- Update scikit-learn requirement from ~=1.5.2 to ~=1.6.0 by @dependabot in #162
- Bump github/codeql-action from 3.27.7 to 3.27.9 by @dependabot in #161
- Bluetooth details by @ski-sketch in #160
- Update matplotlib requirement from ~=3.8.4 to ~=3.10.0 by @dependabot in #163
New Contributors
- @ski-sketch made their first contribution in #159
Full Changelog: v3.1.0...v3.1.1