Unicode has a special character, U+202e, that tells computers to display the text that follows it in right-to-left order; this facility is used to write text in Arabic, Hebrew, and other right-to-left scripts. However, this can (and is) also used by malware creeps to disguise the names of the files they attach to their phishing emails. For example, the file "CORP_INVOICE_08.14.2011_Pr.phylexe.doc" is actually "CORP_INVOICE_08.14.2011_Pr.phyldoc.exe" (an executable file!) with a U+202e placed just before "doc."
This is apparently an old attack, but I've never seen it, and it's a really interesting example of the unintended consequences that arise when small, reasonable changes are introduced into complex systems like type-display technology.
Some email applications and services that block executable files from being included in messages also block .exe programs that are obfuscated with this technique, albeit occasionally with interesting results. I copied the program that powers the Windows command prompt (cmd.exe) and successfully renamed it so that it appears as “evilexe.doc” in Windows. When I tried to attach the file to an outgoing Gmail message, Google sent me the usual warning that it doesn’t allow executable files, but the warning message itself was backwards:
“evil ”cod.exe is an executable file. For security reasons, Gmail does not allow you to send “this type of file.
Unfortunately, many mail applications don’t or can’t reliably scan archived and zipped documents, and according to Commtouch and others, the malicious files manipulated in this way are indeed being spammed out within zip archives.
(via Command Line)
‘Right-to-Left Override’ Aids Email Attacks [krebsonsecurity.com]
I write books. My latest is a YA science fiction novel called Homeland (it's the sequel to Little Brother). More books: Rapture of the Nerds (a novel, with Charlie Stross); With a Little Help (short stories); and The Great Big Beautiful Tomorrow (novella and nonfic). I speak all over the place and I tweet and tumble, too.
MORE: malware • security • spam • typography • web theory
More at Boing Boing
-
Draxlith
-
CharredBarn
-
http://www.lightning-rose.com/ LightningRose
-
Jonathan Badger
-
http://mengbomin.wordpress.com/ Meng Bomin
-
tziup
-
-
sndr
-
Jerril
-
Dewi Morgan
-
sndr
-
-
tziup
-
sndr
-
tziup
-
-
-
http://pineappledonut.org Lachlan Musicman
-
-
Larry Balzary
-
Petzl
-
kevinv
-
-
Paul Renault
-
http://www.disoriented.net/ angusm
-
digi_owl
-
Jorpho
-
-
Ed Frome
-
kevinv
-
-
SamSam
-
drmacro
-
Dewi Morgan
-
librtee_dot_com
-
Antinous / Moderator
-
johndberry
-
phisrow
-
-
http://pineappledonut.org Lachlan Musicman
-
http://pineappledonut.org Lachlan Musicman
-
http://pineappledonut.org Lachlan Musicman











