Playing with file extensions in Windows. How to make “.exe” look like “.txt” – Digitalmunition




Home Forums Playing with file extensions in Windows. How to make “.exe” look like “.txt”

This topic contains 0 replies, has 1 voice, and was last updated by  BrianMiz 7 months, 3 weeks ago.

  • Author
    Posts
  • #168498

    BrianMiz
    Member

    Lets say we have an “evil.bat”. Any capable user won’t be clicking on that!

    You can use the special character “Right to Left Override” (U+202E) in the middle of the filename to hide the extension.

    Type: “notevil.” Then add the special character, then for example type “cod.bat” which is shown as tab.doc due to the Right to Left overrride.
    The resulting filename would be: Notevil‭.‭‮cod.bat

    but it would be opened as notevil.cod.bat (try selecting the notevil.tab.doc!)

    Please not that Windows Defender on the latest patch on Windows 10 does notice this and flags it as a virus. Most other vendors do not.

    Image:
    https://i.imgur.com/HETc5k7.jpg

You must be logged in to reply to this topic.