david wood microsoft malware protection center, australia [email protected]

32
The Skype is No Longer the Limit David Wood Microsoft Malware Protection Center, Australia [email protected] New Ways Malware Keeps In Touch With Your Friends

Upload: bella-borell

Post on 14-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

The Skype is No Longer the Limit

David WoodMicrosoft Malware Protection Center, [email protected]

New Ways Malware Keeps In Touch With Your Friends

Page 2: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

OverviewWhy Skype and Twitter are attractive to malware writersDemonstrationSkype and Twitter malwareSecurity

Page 3: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Skype & Twitter are Popular

Skype – In the first half of 2010At peak times 23 million users online6.4 billion min of calls to mobiles & landlines88.4 billion min of Skype-to-Skype calls40 % of these are video calls

Twitter – in September 2010145 million registered users 90 million tweets per day1 billion tweets via SMS per month (April 2010)300 000 third party applications

Page 4: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Potential Gain

Personal InformationConversation historiesList of contactsPhone numbersSkype accounts may have monetary value

Could be used for calls or SMS

Page 5: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Social Engineering

Messages appear like they are from trusted sourcesTwitter status updates are short

Messages don’t contain much detailAddresses obfuscated by URL shorteners

Possibility of appearing in the context of an existing Skype text chat

Page 6: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Search public tweets Trending topic informationStatus updatesListsDirect messagesAdd/remove followersEdit Profile

FavoritesDevice notificationsLocation informationBlock/unblock usersReport spam

Comprehensive APIs - Twitterhttp://apiwiki.twitter.com/Twitter-API-Documentation

Page 7: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Twitter Third Party Applications

Communicate with Twitter using HTTP requests

eg Show whether @bob follows @alicehttp://api.twitter.com/1/friendships/show.xml?source_screen_name=alice&target_screen_name=bob

Need to authenticate the user whenReading non-publicly available informationUpdating informationDestroying information

Page 8: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Comprehensive APIs – Skype

http://www.skype.com/resources/public_api_ref.zipUser informationContact informationVoice and video callsInput/output sourceText chatsManage contactsContact groupsSMSCall forwarding

VoicemailCustom menu itemsCommunication between remote applicationsFile transfer windowsKeyboard eventsLogs and historiesWindow focusSilent Mode

Page 9: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Skype Third Party ApplicationsSkypeControlAPIDiscov

er

Skype Client User

Request

Allow/DenySkypeControlAPIAtta

ch

WM_COPYDATA“Search Friends”

WM_COPYDATA“USERS echo123, bob”

SkypeControlAPIAttach

Third Party App

Page 10: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Skype ToolsWrappers

Skype4COM, Skype4Py, Skype4JavaTracer.exe

http://developer.skype.com/resources/Tracer.exe

Page 11: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Demonstration

Page 12: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Get Access to Skype

Page 13: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Happy Birthday!

Page 14: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Happy Birthday!

Page 15: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Adding a Menu Item

Page 16: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Adding a Menu Item

Page 17: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Silent Mode

Disables visible display of calls, messages, and other events

Page 18: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Change the Audio Input Source

Page 19: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Remote Applications

Page 20: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Remote ApplicationsLocal Remote

Page 21: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Malware’s use of Skype

ThreatSpread

Spam

Steal Info

Skype4COM

Skype API

Keyboard/ Mouse Events

Hook Windows APIs

VBS/Skypams

Latchiwire

PeskySpy

Pushbot

Pykspa

Rimecud

Slenfbot

Sohanad

Spector

Stration

Payload Method of Accessing Skype

Page 22: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Malware’s use of Twitter

ThreatSpread

Steal Auth Token

Command & Control

XSS Vuln

Twitter API

Paste to Window

Steal Auth Token

JS/Twitime

JS/Twitini

JS/Twooken

MSIL/Twooeebot

Win32/Koobface

Win32/Pykspa

Win32/Svelta

Win32/Worksud

Payload Method of Accessing Twitter

Page 23: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Skype Malware Example

Spammer:VBS/Skypams

Page 24: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Worm:Win32/Pykspa

Automatically dismiss “Allow Access” dialog

Enumerate windows searching for tskAclFormSpams localized messages

Queries client for preferred languageCollects information – user & public contacts

Name, gender, DOB, location, phone numbers, online status, video capabilities, mood textPSTN account balance, chat history, current calls

Page 25: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Worm:Win32/Pykspa cont’d

Hang up current callsChange online statusTransfers filesUse API strings later supplied by backdoor’s controllerSpreads via Twitter

Searches for open windows with title containing TwitterSends messages supplied by backdoor’s controller

Page 26: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

New Functionality for Old Families

Win32/Slenfbot and Win32/PushbotRecently added Skype spreadingUses only keyboard and mouse events, and not the Skype APIsSame approach as for instant messaging programs

Win32/KoobfaceTwitter spreadingExtracts authenticity token from cookieSame approach as for social networking sites

Page 27: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Twitter Malware - Win32/Svelta

Uses Twitter for command and controlGets timeline from malicious accountBase 64 encoded URLs for other componentsaHR0cDovL2JpdC5seS9MT2ZSTyBodHRwOi8vYml0Lmx5L0ltZ2“http://bit.ly/LO*** http://bit.ly/Im***”

Accounts usually suspended quickly

Page 28: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Twitter Malware - JS/Twitini

Gets trending data for previous weekhttp://search.twitter.com/trends/weekly.json?

callback=c&exclude=hashtagsUses algorithm to generate a domain

Current dateFirst letter of previous day’s top trending topic

Authors register the same domain Script can download malware from there

Page 29: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Skype Security

Strong encryption for Internet component of communication

256 bit AES with 1024 bit RSA for key negotiation

Non-clickable links in contact requestsGreyed out OK button for Silent Mode dialogUser Guidelines

Page 30: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Twitter Security

Deprecation of HTTP Basic Authentication

Oauth used for authenticationRate LimitingPIN for SMS status updateURL Shortening service – t.co

Blocks known malicious linksMay re-expand URLs

Spam, phishing and malware tracking systems

Page 31: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Conclusions

Skype and Twitter are an attractive target for malwareDifficult for Skype or Twitter to completely protect against actions of an infected systemBoth have taken steps to mitigate certain techniques, but malware writers work around theseUsers need to be vigilant

Page 32: David Wood Microsoft Malware Protection Center, Australia david.wood@microsoft.com

Any Questions?

[email protected]