<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to isolate a machine from the network? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7178196#M59196</link>
    <description>&lt;P&gt;&amp;gt; Because if, for example, of a ransomeware attack powering off the&lt;BR /&gt;&amp;gt; machine while the data is being encrypted could end in data corruption&lt;BR /&gt;&amp;gt; [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Unless I were planning to pay the ransom, I'd expect to need to&lt;BR /&gt;restore the system from a backup, so I wouldn't care about corrupting&lt;BR /&gt;data which I'd overwrite in any case.&lt;/P&gt;&lt;P&gt;&amp;gt; Powering off the machine was my first though also but I was thinking&lt;BR /&gt;&amp;gt; about an alternate solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; See "To what is its network interface connected? [...]", above.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 18:33:10 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2022-11-23T18:33:10Z</dc:date>
    <item>
      <title>How to isolate a machine from the network?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7177726#M59191</link>
      <description>&lt;P&gt;Having a linux OS installed straight onto a HPE DL580 Gen10 or similar machine so no virtualisation involved here. Let's assume the OS is compromised by a virus or whatever. How can I make sure I completely isolate that system from the network remotely.&lt;/P&gt;&lt;P&gt;So the logic says that I should unplug teh network cable but cannot do that remotely.&lt;/P&gt;&lt;P&gt;The other thing is to disable the physical network card but can't really do that through the iLO either&lt;/P&gt;&lt;P&gt;So what other options do I have besides powering off the machinee?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 12:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7177726#M59191</guid>
      <dc:creator>sysadmin700</dc:creator>
      <dc:date>2022-11-18T12:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to isolate a machine from the network?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7177846#M59192</link>
      <description>&lt;P&gt;&amp;gt; How to isolate a machine from the network?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Define "the network".&amp;nbsp; Do you mean the Internet, or the system's LAN,&lt;BR /&gt;or what, exactly?&lt;/P&gt;&lt;P&gt;&amp;gt; [...] completely isolate that system from the network [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Define "completely isolate".&amp;nbsp; (And "the network".)&lt;/P&gt;&lt;P&gt;&amp;gt; [...] the logic says that I should unplug teh network cable but cannot&lt;BR /&gt;&amp;gt; do that remotely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Do you ever want to talk to the system remotely again?&amp;nbsp; If you&lt;BR /&gt;disable the system's link to the outside world, and you're _in_ the&lt;BR /&gt;outside world, then that would seem to be a one-way path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Disclaimer: "a linux OS" is not a very detailed description of your&lt;BR /&gt;particular GNU/Linux distribution/version, and I don't use GNU/Linux&lt;BR /&gt;very much, so my GNU/Linux admin knowledge could be very stale.&amp;nbsp; But,&lt;BR /&gt;generally, ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If I wanted to disable some network interface with a command, then&lt;BR /&gt;I'd look into "ifconfig".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; man ifconfig&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifconfig -a&amp;nbsp;&amp;nbsp; # Identify the interface of interest.&amp;nbsp; "eth0"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifconfig eth0 down&amp;nbsp;&amp;nbsp; # For example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If I wanted to leave the LAN connection as-is, but disable&lt;BR /&gt;communication beyond the LAN, then I might fiddle with the routing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netstat -rn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For example, if the only interesting routes are the (implicit) route&lt;BR /&gt;to the LAN and the default route ("default" or "0.0.0.0" to your&lt;BR /&gt;router?), then I might change the default gateway from the actual router&lt;BR /&gt;to some address which no one is using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; route change default 127.0.0.123 &amp;nbsp; # Some bogus address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I'd expect commands like these (untested ones) to cripple some or all&lt;BR /&gt;of the system's network communication.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 06:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7177846#M59192</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2022-11-18T06:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to isolate a machine from the network?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7177926#M59193</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Define "the network".&amp;nbsp; Do you mean the Internet, or the system's LAN,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or what, exactly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The system's LAN, any outside network connection from the OS&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Define "completely isolate".&amp;nbsp; (And "the network".)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I mean no network packets can be sent out from that OS&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Do you ever want to talk to the system remotely again?&amp;nbsp; If you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;disable the system's link to the outside world, and you're _in_ the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outside world, then that would seem to be a one-way path.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes, access to that system could be done later by physically reaching the hardware, after the system have been contained and a restore plan has been setup depending on the threat.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; Disclaimer: "a linux OS" is not a very detailed description of your&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;particular GNU/Linux distribution/version, and I don't use GNU/Linux&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;very much, so my GNU/Linux admin knowledge could be very stale.&amp;nbsp; But,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;generally, ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The linux distro is Fedora but your solution could not be valid as if that system is compormised, every network change configuration from withing the could be reverted. This is why I need a different solution/approach.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2022 10:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7177926#M59193</guid>
      <dc:creator>sysadmin700</dc:creator>
      <dc:date>2022-11-20T10:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to isolate a machine from the network?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7177928#M59194</link>
      <description>&lt;P&gt;&amp;gt; [...] your solution could not be valid as if that system is&lt;BR /&gt;&amp;gt; compormised, every network change configuration from withing the could&lt;BR /&gt;&amp;gt; be reverted. This is why I need a different solution/approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If I couldn't trust any software on the system, and I couldn't&lt;BR /&gt;disable its network connection externally, then I'd shut it down and/or&lt;BR /&gt;power it off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; To what is its network interface connected?&amp;nbsp; If it's connected to a&lt;BR /&gt;network switch or router with some management capability, then I'd work&lt;BR /&gt;with that.&amp;nbsp; But, if you can't trust anything it does, then why leave it&lt;BR /&gt;running?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2022 14:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7177928#M59194</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2022-11-20T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to isolate a machine from the network?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7178171#M59195</link>
      <description>&lt;P&gt;Because if, for example, of a ransomeware attack powering off the machine while the data is being encrypted could end in data corruption so it;s better to let it finish and isolate the machine.&lt;/P&gt;&lt;P&gt;Powering off the machine was my first though also but I was thinking about an alternate solution&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 13:47:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7178171#M59195</guid>
      <dc:creator>sysadmin700</dc:creator>
      <dc:date>2022-11-23T13:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to isolate a machine from the network?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7178196#M59196</link>
      <description>&lt;P&gt;&amp;gt; Because if, for example, of a ransomeware attack powering off the&lt;BR /&gt;&amp;gt; machine while the data is being encrypted could end in data corruption&lt;BR /&gt;&amp;gt; [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Unless I were planning to pay the ransom, I'd expect to need to&lt;BR /&gt;restore the system from a backup, so I wouldn't care about corrupting&lt;BR /&gt;data which I'd overwrite in any case.&lt;/P&gt;&lt;P&gt;&amp;gt; Powering off the machine was my first though also but I was thinking&lt;BR /&gt;&amp;gt; about an alternate solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; See "To what is its network interface connected? [...]", above.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 18:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-isolate-a-machine-from-the-network/m-p/7178196#M59196</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2022-11-23T18:33:10Z</dc:date>
    </item>
  </channel>
</rss>

