9 ms·
A distributed peer to peer list of bad actor IP addresses and phone numbers
- Jenk 5y agoHow are these verified?
- geoduck14 5y ago2fa with a text to your cellphone
- NullPrefix 5y ago"Please use your phone to verify that you actually are a bad actor"
- joelthelion 5y agoWhat happens if a bad guy uploads your ip?
- iqanq 5y agoWhat happens is that you find out why this is a terrible idea.
- _wldu 5y agoExactly, sometimes these systems are purposely used to deny legitimate users. Sort of like OS account lockouts (too many failed attempts). What if their goal is to lock the users out?
- iso1631 5y agoWhat happens when someone uploads 4 billion IPs
- hansel_der 5y agoi recon he'll get blocked from contributing to the block-list
- gnabgib 5y agoThere's some room in the missing ~295 million IPs
- gavinhenry 5y agoThey'd need to originate SIP traffic from your IP or try to spoof your IP. If they are doing that, they may be targeting different things not SIP related.
- mabbo 5y agoTo give a good example of why something like this matters... I spent a bit more than a year as the most senior dev on the team that owned the sign up page for a cloud computing company. We faced bot attacks constantly. They had a variety of reasons to attack, but International revenue sharing fraud (IRSF) was a major one. In short, bots would convince our sign up flow to make verification phone calls to numbers that charge a lot of money but don't actually exist. (Note: whatever "why don't you just" you're about to reply with, we had an entire team of people doing nothing but trying to stop this for months and years- we tried that and it didn't succeed, or there were business reasons it was not feasible.) I switched companies. In my new role, I happened to be on a team in the same org as their sign up page. Chatting with them, I learned that they were not facing similar attacks, but identical ones. The countries involved, the patterns of the attack, everything- this was the same attacker, going up against two completely unrelated companies. I don't know if this system is the right implementation- I need to do a deeper dive on this- but I do know that something like this is needed so that companies can coordinate their defenses.
- im3w1l 5y agoSince you say you tried and hard to stop this, I guess you are implying that it's not possible to tell in advance what it costs to call a given number? How do telcos get away with that?
- londons_explore 5y agoFor consumers at least, it's the law in the EU. Every phone network has either a pricing document or a webpage where you can type a number and it tells you the price, and if you were charged something that isn't that price, I guess you could demand a refund, and escalate to a court if the refund wasn't forthcoming. Note that these documents frequently list some numbers at ridiculously high prices (eg. €25 per minute), presumably to deter such fraud.
- hedora 5y agoI think the problem with that is that these schemes rely on the phone network being ridiculously insecure. The scammers send a surprise bill to your telco, then they pass it along to you. It wouldn't surprise me if the list only applies to consumer plans, or (as you say) high-balls stuff in certain countries.
- axiosgunnar 5y agoWho watches the watchmen?
- deleted 5y ago[deleted]
- Hamuko 5y agoWhere can I send my GDPR request if I find out that my IP address or phone number is in there? Both are personally identifiable information.
- MadsRC 5y agoIIRC GDPR only applies if you are operating a business or organization. Depending on how this project is structured, it wouldn’t have to process your GDPR request. Edit: I was only partially correct. According to Article 2, Point 2C, the regulation (GDPR) does not apply to the processing of personal data “ by a natural person in the course of a purely personal or household activity” So if this project can be viewed as a personal project (which I suppose it could, in theory…), then it wouldn’t have to comply.
- Flocular 5y agoNo, GDPR applies to everyone. The government is proactively only enforcing GDPR vs organizations, private persons need to sue to get GDPR enforcement against each other. Also - should companies use this list, their usage would of course need to be GDPR compliant.
- MadsRC 5y agoNo, it does not. Article 2 point 2 covers the exact scenarios in which it does not.
- Flocular 5y agoIt indeed doesn't cover data processed by "a natural person in the course of a purely personal or household activity" But arguably, as soon as you upload stuff to github.com you already fall outside of that narrow definition.
- Hamuko 5y agoYou can definitely be fined as an individual for GDPR non-compliance. https://www.enforcementtracker.com/ETid-1022 https://www.enforcementtracker.com/ETid-1022
- figassis 5y agoCould it be built so that is an org uploads an ip, only they can block it. Other companies can still see the ips, but not be able to download until a certain number of companies have uploaded it. Sort of like blockchain confirmations. Maybe, ips from countries with higher numbers of attacks would require less confirmations. The bad guy can't be in all the participating orgs. Another alternative is to allow all ips to be downloaded, with data about the number of confirmations, so companies could decide on their own depending on the risk they're willing to take (might not work is most go for zero risk).
- rzzzt 5y agoNote that the checkboxes in the feature list (along with the source code) say that the P2P sharing/replication of the bad actors database is not implemented yet.
- gavinhenry 5y agoI'm just working on that at the moment. LAN things are OK, but still researching WAN network discovery. Some chat here https://github.com/zeromq/zyre/issues/701#issuecomment-947808963 https://github.com/zeromq/zyre/issues/701#issuecomment-94780...
- _wldu 5y agoFrom the Github page, "I started this because I wanted to do C network programming" I think this is a poor choice (from a security perspective). It should be written in Go or rust. C programs (exposed to the network) are dangerous even when written by experienced developers. Really, in 2022, everything Internet facing should be written in a memory safe language, running as a normal user (no root) and have a strong MAC policy applied. Anything else is too risky.
- riedel 5y agoDamn, do I have to shut down my wireguard VPN now? Memsafety is not everything. IMHO, everyone should write security relevant code in Ada Spark. There is reasons not to do it, I guess. At least now one can rewrite it in Rust an post it on HN...
- mustache_kimono 5y agoDoes Wireguard not do a privilege downgrade? That seems important. I know it needs some additional privileges, and therefore (right now?) will not run in a container (which is annoying), but after it has set up an interface, why doesn't it back off its privileges? I really want to try Wireguard but kept getting hung up on stuff like this.
- gavinhenry 5y agoI had a lot of analysis paralysis over just this...in the end I chose what I chose for the reasons listed.
- mh7 5y agoNeither rust or go have a formally verified compiler, they cannot be used for security critical programming.
- MadsRC 5y agoReally cool project. To implement it though, one really should be careful to not just load the IPs nillywilly into ones ACL’s… Run some test on the list before using it, to make sure your own assets isn’t mentioned in there. If you don’t, you end up creating a DOS vulnerability in your system :D
- gavinhenry 5y agoYes, you'd want to compare against your own IP allocations as a network operator. The real value is the test phone numbers being tried and probe patterns so you can get an early warning to a customers or users system being compromised before anything happens.
- LinuxBender 5y agoOff-Topic question: Is there an existing static file that contains all the attacking IP's from a 3 or 6 month period that spawned the creation of this system? I would like to compare it to what is in firehol's repo. [1] I am not trying to downplay anything rather hoping to see the delta of the outliers. In the past I logged the people querying my DNS servers for SIP names but have since switched to NSD which does not have query logging. [Edit] I am running tcpdump right now and it didn't even take 15 seconds to start seeing queries for sip SRV records. [1] - https://github.com/firehol/blocklist-ipsets.git https://github.com/firehol/blocklist-ipsets.git
- tempest_ 5y agoIn the world of ipv6 how useful is keeping a list of ips any more? I suppose if you see a lot of requests coming out of a network you can just block ips based on the network portion of the address.
- hansel_der 5y agoipv6 block-lists are not a thing, hence all big mail-senders use v4 only
- daneel_w 5y agoHow are the caller IDs (phone numbers) vetted to verify that they're actually used in robocall scams instead of legitimate EBR calls that some grumpy customer didn't appreciate?
- ahmedfromtunis 5y agoWhat happens if an IP, rightfully included in the list, gets assigned to me or, worse, to the server I just rented? Or if someone added my phone number as a prank, a revenge or an attack on me?
- hedora 5y agoDon't worry, the lost revenue won't be material to earnings.
- hansel_der 5y agoclassy
- gavinhenry 5y agoWould you be using that IP to make SIP calls or route SIP traffic? The bad actors will only be valid for 7 days.
- fsociety 5y agoAdditionally some VPNs route through legitimate devices. The only way I’ve seen this somewhat work is to have a complex system that pulls apart the connection info, and then you use a combination of data science + threat intel + good ol’ reversing to make decisions of if something is malicious or not. Then you need multiple teams to run and tune these functions as attacks change.
- czbond 5y agovery very cool I love it. Highly needed.
- patrakov 5y agoCan this be legal, if we have GDPR? A regulator can argue that IP addresses and phone numbers are hackers' personal data, and it's illegal to share them.
- ronsor 5y agoIP addresses can only be personal data if associated with a person. No sane court would rule against you for having random IPs in a blocklist.txt file.
- hansel_der 5y ago> No sane court would rule against you for having random IPs in a blocklist.txt file. challenge accepted
- _8j50 5y agoHaving a good way to let legitimate users appeal the blocklist seems to be the hard part and why Spamhaus for example has been successful.
- hansel_der 5y agoi often wonder if we could have actually built robust and reliable systems with the time it took to curate all those block-lists
- rixed 5y agoAny relation with ShouldIAnswer (https://www.shouldianswer.com/ https://www.shouldianswer.com/), which is also a peer reviewed/maintained DB of bad phone numbers? ShouldIAnswer is probably more oriented toward end users but maybe both projects can still benefit from each others?
- gavinhenry 5y agoThanks. I'll take a look. No relation. My goal is to put the raw data in the hands of technical end users or network operators.