Aug 2, 2015 08:10 PM
(This post was last modified: Aug 2, 2015 08:21 PM by Culperring722.)
Forensics Metadata Photos
Meta data can be very dangerous. The FBI uses it to track down criminals and pedophiles who post images to the web. Criminals can use it to track your every movements. You may not know it but when you upload photos to the internet you may be uploading your Latitude and Longitude cords, Date picture was taken, Your Name, The brand used to take the picture, and possible even more.
Tooday ill show you guys how to extract some information. Ill be using random images from the web to see if I can extract some interesting information.
Tools:
Hex Edito
Hexidecimal to decimal converte
Now that we have our Hex Editor of choice im using HxD we can begin. Start by opening the file in your hex editor and look at the beginning. You will notice some interesting information at the beginning of the file.
In Red You will see the type of device that took the photo.
In Blue You will see the Date the photo was taken
In Black You will see the Time it was taken(Military Time)
![[Image: nf9RyZr.png]](https://i.imgur.com/nf9RyZr.png)
The main purpose of this tutorial is how to find GPS location in photo. I just wanted to briefly show where the other information was located.
First we will look for some key identifiers ( N S W E) These are the directions you would see on a cumpous and they are going to help us locate the latitude and longitude cords.
![[Image: E5feDcM.png]](https://i.imgur.com/E5feDcM.png)
Ok now I need to tell you something.
1. Keep an eye out for this pattern 00 00 xx xx 00 00 00 01 00 00 xx xx 00 00 00 01 00 00 00 xx xx 00 00 00 64 or 00 00 03 E8.
2. 00 00 00 00 64 = 100
3. 00 00 03 E8 = 1000
Note that the pattern may also look like this 00 00 xx xx 00 00 00 01 00 00 xx xx 00 00 00 64
Can You see the pattern ?
![[Image: EqEdBCY.png]](https://i.imgur.com/EqEdBCY.png)
First we are going to count 4 bytes before the first 00 00 00 01. Which is 00 00 00 2A
Now convert those hexadecimal numbers to decimal.
00 00 00 01 = 1
00 00 00 2A = 42
42/1 = 42
Degrees = 42
Now count the next 4 bytes 00 00 07 E4(2020)
The next for bytes is 00 00 00 64 (100)
2020/100 = 20.2
Minutes = 20
Now take off every thing after the decimal and times it by 60
.2 60 = 12
Seconds = 12
Latitude = 42:20:12 N
Normally the next 8 bytes we would do the same but for the seconds. But since the Mintes produced a decimal we just converted it right there. So skip the next 8 bytes 00 00 00 00 00 00 00 01
Now lets find the Longitude
![[Image: FIfOaQj.png]](https://i.imgur.com/FIfOaQj.png)
Ok First take 00 00 00 47 and convert it to decimal like before
00 00 00 47 = 71
00 00 00 01 = 1
71/1 = 71
Degree = 71
Now for the minutes.
00 00 03 48 = 840
00 00 00 64 = 100
840 / 100 =8.4
Minutes = 8
We can find the seconds by multiplying .4 by 60
.4 60 = 24
Seconds = 24.
Longitude = 71:8:24
Your Location is :
Latitude = 42:20:12 N
Longitude = 71:8:24 W
Now i can stalk you🤭
We can check it by right click the pic going to properties and looking at the details tab.
![[Image: BOrpdvd.png]](https://i.imgur.com/BOrpdvd.png)
Want to try it yourself???
Here is the photo that i used... I picked the first pick in google images and it looks like they didnt turn off their gps location with their iphone.
https://mega.co.nz/#!akI1wDBA!E5IIb0l_Cr...3MDKt_hNSM
Now that you know where to find this information you can easily use your hex editor and write over that data with 000000s so that it erases it. Or better yet turn off that GPS location.
PS.
I never see forensics tutorials in this section im not sure if you guys like them or not. If so let me know cuz i know how to do some cool stuff. Like recovery deleted files manually not using automated tools, Hide files in slack space, ntfs file system forensics, fat32 file system forensics, Registry forensics, and some other stuff.
Meta data can be very dangerous. The FBI uses it to track down criminals and pedophiles who post images to the web. Criminals can use it to track your every movements. You may not know it but when you upload photos to the internet you may be uploading your Latitude and Longitude cords, Date picture was taken, Your Name, The brand used to take the picture, and possible even more.
Tooday ill show you guys how to extract some information. Ill be using random images from the web to see if I can extract some interesting information.
Tools:
Hex Edito
Hexidecimal to decimal converte
Now that we have our Hex Editor of choice im using HxD we can begin. Start by opening the file in your hex editor and look at the beginning. You will notice some interesting information at the beginning of the file.
In Red You will see the type of device that took the photo.
In Blue You will see the Date the photo was taken
In Black You will see the Time it was taken(Military Time)
![[Image: nf9RyZr.png]](https://i.imgur.com/nf9RyZr.png)
The main purpose of this tutorial is how to find GPS location in photo. I just wanted to briefly show where the other information was located.
First we will look for some key identifiers ( N S W E) These are the directions you would see on a cumpous and they are going to help us locate the latitude and longitude cords.
![[Image: E5feDcM.png]](https://i.imgur.com/E5feDcM.png)
Ok now I need to tell you something.
1. Keep an eye out for this pattern 00 00 xx xx 00 00 00 01 00 00 xx xx 00 00 00 01 00 00 00 xx xx 00 00 00 64 or 00 00 03 E8.
2. 00 00 00 00 64 = 100
3. 00 00 03 E8 = 1000
Note that the pattern may also look like this 00 00 xx xx 00 00 00 01 00 00 xx xx 00 00 00 64
Can You see the pattern ?
![[Image: EqEdBCY.png]](https://i.imgur.com/EqEdBCY.png)
First we are going to count 4 bytes before the first 00 00 00 01. Which is 00 00 00 2A
Now convert those hexadecimal numbers to decimal.
00 00 00 01 = 1
00 00 00 2A = 42
42/1 = 42
Degrees = 42
Now count the next 4 bytes 00 00 07 E4(2020)
The next for bytes is 00 00 00 64 (100)
2020/100 = 20.2
Minutes = 20
Now take off every thing after the decimal and times it by 60
.2 60 = 12
Seconds = 12
Latitude = 42:20:12 N
Normally the next 8 bytes we would do the same but for the seconds. But since the Mintes produced a decimal we just converted it right there. So skip the next 8 bytes 00 00 00 00 00 00 00 01
Now lets find the Longitude
![[Image: FIfOaQj.png]](https://i.imgur.com/FIfOaQj.png)
Ok First take 00 00 00 47 and convert it to decimal like before
00 00 00 47 = 71
00 00 00 01 = 1
71/1 = 71
Degree = 71
Now for the minutes.
00 00 03 48 = 840
00 00 00 64 = 100
840 / 100 =8.4
Minutes = 8
We can find the seconds by multiplying .4 by 60
.4 60 = 24
Seconds = 24.
Longitude = 71:8:24
Your Location is :
Latitude = 42:20:12 N
Longitude = 71:8:24 W
Now i can stalk you🤭
We can check it by right click the pic going to properties and looking at the details tab.
![[Image: BOrpdvd.png]](https://i.imgur.com/BOrpdvd.png)
Want to try it yourself???
Here is the photo that i used... I picked the first pick in google images and it looks like they didnt turn off their gps location with their iphone.
https://mega.co.nz/#!akI1wDBA!E5IIb0l_Cr...3MDKt_hNSM
Now that you know where to find this information you can easily use your hex editor and write over that data with 000000s so that it erases it. Or better yet turn off that GPS location.
PS.
I never see forensics tutorials in this section im not sure if you guys like them or not. If so let me know cuz i know how to do some cool stuff. Like recovery deleted files manually not using automated tools, Hide files in slack space, ntfs file system forensics, fat32 file system forensics, Registry forensics, and some other stuff.


