Software Security Guardian integrates functions such as malware detection, traffic monitoring, password management, and program correctness verifying to provide users with comprehensive security protection. Through advanced algorithms and models, we can timely detect and remove malicious software, safeguarding users' network communication security. The password management function facilitates users to securely manage various account password information. Additionally, our program correctness detection function helps users improve code quality and stability.
Software Security Guardian aims to help users cope with increasingly severe network security threats and ensure the security of personal information and data.
- Operating System: Windows
- Programming Software: Visual Studio Code, Pycharm
- Programming Language: Python
- Python Environment: Anaconda Python 3.8
- Database: PostgreSQL
- Testing Environment: Anaconda shell
Database: PostgreSQL
The following are additional dependencies required by the software:
-
Python (recommended version is 3.8)
-
PyQt-Fluent-Widgets
-
ember (recommended installation method: pip install git+https://github.com/elastic/ember.git)
-
tqdm
-
numpy (recommended version: 1.23.5)
-
pandas
-
lightgbm
-
lief (recommended version: 0.12.1)
-
scikit-learn (recommended version: 0.23.2)
-
z3-solver
-
lark
-
matplotlib
-
scapy
-
Crypto
-
werkzeug
-
captcha
-
psycopg2
-
pip install -r requirements.txt
-
Download and install the PostgreSQL database.
-
Configure the database connection information:
- Open the
utils.py
file and modify the correspondinghostname
,databasename
,username
,password
, andport
.
- Open the
-
Start the PostgreSQL database:
$ pg_ctl start -D "PostgreSQLdata database address"
-
Execute the following command in the terminal to launch the application:
$ python demo.py
-
Ensure that the PostgreSQL database is correctly configured and running.
-
You can use command-line control to facilitate debugging of the database:
psql -U <username> -d <database_name> -h <host>
-
When modifying the database connection information in
utils.py
, please proceed with caution to ensure consistency with the actual configuration. -
If the
model.txt
file is missing, please download it from https://jbox.sjtu.edu.cn/l/V1T4aJ and place it in the "\app\resource" folder.
-
test_file/
: Test filesdanger_exe/
: Collection of malicious softwaresafe_exe/
: Collection of normal softwaredanger_pcap/
: Collection of malicious traffic filessafe_pcap/
: Collection of normal traffic filesprogram_verify/
: Sample programs for program correctness verification
-
app/
chiper_book/
: Implementation of password management systemdatabase.py
: Databaseencryption.py
: Encryption and decryptionpassword_generator.py
: Random password generationpassword_manager.py
: Series of password management operations
common/
: Frontend settingscomponents/
: Page-related componentsconfig/
: Configurationlogin_register/
: Implementation of registration and login modulescaptcha/
: Location for captcha imageslogin_window.py
: Login window entry pointlogin_window.ui
: Login window UI filelogin_window_ui.py
: Python file exported from the login window UI fileregister_window.py
: Register window entry pointregister_window.ui
: Register window UI fileregister_window_ui.py
: Python file exported from the register window UI fileutils.py
: Utility functions, including database connection
ProgramVerifier/
: Implementation of program correctness verification moduleresource/
: Images, trained models, and other resourcesTrafficDetection/
: Implementation of malicious traffic detection moduleview/
: Implementation of software management system pageschiper_interface.py
: Password book pagegallery_interface.py
: Basic pagehome_interface.py
: Main pagemain_window.py
: Main window entry pointmal_traffic_monitor_interface.py
: Malicious traffic detection pagemalware_detection_interface.py
: Malware detection pagesetting_interface.py
: Settings pageverifier_interface.py
: Program correctness check page
global.py
: Global variable definitions
-
demo.py
: Main running code -
README.md
: Installation and source code introduction -
requirements.txt
: Python environment dependencies