Better HN
topnewbestaskshowjobs
Log inSign up

LinuxBender

57,650 karma · joined Jun 16, 2015 (11y ago) · 19,241 submissions

I am not for everyone. To ignore me in uBlock Origin, add to "My filters":

   news.ycombinator.com##tr.athing.comtr:has(a.hnuser):has-text(/\bLinuxBender\b/)
For HN usage questions see https://github.com/minimaxir/hacker-news-undocumented for HN tips (not my repo)

    (\_/)
    (='.'=)
    (")_(")
Submissions

comment 4y ago · link · parent

If it were me and I didn't want to rip the thing apart to start diagnosing at the hardware layer, I would start by:

- Verify the BIOS is up to date. Newer windows updates can conflict with older BIOS. They should be kept up to date together.

- Disable any devices in the BIOS that are not actually used.

- If that doesn't help, disable any "AI" overclocking or other overclocking especially if the laptop does not have an unlocked CPU that officially supports overclocking.

- If that does not help then I would suspect either power supply going bad or something got into the vents of the laptop and is periodically shorting something. Compressed air or "canned air" can help. Remove the batteries AND then hold down the power button for 20 seconds. If you can and use compressed air to clean out the laptop. Keep the can upright and adjust the position of the laptop, not the can. Blowing dust bunnies out often is good to do regardless.

Some newer laptops maybe yours counts can start acting weird if they don't get a motherboard reset from time to time which requires holding the power button for 20 seconds to turn it on and holding it for 20 seconds to turn it off at least every once in a while. Sounds silly I know but the Lenovo's from that period are notorious for this and I would not be surprised if other vendors had the same issue. No idea what if any shared components exist between an Alienware and a Lenovo.

comment 4y ago · link · parent

Even stating they have control even if they do nothing is more of a risk than I would be willing to take. Two security researcher took control of a vehicle several years back [1][2][3][4] and didn't really think through how they were doing the demo. The vehicle was on a live highway. There were articles that spoke of the trouble the researchers got themselves into but appear to have vanished from the google.

[1] - https://www.wired.com/2015/07/hackers-remotely-kill-jeep-hig...

[2] - https://www.cbc.ca/news/science/hackers-kill-engine-of-movin...

[3] - https://www.reuters.com/article/us-fiat-chrysler-recall/fiat...

[4] - https://nakedsecurity.sophos.com/2019/01/10/supreme-court-re...

comment 4y ago · link · parent

It can also be problematic in the US as peeping tom laws have not really caught up with surveillance cameras and drones yet.

I had a neighbor that was allegedly pointing cameras at his neighbor because he didn't want a black woman in the neighborhood. He was also an officer of the HOA. He was trying to intimidate her with cameras and staring at her all day. She sued and won. The judge ordered him to remove the cameras. I got out of that HOA in a hurry. They've since doubled the fees to compensate for the law suit, so they should have it paid off in 25-30 years.

10894.

Windy.com: See the wind, temperature, rain and air quality around you(windy.com ↗)

87 points · by LinuxBender · 4y ago · 35 comments

10895.

Major US cities will feel like they're below zero this week. Find out where(lite.cnn.com ↗)

1 points · by LinuxBender · 4y ago · discuss

10896.

In VR, there are no rules, so parents are making up their own(lite.cnn.com ↗)

2 points · by LinuxBender · 4y ago · discuss

comment 4y ago · link · parent

Even with ethics aside I think you would have to address the legal challenges assuming you are taking official channels to do this. Technically labs could release a variant that matches your criteria. There are some circles that believe Omicron was just that but AFAIK there is absolutely no empirical evidence to back that up.

10898.

Earth is 73% of the way to critical threshold scientists warn should be avoided(lite.cnn.com ↗)

4 points · by LinuxBender · 4y ago · 1 comment

comment 4y ago · link · parent

There may be a small number of people with satellite internet. There may also be reporters on the ground that have satellite phones. Unknown if their PSTN network is down but dial-up internet over modem still exists.

10900.

China puts Walmart in naughty corner citing 19 alleged cybersecurity violations(theregister.com ↗)

1 points · by LinuxBender · 4y ago · discuss

