Home » GoogleMeetRoulette: Joining random meetings

Google Meet Roulette logo

GoogleMeetRoulette: Joining random meetings

A while ago, I was at a friend’s house and he mentioned he had to join a work meeting. He used Google Meet to join. The WiFi was acting weird and he was not able to follow the discussion. Someone suggested that he could “call in” making a regular phone call. I overheard that and immediately found myself wondering if there was a way to join meetings I had not been invited to.

In today’s world and global market it is common to have teams spread all around the world. Corporations have offices everywhere, customers can be located in other countries, vendors operate overseas, and in general we have a need to communicate with people that are not in the same location as us.

Daily meetings are something many in the tech industry can relate to. And with teams, customers and vendors in different physical locations, it is common to use video calls. Many times, sensitive topics are discussed. Security, architectures, all hands, financial results, roadmap plannings, new features… These are only a few of the confidential topics discussed in video calls.

Google Meet

Google Meet is a re-invention of Google Hangouts with features aimed at businesses. It is part of G-Suite which is a set of services in the cloud. Looking at their website, it is used by many companies including Fortune 500. I can only assume that these companies will use Google Meet to have confidential meetings. Let’s see if we can join them!

I did not focus on the usual way of joining a meeting using the browser and clicking the Google Meet link to join after login in. Instead, I was interested in understanding how the “call in” feature worked as it is a regular phone call and I wanted to know how authentication was handled.

Calling into meetings

If your company uses G-Suite and pays the Enterprise license, in addition to a link, you will be served a phone number and a 4 digit PIN when you create a new meeting in Google Calendar. Anyone can dial the number + PIN to join the meeting in “voice only” mode. This is very handy as it allows attendees to join even if they don’t have internet or don’t want to use it intensively (if you are traveling internationally, for example).

Google Meet information
Google Meet information

Because this is a regular phone call, we can consider the phone number + PIN combination as the secret to authenticate into the meeting. Actually, we can think of the phone number as the username and the PIN as the password (a shared password for all attendees). In other words, If you know a phone number and the 4 digit PIN, you will be able to join that meeting. We got ourselves two targets, finding phone numbers and PINs.

Finding phone numbers

Phone numbers are probably not meant to be a secret but we do need to know the associated number to a meeting in order to be able to join it. Therefore, the first goal is to find a way to locate valid Google Meet phone numbers.

Oldskool wardialing

Back in the day, the first generation of hackers used wardialing to find mainframes, or any other machines connected to the phone line. Wardialing is a technique in which the attacker dials phone numbers massively looking for a machine to respond rather than a person. You can think of that time you dialed a number and started to hear weird beeping noises because you dialed the Fax number on that business card instead of the actual mobile phone.

Popular tools like ToneLoc would detect these machines and log the numbers for later inspection. Nowadays, wardialing can be done more efficiently and cheaper using VOIP services. We can use wardialing to find Google Meet phone numbers as it will always respond the same way, starting with a short 2 seconds sound. Still, this would be very noisy as we would be literally dialing all the numbers in the US. We have to do better.

Guessing

We can try to see if there is a way to guess phone numbers that are assigned to Google Meet. I started by scripting the creation of meetings to generate hundreds of them and scraped the generated phone number. There is a number of things I wanted to find out:

Are phone numbers reused?

Yes, they are. It would be difficult to have unique phone numbers for every meeting created given that phone numbers are limited.

Are phone numbers unique per meeting?

I found that recurring meetings (for example your weekly 1:1 with your manager) have always the same phone number and PIN combination.

Are phone numbers random?

I wasn’t able to find any useful pattern among all collected phone numbers. Keep reading :)

The most valuable information I got from this step is that recurring meetings always have the same phone number and PIN combination. This is problematic because an employee that leaves the company will know this combination. He will be able to join all recurring meetings forever unless the meeting is deleted and created again.

HLR registers

HLR registers are stored in global databases and contain information regarding GSM subscribers. HLR registers are queried as part of the SS7 attacks to track victims as they provide, among others, information about the tower to which the mobile phone is connected. There are multiple services online that allow you to query this database but it costs money. We don’t need information about the towers or other sensitive data HLR registers provide, I just want to know if the phone number belongs to Google Meet.

