Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open Source Tool Unredacter restores text that has been pixelated
#1
Information 
Quote:Unredacter is an open source tool that is designed to restore text that has been pixelated. Sharing screenshots and other images is done with the press of a button on today's devices. Users who want to protect information on these images may use various techniques to do so. One common option when it comes to textual information is to use an image editor to pixelate the data.

[Image: pixelate-text.webp]

The effectiveness of the manipulation of the image depends entirely on the selected algorithm. Tools to unpixel pixelated content in images have been around for some time, and security researchers have pointed out that pixelation is particularly weak when it comes to that.

Unredacter was created by security researcher Dan Petro as a response to a challenge to reveal pixelated text published on the Jumpsec blog. The researcher's tool was successful in de-obfuscating the posted pixelated text.

The open source tool has been published on GitHub. It is not an executable file and requires some manual adjustments for each image with pixelated information to work properly.

First step is to download the project to the local system. The source image needs to be edited so that only the pixelated part remains. Then, it is necessary to change the block size in the code and change the CSS as well to match the source text and to select a character set.
  1. Crop your image down to just the pixelated area. No borders, no other text. Replace secret.png with that. I recommend doing it in GiMP.
  2. Make note of the block size. (It's just size of each pixelated block) Replace blockSize in the code with that.
  3. Get the CSS just right. This is the hardest and most time-consuming part. Try entering it into test.html and view it in Chrome. Tweak it until you can replicate some sample text as exactly as possible. Pay particular attention to the word and letter spacing. If it skews, then it'll all mess up. Also the font-weight, or else things will end up too light or dark. I can't emphasize enough how critical this step is, as the whole thing really depends on being able to correctly replicate the redacted characters.
  4. Determine what character set you want to try. It's at the top of preload.ts.
  5. Press the go button and see if it works!
It is quite tedious to get it right, but someone could turn the tool into a full-fledged application to make it more user-friendly and less time consuming.

For users, it is essential that pixelation is not used anymore when it comes to obfuscating parts of text. Common options include deleting the information entirely or painting over the part using a solid color.

Now You: have you pixelated text in the past?
...
Continue Reading
[-] The following 1 user says Thank You to harlan4096 for this post:
  • ismail
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
AWZ Screen Recorder
AWZ Screen Recorder ...zevish — 11:05
Website X5 Go 2024.1
Website X5 Go 2024.1...zevish — 09:32
Apple's rules to allow third-party app ...
Apple has announ...alison30 — 09:28
Intel: Microsoft AI PCs need a Copilot K...
Microsoft hopes th...harlan4096 — 08:55
Synchredible 8 Professional Edition v8.2...
          Synchredib...zevish — 08:54

[-]
Birthdays
Today's Birthdays
No birthdays today.
Upcoming Birthdays
No upcoming birthdays.

[-]
Online Staff
jasonX's profile jasonX
Administrator

>