10901.

Past seven years hottest on record – EU satellite data(bbc.co.uk ↗)

2 points · by LinuxBender · 4y ago · discuss

10902.

IKEA cuts sick pay for unvaccinated staff forced to self-isolate(bbc.co.uk ↗)

3 points · by LinuxBender · 4y ago · 1 comment

comment 4y ago · link · parent

Having both set to yes means you are able to use either. Earlier I mentioned there was the possibility to disable both of them at which point nobody would be able to log in because only keys and passwords are used on that system. That is why I jokingly said you may as well shut down the daemon to save ram. There are methods other than keys and passwords but I have not implemented any of them.

A null password is using none [1] which is a reserved term and has specific implications. In this case of passwords, none will succeed since I enabled null passwords and that account has no password set. So none is matching in the PasswordAuthentication option.

  /etc/passwd  serveradmin:x:22218:5000::/data/sftphome/serveradmin:/bin/false
  /etc/shadow  serveradmin::18955:0:99999:7:::
There is no password hash after the first colon in the shadow entry. This was accomplished with

  usermod -p '' serveradmin
Using -i pass a key file but since I have not added any of your keys to the system then any key you specify will not match and the client will proceed on to the next authentication method you have enabled and have not explicitly disabled in the client. To accept any random key would require a change to the source code of OpenSSH. One can even hard code a public key into OpenSSH in the source code which I have done when configuring OpenSSH as a recovery daemon that does not read or write to the disk.

I hope that helps this make sense. It is understandable that this is confusing because what I am doing is the opposite of what people are instructed to do. Null passwords are considered a security risk unless you do it intentionally for some unorthodox implementation reason which I have done. I have a cron job that adds accounts within some character restrictions that bots try to brute force. I then monitor the bots behavior to see what current bots are attempting over SSH. I do the same for http/https. Both are what is referred to as a low-interaction honeypot.

Here is a bot with IP and port redacted that just tried to use my server as a DNS proxy:

  Connection from 8.37.x.x port x on 50.116.13.30 port 22
  Accepted password for admin from 8.37.x.x port x ssh2
  Changed root directory to "/data/sftphome/admin" [postauth]
  refused local port forward: originator 127.0.0.1 port x,  target 1.1.1.1 port 53 [postauth]
  Received disconnect from 8.37.x.x port x:11: Disconnected on user's request. [postauth]
[1] - https://datatracker.ietf.org/doc/html/rfc4252#page-7

comment 4y ago · link · parent

Nice to see so many scientists on their way to the glacier. I hope they calculate more than just sea level rise. Will they also study ocean water current salinity and its impact on water temperature and density? [1]

[1] - https://sciencing.com/salinity-impact-oceans-currents-551724...

comment 4y ago · link · parent

Good point. That is what I am doing:

  Match Group                     sftpusers
    PubkeyAuthentication            yes
    PasswordAuthentication          yes
    PermitEmptyPasswords            yes
    GatewayPorts                    no
    ChrootDirectory                 /data/sftphome/%u
    ForceCommand                    internal-sftp -l DEBUG1 -f AUTHPRIV -P symlink,hardlink,fsync,rmdir,remove,rename,posix-rename
    AllowTcpForwarding              no
    AllowAgentForwarding            no

comment 4y ago · link · parent

Does OpenSSH let you disable all authentication?

Yes one can disable any/all forms of authentication. At that point it might be worth shutting down the SSH daemon to save a few MB of ram. If you mean permit null passwords that can be enabled too.

comment 4y ago · link · parent

I can't guess on the ones you stated but if for completeness sake we include geothermal then probably about 3 or 4 billion years, long after the planet would have to be evacuated for different reasons. Ubiquitous deployment of geothermal is challenging at this time due to the current tech limitations and associated costs.

10908.

Another country bans out-of-hours calls and emails from the boss(zdnet.com ↗)

2 points · by LinuxBender · 4y ago · discuss

10909.

Verizon’s 5G upgrade imposes new hotspot data limits on older phone plans(arstechnica.com ↗)

14 points · by LinuxBender · 4y ago · discuss

10910.

Astronomers discover a strange galaxy without dark matter(wired.com ↗)

