hacking tutorials 2023All About Hacking

Using Spiderfoot for OSINT Data Gathering

Using Spiderfoot for OSINT Data Gathering Open source Intelligence –or OSINT as it has emerge as known –is a main-side subject in hacking/pentesting, forensics and information science.

OSINT is changing the way private investigators Using Spiderfoot for OSINT Data Gathering:

, pentesters and information scientists do their task.

Open supply Intelligence uses the sources freely available on the internet (no unlawful sports necessary) to do hacking/pentest reconnaissance, clear up mysteries and behavior investigations (for write up on how Hackers-stand up and OTW exposed a global rip-off the usage of OSINT strategies, take a look at out this text). There are a large number of equipment and techniques to reap this intelligence. remember that there are a plethora of sources at the internet and every one often needs it is out equipment and strategies Using Spiderfoot for OSINT Data Gathering.

For hackers and pentesters, OSINT can be valuable in garnering information on a goal for a phishing or spearphishing marketing campaign. The more you recognize approximately your target, the better the chance of achievement Using Spiderfoot for OSINT Data Gathering.

 Using Spiderfoot for OSINT Data Gathering
Using Spiderfoot for OSINT Data Gathering 2023

 

in the this educational we will take a look at the way to use a widespread-purpose OSINT records gathering device named spiderfoot. This tool is great for beginning an investigation as it’s far able to gathering statistics from a a couple of of sources automatically with little or no manual intervention. once this information has been accrued you’ll probably need to dig deeper with a particular tool for that precise useful resource Using Spiderfoot for OSINT Data Gathering.

Step #1: down load and installation installation spiderfoot

Spiderfoot isn’t always set up via default in Kali, so that you will need to download it from github.com.

kali > git clone https://github.com/smicallef/spiderfoot Using Spiderfoot for OSINT Data Gathering.git

as soon as you have finished the down load, navigate to the new spiderfoot listing Using Spiderfoot for OSINT Data Gathering.

kali > cd spiderfoot

subsequent, you’ll want to download spiderfoot’s necessities.

kali > pip3 install -r necessities

Spiderfoot does have a bundle on the Kali repository and you may down load with apt or apt-get.

kali > apt-get set up spiderfoot Using Spiderfoot for OSINT Data Gathering

Step #2: begin Spiderfoot and Open a web Browser

you may run spiderfoot from the command line, but I prefer to use the browser because it allows clean navigation and graphical outcomes which might be smooth to decipher. Spiderfoot will open an internet server on Kali and serve the spiderfoot application on port 5001 Using Spiderfoot for OSINT Data Gathering.

kali > python3 sf.py -l 127.0.zero.1:5001

once the net server is up and walking, open a browser at 127.0.zero.1 (or localhost) at port 5001 and you have to be greeted with a screen like that below.

Step #3: choose the form of research Using Spiderfoot for OSINT Data Gathering:

the subsequent step is to select what form of scan you want to behavior. Spiderfoot is capable of using a number of exclusive statistics sorts as a “seed goal”. after you name your test (“new test”) and click on the “Seed target” window, you may be greeted by using a pull down window with a number of options.

Spiderfoot can use a site name, IP cope with (IPv4 or IPv6), Hostname, subnet, ASN, e-mail address, cellphone numbers, human call and username as a “seed target”. i’ve found spiderfoot to be mainly beneficial looking for email addresses, telephone numbers, and each human and usernames. There are a number of other gear able to locating the opposite Seed objectives Using Spiderfoot for OSINT Data Gathering.

In this situation, i was searching a for a Human name and entered it into the window in double quotation marks.

when spiderfoot has completed its scan, you could evaluation its consequences through clicking on the “Browse” tab Using Spiderfoot for OSINT Data Gathering.

one of the nicer features of spiderfoot is its capability to display the information in graphical shape. each node represents a chunk of statistics on the challenge Using Spiderfoot for OSINT Data Gathering.

if you enlarge the graph, you could see the man or woman element of each node.

Step #4: the usage of API Keys Using Spiderfoot for OSINT Data Gathering

Spiderfoot is also capable of the use of some of distinctive offerings that require API keys. those utility Programming Interfaces (API) are the standard manner that customers and builders interface and access the software and it’s resources. The API’s that spiderfoot is capable of the usage of consist of;

Honeypot Checker – www.projecthoneypot.org This service checks to look whether a bunch is a likely honeypot.

Shodan – www.shodan.io Shodan permits you to experiment the internet by the banners offered by means of net servers that monitor the underlying technologies Using Spiderfoot for OSINT Data Gathering.

VirusTotal – www.virustotal.com allows you to look whether a piece of software program is known malware Using Spiderfoot for OSINT Data Gathering.

