I just noticed Germany´s Federal Office for Information Security (German: Bundesamt fßr Sicherheit in der Informationstechnik (see here), abbreviated as BSI, also
covered the topic.
According to the wikipedia the BSI is the German upper-level federal agency in charge of managing computer and communication security for the German government.
So any information retrieved from there should be reliable.
The first tools and instructions have now been published with the help of which you can check the vulnerability of your own IT systems.
The backdoor signature can be detected using the YARA rule. (1)
IT systems can be checked locally for the presence of the backdoor (2)
Conky informs me my local IP address is 192.168.8.102.
This is the local IP address assigned to my system by my mobile network provider, right?
This address is within a private subnet range, which is typical for local network connections as far as I know.
So I guess this would me the right entry in my /etc/ssh/sshd_config
OK, I think I get it.
Your setup is different to mine.
You only have one local net⌠that provided by the mobile phone modem
I have two⌠the modem one, and a second ethernet with all computers and printers on it.
So yes, that is your local net, but it is also your side of the modem. I am not sure if
setting Listenaddress to that will restrict incoming ssh attempts.
Also, I had an afterthought in the shower.
You also have a virtiual network ( for Vmâs).
You would need to tell it to listen to that network too.
It mignt be simpler not to do this. Virt- manager and Boxes each have virtual networks. That is two more networks to allow.
I must admit it is a long time since I used
ListenAddress. Things have become more complicated since then. I vote we shelve it.
Hi Rosika,
This sshd_config issue will not go away. I slept on it last night, and this morning awoke with what I think is a way to do it for your network.
Your network is 192.168.8.0. Lets assume you have 2 machines
192.168.8.1 and 192.168.8.2.
What you can do is allow access from the 2 machines individually ( instead of allowing it for the whole network) so
ListenAddress 192.168.8.1 machine 1
ListenAddress 192.168.8.2 machine 2
dont give a listenaddress for the modem
ListenAddress 192.168.122.0 virt-manager virtual network
ListenAddress 10.0.2.0 gnome-boxes virtual network
You can put as many ListenAdddress lines as you want, it does all of them
and disallows everything else.
So, solved, but we probably dont want to do it anyway. Its just nice to know how.
No not the network.
It is the IP number you use when you connect your browser to the modem to do admin commands.
Maybe connman would tell you what is is, or look in the modem manual.
No not sleepless.
I have this strange ability to go to sleep with a problem and wake with the solution.
It is the Holy Spirit working.
Right, leave it out⌠the same as you leave out every other
address on the internet. Then nothing can use your sshd except your computer.and your VMâs.
I thought you had a laptop too?
But I don´t usually run it in the same network as my main PC.
Mostly - when doing updates, and if I don´t have enough data available using the stick - I do the updates for the laptop via smartphone tethering.
But now that I come to think of it, you are right.
I should put the laptop´s IP address in /etc/ssh/sshd_config. Just in case.
At times I might want to access the internet from the laptop via the hotspot I configured for the PC.
Hi Rosika,
Sorry , I did not explain properly.
I mean if you change any IP numbers, you need to edit
the sshd_config file.
Its a trap. It is easy to forget.
Certain groups of IP addresses are reserved for specific uses. The address range 192.168.0.0â192.168.255.255 is for communications within a private network. They do not come from your internet provider. They may be assigned by your router or you can assign them manually.
Hi Don,
Are you saying that if the modem has an address within
this range, then a packet coming from that address can not have originated from the internet?
I thought that , because of IP masquerading, a package
originating from the internet could appear to come from the modem address? Am I wrong there?
Yes, as best I understand it you are correct: a packet in that address range can only come from within your network. Inbound traffic from the internet sees only your public IP address.
Itâs your router that assigns the 192.168.x.x addresses. I donât think an outside computer can specify a specific address that falls within the reserved list.