This blog is NOT OFFICIAL website of Kali Linux. We just share Tutorials to learn Cybersecurity.

Social Mapper -- Find Social Media Profiles Using a Photo Only

Previously, we have talked about how to find social media by usernames using userrecon. But using that process we can't do a mass scan. But using Social Mapper we can don mass scan. Not only that the main function is we can find someone with the photo only. Yes, Social Mapper uses facial recognition to perform scan. Let's use the Social Mapper tool in our Kali Linux machine.

Social Mapper is a Python based open-source intelligence tool that correlates social media profiles via facial recognition.

Social Mapper in Kali Linux


Social Mapper collects data from many popular social media like
  • Facebook
  • Instagram
  • Linkedln
  • Google plus
  • Twitter
  • VKontakte
It also can collect information from micro blogging websites like Weibo and Douban.

This tool uses names and photos as input to scan social media profiles of the people on mass scan.

Social Mapper is aimed at penetration testers and red teams, they can use it to expand their target lists and find social media profiles. Social Mapper is created by Jacob Wilkin. Jacob presents this tool on Black Hat USA 2018 and DEFCON 16 security conference.

Now we set up Social Mapper in our Kali Linux system. First we need to configure our system for Social Mapper. We need to install Gecodriver in /usr/bin. We can download Geckodriver's latest version for our Kali Linux 64 bit system from https://github.com/mozilla/geckodriver/releases

Gecodriver
we scrolled down to find Gecodriver
 After download it in our Downloads folder, we need to extract Geckodriver files, To do that we open our terminal and we go to Downloads directory by using following command:

cd Downloads

 Then we type following command to extract the tar.gz compressed file:

tar -xvzf geckodriver-vx.xx.x-linux32.tar.gz
Here x.xx.x is referring the downloaded version of Geckodriver. See the following screenshot:

de compressing gecodriver

Now we copy the Geckodriver folder to /usr/bin using following command:

cp geckodriver /usr/bin

coping geckodriver to /usr/bin


Geckodriver is copied, now we need to install some prerequisites to run Social Mapper. To do that we use following command:

apt install build-essential cmake libgtk-3-dev libboost-all-dev
The download and installation will depend on our internet speed and system performance.
The screenshot is following:

apt install build-essential cmake libgtk-3-dev libboost-all-dev

Now we go back to our root folder by using

cd #

Then we clone Social Mapper from it's GitHub repository by applying following command:

git clone https://github.com/greenwolf/social_mapper
The screenshot is following:

social mapper download


Then we need to install some python modules from Social Mapper's requirements we do this using following command:

cd social_mapper/setup && python3 -m pip install -r requirements.txt
The screenshot is following:

requirements of social mapper


Now we are almost able to run Social Mapper. Then we go back to Social Mapper's directory using following command :

cd ..

We can check the help option by using

python3 social_mapper.py -h
The help menu is following:

help menu of social mapper


Social Mapper requires one account of social media to search across social media platforms, like if we want to search a photo on Facebook and Twitter we need to give our Facebook and Twitters username and password. Here for our safety we shouldn't give our own social media account's credentials. We should open fake account on social media to safer use of Social Mapper.
We can add our username and password in social_mapper.py file. To do we open the file in any text editor (we are using leafpad here).

leafpad social_mapper.py
 The screenshot of the command is following:

social_mapper.py


Then we need to scroll down and stop here as following screenshot:

giving crediantials
Credentials in plain text


Here we need to provide our username and password. Then we just save and close the text editor.

Then we open the Social Mapper folder in file manager and navigate to
Input-Examples > imagefolder as shown below

images-folder


Here we can see some examples. We can add target's photo in this folder to perform a scan. Here we have added.

roger federer kali linux


Then we type following command to perform a fast scan on Facebook:

python3 social_mapper.py -f imagefolder -i /root/social_mapper/Input-Examples/imagefolder -m fast -fb
The screenshot is following:

social mapper

