{"id":2052,"date":"2015-03-29T15:51:16","date_gmt":"2015-03-29T15:51:16","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2052"},"modified":"2015-03-29T15:51:16","modified_gmt":"2015-03-29T15:51:16","slug":"block-ssh-outbound-for-network-scanning-issues","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/03\/29\/block-ssh-outbound-for-network-scanning-issues\/","title":{"rendered":"Block ssh outbound for network scanning issues"},"content":{"rendered":"<p>If you server is noted to have been compromised for outbound network scanning, you can block ssh outbound until the threat is removed.<\/p>\n<p>Edit iptables:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nnano \/etc\/sysconfig\/iptables\n-A OUTPUT -p tcp --dport {PORT-NUMBER-HERE} -j DROP\n\n<\/pre>\n<p>Reload iptables<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# service iptables reload\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you server is noted to have been compromised for outbound network scanning, you can block ssh outbound until the threat is removed. Edit iptables: nano \/etc\/sysconfig\/iptables -A OUTPUT -p tcp &#8211;dport {PORT-NUMBER-HERE} -j DROP Reload iptables # service iptables reload<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,102],"tags":[],"class_list":["post-2052","post","type-post","status-publish","format-standard","hentry","category-administration","category-security"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2052"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2052\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}