<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Infrastructure Security on vanstechelman.eu</title>
    <link>https://www.vanstechelman.eu/tags/infrastructure-security/</link>
    <description>Recent content in Infrastructure Security on vanstechelman.eu</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 21 Apr 2021 09:38:13 +0000</lastBuildDate><atom:link href="https://www.vanstechelman.eu/tags/infrastructure-security/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Managing Windows firewall with PowerShell</title>
      <link>https://www.vanstechelman.eu/content/managing-windows-firewall-with-powershell/</link>
      <pubDate>Wed, 21 Apr 2021 09:38:13 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/managing-windows-firewall-with-powershell/</guid>
      <description>
        
          
            &lt;p&gt;To check the status of the Windows firewall with PowerShell, type the following:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$FWProfiles = (Get-NetFirewallProfile);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Write-Host &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Windows Firewall Profile Statuses&amp;#34;&lt;/span&gt; -Foregroundcolor Yellow;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$FWProfiles | %{
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;If&lt;/span&gt;($_.Enabled &lt;span style=&#34;color:#f92672&#34;&gt;-eq&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;){
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        Write-Host &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;The Windows Firewall &lt;/span&gt;$($_.Name)&lt;span style=&#34;color:#e6db74&#34;&gt; profile is enabled&amp;#34;&lt;/span&gt;  -Foregroundcolor Green
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        }&lt;span style=&#34;color:#66d9ef&#34;&gt;Else&lt;/span&gt;{
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        Write-Host &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;The Windows Firewall &lt;/span&gt;$($_.Name)&lt;span style=&#34;color:#e6db74&#34;&gt; profile is disabled&amp;#34;&lt;/span&gt; -Foregroundcolor Red
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    };
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To disable the Windows firewall for all profiles with PowerShell, type the following:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Testing for CVE-2018-11784 - Apache Struts 2 Open Redirect vulnerability</title>
      <link>https://www.vanstechelman.eu/content/testing-for-cve-2018-11784-apache-struts-2-open-redirect-vulnerability/</link>
      <pubDate>Thu, 04 Oct 2018 07:57:17 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/testing-for-cve-2018-11784-apache-struts-2-open-redirect-vulnerability/</guid>
      <description>
        
          
            &lt;p&gt;On Wednesday 3 October 2018 the Apache Software Foundation has released information about an Open Redirect vulnerability in Apache Struts 2. The vulnerability received identifier &lt;strong&gt;CVE-2018-11784&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The vulnerability announcements describes the vulnerability as follows:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;When the default servlet returned a redirect to a directory (e.g. redirecting to &amp;lsquo;/foo/&amp;rsquo; when the user requested &amp;lsquo;/foo&amp;rsquo;) a specially crafted URL could be used to cause the redirect to be generated to any URI of the attackers choice.&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Testing for impact of Infineon&#39;s vulnerable RSA generation (CVE-2017-15361)</title>
      <link>https://www.vanstechelman.eu/content/testing-for-impact-of-infineons-vulnerable-rsa-generation-cve-2017-15361/</link>
      <pubDate>Tue, 17 Oct 2017 14:19:45 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/testing-for-impact-of-infineons-vulnerable-rsa-generation-cve-2017-15361/</guid>
      <description>
        
          
            &lt;p&gt;A security vulnerability exists in the firmware of certain Infineon Trusted Platform Module (TPM) chipsets. The vulnerability weakens key strength. It is weakened so much that it is possible to derive the private key from the public key for RSA key pairs of up to 2048-bit.
This page contains a number of manners in which you can verify whether your computer contains an affected Infineon TPM chip that generates vulnerable RSA key pairs.&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>How to run the WSUS Server Cleanup Wizard from command-line</title>
      <link>https://www.vanstechelman.eu/content/how-to-run-the-wsus-server-cleanup-wizard-from-command-line/</link>
      <pubDate>Thu, 13 Jul 2017 18:34:06 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/how-to-run-the-wsus-server-cleanup-wizard-from-command-line/</guid>
      <description>
        
          
            &lt;p&gt;When running the WSUS Server Cleanup Wizard from the MMC snap-in, it can occur that you receive the following WSUS database error:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Error: Database Error&lt;br&gt;
An error occurred when trying to perform a database operation. This can happen if the database is very busy, if the database service is stopped, if the connection to the database is lost, of if the Post-Installation task is not completed successfully. Please contact your system administrator if the problem persists.&lt;br&gt;
&lt;br&gt;
Click Reset Server Node to try to connect to the server again.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
If you haven&amp;rsquo;t performed the cleanup in a long time, then this can happen. So you might decide to read through the manual of the wsusutil.exe tool where you think that the &lt;strong&gt;deleteunneededrevisions&lt;/strong&gt; switch will resolve all your problems, however, it seems that the wsusutil.exe parameter &lt;strong&gt;deleteunneededrevisions doesn&amp;rsquo;t exist on WSUS 3.1.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Luckily, you can achieve the same thing using powershell. The advantages here are:\&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Scanning for CVE-2017-0143 (EternalBlue) using nmap (MS17-010)</title>
      <link>https://www.vanstechelman.eu/content/scanning-for-cve-2017-0143-eternalblue-using-nmap-ms17-010/</link>
      <pubDate>Sat, 01 Jul 2017 08:30:00 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/scanning-for-cve-2017-0143-eternalblue-using-nmap-ms17-010/</guid>
      <description>
        
          
            &lt;p&gt;With both WannaCry and NotPetya using MS17-010 for propagation it is important to be able to detect servers which are vulnerable.