Turns out, Twilio offers a limited api that allows you to see some of the information related to a phone number. Among others, you can see the carrier to which the phone number belongs to. This is valuable information to help find Google Meet phone numbers. I created several meetings and verified the generated phone numbers with Twilio’s API. The carrier of phone numbers assigned to Google Meet is “Google (Grand Central) BWI – Bandwidth.com – SVR”.

Great! We have an API to query any phone number and check if the carrier is “Google (Grand Central) BWI – Bandwith.com – SVR”. But we can do even better…

Google search

Turns out, one of the easiest way to find Google Meet phone numbers is… to use Google. Since we know the carrier, all we need to do is to Google it. There are tons of websites that contain information about specific phone numbers for multiple purposes like tracking spam callers, provide owner information, etc. Best of all, those pages are indexed by Google and other search engines. We can take advantage of this and use it to look for existing phone numbers belonging to “Google (Grand Central) BWI – Bandwidth.com – SVR” carrier. Not all of them will be mapped to Google Meet as Google Voice uses the same carrier, but it will give us a great starting point. Still, the goal is to aim for perfection. We need to do better.

Abuse international settings

If there is something that amazes me from the security research community is the will to “try harder”. I see it over and over again in conferences where researchers fight their way through to perfection. A 100% reliable exploit, re-engineering a piece of hardware to make it a few bucks cheaper, make an XSS work on every single browser, etc.

Inspired by them, I wanted a truly reliable way of finding Google Meet phone numbers. I sat back and just started thinking about what other things I could try. If you have paid close attention to the image above, you may have noticed the label at the bottom that says: “This phone number has been selected based on the Conference creator’s country settings“.

Interesting. This means that there must be international numbers I can dial to join meetings. Indeed, that’s the case. So, let’s start by checking if the carrier is the same. I changed my country settings on Google Calendar to Australia, created a meeting, and got an Australian number to dial. Next, I checked it using Twilio’s API and got that the carrier was “Symbio Networks”.

It was at this point that a happy coincidence happened. I did not know if this was a normal carrier or, like bandwith.com, a special carrier for VOIP services. So I thought I  should use Twilio’s API to check the next phone number thinking I would get a different carrier just to compare. Instead of checking the Google Meet meeting number +61290517309, I checked +61290517310. The carrier was again “Symbio Networks”. How about +61290517311? “Symbio Networks”. +61290517320? Again, same carrier.

Let’s see… I generated a meeting, got a Google Meet phone number, and all subsequent phone numbers are also from the same carrier. Let me call and see if I get the Google Meet greeting to confirm. Bingo! For countries like Australia and Spain, Google Meet phone numbers are assigned in batches that are sequential. I can generate a meeting myself and just check the subsequent phone numbers to obtain more Google Meet numbers. You can use them to join/find meetings in the US as the phone numbers from other countries are not specific to meetings in that country, they are global.

Finding PINs

Now that we have effective ways of finding phone numbers, we need a way to find out the associated PIN. A 4 digit PIN gives us 10,000 possible combinations. Manually trying all possible PINs would be too slow and Google Meet only allows us to try 3 different PINs per call. You can definitely call again but this is time consuming.

Since manual bruteforcing is not feasible, can we automate it? Nowadays, there are a number of services available online to manage calls programmatically and at scale. Companies like Twilio or bandwidth offer cheap APIs that allow you to, among others, make multiple calls and interact programmatically with them. It sounds exactly like what we need! If we know the phone number and we can make hundreds of calls at the same time trying different PINs, it should not take too long to bruteforce all 10k possibilities.

Something interesting I found while poking at the API, is that there is a global, per country, phone number that is the same for all Google Meet meetings. The difference is that the PIN is 13 digits long instead of only 4 to add entropy. I wonder how many parallel calls this number can support and how easy it would be to perform a DoS. I did not try it as DoS testing is usually discouraged on production services.

Another interesting behavior I found was that depending in the country you are in, the PIN length varies. This is odd as all the security relies on the entropy of the PIN. Basically, some countries are more secure than others and USA is the least secure one with only 4 digit PINs.

Pin length in USA
Pin length in USA

PIN length in Australia
PIN length in Australia

GoogleMeetRoulette.py

