<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Remoteshell-Security Blog - Programmierung</title>
    <link>http://blog.remoteshell-security.com/</link>
    <description>IT-Security in a Nutshell</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Sun, 21 Oct 2007 20:20:24 GMT</pubDate>

    <image>
        <url>http://blog.remoteshell-security.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Remoteshell-Security Blog - Programmierung - IT-Security in a Nutshell</title>
        <link>http://blog.remoteshell-security.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>gmc: Der Modul Helfer</title>
    <link>http://blog.remoteshell-security.com/index.php?/archives/28-gmc-Der-Modul-Helfer.html</link>
            <category>Programmierung</category>
    
    <comments>http://blog.remoteshell-security.com/index.php?/archives/28-gmc-Der-Modul-Helfer.html#comments</comments>
    <wfw:comment>http://blog.remoteshell-security.com/wfwcomment.php?cid=28</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.remoteshell-security.com/rss.php?version=2.0&amp;type=comments&amp;cid=28</wfw:commentRss>
    

    <author>nospam@example.com (Daniel)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;Alle die schonmal unter Gentoo die Modul-Namen in der Datei &lt;i&gt;/etc/modules.autoload.d/kernel-2.6&lt;/i&gt; eintragen mussten, wissen wie unangenehm diese Aufgabe sein kann, wenn es viele Module gibt die einzutragen sind.&lt;/p&gt;&lt;p&gt;         &lt;/p&gt;&lt;p&gt;Um sich hier die Arbeit zu erleichtern, habe ich ein kleines Shell-Script geschrieben, welches mit Hilfe der &lt;i&gt;BASH&lt;/i&gt; oder der &lt;i&gt;Korn Shell &lt;/i&gt;einem hier diese lästige Arbeit abnimmt:&lt;/p&gt;&lt;p&gt;   &lt;/p&gt;&lt;div style=&quot;border: 1px solid white; margin: 5px; color: white; background-color: black;&quot;&gt;&lt;br /&gt;
&lt;pre&gt;root@gentoo:~ # vi /sbin/gmc&lt;br /&gt;&lt;br /&gt;# !/bin/bash&lt;br /&gt;# Copyright 2006-2007 RemoteShell-Security.com&lt;br /&gt;# Distributed under the terms of the GNU General Public License v2&lt;br /&gt;# title: gmc&lt;/pre&gt;&lt;pre&gt;mf=/etc/modules.autoload.d/kernel-2.6&lt;/pre&gt;&lt;pre&gt;#clear&lt;br /&gt;rm -rf $mf&lt;br /&gt;rm -rf /tmp/gmc 2&amp;gt;/dev/null&lt;/pre&gt;&lt;pre&gt;#file header:&lt;br /&gt;echo &#039;# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.&#039;&amp;gt;${mf}&lt;br /&gt;&lt;br /&gt;if [ $1 ]&lt;br /&gt; then&lt;br /&gt; kpath=$1&lt;br /&gt; find /lib/modules/${kpath}/ -type f -iname &#039;*.o&#039; -or -iname &#039;*.ko&#039; &amp;gt;/tmp/gmc&lt;br /&gt; while read var; do&lt;br /&gt; tn=${var##*/}&lt;br /&gt; echo ${tn%.ko} &amp;gt;&amp;gt;${mf}&lt;br /&gt; done &amp;lt; /tmp/gmc&lt;br /&gt;else&lt;br /&gt;echo &amp;quot;usage: gmc &amp;lt;name of current kernel version&amp;gt;&amp;quot;&lt;br /&gt;fi&lt;/pre&gt;&lt;pre&gt;rm -rf /tmp/gmc 2&amp;gt;/dev/null&lt;/pre&gt;&lt;/div&gt;&lt;p /&gt;&lt;p&gt;      &lt;/p&gt;&lt;p&gt;Die Benutzung des Scripts ist auch realtiv einfach. Das Script erwartet beim Aufruf nur als Parameter den Namen der Kernel Version aus welcher man die Module laden möchte.&lt;/p&gt;&lt;p&gt;   &lt;/p&gt;&lt;p&gt;Weiß man den Namen nicht auswendig, so schaut man einfach unter &lt;i&gt;/lib/modules/&lt;/i&gt; nach. Es sei noch darauf hingewiesen, das für Ausführung in der Regel Root-Rechte benötigt werden.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 21 Oct 2007 22:08:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.remoteshell-security.com/index.php?/archives/28-guid.html</guid>
    
