These invisible characters could be hidden backdoors in your JavaScript code

silversurfer

Super Moderator
Thread author
Verified
Top Poster
Staff Member
Malware Hunter
Forum Veteran
Aug 17, 2014
12,736
123,875
8,399
Could malicious backdoors be hiding in your code, that otherwise appears perfectly clean to the human eye and text editors alike?

A security researcher has shed light on how invisible characters can be snuck into JavaScript code to introduce security risks, like backdoors, into your software.
Security researcher Wolfgang Ettlinger, who is also the Director of Certitude Consulting, surmised "what if a backdoor literally cannot be seen and thus evades detection even from thorough code reviews?" [...]

"The script implements a very simple network health check HTTP endpoint that executes ping -c 1 google.com as well as curl -s http: //example.com and returns whether these commands executed successfully. The optional HTTP parameter timeout limits the command execution time," explains the researcher in his blog post.
 

You may also like...