I created an account in Twilio, added $20 and wrote a python script that would use their APIs to initiate multiple calls and try 3 different PINs at a time. To my advantage, I realized that I don’t need to wait for the recording to tell me that the first PIN was wrong to try the second and third one. I can enter 3 PINs at the same time and Google will accept the correct one. This improves bruteforcing speed significantly. Making a call and trying 3 PINs waiting for the recording to end takes about 25 seconds. Trying 3 PINs at the same time, allows me to do it in just 10.

10 seconds per call, 3 PINs at a time, 10,000 PINs to try. It would take about 9 hours to cover all PIN combinations making one call at a time. Because Twilio is designed to make calls at scale, we can make hundreds of calls at the same time making the process much faster. The script fires so many calls that the line will be busy sometimes. Not a problem! The script will detect failed calls and simply retry. Actually, Twilio notifies of failed calls immediately using webhooks making the script very efficient handling calls that did not go through.

If you are wondering how the script knows if the PIN is correct or not, I take advantage of the call duration to find out. Instead of doing some fancy sound processing, I figured that Google Meet will end the call if I entered 3 PINs wrong. On the other hand, the call will continue if one of those 3 PINs is correct. Therefore, I instruct Twilio to wait 10 seconds silently on the line before hanging up. This allows me to look at the call duration and figure out if I was able to join a meeting or not. If the call is ~17 seconds long, I know Google ended the call, hence the PIN guessing did not work. If the call is ~10 seconds longer, then I know I joined a meeting and one of the 3 PINs is valid.

I did some benchmarks and on average it takes 25 minutes to try all 10k PINs and find 15 different valid PINs for 15 different meetings for a cost of $16. Not bad!

Demo

To make the demo shorter I am only bruteforcing 100 PINs in this demo, enough to show how it works.

This work was actually the basis of the research I recently presented at DEF CON.

Challenges

At this point, we can find phone numbers associated to Google Meet meetings and we can efficiently and economically bruteforce the PIN. This is sufficient to consider it a threat but there are some drawbacks (from attacker’s perspective) you may be thinking of. Let’s discuss them:

Meetings are short and at a specific point in time

You may be thinking that in order to bruteforce a meeting you need to launch the attack during the meeting. That is not the case. From the moment a meeting is scheduled, a phone number is associated and anyone can join anytime, even before the meeting begins. This means that if you try to bruteforce a meeting that is scheduled for next week, you don’t need to wait till then to launch the attack, you can start right away and figure out the PIN. This is important because if not, we would not only have to figure out phone number and PIN, but also when the meeting would take place.

Google Meet displays who is in the meeting

I would claim that nobody pays attention or verifies that there are no unexpected attendees before starting a meeting, specially for longer ones. Still, we want to be as sneaky as possible and I found some interesting behavior that can be exploited.

UI displays only a small amount of attendees

Google Meet UI on a 15.4-inch MacBook Pro
Google Meet UI on a 15.4-inch MacBook Pro

Depending on your resolution, the UI will only display about 5 attendee profiles. You would have to specifically click through the list to see the other attendees.

UI displays name and profile picture when joining on a browser

Google Meet impersonation
Google Meet impersonation

While not relevant to our case (we are targeting “calling in”) it is interesting to mention that while you can see the attendees, what you are looking at is full names and profile pictures. Does it sound trustworthy? Think about it, full names and profile pictures, no email. Email is the only piece of information that is unique to a user in Google. Yet Google only displays full names and profile pictures. It takes one minute to create a Gmail account and set the full name and profile picture of the person we want to impersonate. If Google Meet would show the email address, it would not be possible to impersonate attendees.

External attendees must be approved before joining a meeting which mitigates this issue to a certain extent, keep reading.

External attendees need to be specifically approved before joining a meeting

If you try to join a meeting using the browser, you will need to be approved if you are not logged into an account assigned to the company’s domain. For example, if you are logged in to Gmail and try to join an ACME Inc. meeting, attendees will get a popup warning that someone external (It is a gmail.com account, not acme.com) is trying to join the meeting.

Google Meet approval popup
Google Meet approval popup

This is not the case for attendees calling in. Because phone calls cannot be authenticated, anyone is able to join over the phone without any previous approval. This is very relevant because the security bar was significantly downgraded for attendees calling in VS attendees joining using a browser.

Phone numbers are masked

This is an interesting one. For some reason, Google decided to mask the phone numbers of attendees calling in.

