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

541.

Show top LLMs some code and they'll merrily add in the bugs they saw in training(theregister.com ↗)

10 points · by LinuxBender · 1y ago · discuss

542.

Phony CAPTCHA checks trick targets to download malware(scworld.com ↗)

3 points · by LinuxBender · 1y ago · discuss

543.

HP avoids monetary damages over bricked printers in class-action settlement(arstechnica.com ↗)

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

comment 1y ago · link · parent

Billboards in space may be a tempting target for Hackers. What would you show the world?

545.

Amazon accused of using algorithms to push warehouse workers to breaking point(theregister.com ↗)

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

546.

Ubuntu Developers Discuss Abandoning Mailing Lists for Discourse(phoronix.com ↗)

1 points · by LinuxBender · 1y ago · discuss

547.

Final Draft of PCI Express 7.0 Specification Published(phoronix.com ↗)

2 points · by LinuxBender · 1y ago · discuss

548.

These are the most stolen vehicles in California(ktla.com ↗)

1 points · by LinuxBender · 1y ago · discuss

549.

Stuck astronauts are finally on their way back to Earth(ktla.com ↗)

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

550.

ChatGPT Vulnerability Exploited Against US Government Organizations(securityweek.com ↗)

2 points · by LinuxBender · 1y ago · discuss

comment 1y ago · link · parent

You jest, but AI could look up the site's IP on shodan and a few others then get a shell, elevate to root and just use GNU Tar to back up the site including daemon configurations assuming it's not well hidden behind a CDN and not leaking the origin servers.

comment 1y ago · link · parent

Being overly generous they are probably planning in anticipation of the global internet and power being nullified after some wartime escalation. They also issued satellite phones to key members of congress and staff a little while back. If by some bizarre chance I am right what VLF/HF frequencies and modulation do we all want to meet on? Chess over morse code or would Battleship© be more apropos?

comment 1y ago · link · parent

Archive [1] for paywall

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

comment 1y ago · link · parent

OK that makes a lot more sense. Thankyou.

comment 1y ago · link · parent

How does one email a database? With rare exceptions most mail servers have attachment limits of 16MB to 32MB. Just the schema alone could use up a chunk of the attachment limits. Is the title just oddly worded perhaps? Maybe they meant specific query results?

[Edit] Based on replies specific query results of two people names and dollar amounts into a spreadsheet. Poorly worded title on El Reg's part. Still a security privacy and compliance incident.

comment 1y ago · link · parent

Botnets would not surprise me. By chance can you post one of the log lines for them? Any unique characteristics at layer 7 or even 3/4? Are they using HTTP/1.1 or lower? If so try dropping anything that is not HTTP/2.0 when you are under attack. This can break unmaintained API clients. All major browsers support HTTP/2.0 whereas many old bots do not.

    if ($server_protocol != HTTP/2.0) { return 444; }
Another thing to check for is cors and navigate headers which bots often lack (Nginx example):

    if ($http_sec_fetch_mode !~ (cors|no-cors|navigate) ) { return 444; }
If you run:

    tcpdump -p --dont-verify-checksums -i any -NNnnttvvv -B32768 -c16384 -s0 proto 6 and port 443 and 'tcp[13] == 2'
do you see nominal MSS values such as 1280 to 1460? If not try dropping any SYN packets that are either missing MSS or have a strange value. In Netfilter IPTables in the raw table it looks like:

    iptables -t raw -I PREROUTING -d ${My_IP} -i eth0 -p tcp -m tcp --dport 443 --tcp-flags FIN,SYN,RST,ACK SYN -m tcpmss ! --mss 1280:1460 -j DROP
Test these things in a staging environment of course. These things assume you have a device at the edge that can do something similar or that you are running iptables on the node itself and that gets into topics of state table size, stateless rules, etc... Example from the raw tables

    -A PREROUTING -i lo -j NOTRACK
    -A PREROUTING -i eth0 -p tcp -m tcp --dport 443 -j NOTRACK
    -A OUTPUT -o lo -j NOTRACK
    -A OUTPUT -o eth0 -p tcp -m tcp --sport 443 -j NOTRACK
