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

2791.

Odd NuGet package for industrial equipment raises espionage concerns(scmagazine.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2792.

Cisco Patches DoS Vulnerabilities in Networking Products(securityweek.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2793.

Failure of Francis Scott Key Bridge provides future engineers a chance to learn(theconversation.com ↗)

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

comment 2y ago · link · parent

P.S If this gets flagged, I'll make another one, and another, until one of the mods notices.

I did not flag your post but I would not expect articles about socially divisive issues to last long here as they can be divisive and cause flame wars, drama, etc... Flagging is most commonly performed by the people here and not the moderators. I believe it only takes 4 to flag, then can be vouched by people over a certain karma for a short period of time, then can be flagged again. If you believe something needs a moderators attention their email address is on the footer.

[Edit]: Now having to flag subsequent flooding. Please contact the moderators instead of taking this path.

comment 2y ago · link · parent

emailed dang asking for this

2796.

Polar ice is melting and changing Earth's rotation. Its messing with time itself(cnn.com ↗)

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

2797.

CDC alerts doctors to watch for rare, serious bacterial infection(cnn.com ↗)

2 points · by LinuxBender · 2y ago · discuss

comment 2y ago · link · parent

It can be. This this case however it is limited to eth0, tcp, port 22. If any of those don't match there will be no parsing and thus no impact. Another mitigating factor is that we are only looking at specific byte regions of the packet so parsing is minimized. On busy SFTP servers I would probably avoid using such rules if CPU load is becoming a problem. For most people this will not even register in htop or vmstat. There are also ways to use this string check in combination with ipset and/or xt_recent to minimize the times we see a packet from a bot. Here is an example using an IPSet called "bots" that we drop early on in the raw table and also use in the filter outbound rules to reset openssh trying to respond the first time we see the bad string so we close the socket earlier.

In a startup / init script / systemd unit file:

    # IPv4
    ipset flush bots 2>/dev/null
    ipset create bots hash:ip hashsize 2048 maxelem 65536 timeout 604800 netmask 24 2>/dev/null

    # IPv6
    ipset flush bots6 2>/dev/null
    ipset create bots6 hash:ip hashsize 2048 maxelem 65536 timeout 604800 netmask 64 family inet6 2>/dev/null
In this example I am using a bigger netmask much in the way name servers rrl rate limit.

In the raw table, drop bots we saw for a week:

    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22:80 -d [server ip] -m set --match-set bots src,dst -j DROP
    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -d [server ip] -m string --string "SSH-2.0-libssh" --algo bm --from 10 --to 60 -j SET --add-set bots src --exist --timeout 604800
In the filter table outbound rules:

    -A OUTPUT -o eth0 -p tcp -m tcp --sport 22 -m set --match-set bots dst -j REJECT --reject-with tcp-reset
This should only be performed on servers that one has console / out-of-band access to, after exhaustive testing.

2799.

Microsoft Enables DNS Tunneling by Default for WSL – More Reliable Networking(phoronix.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2800.

Linux Foundation Launches Valkey as a Redis Fork(phoronix.com ↗)

6 points · by LinuxBender · 2y ago · 2 comments

2801.

'Darcula' phishing platform targets postal organizations worldwide(scmagazine.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2802.

Astronomers have solved the mystery of why this black hole has the hiccups(arstechnica.com ↗)

3 points · by LinuxBender · 2y ago · discuss

2803.

Apple ID 'push bombing' scam campaign hits cyber startup founders(scmagazine.com ↗)

1 points · by LinuxBender · 2y ago · 2 comments

2804.

Miscreants are exploiting enterprise tech zero days more and more, Google warns(theregister.com ↗)

2 points · by LinuxBender · 2y ago · discuss

comment 2y ago · link · parent

Anything I explicitly drop I do so in the raw table to keep them out of the state table. The state table is more CPU expensive especially at high packet rates and runs the risk of depleting the default state table limits especially for anything that now has a broken state on purpose like these poor lil bots. Since I brought it up, here is how to increase the state table limits.

Create /etc/modprobe.d/nf_conntrack.conf

    cat /etc/modprobe.d/nf_conntrack.conf 
    options nf_conntrack expect_hashsize=256400 hashsize=256400
And then in /etc/sysctl.conf:

    # from /etc/sysctl.conf: increase state table limits.
    # Requires 1/4 mem to hash table plus 400 overhead because I am the cargo culting king:
    # cat /etc/modprobe.d/nf_conntrack.conf
    # options nf_conntrack expect_hashsize=256400 hashsize=256400
    net.nf_conntrack_max = 1024000
Should people use default state table memory allocations on a busy node, everyone can be locked out of it regardless of how many TB of RAM are free. The node can appear "down".

2806.

Canonical cracks down on crypto cons following Snap Store scam spree(theregister.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2807.

In-app browsers are still a privacy, security, and choice problem(theregister.com ↗)

1 points · by LinuxBender · 2y ago · 2 comments

comment 2y ago · link · parent

This, and a handful of simple firewall rules in the raw table can block about 90%+ of that remaining 1% just looking at the spoofable banner that none of the bots seem to spoof I assume due to being lazy like me.

In the raw table:

    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -d [my server ip] -m string --string "SSH-2.0-libssh" --algo bm --from 10 --to 60 -j DROP
    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -d [my server ip] -m string --string "SSH-2.0-Go" --algo bm --from 10 --to 60 -j DROP
    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -d [my server ip] -m string --string "SSH-2.0-JSCH" --algo bm --from 10 --to 60 -j DROP
    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -d [my server ip] -m string --string "SSH-2.0-Gany" --algo bm --from 10 --to 60 -j DROP
    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -d [my server ip] -m string --string "ZGrab" --algo bm --from 10 --to 60 -j DROP
    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -d [my server ip] -m string --string "MGLNDD" --algo bm --from 10 --to 60 -j DROP
    -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -d [my server ip] -m string --string "amiko" --algo bm --from 10 --to 60 -j DROP
Adding the server IP minimizes risks of also blocking outbound connections as raw is stateless

I rarely do this any more given they rotate through so many LTE IP's. Instead I get the bot operators to block me by leaving SSH on port 22 and then giving them a really long VersionAdendum that seems to get the bots feeling broken, sticky and confused. There are far fewer SSH bot operators than it appears. They will still show up in the logs but that can be filtered out using drop patterns in rsyslog.

    VersionAddendum "  just put in a really long sentence in sshd_config that is at least 320 characters or more"
Try it out on a test box that you have console access to just in case your client is old enough to choke on it. Optionally use offensive words for the bots that log things to public websites. Only do this on your hobby nodes, not corporate owned nodes unless legal is cool with it, in writing.

2809.

Google's AI-powered search results are loaded with spammy, scammy garbage(theregister.com ↗)

61 points · by Bender · 2y ago · 35 comments

2810.

Microsoft Engineer Sends Rust Linux Kernel Patches for In-Place Module Init(phoronix.com ↗)

4 points · by LinuxBender · 2y ago · discuss

2811.

VPN Apps on Google Play Turn Android Devices into Proxies(securityweek.com ↗)

1 points · by LinuxBender · 2y ago · discuss

2812.

Ray AI Framework Vulnerability Exploited to Hack Clusters(securityweek.com ↗)

1 points · by LinuxBender · 2y ago · discuss

comment 2y ago · link · parent

If I recall correctly, namecheap is just a reseller from enom/tucows. See if you can contact eNom/tucows [1] and explain the situation. Perhaps namecheap is trying to get one last payment out of you? Something sounds off about all this. Maybe conference in namecheap and enom together after talking to enom or have them conference in their people. They probably have contact information that is not publicly available.

If that path is not useful then perhaps pay for the domain so you don't lose it, then have your legal team send them scary letters or take them to court. I am not a lawyer but I have handed off things like this to a companies legal team to sort out for other "registrars".

[1] - https://help.enom.com/hc/en-us/articles/360001715152-Contact...

comment 2y ago · link · parent

Try this whois [1] and see if it was updated to reflect your current registrar. Also look on that page after your query for "Registry Server URL" that may have more data. If that does not help, try making a change to the domain on your new registrar and see if it gets accepted or rejected. following change control process in your company of course

If you literally just transferred your domain there can be a small delay in the whois updating. Don't panic, it's mostly harmless. These are old and often overwhelmed systems that update via cron jobs and in some cases they use emails. to stop50's point

Also log into namecheap and see if they still list your domain in the domain management part of the site. Log into your new registrar and do the same. The domain should only be in one place and ideally with the "locked" status on your new registrar. If the domain is only manageable under the new registrar then you should be fine and should be able to ignore the email. If still in doubt get on the phone with your new registrar and they can validate if it moved successfully.

[1] - https://lookup.icann.org/en/lookup

2815.

GoFetch: Apple chips vulnerable to encryption key stealing attack(scmagazine.com ↗)

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

2816.

Fortinet FortiClient EMS SQL injection flaw exploited in the wild(scmagazine.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2817.

Phones and routers swept into proxy service, unbeknownst to users(arstechnica.com ↗)

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

comment 2y ago · link · parent

Archive [1] as they sometimes region lock articles

[1] - https://archive.is/VoiiU

1
939495
642