Skip to content

Developed a fast and efficient privilege escalation inspection tool in Python for Linux, which identifies potential security vulnerabilities for gaining elevated privileges, enhancing the security assessment process by providing in-depth details of target machine privileges.

License

Notifications You must be signed in to change notification settings

Abanteeka/Linux_PrivESC_Inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Linux PrivESC Inspector

A fast efficent priviledge escalation inspecting tool made in python for Linux.

This program works fast and efficient to identify potential security vulnerabilities that could be exploited to gain elevated privileges.

It helps us to identify depth details of target machine priviledges escalation information.

Supported OS:

LINUX

This program is made and designed for Linux Opearing System only.

Installation

Clone the repository :

kali@kali:~$ git clone https://github.com/Abanteeka/Linux_PrivESC_Inspector

Install Python Libraries :

kali@kali:~$ pip install os

How To Use?

To Use the Code :

kali@kali:~$ python3 ./auto_check.py
or
kali@kali:~$ python ./auto_check.py

Demo

┌──(kali㉿kali)-[~/Desktop]
└─$ python3 Auto_Linux_PrivEsc.py
====================================================================================================================================================================================
                                            .*############*.                   
                                          :##################-                 
                                         *####################*                
                                        *######################*               
                                       =########################=              
                                      -##########################=             
                                     .############################.            
                                     *#############################            
                                    +##############################+           
                                  .-++++++++++++++++++++++++++++++++-.         
                              -*###==================================*###-     
                            +############***********************###########+   
                           +################################################+  
                            #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#   
                                 =@@@:::-----#@@+===========----:::@@@=        
                                  @@@-:::-@-.:--..%+:::=%%%**=:::::@@@         
                              .:--%@@-::+-.......  .@---:::::::::::%@%--:.     
                             .----#@@-:-@...=%%#....:*::@@@#:::::::%@#----.    
                             :---==%@-:=*...*@@%.....#::@@@@:::::::%%==---:    
                              -==--*@-:-@...........*=:::-:::::::::@#--=--     
                              :---==%-::-@........ #=:=+-::::::::::%==---:     
                               :---==-::::-@*:::+@@%%@@@@@#::::::::===-=:      
                                .=----:-::=%@@@@@@#::+@@@@@@%=::-::----.       
                               :##+=--:*@@@@@@%*::::--:*%@@@@@@@*:-==+##:      
                             =#######=::-+*#*-:::::::--:::=+**+-::=#######=    
                           :#########=-::::::::::::----::::::::::-=#########:  
                           *##########==*=:::::::-----::::::::::-=##########*  
                              *###########*=-:::---::::::::::----*########.    
                                +############*+==-::::::::-=---+#######+       
                                :############%%%*------------:#######*         
                              .############%%%%+--------:.    #########.       
                             *############%%%%: +%@@@@%+      #####%####+      
                            *############%%%%. .@@@@@@@@:    -####%######*     
                           *###########%%%%%#.  @@@@@@@@  .#*####%%#######+                                                                 
                          :##########%%%%%####  @@@@@@@@. ######%%#########                                                                 
                          :########%%%%%%#####+:@@@@@@@@-+#####%%##########.                                                                
                           *#####%%%%%##%%#####%@@@@@@@@%#####%%###########                                                                 
                            +%%%%#+.#####%%%####@@@@@@@@####%%%###########+                                                                 
                                   .#######%%####@@@@@@####%%############*                                                                  
                                   :########%%%###@@@@###%%%############*                                                                   
                                   +#########%%%%#%@@%##%%%############*                                                                    
                                   ###########%%%%%%%#%%%%###########%*                                                                     
                                  :#############%%%##%%%#############+                                                                      
                                  +#################%################*                                                                      
                                  ################%%##################=                                                                     
                                 ################%%####################                                                                     
                                .###############%%#####################=                                                                    
                                ################%#%@@@##################.                                                                   
                               +###############%%#######################*                                                                   
                              .################%#########################+                                                                  
                                +##############%#######################*                                                                    
                                  .+###########%###@@%##############*:                                                                      
                                       @%######%###############+-.                                                                          
                                       -@@@@@@@@@@@@@@@@@@@@@@                                                                              
                                        @@@@@@@@@@@@@@@@@@@@@+                                                                              
                                         @@@@@@@@@@@@@@@@@@@@                                                                               
                                         :@@@@@@@@@@@@@@@@@@                                                                                
                                          +@@@@@@@@@@@@@@@@                                                                                 
                                           %@@@@@@@@@@@@@@=                                                                                 
                                            @@@@@@@@@@@@@+                                                                                  
                                             @@@@@@@@@@@+                                                                                   
                                          %@@@@@@@@@@@@@@@@#                                                                                
                                        +@%@*@@@@@@@@@@@@@@@@:                                                                              
                                        @@@@@@@@@@=*@@@@@@@@@@                                                                              
