New proof-of-concept tool detects stealthy malware hiding in graphics cards

Which is scarier: The fact that malware can get cozy in your hardware, or the fact that it was completely undetectable until now?

As anti-virus solutions become more robust and Microsoft becomes better at plugging Windows vulnerabilities, malware designers have to get more creative about attacking PCs and servers. One wide-open avenue of attack: hardware components like graphics and network cards. Yes, you read that right.

Security software isn't necessarily looking for malware lurking within peripherals, opening the door for Bad Guys to stash nasty code in your killer, pixel-pumping Radeon or GeForce graphics card. But fear not! Berlin-based researcher Patrick Stewin says he has figured out a way to detect this tricky malware without taxing the CPU, according to SC Magazine Australia.

Peripheral-based malware is particularly difficult to detect, because it doesn't have to rely on a weakness in your computer's operating system, according to Stewin. Instead, it takes advantage of the processing power already present in peripherals like graphics cards that may not be expecting an attack.

Graphics cards, sound cards, and other PC components can process data using direct memory access (DMA). Instead waiting to receive data processing via a PC's CPU, a graphics card can bypass the CPU to access and process graphical data directly from memory.

DMA helps make a PC work faster and reduces the load on the CPU. But it also means that a properly designed bit of malware can get in through a data-crunching peripheral. Once infected, DMA attacks can do all sorts of damage, such as copying encryption keys or installing other types of malware for identity theft, though the odds of being infected by this advanced type of malware are admittedly slim.

Comparing notes

Stewin's solution--dubbed BARM--deals with DMA attacks by keeping tabs on what a system is supposed to be doing and comparing that to what the PC actually is doing.

Stewin took a piece of DMA malware called DAGGER (which SC Magazine says was created by Stewin and another security researcher) and inserted it into a PC. Then Stewin used BARM to monitor the data flowing through the PC's memory system.

By analyzing what the computer should be doing based on what the user was asking of it, then comparing that activity to the data that was actually running through the PC's memory, Stewin could scan for anomalies that could be malware.

At this point, BARM is only a proof-of-concept piece of software. And it's easy to imagine software like this setting off false positives if BARM's expectations for what your PC should be doing are incorrect. Nevertheless, the hope is that BARM could one day constantly monitor a PC for DMA-based attacks without taking a big bite out of the computer's processing power.

Stewin's work will be presented during the International Symposium on Research in Attacks, Intrusions and Defenses in October.

Join the CSO newsletter!

Error: Please check your email address.

Tags Microsoftsecuritygraphics card

More about DMAMicrosoft

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Ian Paul

Latest Videos

  • 150x50

    CSO Webinar: Will your data protection strategy be enough when disaster strikes?

    Speakers: - Paul O’Connor, Engagement leader - Performance Audit Group, Victorian Auditor-General’s Office (VAGO) - Nigel Phair, Managing Director, Centre for Internet Safety - Joshua Stenhouse, Technical Evangelist, Zerto - Anthony Caruana, CSO MC & Moderator

    Play Video

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

More videos

Blog Posts

Market Place