Right-to-Left Override (RLO) Extension Spoofing

Created the Thursday 03 August 2023. Updated 1 month, 3 weeks ago.

The Right-to-Left Override (RLO) character (U+202E) is a Unicode control character used for bidirectional text formatting. It affects the way text is displayed, causing text following the RLO character to be rendered from right to left, which is typically used in languages like Arabic and Hebrew.

However, malicious actors have found a way to exploit this Unicode character to deceive users by using it in file extensions. By strategically placing the RLO character within a file name, they can manipulate the visual appearance of the extension while maintaining its actual content.

For example, consider a file named "invoice.pdf" with the RLO character followed by malicious code: invoice\u202Efdp.exe. When displayed in certain contexts, it may appear as invoiceexe.pdf (hiding the ".exe" extension) instead of the actual "invoice.pdf.exe". This tactic aims to trick users into believing the file is harmless when, in reality, it could be a dangerous executable.

Technique Identifier


Code Snippets


Subscribe to our Newsletter

The information entered into this form is mandatory. It will be subjected to computer processing. It is processed by computer in order to support our users and readers. The recipients of the data will be : contact@unprotect.it.

According to the Data Protection Act of January 6th, 1978, you have at any time, a right of access to and rectification of all of your personal data. If you wish to exercise this right and gain access to your personal data, please write to Thomas Roccia at contact@unprotect.it.

You may also oppose, for legitimate reasons, the processing of your personal data.