3 points · by LinuxBender · 4y ago · 1 comment

10911.

Facebook’s data center plans rile residents in the Netherlands(wired.com ↗)

4 points · by LinuxBender · 4y ago · discuss

comment 4y ago · link · parent

One could do that as well. Different use cases can mix and match any restrictions using the Match block in sshd_config or simply having a general restriction like this.

  AllowUsers root@192.168.*.*

comment 4y ago · link · parent

One mitigation against this is to specify on the target hosts where that keys are valid from. One could even be as liberal as to give the entire CIDR block of their ISP or Corporate IP CIDR block or preferably use a VPN network. The key will not be valid for anyone not in the specified networks or IP's separated by commas.

e.g. using my tinc VPN mesh

  grep keys /etc/ssh/sshd_config
  AuthorizedKeysFile          /etc/ssh/keys/%u
cat /etc/ssh/keys/root # honeypot server

  from="192.168.0.0/16,10.15.10.2" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDlyvd+LAveSiIIgQW3Y+aWsb8bTu70tgXQjoWMrMAbKt1/sDoE/w2qqLBSqLjJmA46zKqwgZhnO8hkZjpizjb909fNYrgyNOsRcHOvumanORUGjcumxi5fklqNZCXC1rehX4z+tnVzygtDNQcqlmyy1ElBM+SxKS+YIrOymPOU6bc5V1sildq5cVUSuEHcLggOadCj6azbiR1J46D6UYxAaKYjq2OloLZXRhvSYrmVeH+PNKiShgYBu4TfCg4UoJKZsHTaeS2akZAQTqcjy7bB8HRWGXYEMKAKA95w8MTqaWlIoMKBuOJnd8+wRXrZKnSsTQmQQZg0rggO6GC8ufT leaked_on_purpose
I would be happy to provide my private key and a VM IP if anyone would like to try this out.

10914.

Hospital boss admits they may lose staff over compulsory vaccines(bbc.co.uk ↗)

13 points · by LinuxBender · 4y ago · 2 comments

10915.

Washington digs out after record-breaking weather leads to 38 avalanches(lite.cnn.com ↗)

6 points · by LinuxBender · 4y ago · discuss

10916.

Dangerous travel conditions expected as ice blankets much of the North(lite.cnn.com ↗)

1 points · by LinuxBender · 4y ago · discuss

comment 4y ago · link · parent

I would imagine one could tweak the web frontends like Convos or TheLounge to make IRC look and behave like Discord at least in terms of text chat and channel/user visibility. I theorize that's what they are doing behind the scenes.

comment 4y ago · link · parent

There are web front-ends to IRC that can mitigate message loss without having to run bouncers. Convos [1] and TheLounge [2] come to mind but there are others [3]

[1] - https://convos.chat/

[2] - https://thelounge.chat/

[3] - https://www.ilmarilauhakangas.fi/irc_technology_news_from_th...

comment 4y ago · link · parent

I found some recent videos that do in fact cover more details and it's actually quite a bit worse than you describe. There are no burner phones or command tents it seems, or at least that is not a significant part of how these people coordinate anything. These people are using social media and public podcasts to coordinate their actions. No manifesto, public podcasts. In fact they have been monitored extensively and followed for quite a while leading up to this. [1] Several militia groups and white supremacist groups had been planning this for a while and reporters had been working with social media companies to use machine learning to know who would be where, armed with what and what they intended to do. The only part they got wrong was the clothing. This time the one militia that usually wear Hawaiian shirts went in plain clothes but were spotted instantly either way.

The most concerning part of this to me is that as far as I can tell the incident on the 6th was simply allowed to happen. They only had a handful of state police in standard gear even knowing there would be a mob coming their way with militia members mixed in.

There is an interview with the federal prosecutor [2] that towards the end says there could be a case and it could go that way meaning the more serious charges but sounds more like he wants to go back to being the DA in Miami. Maybe he will hand this off to the next federal prosecutor?

[1] - https://www.youtube.com/watch?v=v22xC09WSVc

[2] - https://www.youtube.com/watch?v=dbAYJt0hJG8

1
363364365
642