Categories: Security

WhatsApp profile picture: a risky feature? In the mind of a hacker

In this post I’ll show you how an apparently insignificant information on Whatsapp could be used by hackers in a more dangerous targeted attack.

When you add a random phone number to your contact list, WhatsApp will show you the profile picture of that user. Given the fact that you don’t know that person, there shouldn’t be any inherent risk with that feature. Am I right?

If you think that I am, please read the following story.

Selling a used television

Imagine that you are browsing a classified ads site, and you come up with an ad in which someone called Bob is selling a nice 52″ smart TV, with little use and ready to have a new owner by just $1,000. The ad includes a phone number, that can be used to contact Bob in order to get further information or close the deal.

At this time, we have got very interesting information about our victim. He is Bob, we know his phone number, where he is based, and that he’ll be expecting people contacting him about his used TV.

Right, this has just started.

Facebook time

It’s time to know who Bob is.

The first step is to add his phone number to our contact list: this way, his nice picture will pop up. Now, with the name, the picture and the city where he lives, we can quickly find his Facebook profile by performing a couple of searches and going through the results.

Yes, we found him.

The public profile doesn’t say much about him, but it’s adding one additional detail: where he studied. That is more than enough to get access to his private profile. We create one fake profile appearing to be someone that studied in the same college and withing the same time period. Wouldn’t you be accepting a friend request that might be an old mate?

Bob does.

Getting into the circle of trust

Now we have access to Bob’s friends list, which means that we can have a pretty good understanding of his social and professional environment.

We quickly discover that he works for a consumer business corporation as Assistant Manager in the Accounting department. Sounds interesting, but let’s leave it there for now.

Please notice that, beyond professional details, his circle of trust also becomes readily available to us. This circle might include best friends, relatives, professional mates, and perhaps some old friends with whom he hasn’t been in contact for a long time.

We are interested in the latter group. How can we find that particular profile? Easy task. Just browse Bob’s news feed, and see who hasn’t been really active with regards to his posts in the last few months. Or perhaps find that guy that just reply from time to time with messages promising to meet at the earliest opportunity.

Yeah, this guy will be very helpful.

Guess why?

Yes, you are right, that old friend will not be friendly anymore.

Impersonating an old friend

As you might have guessed, it’s the time to impersonate John, who is the one looking to fit in our target profile. We just have to pick up some random details about his relationship with Bob, in order to build a credible message when we impersonate him.

What are our weapons? References to past events, other friends, news that might be relevant to Bob, topics he is interested in, products or brands Bob likes, and the like.

We notice that Bob loves roller-coasters. That sounds like a plan: we’ll be sending him a link to a news article describing an accident occurred in one of the most popular roller-coasters in the US.

But the goal is to build a message that Bob will believe to be coming from John. Obviously, it will be coming from us instead. How can we manage to do that then?

Ok, here is the thing: John has changed his phone number since last time he met Bob. However, Bob will trust that he is talking to John for three reasons: we know things that only someone in his circle of trust could know (what he likes), we have his telephone number (from the ad) and, more importantly, Bob will see John’s profile picture when he reads our WhatsApp message.

Where we got that profile picture from? Yeah, you are right, we downloaded from Bob’s Facebook friends list.

The final stage

Bob will receive a WhatsApp message containing a link referencing relevant news for him from a trusted source.

What would you do if you were Bob’s? I would bet that you’d check it out. The malicious link will trigger a drive-by download that will infect his mobile phone. The malware will be unique, designed for this particular attack, so the antivirus will go unnoticed.

We got it. Now we have access to his e-mails, files and contacts, thus rendering private information readily available for us. And what value has that information? Bob is just someone selling a used TV.

But Bob is more than that. He is an Assistant Manager in the Accounting department of a corporation, so getting access to his mobile phone gives us access to confidential data that he will be exchanging with dozens of collagues every day.

What’s next?

What would you do now? Research e-mails? Download attachments? Trying to browse corporate websites?

I’ll tell you what I would do.

I would send a message from his account to his most frequent contacts. The message would include a malicious link. And most of the recipients would click on it.

Guess why? Yeah, you are right. You have now become Bob.

And the game starts again.

Lessons learned

Bob’s adventure is becoming a frequent story as advanced attacks become more targetted, persistent and sophisticated.

The following lessons can be learnt from it:

  • Cyber attacks are no longer a one-shot task. Cybercriminals take time to accomplish the mission for a given target, spliting the attack into a series of tasks that, seen alone, don’t seem to constitute a significant risk, or even a risk at all.
  • Cyber attacks mimic methods used in the past, but are becoming advanced and sophisticated by combining these methods with new techniques, as well as arranging full-featured campaigns involving multiple actors, increasing chances for success.
  • Mobile is a key threat vector. The popularity of smartphones and social media services, including instant messaging, make it easier for cybercriminals to achieve their goals in a shorter time and in a stealthy manner.

Rafael San Miguel
Senior Manager – Strategic Alliances – EMEA

Rafael San Miguel is an experienced Information Security professional with 10+ years of Information Security background.
He has worked for international companies as Deloitte (consulting), Santander (financial) and Telefónica (telecom), always in positions requiring strong management and engineering skills.
Rafael has taken a leading role in fields as service delivery, business operations, alliances management, business development and project management. He has also performed field work in areas as penetration testing and security systems integration.
Rafael currently works for FireEye as Strategic Alliances Manager in Southern Europe, helping first-class Consulting Firms to become successful cybersecurity partners for their clients.
[adrotate banner=”9″]

 

Pierluigi Paganini

Security Affairs –  (WhatsApp, FireEye)

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

CISA adds Cisco ASA and FTD and CrushFTP VFS flaws to its Known Exploited Vulnerabilities catalog

CISA adds Cisco ASA and FTD and CrushFTP VFS vulnerabilities to its Known Exploited Vulnerabilities…

59 mins ago

CISA adds Microsoft Windows Print Spooler flaw to its Known Exploited Vulnerabilities catalog

U.S. CISA added the Windows Print Spooler flaw CVE-2022-38028 to its Known Exploited Vulnerabilities catalog.…

8 hours ago

DOJ arrested the founders of crypto mixer Samourai for facilitating $2 Billion in illegal transactions

The U.S. Department of Justice (DoJ) announced the arrest of two co-founders of a cryptocurrency mixer…

8 hours ago

Google fixed critical Chrome vulnerability CVE-2024-4058

Google addressed a critical Chrome vulnerability, tracked as CVE-2024-4058, that resides in the ANGLE graphics…

13 hours ago

Nation-state actors exploited two zero-days in ASA and FTD firewalls to breach government networks

Nation-state actor UAT4356 has been exploiting two zero-days in ASA and FTD firewalls since November…

1 day ago

Hackers hijacked the eScan Antivirus update mechanism in malware campaign

A malware campaign has been exploiting the updating mechanism of the eScan antivirus to distribute…

1 day ago

This website uses cookies.