<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Linux on Simple-Security</title>
    <link>/tag/linux/</link>
    <description>Recent content in Linux on Simple-Security</description>
    <generator>Hugo</generator>
    <language>en-ca</language>
    <lastBuildDate>Wed, 23 Jul 2025 12:58:26 -0500</lastBuildDate>
    <atom:link href="/tag/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Microsoft AMA Troubleshooter script</title>
      <link>/2025/07/23/microsoft-ama-troubleshooter-script/</link>
      <pubDate>Wed, 23 Jul 2025 12:58:26 -0500</pubDate>
      <guid>/2025/07/23/microsoft-ama-troubleshooter-script/</guid>
      <description>&lt;p&gt;I recently had an issue with a new linux syslog server that was using Arc and had the AMA service enabled by a data collection rule in Sentinel.&lt;/p&gt;
&lt;p&gt;I could see the Sentinel DCR (data collection rule) had been pushed out but the AMA agent wasn&amp;rsquo;t forwarding logs back up to Sentinel.&lt;/p&gt;
&lt;p&gt;I suspected traffic was getting blocked but I wasn&amp;rsquo;t sure how to validate it.&lt;/p&gt;
&lt;p&gt;This script will extract the Sentinel Workspace ID and perform a network connection test that simulates the connection from AMA to the data collection point or ODS(operational data store).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Installing the Azure Arc Agent for Windows Event Collection(and more)</title>
      <link>/2022/05/08/installing-the-azure-arc-agent-for-windows-event-collectionand-more/</link>
      <pubDate>Sun, 08 May 2022 21:30:36 -0500</pubDate>
      <guid>/2022/05/08/installing-the-azure-arc-agent-for-windows-event-collectionand-more/</guid>
      <description>&lt;p&gt;If your SIEM is Microsoft Sentinel, then you likely need to collect Windows security events.&lt;br&gt;
If you&amp;rsquo;ve never heard of &amp;lsquo;Arc&amp;rsquo; then you&amp;rsquo;re likely collecting Windows logs using the legacy &amp;lsquo;Log Analytics Agent (Microsoft Monitoring Agent)&amp;rsquo;.&lt;br&gt;
Microsoft recommends using the Azure Arc agent, along with the Azure Monitoring Agent, which will get push out automatically once configured in Arc, or Azure Monitor, or Sentinel.&lt;/p&gt;
&lt;p&gt;The Arc agent extends the security controls you normally only get from cloud servers to your on-prem servers, and simplifies the number of agents needed for on-prem servers to work with Azure.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Troubleshooting CEF syslog feeding up to Microsoft Sentinel</title>
      <link>/2022/02/04/troubleshooting-cef-syslog-feeding-up-to-microsoft-sentinel/</link>
      <pubDate>Fri, 04 Feb 2022 09:16:37 -0600</pubDate>
      <guid>/2022/02/04/troubleshooting-cef-syslog-feeding-up-to-microsoft-sentinel/</guid>
      <description>&lt;p&gt;There are some excellent tips on testing CEF logs here.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://techcommunity.microsoft.com/t5/microsoft-sentinel-blog/ingest-sample-cef-data-into-azure-sentinel/ba-p/1064158&#34;&gt;https://techcommunity.microsoft.com/t5/microsoft-sentinel-blog/ingest-sample-cef-data-into-azure-sentinel/ba-p/1064158&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I’d suggest:&lt;/p&gt;
&lt;p&gt;Run this command as a validation test:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;logger -p local4.warn -t CEF&lt;/strong&gt;&lt;/em&gt;*&amp;ldquo;CEF:0|Microsoft|ATA|1.9.0.0|AbnormalSensitiveGroupMembershipChangeSuspiciousActivity|Abnormal modification of sensitive groups|5|start=2018-12-12T18:52:58.0000000Z app=GroupMembershipChangeEvent suser=krbtgt msg=krbtgt has uncharacteristically modified sensitive group memberships. externalId=2024 cs1Label=url cs1=&lt;a href=&#34;https://192.168.0.220/suspiciousActivity/5c113d028ca1ec1250ca0491&#34;&gt;https://192.168.0.220/suspiciousActivity/5c113d028ca1ec1250ca0491&lt;/a&gt;&amp;rdquo;*&lt;/p&gt;
&lt;p&gt;Then replace the sample log with your own and see if it also gets through.&lt;/p&gt;
&lt;p&gt;Also verify that if you remove your rsyslog CEF filter that the logs at least get to syslog. If they do, then it’s possible this is an unsupported CEF format. Which isn’t terrible because you can still parse the logs using KQL.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Installing and Troubleshooting the Azure OMS agent on a syslog server</title>
      <link>/2022/01/26/installing-and-troubleshooting-the-azure-oms-agent-on-a-syslog-server/</link>
      <pubDate>Wed, 26 Jan 2022 18:40:08 -0600</pubDate>
      <guid>/2022/01/26/installing-and-troubleshooting-the-azure-oms-agent-on-a-syslog-server/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;/wp-content/uploads/2022/01/setting-up-rsyslog-server-for-azure-sentinel.docx&#34;&gt;setting-up-rsyslog-server-for-azure-sentinel&lt;/a&gt;&lt;a href=&#34;/wp-content/uploads/2022/01/setting-up-rsyslog-server-for-azure-sentinel.docx&#34;&gt;Download&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Pkexec could affect many Linux operating systems</title>
      <link>/2022/01/25/132/</link>
      <pubDate>Tue, 25 Jan 2022 20:14:11 -0600</pubDate>
      <guid>/2022/01/25/132/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt&#34;&gt;https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m on a linux VM now and yep, there&amp;rsquo;s pkexec&amp;hellip;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;iconv_open() executes small shared libraries&amp;hellip;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Unfortunately, CVE-2021-4034 allows us to re-introduce GCONV_PATH into&lt;br&gt;
pkexec&amp;rsquo;s environment, and to execute our own shared library, as root.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Shouldn&amp;rsquo;t be long before we see a lot of demonstrations for this.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