IBM X-pressure exchange – https://trade.xforce.ibmcloud.com – this carrier from IBM affords information that integrates with firewalls, IDS and SIEM’s on malicious threats.

Malware Patrol – http://www.malwarepatrol.net – this service tracks energetic threats currently being used on the internet Using Spiderfoot for OSINT Data Gathering.

BotScout – http://www.botscout.com – this carrier identifies bots and save you them from joining organisation boards and different offerings Using Spiderfoot for OSINT Data Gathering.

Censys.io – http://www.censys.io – this service scans nearly each IP address for vulnerabilities an access points.

Hunter.io – http://www.hunter.io – this provider is a few of the best at locating e mail addresses.

AlienVault OTX – https://otx.alienvault.com – this provider shares the contemporary facts about emerging threats, attack strategies, and malicious actors, promoting greater protection across the whole network.

Clearbit – https://dashboard.clearbit.com – this provider offers actual-time info on traffic to your net website online.

BuiltWith – https://www.builtwith.com – BuiltWith scans the net for the technologies in the back of the internet website. An tremendous service for quickly identifying targets with a vulnerable era.

FraudGuard -https://fraudguard.io – this service collects info on honeypots, open proxies servers, ToR go out nodes, geographic IP monitoring, botnets, and spam IP’s.

IPinfo.io – https://ipinfo.io. – this carrier is able to tracking the geographic and other facts on any IP

protection Trails SecurityTrails.com allows you to analyze DNS history, WhoIs information, domain names, website technologies, Hostname facts and tags.

FullContact.com https://fullcontact.com – this provider enables advertisers perceive the person on every device to optimize advertsing campaigns. it may be superb for figuring out the consumer of a device.

RiskIQ – https://riskiq.com threat IQ focuses on attack floor management. Their database is designed for CISO’s to manage their corporations hazard by using amassing key records that might be beneficial to an attacker

Spiderfoot is a powerful device with out those API’s, but given these API’s it can end up your move-to device for automated OSINT reconnaissance.

precis

OSINT is swiftly becoming a key technology and skillset for investigators, pentesters and data scientists. spiderfoot can shop those specialists innumerable hours running with individuals gear by means of offering an automatic test of some of open supply sources.

For more on OSINT equipment and strategies, got to the OSINT web page or attend the next OSINT training at Hackers-rise up!

SpiderFoot is an open supply automation tool use for intelligence collecting(footprinting). the primary intention of the equipment is to provide absolutely automatic framework for gathering intelligence approximately a given goal(IP cope with, hostname, domain call). device is each to be had for windows and Linux working systems. it’s far written in python(2.7) and offer internet based GUI for pentester for clean use. tool may be used as each offensively(ex: black field trying out) and defensively(ex: identify which facts to be had to the attackers) according the pentester’s requirements.

reason of the SpiderFoot

 Using Spiderfoot for OSINT Data Gathering
Using Spiderfoot for OSINT Data Gathering 2023

specifically SpiderFoot can be utilized in three important areas:

To discover/apprehend what information is openly exposing to the out of doors global from your network/corporation.
In penetration testing, it automate the reconnaissance degree of the take a look at. this will shop pen-testers time.
may be used as chance intelligence device for gather data approximately malicious IPs is probably seeing in logs or hazard intelligence feeds.
After specify the goal we need to research and permit modules we need, SpiderFoot robotically queries over one hundred public records resources to accumulate facts. The records back from SpiderFoot may also reveal lot of facts about the goal such as viable facts leaks and vulnerabilities.

SpiderFoot’s scanning feature is built up the use of modules listed beneath. (due to the fact tool is extensible users can write their personal modules)

sfp_dns: plays a number of DNS exams to attain IP Addresses, MX/NS records and associates.
sfp_geoip: Identifies the physical place of IP addresses recognized.
sfp_googlesearch: some light Google scraping to pick out hyperlinks for spidering.
sfp_mail: perceive electronic mail addresses in any acquired web content material.
sfp_pageinfo: obtain records about web pages (do they take passwords, do they incorporate paperwork, and so forth.)
sfp_portscan_basic: Scans for typically open TCP ports on internet-facing systems.
sfp_ripe: Queries RIPE to become aware of netblocks and different info.
sfp_similar: search diverse resources to perceive similar looking domains.
sfp_spider: Spidering of web-pages to extract content for looking. probable the most important module.
sfp_stor_db: stores scan results into the again-quit SpiderFoot database. you’ll want this unless you’re debugging.
sfp_subdomain: pick out hostnames / sub-domains in URLs and received content material.
sfp_websvr: gain web server banners to become aware of versions of web servers being used.
sfp_xref: pick out whether or not other domain names are related (‘affiliates’) of the target.
capabilities