</item>
<item>
    <title>Java Applets und ihre Verwendung</title>
    <link>http://blog.remoteshell-security.com/index.php?/archives/14-Java-Applets-und-ihre-Verwendung.html</link>
            <category>Programmierung</category>
    
    <comments>http://blog.remoteshell-security.com/index.php?/archives/14-Java-Applets-und-ihre-Verwendung.html#comments</comments>
    <wfw:comment>http://blog.remoteshell-security.com/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.remoteshell-security.com/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>nospam@example.com (Daniel)</author>
    <content:encoded>
    &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
Java Applets sind eine tolle Sache. Sie ermöglichen einem die aller unterschiedlichsten Applikationen direkt vom Webbrowser aus zu starten.&lt;/p&gt;&lt;br /&gt;Doch dies hat auch Kehrseiten. Was würde passieren wenn die geöffnete Applikation sich versucht mit einem Host zu verbinden und diesem eine Remoteshell offeriert.&lt;br /&gt;Oder gehen wir einen Schritt weiter, was würde passieren wenn lokaler Schadcode ausgeführt wird? &lt;br /&gt;Natürlich haben die Entwickler von SUN vorgesorgt und erlauben Java Applets per &lt;i&gt;default&lt;/i&gt; keine lokalen Anwendungen aufzurufen oder sonstige Befehle am System abzusetzen.&lt;br /&gt;Dennoch benötigen einige Entwickler für Ihre Applikationen genau diese Fähigkeit. Daher gibt es die Möglichkeit mittels Zertifikat seine Applikation zu signieren und bei akzeptieren des Zertifikats, ist auch das Starten von lokalen Applikationen kein Problem mehr.&lt;br /&gt;Nun wo liegt hier das Problem?&lt;br /&gt;Ganz einfach. &lt;br /&gt;Ein Angreifer könnte mit geschickten Social Engineering Techniken einen unerfahrenen User dazu bewegen diesem Zertifikat zuzustimmen und dann seinen Schadcode, im Hintergrund ohne das der Benutzer es mitbekommt, ausführen lassen.&lt;br /&gt;Blacklotus (Thomas Schneider) und ich haben unter &lt;a target=&quot;_blank&quot; href=&quot;http://www.remoteshell-security.com/poc/javapoc.html&quot;&gt;http://www.remoteshell-security.com/poc/javapoc.html&lt;/a&gt; ein kleines Proof-of-Concept geschrieben, welches unter Windows den Befehl dir im Wurzelverzeichnis ausführt und diese dem lokalen Host schickt.&lt;br /&gt;Unter &lt;a target=&quot;_blank&quot; href=&quot;http://remoteshell-security.com/poc/jrspoc.html&quot;&gt;http://remoteshell-security.com/poc/jrspoc.html&lt;/a&gt; ist dann noch eine Remoteshell bzw. eine Reverse Shell als Java Applet die sich mit einem Ziel Socket verbindet.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Nachtrag:&lt;/b&gt;&lt;br /&gt;Das die Sache nicht neu ist, habe ich mir schon gedacht, aber anscheinend ist die Sache schon seit langen bekannt:&lt;br /&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://www.bsi.de/fachthem/sinet/gefahr/aktiveinhalte/definitionen/appletsgefahren.htm&quot;&gt;http://www.bsi.de/fachthem/sinet/gefahr/aktiveinhalte/definitionen/appletsgefahren.htm&lt;/a&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;&lt;br /&gt;
&lt;/div&gt; 
    </content:encoded>

    <pubDate>Wed, 18 Apr 2007 18:14:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.remoteshell-security.com/index.php?/archives/14-guid.html</guid>
    
</item>

</channel>
</rss>