+44 (0)203 88 020 88

Menu

Search

Cyber Security News & Articles

 

Cyber Security
News & Articles

Trusted Cyber Security Experts
25+ Years Industry Experience
Ethical, Professional & Pragmatic

What is a Trojan Source attack?

Trojan Source is a new kind of source code and supply chain attack that causes the source code reviewed by a human to be different from the actual software generated by the compiler – meaning the behaviour of the software will not match what the source code appears to say.

In 2000, a phishing attack was launched that targeted PayPal customers, sending them to a website that was registered at the domain paypaI (that final character is an upper case i, not a lower case L).  This was the first widespread homoglyph attack – using characters that look similar to humans in order to trick them.  The introduction of Unicode characters into domain names with the arrival of Internationalised Domain Names in 2010 further expanded the opportunity for confusion.  Domain names could contain letters that look identical to humans but were really different to the computer (such as the lower case a in Cyrillic and Latin character sets).

Trojan Source is a further development of this style of attack – it makes the source code read on the screen by a human significantly different from the binary code created by a compiler through the use of Unicode control characters.

Unicode includes a number of control characters that instruct the display renderer how to display the character that follow. This can include the switch from a Right-To-Left reading to a Left-To-Right reading – effectively reversing the flow of the text.  It is somewhat analogous to the hidden control characters that turn on and off bold or italic text within a word processor document.

By careful combining these Unicode control character it is possible to reflow and reformat the source code as seen in a text editor in order to change the apparent flow and logic of the program, while the compiler ignores the control characters.  As a result, a human source code review would not see the true flow of the software.

This is a particular concern as a vector for supply chain attack in open source projects as it could be possible for a malicious update to the source code to hide its true behaviour by using the Trojan Source techniques.

These techniques were discovered by a pair of researchers at the University of Cambridge and they detail their findings in a paper which includes several examples for different programming languages.

 

 

Subscribe to our monthly newsletter today

If you’d like to stay up-to-date with the latest cyber security news and articles from our technical team, you can sign up to our monthly newsletter. 

We hate spam as much as you do, so we promise not to bombard you with emails. We’ll send you a single, curated email each month that contains all of our cyber security news and articles for that month.

Why Choose SecureTeam?

CREST
CCS
ISO9001
ISO27001
CE-PLUS

Customer Testimonials

“We were very impressed with the service, I will say, the vulnerability found was one our previous organisation had not picked up, which does make you wonder if anything else was missed.”

Aim Ltd Chief Technology Officer (CTO)

"Within a very tight timescale, SecureTeam managed to deliver a highly professional service efficiently. The team helped the process with regular updates and escalation where necessary. Would highly recommend"

IoT Solutions Group Limited Chief Technology Officer (CTO) & Founder

“First class service as ever. We learn something new each year! Thank you to all your team.”

Royal Haskoning DHV Service Delivery Manager

“We’ve worked with SecureTeam for a few years to conduct our testing. The team make it easy to deal with them; they are attentive and explain detailed reports in a jargon-free way that allows the less technical people to understand. I wouldn’t work with anyone else for our cyber security.”

Capital Asset Management Head of Operations

“SecureTeam provided Derbyshire's Education Data Hub with an approachable and professional service to ensure our schools were able to successfully certify for Cyber Essentials. The team provided a smooth end-to-end service and were always on hand to offer advice when necessary.”

Derbyshire County Council Team Manager Education Data Hub

“A very efficient, professional, and friendly delivery of our testing and the results. You delivered exactly what we asked for in the timeframe we needed it, while maintaining quality and integrity. A great job, done well.”

AMX Solutions IT Project Officer

“We were very pleased with the work and report provided. It was easy to translate the provided details into some actionable tasks on our end so that was great. We always appreciate the ongoing support.”

Innovez Ltd Support Officer

Get in touch today

If you’d like to see how SecureTeam can take your cybersecurity posture to the next level, we’d love to hear from you, learn about your requirements and then send you a free quotation for our services.

Our customers love our fast-turnaround, “no-nonsense” quotations – not to mention that we hate high-pressure sales tactics as much as you do.

We know that every organisation is unique, so our detailed scoping process ensures that we provide you with an accurate quotation for our services, which we trust you’ll find highly competitive.

Get in touch with us today and a member of our team will be in touch to provide you with a quotation. 

0

No products in the basket.

No products in the basket.