New linux smart enumeration tool

Hello guys, in case you want to test it, there is a new Linux enumeration tool in the block :). It tries to gradualy show the most important information for a privesc instead of just dumping a lot of information that in many cases is not useful.

Hopefully it is useful for somebody.

Suggestions and comments are very welcome.

Here is the link: https://github.com/diego-treitos/linux-smart-enumeration

Happy Hacking!


image
                     HTB Profile


«1

Comments

  • Good stuff man, love new tools will definitely check it out

  • That's look good. Thanks. It's helpful for new comers like me during priv escalation.

    sesha569

  • Looks great! I really like the different verbose levels. I have an idea that would be cool to see added. If after running say the default verbose level, It would be cool if you could expand or re-run a particular section or sections with a deeper verbose level. For example,

    $ ./lse.sh --section 'sudo,security,file system' -l 2

  • Such a great tool!

    I tested it on a HtB machine and lse.sh just showed the right way, as it has blinking arrows hahaha.

    Cheers and congratulations!

    Hack The Box

  • Type your comment> @k1ds3ns4t10n said:

    Looks great! I really like the different verbose levels. I have an idea that would be cool to see added. If after running say the default verbose level, It would be cool if you could expand or re-run a particular section or sections with a deeper verbose level. For example,

    $ ./lse.sh --section 'sudo,security,file system' -l 2

    Thanks a lot for the suggestion, I will look into it. If you could also open a ticket on github it would help me to remember to work on it.


    image
                         HTB Profile


  • @Sh11td0wn said:
    Such a great tool!

    I tested it on a HtB machine and lse.sh just showed the right way, as it has blinking arrows hahaha.

    Cheers and congratulations!

    I am glad that it was helpful. Which box was it? Out of curiosity :)


    image
                         HTB Profile


  • @0xd1360b said:
    Thanks a lot for the suggestion, I will look into it. If you could also open a ticket on github it would help me to remember to work on it.

    Issue sent!

  • Type your comment> @0xd1360b said:

    @Sh11td0wn said:
    Such a great tool!

    I tested it on a HtB machine and lse.sh just showed the right way, as it has blinking arrows hahaha.

    Cheers and congratulations!

    I am glad that it was helpful. Which box was it? Out of curiosity :)

    Hi there,

    I will avoid any spoils here, but i can say that was a lightweight machine hahaha

    In fact, LinEnum shows the same results, but lse.sh gave the proper spotlight over the right way to privesc there.

    I strongly suggest everyone to try it out.

    Cheers

    Hack The Box

  • Type your comment> @k1ds3ns4t10n said:

    @0xd1360b said:
    Thanks a lot for the suggestion, I will look into it. If you could also open a ticket on github it would help me to remember to work on it.

    Issue sent!

    Got it. Thank you!

    @Sh11td0wn said:
    Type your comment> @0xd1360b said:

    @Sh11td0wn said:
    Such a great tool!

    I tested it on a HtB machine and lse.sh just showed the right way, as it has blinking arrows hahaha.

    Cheers and congratulations!

    I am glad that it was helpful. Which box was it? Out of curiosity :)

    Hi there,

    I will avoid any spoils here, but i can say that was a lightweight machine hahaha

    In fact, LinEnum shows the same results, but lse.sh gave the proper spotlight over the right way to privesc there.

    I strongly suggest everyone to try it out.

    Cheers

    Ahhh, I did that one :D. Yeah, the tool tries to do that: focus on the important information instead of just dumping a ton of it for you to do the filtering.


    image
                         HTB Profile


  • I actually really prefer using this to LinEnum. Gives a super simple overview of a lot of different things to check.

  • Type your comment> @Peri said:

    I actually really prefer using this to LinEnum. Gives a super simple overview of a lot of different things to check.

    Thank you, I am glad you like it :)


    image
                         HTB Profile


  • Type your comment> @k1ds3ns4t10n said:

    @0xd1360b said:
    Thanks a lot for the suggestion, I will look into it. If you could also open a ticket on github it would help me to remember to work on it.

    Issue sent!

    The functionality was implemented together with some improvements ;)


    image
                         HTB Profile


  • oh sweet, thanks! true story, found lse on FriendZone yesterday that somebody had left behind.

  • Type your comment> @k1ds3ns4t10n said:

    oh sweet, thanks! true story, found lse on FriendZone yesterday that somebody had left behind.

    You are welcome. Yeah, it looks like there is already some people using it. It is cool to see that it is being used, thank you :)


    image
                         HTB Profile


  • edited February 19

    interesting tool.

    edit, i found -l1 -l2

    peek

  • ok I tested on one machine with -l2 : it found the vuln, great tool, thanks

    peek

  • @peek said:
    ok I tested on one machine with -l2 : it found the vuln, great tool, thanks

    Hello @peek, thank you!

    However I am a bit worried that you required -l2 to see the important stuff. Are you sure it was -l2 and not -l1 ? If it was -l2, could you PM me telling me what information was in -l2 that you needed for exploitation? Maybe it must me moved to -l1.

    Thanks again!


    image
                         HTB Profile


  • wow, very nice. tested on friendzone... really cool

    SekIsBack

  • Type your comment> @Sekisback said:

    wow, very nice. tested on friendzone... really cool

    Thank you! I am glad it was useful to you.


    image
                         HTB Profile


  • cool stuff, thanks for the new tool :)

  • Type your comment> @legat0 said:

    cool stuff, thanks for the new tool :)

    You are welcome! Thank you for your words


    image
                         HTB Profile


  • Awesome tool! It really helps boil down information to only what's useful.

    berninator

  • I just used this tool last night and it awesome. Keeping information in a concise manner. I recommend l2 though. I was able to use the tool to get a hint for privesc in an active machine.
  • Dear bro
    Thanks a lot for the tool..
    I tried it in couple of boxes ..
    In Irked it doesnt showed me the uncommon SUID binary .
    But for band and october it was spot on

    I wish it show the name of the OS like Ubuntu LTS ... and the date

    Awesome job bro ..keetp up the good work

    Hack The Box

    Always giving respect to people who guided me properly without spoiling .

    Think everyone should do the same.

    https://www.hackthebox.eu/home/users/profile/88499

  • Type your comment> @sillydaddy said:

    Dear bro
    Thanks a lot for the tool..
    I tried it in couple of boxes ..
    In Irked it doesnt showed me the uncommon SUID binary .
    But for band and october it was spot on

    I wish it show the name of the OS like Ubuntu LTS ... and the date

    Awesome job bro ..keetp up the good work

    Thank you for your words and your suggestion. I will look into adding that information. If you could add an issue request in github that would also help me remember to work on it.


    image
                         HTB Profile


  • Type your comment> @0xd1360b said:

    Type your comment> @sillydaddy said:

    Dear bro
    Thanks a lot for the tool..
    I tried it in couple of boxes ..
    In Irked it doesnt showed me the uncommon SUID binary .
    But for band and october it was spot on

    I wish it show the name of the OS like Ubuntu LTS ... and the date

    Awesome job bro ..keetp up the good work

    Thank you for your words and your suggestion. I will look into adding that information. If you could add an issue request in github that would also help me remember to work on it.

    sure ... I have not done that before (adding issue in github)..Let me figure it out ....
    thanks again ..

    Hack The Box

    Always giving respect to people who guided me properly without spoiling .

    Think everyone should do the same.

    https://www.hackthebox.eu/home/users/profile/88499

  • Nice, gonna check it later and give some feedback :)

  • I already love the separate verbosity levels. Sometimes there's an easy win that's a pain to find if you have to scroll through 10K lines of linenum output.
    As with everyone else in the thread, I'm gonna check it out later.

  • Well, this came just in time. I was about to start digging into the linenum script to break it down into discreet parts :)

    I've given it a quick spin this morning, looks solid and having multiple verbosity levels is a definite plus. Also appreciate the no colours switch.

    I'll raise an issue in github if I run into any issues. Keep up the good work!

  • Thank you guys. I am glad the tool is useful. Please do not hesitate to report bugs or add suggestions in github. They are very welcome!


    image
                         HTB Profile


Sign In to comment.