Code Monkey home page Code Monkey logo

nis3366's Introduction

Software Security Guardian

Wang Hexi, Shi Xuanyu, Liu Can, Gu Yunming

1. Project Overview

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.

2. Environmental Dependencies

Development and Testing Platforms

  1. Operating System: Windows
  2. Programming Software: Visual Studio Code, Pycharm
  3. Programming Language: Python
  4. Python Environment: Anaconda Python 3.8
  5. Database: PostgreSQL
  6. Testing Environment: Anaconda shell

Running Environment

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

3. Installation Instructions

  1. pip install -r requirements.txt
    
  2. Download and install the PostgreSQL database.

  3. Configure the database connection information:

    • Open the utils.py file and modify the corresponding hostname, databasename, username, password, and port.

4. Running Instructions

  1. Start the PostgreSQL database:

    $ pg_ctl start -D "PostgreSQLdata database address"
    
  2. Execute the following command in the terminal to launch the application:

    $ python demo.py
    

5. Usage Instructions

  • 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.

6. file structure

  • test_file/: Test files

    • danger_exe/: Collection of malicious software
    • safe_exe/: Collection of normal software
    • danger_pcap/: Collection of malicious traffic files
    • safe_pcap/: Collection of normal traffic files
    • program_verify/: Sample programs for program correctness verification
  • app/

    • chiper_book/: Implementation of password management system
      • database.py: Database
      • encryption.py: Encryption and decryption
      • password_generator.py: Random password generation
      • password_manager.py: Series of password management operations
    • common/: Frontend settings
    • components/: Page-related components
    • config/: Configuration
    • login_register/: Implementation of registration and login modules
      • captcha/: Location for captcha images
      • login_window.py: Login window entry point
      • login_window.ui: Login window UI file
      • login_window_ui.py: Python file exported from the login window UI file
      • register_window.py: Register window entry point
      • register_window.ui: Register window UI file
      • register_window_ui.py: Python file exported from the register window UI file
      • utils.py: Utility functions, including database connection
    • ProgramVerifier/: Implementation of program correctness verification module
    • resource/: Images, trained models, and other resources
    • TrafficDetection/: Implementation of malicious traffic detection module
    • view/: Implementation of software management system pages
      • chiper_interface.py: Password book page
      • gallery_interface.py: Basic page
      • home_interface.py: Main page
      • main_window.py: Main window entry point
      • mal_traffic_monitor_interface.py: Malicious traffic detection page
      • malware_detection_interface.py: Malware detection page
      • setting_interface.py: Settings page
      • verifier_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

7. Author Information

nis3366's People

Contributors

ccliu-u avatar gym1013 avatar halsayxi avatar hxppythxught avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.