Hide a message in plain sight with zero-width characters

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Hide a message in plain sight with zero-width characters

Post by Tenaja »

Regretfully, I do not have time to convert (or use) this now, but this seems like the kind of tip that has been sought after and/or enjoyed here.

The premise is to encode a message into 0's and 1's, and insert zero-width characters (i.e. non displaying) into text.

https://hackaday.com/2018/04/15/hide-se ... haracters/
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Hide a message in plain sight with zero-width characters

Post by wilbert »

It seems to work fine and it looks like PB leaves those zero-width characters untouched.
Windows (x64)
Raspberry Pi OS (Arm64)
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Hide a message in plain sight with zero-width characters

Post by walbus »

The newest are special fonts, into which smallest changes are inserted.
This method is extremely robust and also works on paper prints.
Without the appropriate OCR and font, the data cannot be extracted.

The use of invisible characters offers virtually no protection and is immediately noticeable in a text analysis.
The possibilities are also so severely limited that it is no more suitable than for theoretical consideration.
jack
Addict
Addict
Posts: 1336
Joined: Fri Apr 25, 2003 11:10 pm

Re: Hide a message in plain sight with zero-width characters

Post by jack »

walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Hide a message in plain sight with zero-width characters

Post by walbus »

Yep, correct !
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Hide a message in plain sight with zero-width characters

Post by Dude »

FontCode is just a Bacon cipher. Not sure why it's suddenly "news" at the moment, since Bacon's cipher has existed since 1605.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Hide a message in plain sight with zero-width characters

Post by walbus »

The approach is completely different
You can evaluate a bacon cipher with a table, a pencil and a sheet of paper.
For the new approach you need the font and an AI
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Hide a message in plain sight with zero-width characters

Post by Dude »

walbus wrote:For the new approach you need the font and an AI
That's only because this updated Bacon concept uses tiny font variances instead of obvious differences. Won't be hard to crack. Just needs an OCR app to look at every character and see if they differ, even by one pixel. If they do, then it's obvious a Bacon cipher in use.

Note: These are not just my thoughts; other people on the internet have echoed what I said.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Hide a message in plain sight with zero-width characters

Post by walbus »

You guys think it's too trivial.
The first thing is to hide it from the human eye.
Then it's about transferring the message from a to b unnoticed.
You also cannot analyze such text with any OCR app.

Such a message will always be additionally (AES) encrypted.
A change refers then to the complete text, not to a part of a text.

It can then no longer be proven whether a text has hidden content.
You can assume it after a special analysis, but you can never prove it.
You need a special analysis tool to determine if there are any conspicuities in the text.
But your analysis will never yield more than noise.

Without the corresponding special software it is impossible to decrypt this.

If people develop something like that with a lot of effort,
it's not expected to be useless three hundred year old know-how,
that would make absolutely no sense, I guess.
Post Reply