9 ms·
Hoax email blast abused poor coding in FBI website
- everybodyknows 5y ago> Members of the RaidForums hacking community have a long standing feud with Troia Anyone know what the beef is? Do they think he's incompetent?
- NaughtyShiba 5y agoHe’s cybersecurity expert/researcher, and has been trying to identify TDO for a long time now.
- deleted 5y ago[deleted]
- PeterisP 5y agoNot only he identified some of them to the authorities, he also literally wrote a book on it (https://www.amazon.com/OSINT-Toolkit-Intelligence-Gathering-Investigations/dp/1119540925 https://www.amazon.com/OSINT-Toolkit-Intelligence-Gathering-...), exposing them and the methods to the general public.
- Jerrrry 5y agoGood sports, well played.
- teddyh 5y agoDupe: https://news.ycombinator.com/item?id=29208276 https://news.ycombinator.com/item?id=29208276 EDIT: All right, “Dupe” might be the wrong word; “Related to the same newsworthy event” might be better.
- foxbarrington 5y agoI wouldn’t classify this as a dupe. This is much clearer about what happened and how than the scattered comments in the reddit threads.
- barbecue_sauce 5y agoYeah, this is an update if anything.
- LilBytes 5y agoYour link is to some one reporting the phishing email where it wasn't known to be phishing at that time. This link is to an acknowledgement from Krebs and the FBI that it is indeed, a phishing email. Not dupes.
- sieabahlpark 5y agoReddit isn't a primary source?
- junon 5y agoI suppose it could have been worse. I appreciate that they made the emails very clearly fake. The fact it passed DKIM checks was definitely alarming, though. A lot of people thought there was a flaw in DKIM somehow, but unsurprisingly it's a flaw with the FBI's site. All in good fun, I suppose.
- brightball 5y agoA ton of people don’t ever rotate their DKIM keys. If you’re not using email tooling that handles it automatically on a regular basis it’s an easy thing to do since it doesn’t expire like an SSL cert. Anybody gets their hands on the private key, ex employee, compromised via hack, etc then everything will sail through.
- windexh8er 5y agoYou may enjoy this (I believe it was on HN last year): "DKIM: Show Your Privates" [0]. [0] https://rya.nc/dkim-privates.html https://rya.nc/dkim-privates.html
- brightball 5y agoI remember it! Solid points all around.
- s5300 5y agoI'll never forgive the Twitter large accounts hacker for not choosing literally anything funny & instead tweeting a dumb "gibs me Bitcoin" Could've been the funniest thing the internet had seen in years, & will likely not happen at that scale again for quite some time.
- tgsovlerkhgsel 5y agoI'm surprised that the FBI hacker didn't use it for some for-profit fraud scheme.
- globalise83 5y ago"when you requested the confirmation code [it] was generated client-side, then sent to you via a POST Request" That is shocking. What must the internal culture be like for such an idea to even be a possibility?
- coldcode 5y agoThere are a lot of highly terrible government contracting agencies out there who charge enormous fees and who knows who actually does the work given the likelihood no one even validates any of the work. Suck our taxpayer money out of the system and leave trash in the wake. You'd think an agency as important as the FBI would verify who is working on their systems, but probably no one did.
- topspin 5y ago> You'd think an agency as important as the FBI would verify who is working on their systems Why? The upper echelons of these federal law enforcement and intelligence agencies are universally political animals with names suffixed by III and IV that instinctually perceive anything as even vaguely technical as far beneath them. The only time something like the security of a network becomes a priority for these people is when it causes them embarrassment. At all other times the operation of these systems is a budget item that gets farmed out according to the prevailing political prerogatives of the day; actual competence being well down on the list of priorities.
- neartheplain 5y agoThis wouldn't be the first time the FBI mismanaged software contractors: https://www.centreforpublicimpact.org/case-study/fbi-virtual-case-file-system/ https://www.centreforpublicimpact.org/case-study/fbi-virtual... Or the second: https://www.newsweek.com/fbis-expensive-sentinel-computer-system-still-isnt-working-despite-report-272855 https://www.newsweek.com/fbis-expensive-sentinel-computer-sy...
- christophilus 5y agoI spent two weeks or so working at a government contractor. I put my two week notice in almost as soon as I’d started, and I permanently swore off the industry. There were some genuinely good, smart people working there, but the culture was such that I’d be very surprised if they shipped a working product in 5 years time. If they did ship it, it would be an awful thing to behold. I don’t know how to fix this issue. But from what I’ve seen and heard, the best minds (other than the rare altruist) stay in the private sector. It pays better, and there’s just so much less BS to deal with.
- NaughtyShiba 5y agoI refuse to believe this. How in anyone’s mind this idea (email sending part on FBI site) was ok?
- deleted 5y ago[deleted]
- xpressvideoz 5y agoThis is so funny. I've seen websites that leak one-time code through client code so the verification could be automated, but this is another level. Generating a code client-side and allowing the client to decide what the email content could be!
- eloisius 5y agoIt makes me chuckle to think of the contractor’s thought process on how you implement email verification. How could you not even Google something so simple before you reinvented it yourself in the worst way?
- kymaz 5y agoIt takes time to google things, and the engineer is paid to write code not google stuff.
- carlmr 5y agoA department manager at a previous job once blocked stackoverflow. It went about as well as you'd expect and he unlocked it two weeks later.
- alx__ 5y agoProbably was written before google came out ;)
- mike_d 5y agoI have used the LEEP portal. Honestly - people are making a huge deal about this, but the verification code could be completely removed and it wouldn't matter. You can start the same process by just emailing the helpdesk.
- tlogan 5y agoChristopher Wray (FBI director) needs to resign. We live in age where internet is very very critical and this could cause huge damage.
- encryptluks2 5y agoI think there are a lot of reasons he should resign, but this isn't one of them.
- _jal 5y agoRight, right. Also, the next zero day in Windows means Nadella should be tossed out of Redmond. It is very critical, no?
- earleybird 5y agoZero day is the wrong analogy - perhaps: "The next time microsoft.com dns expires and is renewed by a good samaritan" And, yes, it would be time for some senior folks to reflect on their continued helmsmanship.
- deleted 5y ago[deleted]
- turminal 5y agoI don't agree with the GP's call for resignation but this is way worse incompetence wise than an average windows zero day.
- fourthark 5y ago> I am contacting you today because we located a botnet being hosted on your forehead. Brutal.
- SLWW 5y agoIt's good that no harm came of it. Also, on a side note.. this is our gov, this is how they operate. I worked for a short period on a project with the state government and it was miserable. The culture is truly suffocating. I've warned many, gov jobs is where your career goes to die; there is a stigma whenever you go anywhere else even if no one says it Miserable as in nothing ever got done, even after requesting creds (once i got certified) they dragged their feet for 3 months. It was the worst gig.
- KennyBlanken 5y agoUhhh, there was definitely harm... The FBI's helpdesk # reportedly got swamped and this probably wasted hundreds if not thousands of man-hours of agents getting panicked calls from organizations they actually work with. I'm guessing this wasted hundreds of thousands of man-hours of time at organizations around the globe as people tried to figure out WTF was going on. I'd bet a lot of people told their bosses it was obvious bullshit and were told to call a local FBI office to confirm anyway "just in case." The person who exploited this could have done a proper vulnerability disclosure. Or sent a genuinely funny/clever message along the lines of "We were lying about the aliens all along, press conference to be held at DoJ HQ this Sunday, 7:15AM" to a couple of news stations. Whoever did this came across the vulnerability and decided to be an asshole about it.
- topspin 5y ago> The person who exploited this could have done a proper vulnerability disclosure. If that proper vulnerability disclosure happens to land on the desk of some irrational apparatchik at the FBI that doesn't like your brand of facebook posts or doesn't want to be exposed as an incompetent they won't hesitate to open a file on you and dispatch a cadre of life ruining agents. And before you say "but if it's done properly..." I say hire a good Beltway lawyer before you say a mumbling word because you don't know what 'properly' is or if it even exists.
- addingnumbers 5y agoI wish they'd done a self-referential bulletin along the lines of "We have found a vulnerability in one of our security bulletin systems which allows attackers to craft and deliver notifications which seem legitimate..."
- rvr_ 5y agoWe should not blame "the gov" or "organizations". This kind of crap was coded by someone, maybe more than one person. These are the people to blame. Our profession will never be a truly profession until we (developers) are not held accountable for the crap code that we wrote.
- BuyMyBitcoins 5y agoOur profession has a relationship with complexity that no other engineering discipline has to deal with. Other engineers can reasonably design around known variability in the environment. You can engineer a 4x safety margin in a bridge. No such concreteness exists for programs. When we make a product, we really have no idea what the landscape of computing will look like in the future. Even the projects that are less than five years old that I’ve worked on have had so much grafted onto them that I barely recognize what I had originally wrote for it. My hunch is that the email system is basically a “legacy app” that had more and more jammed into it as time went on. The prudent thing to do would have been to go with a new provider, but that is extremely expensive compared to jamming new features like that script into it. In this scenario, how would a developer be held accountable? Would telling a judge “I really didn’t want to write this code but the client demanded these changes” be a viable defense?
- authed 5y agoIt's called job security... imagine if anything else was built like modern software...
- KronisLV 5y ago
- nanis 5y agoI guess we must disable view-source in all browsers now! Welcome back to the 70s where you could only use a phone made by AT&T and got to rent it at $10/month.
- Gigachad 5y agoChrome is actually adding a feature that lets school admins disable view source because school test pages had the answers in the source.
- karlding 5y agoEnterprise-level Chromium removes view-source to prevent students from cheating [0]. [0] https://news.ycombinator.com/item?id=29211611 https://news.ycombinator.com/item?id=29211611
- speedgoose 5y agoCan you still write something like javascript:alert(document.body.parentNode.innerHTML) in the address bar and press enter?
- tzs 5y agodocument.documentElement.innerHTML might be better than document.body.parentNode.innerHTML. The latter fails if there is no body element, e.g. when the page is an SVG document. If you want a closer approximation of the full source, outerHTML might also be better. I've also seen "new XMLSerializer().serializeToString(document)" suggested. That seems to give the most complete source, but I've also read that it might have problems with things that need escaping. I have no experience with that approach because for what I needed the first thing I found when Googling, document.documentElement.innerHTML, gave me what I needed. One more thing to consider. All of the above I'd expect give you source that would produce the currently displayed page including any modifications that were made after loading by JavaScript (which is probably what you'd want for cheating on a test so is fine). I'm not sure that is the same as what "view source" gives--does it give the current page or the page as it came over the wire?
- 5y ago
- dang 5y agoPrevious ongoing thread: Email from FBI Looks Odd - https://news.ycombinator.com/item?id=29208276 https://news.ycombinator.com/item?id=29208276 - Nov 2021 (150 comments)
- supercucumber 5y agomildly ironic that the FBI employs so many elite hackers but can barely keep its own properties safe
- LogonType10 5y agoI don't buy it when news hits that the FBI took down some ransomware gang or seized bitcoin or what have you. I've never heard of a single former FBI hacker, I don't know of anyone who would want to work for them (who wouldn't pick another agency first). Their pay is terrible and they disqualify almost everyone who has the background of a hacker. They must have some other agency do the deed and then they take the credit out of legal necessity.
- Oddskar 5y agoI think this quite accurately explains it: https://xkcd.com/538/ https://xkcd.com/538/ Not saying the method is violence per se, but rather that there are a lot of alternatives to finding vulnerabilities and backdoors.
- 3np 5y ago> “Members of the RaidForums hacking community have a long standing feud with Troia, and commonly deface websites and perform minor hacks where they blame it on the security researcher,” Ionut Illascu wrote for BleepingComputer. I appreciate that krebs give an explicit source to the claim - it shows journalistic integrity.
- seanalltogether 5y agoIronically, by targeting this guy, they give him more clout, and with more clout comes more work opportunities and potential resources to identify these groups.
- basicplus2 5y agoPlausable deniability for any email FBI sends out?
- black_13 5y agoJust get Jeff Sutherland he can fix everything.
- Threeve303 5y agoUsing a system designed to warn of a cyberattack as part of your actual attack. Hopefully the Department of Redundancy Department does a full security review.