Here we can see the links of the profiles matched and also the results are saved in a csv and html file. We can open the html file in firefox web browser.

socialmapper


Here can come some fake profile of our target because we have used fast scan, to perform a accurate scan on Facebook and Twitter both we use following command:

python3 social_mapper.py -f imagefolder -i /root/social_mapper/Input-Examples/imagefolder -m accurate -fb -tw

author-img
Kali Linux

Comments

27 comments
Post a Comment
  • Sathish photo
    SathishSeptember 21, 2019 at 6:03 PM

    Getting error while installing cmake

    Delete Comment
    • Kali Linux photo
      Kali LinuxSeptember 22, 2019 at 7:25 AM

      Hi Sathish, Can you tell me the error please ?

      Delete Comment
      • Unknown photo
        UnknownOctober 5, 2019 at 11:30 AM

        Bro pfb the error

        root@kali:~/Downloads# apt install build-essential cmake libgtk-3-dev libboost-all-dev
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        Package cmake is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or
        is only available from another source

        E: Package 'cmake' has no installation candidate
        E: Unable to locate package libgtk-3-dev
        E: Unable to locate package libboost-all-dev


        Delete Comment
        • Kali Linux photo
          Kali LinuxOctober 11, 2019 at 7:23 PM

          It seems you need to update and upgrade your Kali Linux. Do it easily by
          sudo apt-get update
          then upgrade it by using
          sudo apt-get upgrade
          If the process not working then you need to change the repository of Kali Linux do it by just google.

          Delete Comment
          • Kali Linux photo
            Kali LinuxOctober 11, 2019 at 7:25 PM

            you should update system by
            apt-get update
            then you can install cmake by
            apt-get install cmake

            Delete Comment
            • Unknown photo
              UnknownNovember 2, 2019 at 3:05 PM

              I try to update. It is showing as below

              Hit:1 http://deb.i2p2.no unstable InRelease
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              All packages are up to date.


              I am new to linux. Please help me.

              Delete Comment
              • Kali Linux photo
                Kali LinuxNovember 3, 2019 at 2:52 AM

                You are using wrong sources.list
                try following command

                leafpad /etc/apt/sources.list

                then delete all things from there and paste following

                deb http://kali.cs.nctu.edu.tw/kali kali-rolling main non-free contrib

                then save and close it.... then you need to update by following command

                apt-get update

                after updating do whatever you are doing... This may solve your problem

                Delete Comment
              • Unknown photo
                UnknownNovember 4, 2019 at 4:54 PM

                received following error

                oot@kali:~/social_mapper# python3 social_mapper.py -f imagefolder -i /root/social_mapper/Input-Examples/imagefolder -m fast -fb
                [-] Error Filling out Facebook Profiles [-]
                cmd=['Xvfb', '-help']
                OSError=[Errno 2] No such file or directory: 'Xvfb': 'Xvfb'
                Program install error!

                Delete Comment
                • Kali Linux photo
                  Kali LinuxOctober 10, 2021 at 6:38 PM

                  Hey! try with:
                  "apt update && apt install xvfb && pip3 install pyvirtualdisplay && pip install pyvirtualdisplay"
                  (without quotes).

                  Delete Comment
                • Unknown photo
                  UnknownMay 8, 2021 at 2:41 PM


                  [+] Facebook Login Page loaded successfully [+]
                  [+] Facebook Login Success [+]

                  Facebook Check 3/3 : Steve Jobs

                  Results file: SM-Results/results-social-mapper.csv
                  HTML file: SM-Results/results-social-mapper.html



                  Sir i don't get the links plz help

                  Delete Comment
                  • Unknown photo
                    UnknownOctober 9, 2021 at 6:19 PM

                    sir i get this error how to solve it

                    [+] Facebook Login Page loaded successfully [+]
                    [-] Error Filling out Facebook Profiles [-]
                    Message: Unable to locate element: //button[@data-testid='cookie-policy-banner-accept']

                    [-]

                    Delete Comment
                    • Kali Linux photo
                      Kali LinuxOctober 10, 2021 at 6:37 PM

                      You could try uninstalling soupsieve and reinstalling Beautifulsoup (which contains soupsieve I believe)? I've never had this issue though thinking.

                      Delete Comment
                    • Unknown photo
                      UnknownOctober 27, 2021 at 5:54 PM

                      You have made some really good points there. I looked on the web to learn more about the issue and found most individuals will go along with your views on this website. In my opinion you will be a grat blogger in the future. Keep it up and give us some more information.
                      Windows10activator

                      Delete Comment
                      • Malik photo
                        MalikNovember 9, 2021 at 8:54 PM

                        I am very happy to read the posts on this site which contain a lot of useful information, thank you for providing this kind of information.
                        Altium Designer

                        Delete Comment
                        • Unknown photo
                          UnknownNovember 15, 2021 at 9:15 PM

                          hello sir, This is a really good article. I recently discovered your blog. symptoms of sihr of separation.thank youThe Avast Pro Antivirus license key

                          Delete Comment
                          • Unknown photo
                            UnknownNovember 15, 2021 at 9:44 PM

                            https://blog.oakagency.pt/melhores-ferramentas-para-escolher-cores/

                            Delete Comment
                            • Unknown photo
                              UnknownNovember 16, 2021 at 5:04 PM

                              hi sir, Wow really interesting article, may later be able to share other helpful information are more interesting. Thank you! DxO PureRAW Crack

                              Delete Comment
                              • Unknown photo
                                UnknownNovember 19, 2021 at 8:54 PM

                                hello sir,I truly appreciate this post. I?ve been looking everywhere for this! Thank goodness I found it on Bing. You have made my day! Thanks MindManager Crack



                                Delete Comment
                                • Areesh photo
                                  AreeshNovember 24, 2021 at 5:21 PM

                                  It is a pleasure to read the posts on this site, which contain a lot of useful information, thanks for sharing. I hope you will continue writing informative posts like this. Regards!
                                  NTLite

                                  Delete Comment
                                  • softskey photo
                                    softskeyDecember 11, 2021 at 9:09 PM

                                    You can be "aware of the fact that Ms. Kitchner is retiring.adobe after effect

                                    Delete Comment
                                    • crack photo
                                      crackDecember 11, 2021 at 9:28 PM

                                      Gross Res is a stunning alpine body of water that is open to the public for freeavs audio converter crack

                                      Delete Comment
                                      • Unknown photo
                                        UnknownDecember 16, 2021 at 5:07 PM



                                        hi sir,That's an outstanding piece of work!I look forward to seeing more!thank you.
                                        crack find

                                        Delete Comment
                                        • Anonymus photo
                                          AnonymusDecember 18, 2021 at 5:48 PM

                                          Thank you so much for awesome post! An opportunity to read a superb blogs, I really like to read your article, the points you have mentioned in this article are helpful for me.
                                          ApowerREC Crack

                                          Delete Comment
                                          • Unknown photo
                                            UnknownDecember 28, 2021 at 2:47 PM

                                            I get this error. please help me!

                                            [-] Error Filling out Facebook Profiles [-]
                                            Message: Process unexpectedly closed with status 1

                                            [-]

                                            Delete Comment
                                          • benjamin photo
                                            benjaminApril 8, 2022 at 11:50 PM

                                            I will subscribe to your feed and I hope you will write again soon. Thank you very much for the useful information.
                                            Getintokey
                                            elcomsoft-password-digger-crack/
                                            efficient-diary-pro-crack/
                                            efficient-address-book-crack/
                                            ebook-converter-bundle-crack/
                                            easy-file-shredder-crack/

                                            Delete Comment
                                            • AnonymousMay 13, 2022 at 11:05 PM

                                              This article is very useful. Thanks for sharing.
                                              Sandboxie Crack
                                              Mobaxterm Professional Crack

                                              Delete Comment
                                              google-playkhamsatmostaqltradent