Otherwise the attacker can fill your state tables even if you increase the size.

Another common option is to require an account and then regardless of IP address limit how many requests per (second/minute/hour/day) can be made by said account and limit that account to existing in less than 3 CIDR blocks per day or perhaps 3 /16's per day and then make it harder to botters to mass create accounts. All of this should be adjustable on the fly by DEFCON status. If you are not under attack DEFCON 5, ease the restrictions so the site is more usable and friendly. If under attack DEFCON 1 then rules and account restrictions are tightly enforced but still usable by real people using the site the way it was intended.

557.

'Matrix,' 'Ocean's Eleven' producer files for bankruptcy, blames streaming(ktla.com ↗)

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

558.

Gitlab fixes critical SSO bypass vulnerabilities in update(scworld.com ↗)

1 points · by LinuxBender · 1y ago · discuss

559.

Ingredient hidden in your spice rack could reverse Alzheimer's disease(dailymail.co.uk ↗)

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

560.

How to Infect Your PC in Three Easy Steps(krebsonsecurity.com ↗)

54 points · by Bender · 1y ago · 21 comments

561.

Linux 6.14-Rc7 Released with v6.14 Final Expected Next Weekend(phoronix.com ↗)

2 points · by LinuxBender · 1y ago · discuss

562.

Nvidia Patches Vulnerabilities That Could Let Hackers Exploit AI Services(securityweek.com ↗)

1 points · by LinuxBender · 1y ago · discuss

563.

Microsoft 365 environments exploited in business email attacks(scworld.com ↗)

8 points · by LinuxBender · 1y ago · discuss

564.

Nebraska Town Offers $50k House Down Payments If People Move There(cowboystatedaily.com ↗)

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

565.

Exploit Code for Apache Tomcat RCE Vulnerability Published on Chinese Forum(securityweek.com ↗)

3 points · by LinuxBender · 1y ago · discuss

566.

"Awful": Roku tests autoplaying ads loading before the home screen(arstechnica.com ↗)

88 points · by LinuxBender · 1y ago · 52 comments

comment 1y ago · link · parent

Blackhole all their ASN's and be done with it. It sounds like the crawlers are not adding anything back to SourceHut. This exercise takes a while the first time around but take one IP from each CIDR block and look up all the IP's [1][2] they own, aggregate it [3] using a script to summarize into larger CIDR blocks and have a cron "@reboot" or systemd unit file script that performs:

    ip route add blackhole "${ClownNet}" # in a loop through a text file
This is how I ended up blocking archive.is along with using a couple MSS rules. waves to their admin here on HN

Obviously don't block anything you have to reach out to or consumer ISP networks in countries you wish to do business with unless you are a bastard operator from hell like me. It's far less CPU than using firewall rules and takes minuscule amounts of kernel memory. Be sure to also have a URL your visitors can go to in order to grab their IP address should they claim they are blocked. Link to this comment in a Jira and test it in a staging environment. Be sure to test all the regular outbound connections that you make in production in your staging environment.

If you do want to block entire countries without having to look something up on every web hit then use this [4] to add to the blackhole script with a little data massaging. Everything in the blackhole text file must be versioned and committed into your internal repository so one can tell when a network added is breaking things and one can quickly roll back. Have a function in the script that deletes all the blackholes.

I blackhole about 27,000 CIDR blocks on a tiny VM web server and the script takes 20 seconds to complete.

[1] - https://bgp.tools/

[2] - https://bgp.he.net/

[3] - https://adrianpopagh.blogspot.com/2008/03/route-summarizatio...

[4] - https://github.com/firehol/blocklist-ipsets/tree/master/ipip...

1
181920
642