<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Security on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/security/</link>
        <description>Recent content in Security on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Wed, 17 Feb 2021 10:22:00 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/security/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>fail2ban Cheat Sheet</title>
            <link>https://www.nico-maas.de/posts/2021-02-17-fail2ban-cheat-sheet/</link>
            <pubDate>Wed, 17 Feb 2021 10:22:00 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2021-02-17-fail2ban-cheat-sheet/</guid>
            <description>&lt;p&gt;Just the commands I always need to look up, because I forgot again&amp;hellip;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Overview over fail2ban status and jails&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client status&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;See which e.g. IPs are banned for sshd jail&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client status sshd&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;Unban an IP from sshd jail&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client set sshd unbanip IPADDRESSHERE&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;See which systems are actually banned&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;zgrep &amp;#39;Ban&amp;#39; /var/log/fail2ban.log*&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
        </item><item>
            <title>Rogue One: My first field pentesting</title>
            <link>https://www.nico-maas.de/posts/2017-12-18-rogue-one-my-first-field-pentesting/</link>
            <pubDate>Mon, 18 Dec 2017 19:34:57 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2017-12-18-rogue-one-my-first-field-pentesting/</guid>
            <description>&lt;p&gt;Earlier that year, very - earlier - I had one technician of an international company calling me for some advice. She/He had a problem with the local networking staff and their &amp;ldquo;modus operandi&amp;rdquo; regarding network security. The company had a big assembly line and very powerful, automated machinery - which made the leaky security all the more troublesome. My job was to exploit one of those security holes and show - as clearly and easily as possible - said problems - so that they were getting finally fixed.&lt;/p&gt;</description>
        </item><item>
            <title>Gravatar considered harmful - disabling it on my blog</title>
            <link>https://www.nico-maas.de/posts/2017-02-06-gravatar-considered-harmful-disabling-it-on-my-blog/</link>
            <pubDate>Mon, 06 Feb 2017 13:27:24 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2017-02-06-gravatar-considered-harmful-disabling-it-on-my-blog/</guid>
            <description>&lt;p&gt;Due to the fact that Gravatar makes users very easily trackable (read r1ch.nets Post &amp;ldquo;&lt;a class=&#34;link&#34; href=&#34;https://r1ch.net/blog/gravatar-considered-harmful&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Gravatar considered harmful&lt;/a&gt;&amp;rdquo;) I decided to remove the use of Gravatar from my blog. I did this be removing the feature in the Discussion Settings, as well as using the &amp;ldquo;&lt;a class=&#34;link&#34; href=&#34;https://de.wordpress.org/plugins/disable-user-gravatar/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Disable User Gravatar&lt;/a&gt;&amp;rdquo; plugin to prevent WordPress to leak your E-Mail address through your Gravatar on my blog.&lt;/p&gt;</description>
        </item><item>
            <title>[Ubuntu] Secure your Apache 2 Reverse Proxy</title>
            <link>https://www.nico-maas.de/posts/2016-09-12-ubuntu-secure-your-apache-2-reverse-proxy/</link>
            <pubDate>Mon, 12 Sep 2016 10:36:40 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2016-09-12-ubuntu-secure-your-apache-2-reverse-proxy/</guid>
            <description>&lt;p&gt;We got an Apache 2, working as Reverse Proxy to some Docker instances (we won&amp;rsquo;t talk about the nginx vs Apache stuff here for the same reasons we won&amp;rsquo;t talk about vi vs emacs vs xyz ;)) - and somehow we realized that our apps are a little bit too sensitive to allow them from any ip.&lt;/p&gt;&#xA;&lt;p&gt;First, we want to activate the needed modules. Normally that should not be necessary, but for sake of completeness:&lt;/p&gt;</description>
        </item><item>
            <title>[Security] BetterCrypto.org - Applied Crypto Hardening</title>
            <link>https://www.nico-maas.de/posts/2014-01-03-security-bettercrypto-org-applied-crypto-hardening/</link>
            <pubDate>Fri, 03 Jan 2014 20:45:57 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2014-01-03-security-bettercrypto-org-applied-crypto-hardening/</guid>
            <description>&lt;p&gt;So, now something a little bit more personal: We all know about the problems in our modern world: NSA, espionage, data stealing / selling, and such. We all use computer systems on an daily base and we know about the importance of cryptography. BUT: We don&amp;rsquo;t really all have an masters degree in computer crypto or such. We all do things in a &amp;ldquo;well, should be quite right&amp;rdquo;-way. Because, well - we have a life and a lot of stuff to do. We can&amp;rsquo;t really tell apart which ciffer to use and such. But now - we don&amp;rsquo;t need to - anymore. Please visit &lt;a class=&#34;link&#34; href=&#34;https://bettercrypto.org/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;https://bettercrypto.org/&lt;/a&gt; and read their paper. It got excellent &amp;ldquo;Copy &amp;rsquo;n Paste&amp;rdquo; configuration commands for your Apache, Postfix, Mail, etc, etc!&lt;/p&gt;</description>
        </item><item>
            <title>Java 7 Update 11 Hotfix</title>
            <link>https://www.nico-maas.de/posts/2013-01-14-java-7-update-11-hotfix/</link>
            <pubDate>Mon, 14 Jan 2013 11:33:32 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2013-01-14-java-7-update-11-hotfix/</guid>
            <description>&lt;p&gt;The Java 7 Update 11 has been released by Oracle. You should make sure to download it from http://www.java.com/download asap.&lt;/p&gt;</description>
        </item><item>
            <title>Ubuntu 10.04 - Install Madwifi and Aircrack-ng</title>
            <link>https://www.nico-maas.de/posts/2010-10-03-ubuntu-10-04-install-madwifi-and-aircrack-ng/</link>
            <pubDate>Sun, 03 Oct 2010 17:08:15 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2010-10-03-ubuntu-10-04-install-madwifi-and-aircrack-ng/</guid>
            <description>&lt;p&gt;PreWork:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;apt-get update  &#xA;apt-get install build-essential  &#xA;apt-get install libssl-dev&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Install Madwifi for AR5007EG / AR5001&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# Download latest from http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/  &#xA;tar -xvzf madwifi-hal-0.10.5.6-r4126-20100324.tar.gz  &#xA;cd madwifi-hal-0.10.5.6-r4126-20100324  &#xA;make  &#xA;make install  &#xA;# System, Hardware Driver, mark &amp;#34;Activate Alternate Drivers&amp;#34;  &#xA;reboot&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Install latest Aircrack-ng&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# Download latest from http://www.aircrack-ng.org/  &#xA;# i.e. wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz  &#xA;tar -xvzf aircrack-ng-1.1.tar.gz  &#xA;cd aircrack-ng-1.1  &#xA;make  &#xA;make install&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Lets go! ^^&lt;/p&gt;</description>
        </item><item>
            <title>Iptables Basic Introduction</title>
            <link>https://www.nico-maas.de/posts/2010-02-17-iptables-basic-introduction/</link>
            <pubDate>Wed, 17 Feb 2010 13:36:01 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2010-02-17-iptables-basic-introduction/</guid>
            <description>&lt;p&gt;Iptables are the Firewall of many Unix based Systems. Its quite easy to install and more easy to manage than most ppl would think of. Lately I became the SysAdmin of an Linux based Root Server and wanted to secure it as much as possible. So I went for my first exercise with Iptables and found that they are quite to manage as long as you know some important things.&lt;/p&gt;</description>
        </item><item>
            <title>Astaro Security Gateway v7 Factory Reset</title>
            <link>https://www.nico-maas.de/posts/2009-07-18-astaro-secuirty-gateway-v7-factory-reset/</link>
            <pubDate>Fri, 17 Jul 2009 22:42:15 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2009-07-18-astaro-secuirty-gateway-v7-factory-reset/</guid>
            <description>&lt;p&gt;&lt;strong&gt;Access to SSH or console with root passwords:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/etc/init.d/factoryreset reset&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;No Access to SSH or root passwords are lost:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Connect a keyboard and monitor to the system.&lt;br&gt;&#xA;Wait for boot prompt&lt;br&gt;&#xA;Enter:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;boot: default factoryreset&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;After that you can go to your during the installation definied IP like: https://192.168.0.1&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Alternativ&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Boot on the ASG from a Knoppix CD&lt;/li&gt;&#xA;&lt;li&gt;Login as root&lt;/li&gt;&#xA;&lt;li&gt;Mount the root partition of the ASG with: mount –t ext3 /dev/sda7 /mnt&lt;/li&gt;&#xA;&lt;li&gt;Go to the config on the ASG: cd /mnt/etc/wfe/conf/; vim setting&lt;/li&gt;&#xA;&lt;li&gt;Change reset_pwd = 0 to reset_pwd = 1&lt;/li&gt;&#xA;&lt;li&gt;Save&lt;/li&gt;&#xA;&lt;li&gt;Run cd /; umount /mnt; reboot&lt;/li&gt;&#xA;&lt;li&gt;Access the install IP&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
        </item><item>
            <title>Astaro Security Gateway c&#39;t Version</title>
            <link>https://www.nico-maas.de/posts/2009-07-17-astaro-security-gateway-ct-version/</link>
            <pubDate>Fri, 17 Jul 2009 07:40:37 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2009-07-17-astaro-security-gateway-ct-version/</guid>
            <description>&lt;p&gt;Free Home User License with 25 IPs!&lt;/p&gt;&#xA;&lt;p&gt;&lt;a class=&#34;link&#34; href=&#34;http://www.astaro.de/unsere_produkte/produktueberblick/landing_pages/ct_special#license&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;http://www.astaro.de/unsere_produkte/produktueberblick/landing_pages/ct_special#license&lt;/a&gt;&lt;/p&gt;</description>
        </item></channel>
</rss>
