Author Topic: map wireless access points around you  (Read 1817 times)

0 Members and 1 Guest are viewing this topic.

Offline nrael

  • Peasant
  • *
  • Posts: 66
  • Cookies: -7
    • View Profile
map wireless access points around you
« on: April 30, 2014, 12:16:29 am »
Hi,

as the title says, is it possible to map all access points around you to google maps / open streetmap? how does it work?

I mean, you see all the networks around you with aircrack and also the strength... but I haven't found anything on the web.


Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: map wireless access points around you
« Reply #1 on: April 30, 2014, 12:59:33 am »
I think you mean map your location based on the wireless networks around you.
If so, you're in luck:

https://github.com/rapid7/metasploit-framework/pull/3280
« Last Edit: April 30, 2014, 01:00:34 am by d4rkcat »
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline voodoo

  • Serf
  • *
  • Posts: 42
  • Cookies: 4
  • Try Harder
    • View Profile
    • Security Voodoo
Re: map wireless access points around you
« Reply #2 on: April 30, 2014, 03:11:11 am »
Google wardriving.
keep it simple

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: map wireless access points around you
« Reply #3 on: April 30, 2014, 07:17:14 am »
Indeed this is called Wardriving, or warwalking if you are doing it on foot :P

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: map wireless access points around you
« Reply #4 on: April 30, 2014, 08:17:59 am »
I could name and link a whole bunch of these but simply put:
http://www.wardrive.net/wardriving/tools
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline kenjoe41

  • Symphorophiliac Programmer
  • Administrator
  • Baron
  • *
  • Posts: 990
  • Cookies: 224
    • View Profile
Re: map wireless access points around you
« Reply #5 on: April 30, 2014, 09:05:15 pm »
You are in luck and maybe i ain't but this might act as a motivation to finally finish that project i have sitting on my lappy for sometime now.

Yes it is possible and let me unofficially explain my project plan so that you get the picture of how it is done [dare, you EZ pimps, finish it before me. i will kill a goat].

For you info i am doing this in C++ so these are the member functions in the class:

Get Access Point Data
        This function interacts with the NIC-adapter to collect the data about the access points around you. The info collected includes mac addresses, IP addresses, AP name, signal strength, et-la. Google and Skyhook require this info for more clear results.

MAC Address to locations
        With the wifi details collected, you just have to build a Json body with that details and send to google's location REST API @http://www.google.com/loc/json, supplying MAC address and optional Signal strength. It returns JSON data containing latitude, longitude and geographical location of said AP.
       
        For your geolocation as the user, a function measuring the distance for said APs can also be added so as to get precise location. This might not be neccessary since you ain't always too far from the AP. And sending more than one MAC address to google and or skyhook gives you even more precise results and easy triangulations.
For skyhook (http://www.skyhookwireless.com/), its API is accessed through a HTTP POST request containing XML query with MAC address signal strength. Check if you area is covered here:http://www.skyhookwireless.com/howitworks/coverage.php.

You can now turn latitude and longitude to cartesian points and draw them on any dowloadable map9 if you want to spawn a GUI). You are gonna need some basic math(addition, subtrection and absolute value math) plus [y=mx+c] might help.

That is enough to get you going even if you are a novice programmer.
If you can't explain it to a 6 year old, you don't understand it yourself.
http://upload.alpha.evilzone.org/index.php?page=img&img=GwkGGneGR7Pl222zVGmNTjerkhkYNGtBuiYXkpyNv4ScOAWQu0-Y8[<NgGw/hsq]>EvbQrOrousk[/img]

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: map wireless access points around you
« Reply #6 on: May 01, 2014, 05:26:44 am »
What the heck are you all talking about I gave the answer in the very first post.
IT'S MERGED INTO METASPLOIT ALREADY ! NO NEED TO CODE ANYTHING LMAO.

Code: [Select]
use post/multi/gather/wlan_geolocate
set SESSION 1
set GEOLOCATE true
exploit

If just mapping wireless access points on a map is what you are talking about then use kismet, or any other wardriving software that has been around since the beginning of recorded history.
« Last Edit: May 01, 2014, 05:33:03 am by d4rkcat »
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: map wireless access points around you
« Reply #7 on: May 01, 2014, 04:47:20 pm »
Code it yourself dammit... Java or Python [ASL/AS4A] or Objective-C pending on your platform. Grabbing the geo code of where your at is stupid simple, along with seeing accesses points with and without encryption. If you have the geo-code mapping to google maps is simple even at that.

If you want skid shit then yeah, go DL some tool to do it for you. OR, if your serious about hacking and learning, learn to code. Then after that, learn what you wanna do. Which is get the GPS data on where you see wifi connections. Both are stupid simple with the API provided from any mobile platform. If you want it all in one app, then you need to learn how to google maps in code, else save to a damn text file and do it by hand or something.

Give a man a damn fish he will eat for a day, teach a man to go fucking fish for himself; maybe he will eat for a year. LEARN something you fuck. Google ot DuckDuckGo isn't there to show us fucking boobs all the god damned time.... Use it mother fucker.
« Last Edit: May 01, 2014, 04:48:18 pm by techb »
>>>import this
-----------------------------

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: map wireless access points around you
« Reply #8 on: May 01, 2014, 05:14:21 pm »
If you don't want to code something and are just looking for the end result I have a bash script that will capture handshakes and store the locations of the AP's using an android GPS:

https://github.com/d4rkcat/HandShaker
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: map wireless access points around you
« Reply #9 on: May 01, 2014, 05:22:33 pm »
If you don't want to code something and are just looking for the end result I have a bash script that will capture handshakes and store the locations of the AP's using an android GPS:

https://github.com/d4rkcat/HandShaker

Yeah something like this. But I was thinking more mobile since we carry around Androids and iCrap on our pockets with GPS and all the bells and whistles anyway. I doubt people have Bash ready on their phones.

Just 0.02 though. War driving with a laptop is still phun, just saying with the square touch screen computers we all have, evolution is inevitable.
>>>import this
-----------------------------

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: map wireless access points around you
« Reply #10 on: May 01, 2014, 05:51:13 pm »
Just 0.02 though. War driving with a laptop is still phun, just saying with the square touch screen computers we all have, evolution is inevitable.

It must go towards an all encompassing hackdevice that fits in your pocket, I whole heartedly agree.
I did try to get this script working on a OpenWrt device but I had problems getting the handshake detection to work as there was no cowpatty binary available.
The other issue with small devices is the crappy wireless cards, although I guess this could be averted by plugging an alfa card in to the device, then of course you have the issues of getting injection working, which is a whole other thing.
I'm sure someone will figure it out though I got bored of wireless and moved on pretty quickly.
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline voodoo

  • Serf
  • *
  • Posts: 42
  • Cookies: 4
  • Try Harder
    • View Profile
    • Security Voodoo
Re: map wireless access points around you
« Reply #11 on: May 02, 2014, 03:09:42 am »
Code it yourself dammit...

More people need this mentality.
keep it simple

Offline nrael

  • Peasant
  • *
  • Posts: 66
  • Cookies: -7
    • View Profile
Re: map wireless access points around you
« Reply #12 on: May 02, 2014, 04:39:49 am »
Give a man a damn fish he will eat for a day, teach a man to go fucking fish for himself; maybe he will eat for a year. LEARN something you fuck. Google ot DuckDuckGo isn't there to show us fucking boobs all the god damned time.... Use it mother fucker.

then tell me how it is working with the wirelless access point to map / longitude... I mean lets say I have a map and know where I am. But how do I know where the access points are? how can I "translate" them to map coordinates?

btw you missed startpage.com... and mother fucker isn't really a good word, should'nt be used for someone you don't know, not even as a moderator...

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: map wireless access points around you
« Reply #13 on: May 02, 2014, 07:41:17 am »
then tell me how it is working with the wirelless access point to map / longitude... I mean lets say I have a map and know where I am. But how do I know where the access points are? how can I "translate" them to map coordinates?

btw you missed startpage.com... and mother fucker isn't really a good word, should'nt be used for someone you don't know, not even as a moderator...

Oh, well here is where I am at, google is kind enough to tell me, hell the satellite providers are kind enough to tell me my long/lat on where the fuck I am right at this damn point and time. Oh, there is an open access point, oh here is a WPA/PSK encrypted point too; I can see these networks at this fucking GPS point. HMMMmmmmm..... How can I in the world correlate my position with what WiFi I see avail and also seeing my GPS coordinates???? We are in a pickle right just now eh? Cause I have my GPS coords, I also see these wifi access points, but I just can't seem to figure out how to put two and two together.... Maybe I should join a hacking forum and see if they can come up with something eh?

Oh, look at that. Someone replied to my post. Oh, this seems too fucking deep for me, cause you know I need something right just now and don't care to do it my damn self. I do see where this person told me how I could do it myself, by logging my GPS coords along with the access points my device sees, but thats not a point and click app or program [which is and is out there you lazy fuck]. So I should bash someone for using the goddamned word mother fucker on the Internet, because I'm all butt hurt and don't know what to fucking do.

Come on kid. If you can't put 1 and 1 together then you might  need to start over. And here is a hint, 1 and 1 don't equal gui; it equals DO IT YOUR FUCKING SELF. You have the damn tools in front of your face, fucking Google makes sure it's in front of your face, hell add some social media to it, FaceBook tries to throw it in your face too.

You could even start simple. fuck the maps, look them up later. Use the GOD GIVEN PROVIDED APIs and get where the fuck your at right now, also get what access points are avail, and write them to a file. Here it could look like (1002,1254,free_wifi).
Then all you need to do is put it into some kind of map program that accepts long/lag..... Once you know how to fucking code, you can put all of it together and write something useful.

You wanted to fucking learn, then fucking learn mother fucker.
>>>import this
-----------------------------

Offline kenjoe41

  • Symphorophiliac Programmer
  • Administrator
  • Baron
  • *
  • Posts: 990
  • Cookies: 224
    • View Profile
Re: map wireless access points around you
« Reply #14 on: May 02, 2014, 10:38:42 am »
then tell me how it is working with the wirelless access point to map / longitude... I mean lets say I have a map and know where I am. But how do I know where the access points are? how can I "translate" them to map coordinates?

btw you missed startpage.com... and mother fucker isn't really a good word, should'nt be used for someone you don't know, not even as a moderator...
Fricking feeding you all my cookies, but that is what EZ is.
Techb might not sound as social as you might have expected but he ended up giving you all the answers you need. Its a result of talking alot, but please try to do some googling.

If you are near the AP, you can hand log the GPS data at that point for now.
Grab a mapping software with lat&long provisions, enter them and you have you location.
Done.

I thought if you have a hardcopy map, it already has lat&long printed on it. GPS only provides them with a little precision but it also does the work.
I think you might need a little coding if you need to wardrive.
If you can't explain it to a 6 year old, you don't understand it yourself.
http://upload.alpha.evilzone.org/index.php?page=img&img=GwkGGneGR7Pl222zVGmNTjerkhkYNGtBuiYXkpyNv4ScOAWQu0-Y8[<NgGw/hsq]>EvbQrOrousk[/img]