Masked phone number
Masked phone number

As you can see, the UI displays phone numbers like 555-XXXX-XX55. I don’t know the reason for this decision but it allows me to perfectly impersonate attendees. I used the bandwith.com API to search for available phone numbers using regex expressions. I bought a phone number that looks exactly the same as mine when you mask it like Google Meet does. It cost 35 cents to impersonate myself.

Recommendations

For you

If you use G-Suite, there is a number of things you can do. First off, the admin can disable the option to call into meetings. I am not sure if you can disable it for specific meetings but it is something to consider for meetings where confidential information will be discussed.

If you have to keep the call-in feature available, an option is to share a “password” for every attendee over email or include it in the meeting description. Before starting the meeting, attendees have to say the secret word and everyone can verify it. You would have to be on the lookout for new people joining.

For Google

  • Increase the PIN size to make bruteforcing not feasible or too expensive. Given that you can setup the call to automatically dial the PIN for you, it should be no problem to increase the PIN size to 8+ digits. Specially when some countries already have longer PINs than the US. Also take into account that numbers can be easily guessed as they are assigned sequentially in certain countries. It is worth pointing out that competitors like GoToMeeting, GoToWebinar and ZOOM are already doing this.
  • Maintain the same security bar across countries. If Spain and Australia have 5 digit PINs, so should the US. Attackers will use the weakest link to join the meeting.
  • Don’t mask the phone number of attendees that call in and show email addresses of those joining using the browser. It will prevent impersonation.
  • Attendees that call in need to be approved before joining. If Google agrees that external attendees need to be approved before joining a meeting, attendees calling in should be considered external by default instead of trusted. This would at least be a chance to verify the phone number.
  • Rotate PINs for recurring meetings. This will prevent ex-employees from still being able to join meetings once they have left the company.

Responsible disclosure

As always, I reached out to Google first to give them a chance to make changes. Working with them was one of the best engagements I have had so far. Very profesional and appreciative. They also granted me an ELEET bounty.

Timeline

  • 03/29/2018 responsible disclosure
  • 04/13/2018 Google acknowledges issues and files bugs
  • 05/08/2018 Google issues bounty
  • 07/20/2018 Google confirms fixes
  • 07/28/2018 Google reverts some fixes due to customer complaints
  • 10/04/2018 Google gives green light for public disclosure