Designed for max data extraction.

utilizes plenty of various records assets.
net based totally GUI.
Simultaneous scans.
Runs on Linux and home windows.
going for walks Your initial Scans
after you’ve accessed the SpiderFoot web app the usage of your browser, go to the Settings tab to feature API keys to at least some of the offerings that have a lock icon next to their call. SpiderFoot can query some information resources with out keys; others, which include Google, BuiltWith, Censys, Have I Been Pwned, and so forth. require that you specify an API key.

when you’ve delivered the API keys, you can start your first experiment by means of going to the brand new scan tab as proven below. within the Seed target container, you can specify domains, electronic mail addresses, subnets, IPs, or another records kind which you’d like to use because the place to begin to your research.

you could keep an eye to your scans and observe their effects from the Scans tab.

or example, underneath is the summary of the outcomes of the test I accomplished via beginning with an email cope with Using Spiderfoot for OSINT Data Gathering:

SpiderFoot is an open source automation device use for intelligence accumulating(footprinting). the main aim of the gear is to offer absolutely automatic framework for gathering intelligence approximately a given target(IP deal with, hostname, domain name). tool is both available for home windows and Linux working systems. it is written in python(2.7) and provide internet primarily based GUI for pentester for smooth use. device can be used as both offensively(ex: black container checking out) and defensively(ex: discover which facts to be had to the attackers) in accordance the pentester’s requirements Using Spiderfoot for OSINT Data Gathering.

cause of the SpiderFoot

mainly SpiderFoot can be utilized in three primary regions:

To pick out/recognize what facts is openly exposing to the out of doors global out of your network/company.
In penetration checking out, it automate the reconnaissance level of the check. this can shop pen-testers time.
can be used as danger intelligence device for acquire facts about malicious IPs is probably seeing in logs or risk intelligence feeds.
After specify the goal we need to research and allow modules we want, SpiderFoot mechanically queries over 100 public records sources to accumulate information. The statistics returned from SpiderFoot may additionally reveal lot of data about the target along with feasible information leaks and vulnerabilities.

SpiderFoot’s scanning function is built up the usage of modules indexed beneath. (seeing that tool is extensible customers can write their own modules)

sfp_dns: plays a number of DNS exams to gain IP Addresses, MX/NS information and affiliates.
sfp_geoip: Identifies the physical place of IP addresses recognized.
sfp_googlesearch: a few mild Google scraping to perceive hyperlinks for spidering.
sfp_mail: perceive e mail addresses in any acquired internet content material.
sfp_pageinfo: gain statistics approximately web pages (do they take passwords, do they incorporate forms, and many others Using Spiderfoot for OSINT Data Gathering.)
sfp_portscan_basic: Scans for commonly open TCP ports on net-facing structures.
sfp_ripe: Queries RIPE to pick out netblocks and other info.
sfp_similar: search various assets to discover similar searching domain names.
sfp_spider: Spidering of web-pages to extract content material for searching. likely the maximum crucial module.
sfp_stor_db: shops scan effects into the back-cease SpiderFoot database. you may want this unless you’re debugging Using Spiderfoot for OSINT Data Gathering.
sfp_subdomain: become aware of hostnames / sub-domains in URLs and obtained content material.
sfp_websvr: obtain web server banners to identify versions of internet servers being used.
sfp_xref: pick out whether different domains are associated (‘associates’) of the goal.
capabilities Using Spiderfoot for OSINT Data Gathering

Designed for optimum facts extraction.

utilizes plenty of various statistics sources.
web primarily based GUI.
Simultaneous scans.
Runs on Linux and home windows.
strolling Your initial Scans Using Spiderfoot for OSINT Data Gathering
after you’ve accessed the SpiderFoot internet app the use of your browser, visit the Settings tab to add API keys to as a minimum a number of the offerings which have a lock icon subsequent to their call. SpiderFoot can question some records assets with out keys; others, which include Google, BuiltWith, Censys, Have I Been Pwned, and so on. require which you specify an API key Using Spiderfoot for OSINT Data Gathering.

when you’ve brought the API keys, you could start your first test by going to the new experiment tab as proven beneath. in the Seed target container, you could specify domain names, email addresses, subnets, IPs, or another facts kind that you’d like to use as the starting point in your investigation.

 Using Spiderfoot for OSINT Data Gathering
Using Spiderfoot for OSINT Data Gathering 2023

you may preserve a watch in your scans and observe their consequences from the Scans tab. for example, below is the precis of the effects of the test I accomplished by way of starting with an e mail deal with:

Sources

 

Leave a Reply

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