<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bash Scripting | Florian Stosse</title><link>https://me.harvester.fr/tags/bash-scripting/</link><atom:link href="https://me.harvester.fr/tags/bash-scripting/index.xml" rel="self" type="application/rss+xml"/><description>Bash Scripting</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Tue, 21 May 2024 00:00:00 +0000</lastBuildDate><image><url>https://me.harvester.fr/media/icon_hu_59c72f5082cfcb9b.png</url><title>Bash Scripting</title><link>https://me.harvester.fr/tags/bash-scripting/</link></image><item><title>sudo-check</title><link>https://me.harvester.fr/project/sudo-check/</link><pubDate>Tue, 21 May 2024 00:00:00 +0000</pubDate><guid>https://me.harvester.fr/project/sudo-check/</guid><description>&lt;p&gt;&lt;strong&gt;sudo-check&lt;/strong&gt; is a lightweight security auditing utility designed to analyze Linux &lt;code&gt;/etc/sudoers&lt;/code&gt; files and &lt;code&gt;/etc/sudoers.d/&lt;/code&gt; directories. It helps security engineers and system administrators quickly identify misconfigurations, overly permissive rules, and potential privilege escalation pathways.&lt;/p&gt;
&lt;p&gt;By scanning for common policy weaknesses, this tool provides actionable insights to tighten system access controls.&lt;/p&gt;
&lt;h3 id="key-auditing-features"&gt;Key Auditing Features&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Rule Analysis:&lt;/strong&gt; Identifies &lt;code&gt;NOPASSWD&lt;/code&gt; directives and wildcard user specifications that could allow unauthorized root access.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Directive Validation:&lt;/strong&gt; Verifies the presence of key security directives such as &lt;code&gt;env_reset&lt;/code&gt;, &lt;code&gt;secure_path&lt;/code&gt;, and &lt;code&gt;use_pty&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Permission Checks:&lt;/strong&gt; Validates the file permissions and ownership of critical configuration files to prevent unauthorized editing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alias Resolution:&lt;/strong&gt; Parsers user, run-as, and command aliases to audit complex, nested rule structures.&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>