<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Datei mittels ApiHook verstecken]]></title><description><![CDATA[<p>Hallo, habe ein Programm geschrieben das mittels eines Api hooks eine datei verstecken soll. Ich hab dafür FindNextFile gehookt. Ich hab das ganze mal an einem einfach Testprogramm getestet und es hat auch super funktioniert. Wenn ich jetzt aber das Programm auf explorer.exe anwende ist die Datei trotzdem noch sichtbar.<br />
benutzt explorer nicht FindNextFile, oder is das der falsche Prozess?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/207302/datei-mittels-apihook-verstecken</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 00:59:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/207302.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Mar 2008 19:47:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 19:47:12 GMT]]></title><description><![CDATA[<p>Hallo, habe ein Programm geschrieben das mittels eines Api hooks eine datei verstecken soll. Ich hab dafür FindNextFile gehookt. Ich hab das ganze mal an einem einfach Testprogramm getestet und es hat auch super funktioniert. Wenn ich jetzt aber das Programm auf explorer.exe anwende ist die Datei trotzdem noch sichtbar.<br />
benutzt explorer nicht FindNextFile, oder is das der falsche Prozess?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469037</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469037</guid><dc:creator><![CDATA[PsychoticStyx]]></dc:creator><pubDate>Wed, 05 Mar 2008 19:47:12 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 20:00:26 GMT]]></title><description><![CDATA[<p>Welcher FindNextFile ? FindNextFile<strong>A</strong> oder FindNextFile<strong>W</strong> ? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469046</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469046</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 05 Mar 2008 20:00:26 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 20:03:46 GMT]]></title><description><![CDATA[<p>FindNextFileA... Aso benutzt explorer die WideChar variante?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469050</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469050</guid><dc:creator><![CDATA[PsychoticStyx]]></dc:creator><pubDate>Wed, 05 Mar 2008 20:03:46 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 20:08:03 GMT]]></title><description><![CDATA[<p>Yup. Nicht nur explorer.exe. FindNextFileA ruft (unter XP) sowieso FindNextFileW auf.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469055</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469055</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 05 Mar 2008 20:08:03 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 20:11:09 GMT]]></title><description><![CDATA[<p>hm aber der explorer ruft das dann direkt auf, oder? sonst würde der hook ja schon gehen, oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469058</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469058</guid><dc:creator><![CDATA[PsychoticStyx]]></dc:creator><pubDate>Wed, 05 Mar 2008 20:11:09 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 20:21:33 GMT]]></title><description><![CDATA[<p>Kann man so sagen obwohl der/ein Aufruf selbst irgendwo aus der SHELL32.DLL kommt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469062</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 05 Mar 2008 20:21:33 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 20:32:46 GMT]]></title><description><![CDATA[<p>Hab das jetzt mal gemacht, aber ich krieg jetzt n Compilerfehler. Ich weiß, dass das jetzt wahrscheinlich was ziemlcih einfaches is, aber ich hab noch nie richtig mit WideChars gearbeitet...<br />
Also: Der Wirft mir hierzu</p>
<pre><code class="language-cpp">wchar_t name[256];
swprintf(name, &quot;%s&quot;, b-&gt;cFileName); //b ist der übergebene zeiger auf die FIND_DATA
</code></pre>
<p>Das aus:</p>
<blockquote>
<p>cannot convert `const char*' to `const wchar_t*' for argument `2' to `int swprintf(wchar_t*, const wchar_t*, ...)'</p>
</blockquote>
<p>Woran liegts?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469063</guid><dc:creator><![CDATA[PsychoticStyx]]></dc:creator><pubDate>Wed, 05 Mar 2008 20:32:46 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 20:57:06 GMT]]></title><description><![CDATA[<p>Mußt dem Kompiler noch klarmachen, daß &quot;%s&quot; auch ein WideCharString sein soll.</p>
<p>Bei manchen Kompilern reicht TEXT(&quot;%s&quot;) oder _T(&quot;%s&quot;).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469074</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469074</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 05 Mar 2008 20:57:06 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 21:04:00 GMT]]></title><description><![CDATA[<p>habs mal so</p>
<pre><code class="language-cpp">wprintf(_T(&quot;%s&quot;), data.cFileName);
</code></pre>
<p>und so</p>
<pre><code class="language-cpp">wprintf(TEXT(&quot;%s&quot;), data.cFileName);
</code></pre>
<p>geht beides nicht... Ich hab MingGW mit DevC++ Umgebung. ne Ahnung wies da geht, oder hab cih nur was falsch verstanden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469079</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469079</guid><dc:creator><![CDATA[PsychoticStyx]]></dc:creator><pubDate>Wed, 05 Mar 2008 21:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 21:07:55 GMT]]></title><description><![CDATA[<p>Wenn du sicher gehn willst, hook lieber gleich in der ntdll NtQueryDirectoryFile() und NtVdmControl(): <a href="http://vx.netlux.org/lib/vhf00.html#p3" rel="nofollow">http://vx.netlux.org/lib/vhf00.html#p3</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469080</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469080</guid><dc:creator><![CDATA[dmesg]]></dc:creator><pubDate>Wed, 05 Mar 2008 21:07:55 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 21:08:49 GMT]]></title><description><![CDATA[<p>Einen hab ich noch : L&quot;%s&quot;. Aber zu diesem Thema dürfe es schon massig Threads geben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469081</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469081</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 05 Mar 2008 21:08:49 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Wed, 05 Mar 2008 21:11:08 GMT]]></title><description><![CDATA[<p>@merker jo super mit L und ohne Klammern gehts.</p>
<p>@demesg Ja sieht um einiges sauberer aus, aber ich hab gerade erst mit Hooks angefangen. ich glaub ihc bring das ma zum Laufen und dann schau ich das tut ma an.</p>
<p>Vielen Dank auf jeden Fall an alle!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469083</guid><dc:creator><![CDATA[PsychoticStyx]]></dc:creator><pubDate>Wed, 05 Mar 2008 21:11:08 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Thu, 06 Mar 2008 08:15:31 GMT]]></title><description><![CDATA[<p>Worin besteht der Sinn eine Datei verstecken zu wollen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469156</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469156</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 06 Mar 2008 08:15:31 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Thu, 06 Mar 2008 08:33:01 GMT]]></title><description><![CDATA[<p>Luckie schrieb:</p>
<blockquote>
<p>Worin besteht der Sinn eine Datei verstecken zu wollen?</p>
</blockquote>
<p>nur so eine vermutung: dass man sie nichtmehr sieht?</p>
<p>damit könnte man zum beispiel bestimmte sachen seinen kindern vorenthalten oder so..</p>
<p>oder natürlich eine böswillige software schreiben.. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469161</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469161</guid><dc:creator><![CDATA[Machine]]></dc:creator><pubDate>Thu, 06 Mar 2008 08:33:01 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Thu, 06 Mar 2008 10:23:52 GMT]]></title><description><![CDATA[<p>Machine schrieb:</p>
<blockquote>
<p>Luckie schrieb:</p>
<blockquote>
<p>Worin besteht der Sinn eine Datei verstecken zu wollen?</p>
</blockquote>
<p>nur so eine vermutung: dass man sie nichtmehr sieht?</p>
<p>damit könnte man zum beispiel bestimmte sachen seinen kindern vorenthalten oder so..</p>
</blockquote>
<p>Dazu gibt es eine Rechteverwaltung bei Mehrbenutzersystemen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469216</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469216</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 06 Mar 2008 10:23:52 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Thu, 06 Mar 2008 10:26:57 GMT]]></title><description><![CDATA[<p>womit &quot;normale&quot; eltern wahrscheinlich nicht klarkommen. da sind sachen wie &quot;parental control&quot; o.ä. schon komfortabler. habe auch mal angefangen sowas zu basteln, aber das liegt zur zeit auf eis <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469219</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469219</guid><dc:creator><![CDATA[Machine]]></dc:creator><pubDate>Thu, 06 Mar 2008 10:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Thu, 06 Mar 2008 11:00:27 GMT]]></title><description><![CDATA[<p>Machine schrieb:</p>
<blockquote>
<p>Luckie schrieb:</p>
<blockquote>
<p>Worin besteht der Sinn eine Datei verstecken zu wollen?</p>
</blockquote>
<p>oder natürlich eine böswillige software schreiben.. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /></p>
</blockquote>
<p>Klar, auch die Rootkits machen es so, mit den Dateien verstecken, leider. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /><br />
Martin</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469247</guid><dc:creator><![CDATA[Mmacher]]></dc:creator><pubDate>Thu, 06 Mar 2008 11:00:27 GMT</pubDate></item><item><title><![CDATA[Reply to Datei mittels ApiHook verstecken on Thu, 06 Mar 2008 15:13:08 GMT]]></title><description><![CDATA[<p>Naja für alle die das gleiche machen wollen: Windows beschwert sich wenn man FindNextFile hookt... Also sollte man wahrscheinlich ne andere Funktion hooken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1469479</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1469479</guid><dc:creator><![CDATA[PsychoticStyx]]></dc:creator><pubDate>Thu, 06 Mar 2008 15:13:08 GMT</pubDate></item></channel></rss>