174 comments

  1. Me says:

    Note that caller-ID can’t be trusted because it can be spoofed. So it doesn’t really help to show peoples phone number.

  2. Richard says:

    Could Google detect the brute force attempt and deal with it there? It would turn it into a Denial of Service attack rather than an eavesdropping.

  3. Dominic Hargreaves says:

    Thanks for the great article. You mentioned that Google fixed some of the issues, and reverted others. Could you share more information about which ones, and/or any official statements from Google about the security of their dial-in service for Meet?

  4. Wolfgang S says:

    Great work, Martin, thanks.

    I have become increasingly disappointed with Google’s product quality and security over the years, but we have been using Meets a lot, not because we think it is flawless, but it is among the very few systems that has good video and call bandwidth management (other Web RTC variants and video codes use as much as 5 to 10x the data per same call), it has screen sharing and is reasonably well integrated in Google Calendar.

    I read your recommendations. Well, I agree mostly, but:
    1. I am not satisfied with the *visible* measures that Google has implemented in the meantime to mitigate problems.
    2. People hate when they need to memorize or find additional passwords or new PINs.

    Let me make a proposal for improving actual Meets security and ask your opinion:

    Why not improve the well-known “Knocking at the Virtual Door” mechanism with a better”Doorman” role?
    We could emulate real life behaviour of human groups to the point where it can no longer be circumvented or spoofed with reasonable effort:

    1. Force any Browser AND Dial-In Users to knock at the Virtual Door (before they can see or hear anything). (Currently, this is only partly the case.)
    2. For each meeting, define a Doorman Role and allow it to be assigned to 1 or more Meeting Participants, either by default or unanimous vote of people already in the call.
    3. When a Newcomer knocks, these knocks will be seen and heard by every Doorman. Within a 10-second period, allow each Doorman to click a “Challenge” button and start (or participate in) a 20-second small talk or ask a question which the Newcomer has to answer satisfactorily or with the right voice before they are admitted in? (For instance, “How are you ?”, “What was the last chat message I sent to you ?”)
    If only 1 Doorman rejects the Newcomer, they cannot enter.
    4. This solution is also scalable up and down, because for smaller groups there might be just 1 Doorman who just checks voice of NewComer, whereas for bigger groups several Doormen (or one dedicated Doorman) could create Challenges.

    Wolfgang

  5. James De Shazor says:

    Hello, I wasn’t sure if this was the best place to send this but I really wanted to get into cyber security and I wanted to know a good way to get started.

    • Martin Vigo says:

      Hi James,

      I am glad the blog helped trigger your curiosity for cybersecurity. There are tons of resources online that have give you a more complete and comprehensive answer than I can ever do here. It seems you are also english speaker which helps as most of the documentation is in english.

      I would literally Google that question and go through the results. Many blogs have covered that and offer tons of great resources (and free) to go learn the basics. I will give you some tips meanwhile.

      – Learn to program. I understand that usually that is not what you want to read and you want to get “hacking” right away but the truth is you need the fundamentals first. Again, thousands of resources online to learn coding in any language. You can start with Python which is very simple and used a lot in cybersecurity. Check coursera and other online sites that host online trainings, many for free.

      – Learn about the different disciplines/roles in the security field to figure out what you are interested in. Offensive, defensive, forensics, investigations, research, etc. You don’t have to limit yourself to one of course, but it helps to focus at the beginning.

      – Invest in a good book that teaches you what you are interested in. No startcg press has great books and they are not expensive. Also look out for humble bundle deals. You can get many books for only 15 dollars.

      I hope this helps. Good luck!

  6. Please Help. I am a teacher and my class keeps having this happen. Well actually we are calling random people. It appears as though my meeting is calling random people. It has been happening since school started. I have troubleshooted with a student sharing their screen and their is not way that I can see that a student in the class is calling out. When I was trouble shooting I had the student call out and it did not make a loud noise and show the phone entering under people. Also I might mention that I have incoming 5th graders. I feel like this is above their level of IT knowledge. However, many of them have bigger siblings in HS. So your video that you created…it is exactly like that except it appears as though we are calling out. We called the Los Alamos National Labs at one point. I have let our IT department know and I have received no support soI a trying to figure this out myself. Please help. Please. I am desperate.

  7. Iiufpiuadsfhuhadsipuadsfidsaiupdshviudshv89dshviahdivuhdviuhsdaiupvhdasp9uhvp8dusyhg98uesaujoknehkhhuielyzsiudjhvdiuh iusdhvp;adsh89dshv;szodihviuosdhvoizsudgf8dsaf98dshfiusdhfs8gviudhvidsuhfis8dhiugigliusdhviudgvisudgeisufhiudfhuhilhfiufhiuefhuoefhiupenishnisuldhfliudshfiudshuishfiusgfiudfuabiuashfvuoashisdhfjo;sdhv;oisahdosivhdovnneg neg sfc nevas naevas i nvehu asnveaus nveui nveahsi nveahsi nveashu nveahsui nveahuis nveahs vbehai nveashi nveahsi n devdni bevas nubaei anwevashi andevasi bveashiun nveasniu nevasu nveusanevashi anveasvias nevasi nevashiu nvashiueas c;adcjoiasdvhsadfosisusierrddsasaicsalduvhuiadvhaudvhiuvhiudfhiduhfiufhdfdhifihudfdiuiusdiufsdaiuefaiufadsiudfsaydfsydfsayuadsfipdfsafadsydfsypdfspiydfasupadfsiu sdviudf [ihfdui dnfizsn lfd8sdnpgudsihifuhiuldsfguhgudflishfiulfdhgiudfhguidghhow do i join a google meet that is active when i want it to be active
    mvsdjfushfli

  8. g bv3enfvyvuvu hrnf yuj h0 gu454ihy0ui tby-7b-5u u b8y ht8uhg0eriuheioutg huhr tu4h tuh ru ht hg iu hiuy irj gnggjjrhtpojnvtjkgmbg[][4 says:

    so cooooolololololk54oriybnghiweudsh gbv0uy3wegf vi ywhs3gehgnbn iauyw3 krgjdhvn uywve kgrhbfn vuyjh

Leave a Reply

Your email address will not be published. Required fields are marked *