Kobold letters: HTML emails are a risk
lutrasecurity.com
lutrasecurity.com
I feel like it’s a HUGE (silly) assumption you’d ask generically “did you send this email” instead of something more specific like “do you REALLY want me to transfer you money like this?” to which the manager would obviously be confused and the attack would likely be killed in that conversation.
This is an interesting attack vector but I am questioning how likely it is to succeed. The article paints a very specific and narrow window of events for this attack to really work. I don’t buy it, personally.
EDIT: I know phishing happens and works. I am not saying it doesn't. I just mean the people that fall for phishing don't need this sophisticated of an attack to fall for. In fact, the attacker probably narrows the chance of success by putting this much extra (very specific) effort into the attack. They are likely to just succeed with their typical phishing email.
They disabled SMTP and the Gmail web client has no such ability to filter on arbitrary email headers.
I did for e.g. knowbe4 since all their test emails have the same header information. It made it quite easy to never see any of their attempts, though I did have to check every once in a while to see if I'd been signed up for any random learning and it removed those emails as well..
I doubt they'd have granted an exception to stop getting annoyed by their own training.
- Browser 0-day vendor
Adblock is a security measure at this point.
* Other users might have, instead, an incompetently secured browser that they think is locked down on their work devices. It is hard for IT to distinguish between you and them.
* If the URL is personalized, it tells the attacker that the address is active. This is probably pretty limited help to the attacker. But it might tell them if your company emails follow a particular format, right?
I just asked chatgpt and it knows what email format the company I work for follows, so I'm not sure this is of particular value.
It fact, it can be actively harmful if it creates a false sense of security.
Asking because in the vast majority of cases, the phishing landing page has way more signals to recognize than the email headers.
The dead giveaway on this email was that there was a Via: header that was like "phishingtestsforyourworkplace.com" or something.
The only way to know for certain that a user fell for a phish, during a simulated exercise, is to make an HTML form that does a HTTP POST request and contains the user's credentials (that only they could type in). If a user enters their username and password and clicks submit, then they fell for the phish, otherwise no one can say for sure who or what software clicked that link that did a simple HTTP GET.
Or for your specific example, imagine the recipient is passing their manager in the hallway: “hey, can we chat about the Acme Corp email, I’ve got some questions about it”. Response: “sorry, super busy. It’s a fairly common ask, just get it done!”
You ask your boss if he sent the link to the portal, he confirms, they change the link to a phishing site.
Sure, it can easily fail (“did you really want me to wire money to Cyprus?”), just as any phishing email can. But by bypassing the initial phishing filters of the recipient’s awareness, I could see it having a higher success rate than a cold phish that leads immediately with the scam.
No evidence or knowledge either way, just a hunch.
The attacker could even add something like that: "I am currently on a trip. If you are unsure call me on my private mobile phone number..." and then respond with a faked voice. I think a good way of reaching targets would be a "double" forward. So the sender assumes the role of an employee forwarding the email of a manager to an administration adjacent employee. This employee unsuspectingly forwards the seemingly harmless mail (that seems to be forwarded from the manager) again for a reason like birthday wishes or sick notice. This will make it hard for the actual target to understand where the email originally comes from.
Beside that one can easily think up more creative ways to use this "feature". E.g. letting unsuspecting persons forward problematic content and then blackmail them etc.
Yes. It's more of the opposite. It's a well documented fact that the most obvious/ridiculous scams work the best, because they help select the most gullible potential victims.
https://www.microsoft.com/en-us/research/publication/why-do-...
The underlying issue is still there, they've just distracted from it by putting this in and having the reader go "hang on a second". They should have used a situation that was more believable, but also concentrated more on requests where the target likely wouldn't even seek confirmation.
I remember even Google had fallen prey to such a scam where they were paying somebody even though no work was done. Admittedly, that case involved fictitious invoices. However, the principle remains the same.
That's why it's still in use today. It works, but takes a lot of "cold calling" via phishing to find targets.
Also office drones are probable targets. They won't want to waste important peoples time asking for confirmation.
However something a little more subtle such as swapping out a routing number from a legitimate to an illegitimate one could be done and that seems harder to catch especially if the person who forwarded it to you is supposed to verify it first.
The fact that we haven't adopted something much simpler to just be able to express italics or whatever, like markdown, is just bonkers to me. It just shows how little anyone cares about actually improving the situation. And all just to cater to the bizarre corporate need to put logos and banners everything. HTML email is just ridiculous.
Sounds like you want text/enriched [1], which was published in (checks notes) 1996 and has read support in likely every email client ever.
Sure it wouldn't be good for marketing emails with the super advanced HTML but I don't think anyone should care about this use-case.
I’m a huge fan of MD either way ;) I’ve built entire large sites where raw content is stored in MD (along with a MD WYSIWYG) and then the MD is converted to HTML. I’ve found it’s easier and more reliable to parse MD vs HTML, unless of course you’re using a block editor or something more structured.
That’s not enough, because you also have to restrict what attributes they may carry (inline styles, event handlers), the type of meta tags and image formats, and so on.
But in any case, such a restricted subset was what I was already presuming in my comment.
You just ignore them.
Ironically references an article called "Why HTML is Inappropriate for E-Mail" (http://www.avernus.com/~gadams/essays/20020418-html-mail.htm...) posted way back in 2002 apparently.
We're just walking around in circles after all...
It was clear from the start that using HTML in email was a bad idea.
But no, we had to fight the great evil of rich text which left vendors, MS in the forefront, to their own means to fulfill the strong and justified user demand, with predictable outcome.
> For any markup that is not covered by Markdown’s syntax, you simply use HTML itself. There’s no need to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags.
> If you want, you can even use HTML tags instead of Markdown formatting; e.g. if you’d prefer to use HTML <a> or <img> tags instead of Markdown’s link or image syntax, go right ahead.
Markdown was not really intended as standalone markup format, instead it was more just a tool for authoring HTML
> Markdown’s syntax is intended for one purpose: to be used as a format for writing for the web.
(Seriously though, this is a fascinating exploit)
Usually the default/desktop styles are already compiled and inlined, then a style tag with media query selectors is used in the `head` to improve readability for mobile devices.
I agree with others that emails should just be plain text. It has never bothered me or anyone else I've known to just have plain text and a link that sends them to an actual webpage if HTML is absolutely necessary.
Also, killing all style attributes would also kill mobile optimization and dark mode as well, since you cannot inline media queries.
Premise: CSS in HTML email allows some text to be visible only after the message is forwarded. This is a huge threat to the trustworthiness of verified email! Examples given in Thunderbird, Outlook, Gmail. Excellent work.
I read all mail in mutt, so this is officially "someone else's problem".
...
Consequently, I'll complain about something else:
> This issue was reported to Mozilla on 05.03.2024. The planned release date and a draft of the following section were communicated to Mozilla on 20.03.2024.
I agree that little-endian dates make more sense than US-style middle-endian dates.
But I will assert that any technologist who does not use ISO 8601 date formatting (2024-03-05, with or without hyphens), is doing it wrong. :)
Side note: Military format 12MAR24 seems both concise and unbiguous but most people understandably find that unusual (just like ISO dates)
But the convenience of ISO 8601 for electronic form is compelling, and it has slipped into my writing as well.
Also, tell me: what date is 10SKÁ11? Or 01DU02?
Furthermore, a lexicographic sort will do the wrong thing.
Better stick with ISO 8601.
Of course it lacks many advantages of ISO8601 like sorting correctly in alphabetical sorting or working across languages, but it's a huge step up from 3/12/24.
But of course for full context, Americans say "March 5th, 2024", yielding "3/5/24" or similar atrocities.
I'm a big fan of ISO 8601. They got this one right. It's clear, non-preferential, and (critically) it sorts lexically with expected results!
For spoken communication you could even extend it to "Anno Domini 2024 March 5th", following the common pattern in spoken language of adding somewhat redundant filler to indicate something worth paying attention to is coming up.
Gregorian Anno Domini 2024 March 5th. :)
Because you're falsely equating "important" and "significant". It's not about little endian vs big endian, which is all about magnitudes. Most of the time, the year is implicit (i.e., this year, or perhaps next year but that will be inferred from the month). Rolling over months happens quite often, rolling over years is rare. And in cases where the month really doesn't matter, it'll be dropped: "see you on the 5th!"
That said, I personally dislike both MM-DD-YYYY and DD-MM-YYYY. Mon DD, YYYY is fine. YYYY-MM-DD (ISO8601) is fine (and to be preferred when naming files or in any other context where you'll be seeing lots of dates at once).
[edit] The solution was "allow-popups-to-escape-sandbox", so I see no reason it would not work.
HTML in general is susceptible to these very concerns. Plenty of emails exist that use HTML without incident. This reads as one user’s frustration with something in the wild that is dressed as a security issue.
- warn prominently on hidden elements
- randomize the number of enclosing div, on both incoming and outgoing
- compute what the forwarded message would look like on forwarding, ask for confirmation if differs significantly. Or do the opposite (probably more effective since doesn't require other clients to help)
This article presents an attack vector unique to HTML emails, but most attacks over email can be easily adapted to work over WhatsApp, Slack, Jira, Zoom, or whatever else people use to communicate with the outside world.
It is really amazing how problematic all of this is, despite its widespread use. The HTML mail spec is really old, and contains almost no security considerations.
HTML in emails can only be a subset of HTML to be secure. But nobody has ever defined what exactly that subset is, so everyone does whatever they think. And unsurprisingly, this leads to an endless stream of security flaws.
See: https://blog.hboeck.de/archives/894-Efail-HTML-Mails-have-no...
When you send HTML emails, the font is chosen by the sender, which normally is fine, but some people prefer to use dyslexic-friendly fonts (e.g. OpenDyslexic or Comic Sans) to read their email, and I don't want my message to be artificially more difficult to read.
Since most emails really don't need elaborate formatting, I'm not 100% sure why this isn't the default.
In general, anything you are going to sign has to be in a simple enough format to make it so that the sender and the receiver(s) can actually determine what is signed. HTML should automatically be considered unsigned. It simply is not suitable for the purpose.
There's zero reason why you can't render an email the same way you can as a regular page (minus JavaScript).
Out of curiosity, is anybody working on this? It seems like a standard could be produced w/ relative ease to make it easier on vendors. Imagine somebody has at least proposed the idea before...
oh, that's sneaky. Would "plain" old rtf have been a better choice for formatted emails since that CSS complexity isn't much needed outside of spam marketing :) Why has that been surpassed by HTML&CSS
Another good example are group chats where some recipients see messages inconsistently or in a different order than others. It can happen due to inconsistent delivery, inconsistent ACLs, or other reasons.
How can people agree on things when they are not looking at the same thing? And people assume that everyone sees what they see by default.
Can a board make a decision when not everyone has the same presentation of facts?
Remember when you judged someone for asking a stupid question when the answer was just posted a moment ago? How do you know they even received it?
If we style the kobold letter as an overlay, we can not only affect the forwarded email, but also (for example) replace any comments your manager might have had on the original mail, opening up even more opportunities for phishing.
clever doesn't even begin to adequately describe.tangentially and anecdotally, it's only occurred to me fairly recently, like within the past year or so, to configure all my mail clients, including both desktop and mobile Outlook (and OWA), to not 'automatically download new messages'. this really needs be the default setting.
my guess is you're confused and you think i mean i've disabled mailbox sync or something...? obviously not. i don't know, man, questionable downvote first/clarify second. but you're welcome for the gratuitous privacy tip.
What a load of ramble and bile for a simple question
at least part of my guess was correct i see. you strike as the type to ask lots of 'simple' questions.'bile', lol. what a flowery and poetic insult. thanks.
Wait what, OWA loads emails directly into the same DOM tree as the rest of the app instead of an iFrame?