/*  _      _                    _____      _       ______  _____  _____     _____                           _               _                     _____        _          */                                                                                                            
/* | |    (_)                  |  __ \    (_)     |  ____|/ ____|/ ____|   |_   _|                         | |             (_)                   |  __ \      | |         */                                                                                                            
/* | |     _ _ __  _   ___  __ | |__) | __ ___   _| |__  | (___ | |          | |  _ __  ___ _ __   ___  ___| |_ ___  _ __   _ ___    ___  _ __   | |  | |_   _| |_ _   _  */                                                                                                            
/* | |    | | '_ \| | | \ \/ / |  ___/ '__| \ \ / /  __|  \___ \| |          | | | '_ \/ __| '_ \ / _ \/ __| __/ _ \| '__| | / __|  / _ \| '_ \  | |  | | | | | __| | | | */                                                                                                            
/* | |____| | | | | |_| |>  <  | |   | |  | |\ V /| |____ ____) | |____ _   _| |_| | | \__ \ |_) |  __/ (__| || (_) | |    | \__ \ | (_) | | | | | |__| | |_| | |_| |_| | */                                                                                                            
/* |______|_|_| |_|\__,_/_/\_\ |_|   |_|  |_| \_/ |______|_____/ \_____(_) |_____|_| |_|___/ .__/ \___|\___|\__\___/|_|    |_|___/  \___/|_| |_| |_____/ \__,_|\__|\__, | */                                                                                                            
/*                                                                                         | |                                                                      __/ | */                                                                                                            
/*                                                                                         |_|                                                                     |___/  */                                                                                                            
====================================================================================================================================================================================
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
                                                                                       MAIN MENU 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

                    1. Full Scan
                    2. OS/Kernel Check
                    3. Root Service CheckS
                    4. SUID/GUID Check
                    5. Sudoer Permission Check
                    6. Cronjobs
                    7. EXIT
              Enter Your Choice :

Authors

Disclaimer

"EDUCATIONAL PURPOSES ONLY"

Legal Disclaimer

The use of code contained in this repository, either in part or in its totality, for engaging targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws.

Developers assume no liability and are not responsible for misuses or damages caused by any code contained in this repository in any event that, accidentally or otherwise, it comes to be utilized by a threat agent or unauthorized entity as a means to compromise the security, privacy, confidentiality, integrity, and/or availability of systems and their associated resources. In this context the term "compromise" is henceforth understood as the leverage of exploitation of known or unknown vulnerabilities present in said systems, including, but not limited to, the implementation of security controls, human- or electronically-enabled.

The use of this code is only endorsed by the developers in those circumstances directly related to educational environments or authorized penetration testing engagements whose declared purpose is that of finding and mitigating vulnerabilities in systems, limiting their exposure to compromises and exploits employed by malicious agents as defined in their respective threat models.

The application must be used for "EDUCATIONAL PURPOSES ONLY"

About

Developed a fast and efficient privilege escalation inspection tool in Python for Linux, which identifies potential security vulnerabilities for gaining elevated privileges, enhancing the security assessment process by providing in-depth details of target machine privileges.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages