Hacker News new | ask | show | jobs
by rany_ 910 days ago
The attack still works and it is less obvious than you might expect. For context, an SCR file is a regular executable, treated the same as a .EXE or .COM.

From https://attack.mitre.org/techniques/T1036/002/:

> RTLO is a non-printing Unicode character that causes the text that follows it to be displayed in reverse. For example, a Windows screensaver executable named `March 25 \u202Excod.scr` will display as `March 25 rcs.docx`. A JavaScript file named `photo_high_re\u202Egnp.js` will be displayed as `photo_high_resj.png`

I think the examples are pretty scary if you ask me, but most anti-virus software do warn you when they come across those types of files.

1 comments

Unicode is hell really.
The RTL override is necessary for embedding right-to-left content inside left-to-right text. If you ever want to combine Arabic and English in one sentence, you'll probably want an override in there.

You could use HTML and other formatting tricks to do the same, but this control character is a very valid and useful part of Unicode.

Yes, hell is other people (pun not meant in a culturally divisive way).

Unicode is extremely useful and a great engineering success. My comment was a bit tongue-in-cheek, sorry.

I guess I misunderstood you, apologies!
No need to apologize, my comment really wasn't very clear. Have a nice weekend!