This vulnerability has been assigned CVE-2017-0143. The vulnerability is also often nicknamed EternalBlue.
This page explains how you can scan for it from a Windows machine using nmap.&lt;/p&gt;
&lt;p&gt;The SMBv1 server in many Microsoft Windows versions allows remote attackers to execute arbitrary code via crafted packets, aka &amp;ldquo;Windows SMB Remote Code Execution Vulnerability.&amp;rdquo;
&lt;strong&gt;This vulnerability is actively being exploited.&lt;/strong&gt;&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Scanning for CVE-2017-5638 using nmap</title>
      <link>https://www.vanstechelman.eu/content/scanning-for-cve-2017-5638-using-nmap/</link>
      <pubDate>Tue, 14 Mar 2017 21:00:00 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/scanning-for-cve-2017-5638-using-nmap/</guid>
      <description>
        
          
            &lt;p&gt;On March 6, 2017, Apache disclosed a vulnerability in the Jakarta multipart parser used in Apache Struts2 that could allow an attacker to execute commands remotely on the targeted system using a crafted Content-Type header value.&lt;br&gt;
This vulnerability has been assigned CVE-ID CVE-2017-5638.&lt;br&gt;
This page explains how you can scan for it from a Windows machine using nmap.&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Scan for FREAK using nmap</title>
      <link>https://www.vanstechelman.eu/content/scan-for-freak-using-nmap/</link>
      <pubDate>Sun, 08 Mar 2015 19:56:11 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/scan-for-freak-using-nmap/</guid>
      <description>
        
          
            &lt;p&gt;Not everyone is vulnerable to the potential attack vector that researchers from INRIA, a French research institute, and Microsoft disclosed recently. In order to be vulnerable, the computer or server must support a class of deliberately weak export cipher suites. Support for these weak algorithms has remained in many implementations, however they are typically disabled by default. Nevertheless, the researchers discovered that several implementations incorrectly allow the message sequence of export ciphersuites to be used even if a non-export ciphersuite was nogotiated. This post shows how you can test a server to detect if it has been configured to allow export cipher suites to be used.&lt;br&gt;
\&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Prevent spammers from sending mails that abuse your domain name using an SPF record</title>
      <link>https://www.vanstechelman.eu/content/prevent-spammers-sending-mails-abuse-your-domain-name-using-spf-record/</link>
      <pubDate>Sun, 26 Oct 2014 06:49:46 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/prevent-spammers-sending-mails-abuse-your-domain-name-using-spf-record/</guid>
      <description>
        
          
            &lt;p&gt;All mail server administrators will have encountered the following problem: spammers send out spam and they spoof the mails so that the sender appears to be a user in the domain you are managing. Unfortunately there is not a lot that can be done to prevent spammers from sending such these spam mail. There is however a way in which receiving mail servers can check whether the mail was send from your mail server or whether is was a spammer who used a mail server that is not authorized to send mails from your domain. This can be accomplished with SPF (Sender Policy Framework).&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Scan for POODLE using nmap from a Windows machine</title>
      <link>https://www.vanstechelman.eu/content/scan-for-poodle-using-nmap-from-a-windows-machine/</link>
      <pubDate>Wed, 15 Oct 2014 10:17:34 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/scan-for-poodle-using-nmap-from-a-windows-machine/</guid>
      <description>
        
          
            Researchers from the Google Security Team have published findings about a vulnerability in SSL 3.0. CVE-­2014­-3566 has been allocated for this protocol vulnerability. It is possible to use nmap to scan for the presence of this vulnerability by doing a scan on the supported SSL/TLS protocols. This post shows how to scan for the POODLE weakness using nmap.
          
          
        
      </description>
    </item>
    
    <item>
      <title>Scan for Heartbleed using nmap from a Windows machine</title>
      <link>https://www.vanstechelman.eu/content/scan-heartbleed-using-nmap-windows-machine/</link>
      <pubDate>Thu, 10 Apr 2014 08:01:14 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/content/scan-heartbleed-using-nmap-windows-machine/</guid>
      <description>
        
          
            &lt;p&gt;You may have heard of &amp;ldquo;Heartbleed&amp;rdquo;, a flaw in OpenSSL that could allow the theft of data normally protected by SSL/TLS encryption.&lt;/p&gt;
&lt;p&gt;It is possible to scan for the presence of this vulnerability using different methods.&lt;br&gt;
This page explains how you can scan for it from a Windows machine using nmap.&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Doing a DNS zone transfer</title>
      <link>https://www.vanstechelman.eu/security/dns_zone_transfer/</link>
      <pubDate>Wed, 16 Jul 2008 09:55:14 +0000</pubDate>
      
      <guid>https://www.vanstechelman.eu/security/dns_zone_transfer/</guid>
      <description>
        
          
            &lt;p&gt;This article shows how you can perform a DNS zone transfer using nslookup on Windows and using dig on Linux.&lt;/p&gt;
          
          
        
      </description>
    </item>
    
  </channel>
</rss>