[Full-disclosure] UTF reverse-writing WYSINWG "feature"
HASEGAWA Yosuke
yosuke.hasegawa at gmail.com
Fri Aug 31 02:21:26 BST 2007
Hi.
On 8/28/07, Tonu Samuel <tonu at jes.ee> wrote:
> But by concerns are related to security. For example even looking title
> of this digg.com page with Firefox or Konqueror and you see that browser
> name is reversed! I looked into source code with Firefox and lot of
> things are reversed too!
In Japan, this trick -- Visual camouflage usgin
Unicode Bidi -- is already known since 2005.
By including RLO(U+202E) in the a file name, Visual spoofing
of the extension is possible.
For example, create a file named such as:
"this-(U+202E)txt.exe"
And when this file is indicated over theExplorer.exe,
it is visible in "this-exe.txt", like as a TEXT file.
Although this file is visible to txt file seemingly, but, of
course, it operates as exe file.
Here is the sample image on Japanese edition of Windows.
<http://openmya.hacker.jp/hasegawa/public/20061209/momiji9.png>
In Japan, it is already said that the malware which used this
trick is distributed through a Winny the most famous P2P
software in Japan - network.
Execution of malware by this trick can be prevented by
restricting execution of the file which contains RLO in
a filename,using group (or local) policy.
--
HASEGAWA Yosuke
yosuke.hasegawa at gmail.com
Full-Disclosure is hosted and sponsored by Secunia.