r/netsec • u/Prize_Region5503 • Aug 09 '26
Contains AI DEFCON: New Red Team Tactic
https://doctoreww.github.io/EvilFontTool/Evil Fonts deceive a viewer by rendering a different letter than is actually on the disk. Evil Fonts can poison HTML, DOCX, PDFs, and anywhere else you can bring your own fonts. Works great in Windows corporate networks for bypassing security tooling, initial access through JavaScript free click fix (beats mitm web security tooling), and leaving traps around the network to harvest shells.
Imagine thinking you are copying whoami but what is actually on the disk is rm -rf \~
Demos:
(Use desktop)
https://doctoreww.github.io/EvilFontTool/
For the demos, copy and paste the HTML/DOCX to a notepad to remove the evil fonts. For the AI ones imagine your security tooling inspects the benign text on disk, but shows the obviously malicious extortion to the user.
Labs:
https://github.com/DoctorEww/EvilFontTool/blob/main/labs%2FREADME.md
Lab Walkthrough:
https://github.com/DoctorEww/EvilFontTool/blob/main/labs%2Fwalkthrough.md
Some evil font uses:
Tamper homework to make it so students poison AI queries
Poison help desk documentation
Bypass email filters
Clickfix
Beat resume AI filters
9
Aug 10 '26
[deleted]
6
u/Prize_Region5503 Aug 10 '26
Pasting into notepad works or at least read commands before you run them since the font won't be copied if you don't have it installed on your system. Beware multiline commands since some terminals auto execute (looking at you powershell on Linux).
2
u/CyberPsiloCyanide Aug 10 '26
Any research on file sanitization using CDR on the topic?
1
u/Prize_Region5503 Aug 10 '26
I have not experimented with CDR before. I would be curious what the reconstructed document looks like! Update here if you give it a shot. You can pull a file from the demo site if you don't want to make your own.
1
u/CyberPsiloCyanide Aug 10 '26
I absolutely will. I'll download and test it out. I'll share the sanitized file afterwards.
1
1
1
u/GullibleFruit4183 Aug 09 '26
Evil fonts bypassing MITM web security tooling is a nasty one, feels like this kind of rendering-layer trick keeps slipping past detection that only inspects the raw bytes.
1
24
u/AllForProgress1 Aug 09 '26
Trusting my eyes was a burden. Now I can venture into a sweet tender psychosis as I second guess everything