Oh no, you're thinking, yet another cookie pop-up. Well, sorry, it's the law. We measure how many people read us, and ensure you see relevant ads, by storing cookies on your device. If you're cool with that, hit “Accept all Cookies”. For more info and to customize your settings, hit “Customize Settings”.

Review and manage your consent

Here's an overview of our use of cookies, similar technologies and how to manage them. You can also change your choices at any time, by hitting the “Your Consent Options” link on the site's footer.

Manage Cookie Preferences
  • These cookies are strictly necessary so that you can navigate the site as normal and use all features. Without these cookies we cannot provide you with the service that you expect.

  • These cookies are used to make advertising messages more relevant to you. They perform functions like preventing the same ad from continuously reappearing, ensuring that ads are properly displayed for advertisers, and in some cases selecting advertisements that are based on your interests.

  • These cookies collect information in aggregate form to help us understand how our websites are being used. They allow us to count visits and traffic sources so that we can measure and improve the performance of our sites. If people say no to these cookies, we do not know how many people have visited and we cannot monitor performance.

See also our Cookie policy and Privacy policy.

This article is more than 1 year old

Watch: Nasty JPEG pops corporate locks on Windows boxes

Bad validation leads to total pwnage, hacker shows

Vid Penetration tester Marcus Murray says attackers can use malicious JPEGs to pop modern Windows servers, to gain expanded privileges over networks.

In a live hack set down for RSA San Francisco this week, the TrueSec boffin shows how he used the hack to access an unnamed US Government agency that ran a buggy photo upload portal.

A key part of the stunt is achieved by inserting active content into the attributes of a jpg image, such that the file name read image.jpg.aspx. “I'm going to try to compromise the web server, then go for back end resources, and ultimately compromise a domain controller,” Murray said, adding the hack is not that difficult.

“Even in mixed environments, when you own the domain controller you usually own the entire infrastructure of that company and that is true because they have Linux server you usually use Windows clients for connect to them.

“From this point (compromising the domain controller) we can do anything; we can upload domain admin tools, and manage it like it was our own.”

Some uploading portals so weak, he says, malicious dynamic content will be accepted merely because it carries a .jpg extension. The service on Murray's government client, however, validated the guts of images (ensuing an image is actually an image), but not the file extension types.

Uploaded into a server and previewed, these files display as the text that has been inserted into image comment fields rather than the expected picture.

Murray used this to upload a remote access trojan created using Metasploit and used various tools and compilers that exist in modern Windows servers to pull off the rest of the attack.

Full step-by-step details of his hack is available in a recorded video. ®

Similar topics

TIP US OFF

Send us news


Other stories you might like