> For the complete documentation index, see [llms.txt](https://hackzzz.gitbook.io/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hackzzz.gitbook.io/welcome/everything-about-and-notes/social-engineering/windows-malware/creating-trojans/spoofing-file-extensions.md).

# Spoofing file extensions

* To spoof the file extension of a file lookup for the Unicode of **right-to-left** char.

{% embed url="<https://unicode-explorer.com/c/202E>" %}

* Once you copy it paste it before on the extensions you write in backwards to make the file name look like in the image below.

<figure><img src="/files/FsaCMUPyzJqONk68tlXe" alt=""><figcaption></figcaption></figure>

* Some browsers will detect the right-to-left, and it will URL encode it.
* To solve this problem, compress the file with a similar name of the original file, so now you can pass the link to the victim, and it will not be so suspicious.
