Skip to content

a simple yet secure integrity protection tool for Linux (SJTU-IS415)

License

Notifications You must be signed in to change notification settings

sjtu-linux-ssip/linux-ssip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux-SSIP: Linux Simple and Secure Integrity Protection tool

Our Team -- Zihan Liu, Jinhao Li, Shanqing Qi, and Zichao Xia.

Project For SJTU-IS415: System Software Course Design

Architecture

arch_ssip

Usage

  • Prerequisites

    apt install gcc g++ cmake
  • Installation

    git clone https://github.com/sjtu-linux-ssip/linux-ssip.git
    cd linux-ssip
    # `make help` for detailed usage
    make        # install
    make test   # (optional) run user-mode tests 
  • Launch

    make start  # start service
    make ui     # launch command line interface
  • Terminate

    make stop   # stop service
    make clean  # uninstall
  • Notes

    • For rule database, we adopt white-list strategy. That is, the user or group can only be allowed to tamper something (e.g. kill a process, write or delete a file), rather than being refused to do something. This greatly limits the permission of the user or group, and guarantees the integrity of the system.

    • When the user is allowed to write or delete a file, he or she can only perform like this:

      >> vim /home/zihan/Desktop/file.txt  # vim <absolute path>
      >> rm /home/zihan/Desktop/file.txt   # rm <absolute path>
      >> vim file.txt                      # still NOT allowed, MUST provide absolute path
                                           # match the file path in the rule database
      >> rm file.txt                       # still NOT allowed

Our awesome UI 🤩

ui_ssip

License

GPL-3.0 License

About

a simple yet secure integrity protection tool for Linux (SJTU-IS415)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •