Coder Social home page Coder Social logo

ek3nk4r / telegram-trilateration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jkctech/telegram-trilateration

1.0 0.0 0.0 5.98 MB

Proof of concept for abusing Telegram's "People Near Me" feature and tracking people's location

License: GNU General Public License v3.0

Python 68.12% HTML 14.29% CSS 4.86% JavaScript 12.72%

telegram-trilateration's Introduction

Telegram Trilateration

⚠️

I have tried reaching out to Telegram via email. (Feb 22th 2021)
After more than 1 month of no reply, I decided to open up this repository.

I AM NOT ACCOUNTABLE FOR ANY DAMAGE OR ILLEGAL ACTIVITY DONE BY END USERS! USE AT YOUR OWN RISK AND DISCRETION!

A while back, Telegram rolled out a new (Opt-in) feature which allows users to find people and groupchats close to their location. This "Feature" allows you to see the relative distance between you and a user in meters! By abusing that data we are able to pinpoint someone's general location.

When this feature is enabled, you will see this general warning:

Which is, in my opinion, an understatement.


See the scraper and webviewer in action

Video


Table of Contents


Trilateration

A great example of why this new feature is a problem is trilateration. (Not to be confused with triangulation)

Using this technique combined with GPS spoofing, we can determine a user's whereabouts by taking multiple samples of locations and distances relative to our own location.

Read More >

Scraping

Locating someone by hand takes time (A few minutes) and effort (Clicking and typing). It will probably take you +-30 minutes to track someone by hand. So naturally, I spent weeks of effort into automating this system to save myself minutes of time...

Read More >

Webview

Gathering the data through scraping is fun and all, but actually being able to interpret it is better.
(I took this way too far, please don't ever be like me)

Read More >

Other Concerns

Other than users, groupchats can also be indexed by location. You have to create a group specifically for this purpose so when you create one, you probably realize everyone can read along with the chats, but some of the people who join by invite for example won't.

The contents of the groupchat can be seen by anyone without actually joining which is literally spying.

Using this, it's not hard to find groups where people sell illegal goods / services or find private information.

"Anyone who wants to buy some good weed?"

This is already being used A LOT by bots. Go have a look yourself, open up some random groups and I almost guarantee it will show you lots of "Hot single ladies who are looking for a good time" with very questionable pictures...

On another note, finding user information on Telegram is not difficult. It's expected that people see your profile, regardless of using the "Nearby" function or just using the search feature. The problem here is by using location search you gain much more information and are able to just "browse" for people.

By finding someone, you can see their profile picture(s), bio and username. (Depending on their privacy settings)

Being able to see someone's profile on a "search engine" is to be expected and key to it's functionality but being able to find people this way could open up a doorway for stalkers to find someone or just lurk for random people without them knowing their phonenumber or Telegram username.


The Solution

PLEASE TELEGRAM, JUST ROUND THE DISTANCES TO WHOLE KILOMETERS...

There is literally no good reason to show random people a distance THIS accurate...

telegram-trilateration's People

Contributors

jkctech avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.