Skip to content
Back to Blog
·10 min read·guides

OSINT Recon: How Attackers Profile Your Company First

How attackers use OSINT reconnaissance to profile Indian SMBs before a phishing attack, and the counter-OSINT defences that shrink your public attack surface.

BR

Bachao.AI Research Team

Cybersecurity Research

Get Your Free VAPT Scan

What this means for your business

Indian SMBs without documented security controls face 3× higher breach costs (IBM Cost of a Data Breach 2024). This guide helps you close that gap.

Before a phishing email lands or an exploit fires, attackers spend days quietly building a profile of your company using nothing but public information — a technique called open-source intelligence (OSINT) reconnaissance. They map your domains and DNS records, list your employees from LinkedIn, search leaked-credential dumps for your corporate email domain, hunt for exposed cloud storage and code repositories, and pull metadata out of your public documents. None of it is illegal, none of it touches your network, and almost none of it gets logged anywhere you'd notice. For Indian SMBs, understanding this reconnaissance phase — and locking down what feeds it — is one of the highest-leverage moves a security or IT lead can make.

What OSINT Reconnaissance Actually Is

OSINT is the practice of collecting and correlating publicly available information to build actionable intelligence about a target. In a cyberattack lifecycle, it's the first phase — before scanning, before exploitation, before the phishing email — because everything downstream gets more effective when it's personalised. A generic phishing email gets ignored; an email that names your CFO, references a vendor you actually use, and mimics your internal signature format gets clicked. That specificity comes entirely from OSINT.

Unlike active reconnaissance (port scanning, vulnerability probing), OSINT is passive. Attackers never touch your infrastructure directly — they query public records, scrape public pages, and search public databases. This makes it essentially undetectable, and it's why most SMBs have no idea how much of their attack surface is already mapped before an attacker sends a single packet toward their network.

ℹ️
INFO
Passive reconnaissance leaves no trace on your systems because it never queries them directly — it queries the public internet's records about them. There is no log entry to review, no alert to tune. The only real defence is reducing what's public in the first place.

Domain and DNS Footprinting

The first step in most OSINT workflows is domain footprinting: mapping every subdomain, DNS record, and piece of infrastructure tied to your primary domain. Tools like whois, dig, Shodan, and certificate transparency logs (crt.sh) reveal far more than most companies expect — staging environments, forgotten test subdomains, internal tool hostnames, and hosting providers.

Certificate transparency logs are particularly revealing. Every publicly trusted SSL/TLS certificate issued for your domain — including for subdomains like staging.yourcompany.com — gets permanently logged in a public, searchable ledger the moment it's issued. An attacker searching crt.sh for your domain can enumerate infrastructure your own team may have forgotten existed.

dig yourcompany.com ANY
whois yourcompany.com

WHOIS records, where not privacy-protected, can expose registrant names, phone numbers, and email addresses — a direct feed into social engineering. DNS records reveal mail server software and third-party services (payment processors, CRMs, marketing tools) via SPF/TXT records.

💡
TIP
Enable WHOIS privacy protection on every domain your organisation owns, and periodically search crt.sh for your domain to see exactly what subdomains and certificates are publicly discoverable. If something shouldn't be public, decommission it or move it behind authentication.

Employee Enumeration via LinkedIn and Social Platforms

Once the technical footprint is mapped, attackers turn to people. LinkedIn is the single richest OSINT source for this: company pages list every employee who's linked their profile, complete with job titles, tenure, and often direct reporting lines. From this, an attacker can build an org chart without ever contacting the company — identifying the finance team for business email compromise (BEC) targeting, IT administrators for credential-phishing, and executives for whaling attacks.

Tools built for this — Hunter.io, theHarvester, and similar — combine LinkedIn employee lists with common corporate email-naming patterns (firstname.lastname@company.com) to generate a working list of real corporate email addresses, often with high accuracy, entirely from public data.

Social media compounds this. Employees posting about a new vendor contract, a system migration, or an out-of-office message naming a colleague as backup contact all hand an attacker context that makes a phishing attempt more convincing.

graph TD A[Footprint Domain and DNS] -->|Subdomains and infra| B[Enumerate Employees] B -->|Org chart and emails| C[Identify Tech Stack] C -->|Software and versions| D[Find Leaked Credentials] D -->|Valid logins and context| E[Plan Targeted Attack] style A fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style B fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style C fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style D fill:#5f1e1e,stroke:#EF4444,color:#e2e8f0 style E fill:#5f1e1e,stroke:#EF4444,color:#e2e8f0

Know your vulnerabilities before attackers do

Run a free VAPT scan — takes 5 minutes, no signup required.

Book Your Free Scan

Technology Stack Fingerprinting

Job postings, developer forum questions, and public repositories quietly reveal what software a company runs. A listing asking for "3 years of experience with [specific CRM]" tells an attacker exactly which vendor systems to research for known vulnerabilities. Passive tools like Wappalyzer identify the CMS, analytics, and JavaScript frameworks a public website runs, often down to version numbers exposed in HTTP headers.

This matters because vulnerability research is version-specific — knowing a target's exact CMS, plugin, or framework version lets an attacker check public vulnerability databases for known, unpatched exploits before investing any further effort.

Leaked Credentials and Data Breach Exposure

Every major data breach ever recorded gets scraped into "combo lists" and credential-stuffing databases, many freely searchable or traded on underground forums. An attacker simply searches for your corporate email domain against these datasets. Even if the leaked password is from an unrelated service — a forum, a delivery app, an old SaaS trial — employees who reuse passwords hand attackers a working set of credentials to try against corporate email, VPN, or SaaS logins.

This is precisely why credential-stuffing remains one of the most common initial-access techniques globally, and why reused passwords are consistently flagged as a top contributing factor in breaches.

🛡️
SECURITY
If your organisation has never checked whether employee corporate emails appear in known breach datasets, that is an active, unaddressed exposure right now — not a future risk. Multi-factor authentication is the single control that most directly neutralises a leaked-password match.

Exposed Cloud Buckets, Repositories, and Documents

Misconfigured cloud storage is one of the most consistently exploited OSINT findings. Publicly readable AWS S3 buckets, Azure Blob containers, or Google Cloud Storage buckets — often set to "public" during testing and never locked back down — can expose customer data, internal documents, or credentials directly. Automated scanners that continuously enumerate cloud storage naming patterns make this discovery near-instant for attackers.

Public code repositories carry a parallel risk: developers accidentally committing API keys or database credentials into a public GitHub repo — sometimes removed in a later commit but still recoverable from git history, which most people forget is permanently public once pushed.

Even ordinary public documents — PDFs, Word files, spreadsheets on your own website — carry metadata: the author's real name, internal usernames, and sometimes internal file paths. Tools like exiftool extract this automatically, at scale, across every public document on your site.

OSINT techniqueWhat it revealsPrimary defence
DNS/certificate transparencySubdomains, hosting, forgotten infraDecommission unused subdomains, audit crt.sh regularly
LinkedIn enumerationOrg chart, roles, likely email formatLimit public role detail, employee awareness training
Job postings/forumsTech stack, software versionsGeneralise postings, avoid naming exact vendor versions
Breach databasesReused/leaked passwordsEnforce MFA, monitor for domain in breach data
Cloud storage scanningExposed buckets, files, credentialsBucket audits, least-privilege ACLs, no public-by-default
Document metadataAuthor names, internal paths, tool versionsStrip metadata before publishing
Google dorkingIndexed sensitive files, login pages, error pagesRobots.txt review, remove sensitive files from indexable paths

Google Dorking: Search Engines as a Recon Tool

Google dorking uses advanced search operators to find content search engines have indexed but that was never meant to be publicly discoverable — exposed login panels, configuration files, directory listings, or sensitive documents. Queries like site:yourcompany.com filetype:pdf or site:yourcompany.com intitle:"index of" surface exactly this kind of accidental exposure, using nothing more than a standard search engine.

Because this relies on what search engines have already crawled, the fix isn't reactive — it requires proactively controlling what gets indexed via robots.txt, noindex directives, and not leaving sensitive files reachable at predictable, unauthenticated URLs.

pie title OSINT Data Source Mix in a Typical Recon Phase "DNS and Certificate Data" : 20 "Social Media and LinkedIn" : 25 "Leaked Credential Databases" : 20 "Cloud and Repository Exposure" : 20 "Search Engine Indexing" : 15

How OSINT Feeds Phishing and Social Engineering

Every piece of OSINT collected feeds directly into the next attack phase. An attacker who knows your CFO's name, your finance team's reporting structure, your actual vendor relationships, and your corporate email format can craft a business email compromise attempt that looks exactly like a legitimate internal request — often asking finance to process an urgent payment or update banking details. This is why BEC and targeted spear-phishing consistently outperform generic phishing: the personalisation is built entirely from information the target organisation made public itself.

68%Breaches involving a non-malicious human element, such as error or social engineering (Verizon 2024 DBIR)
QualitativeCERT-In advisories repeatedly flag social engineering and spear-phishing as leading initial-access vectors against Indian organisations (CERT-In)

These figures are drawn from the Verizon Data Breach Investigations Report and periodic advisories published by CERT-In, India's national computer emergency response team.

Defensive Counter-OSINT: What Indian SMBs Should Lock Down

Counter-OSINT isn't about disappearing from the internet — it's about reducing the specific, actionable details an attacker can weaponise. Start with a periodic self-audit: search your own domain on crt.sh, run a Google dork sweep against your own site, and check whether your corporate domain appears in public breach datasets.

    1. Enable WHOIS privacy on all owned domains and audit subdomains quarterly.
    2. Strip metadata from PDFs, Word docs, and images before publishing them publicly.
    3. Set cloud storage buckets to private-by-default; require a reviewed exception for anything public.
    4. Scan repositories for accidentally committed secrets, and rotate any credential ever exposed — deleting the commit does not remove it from history.
    5. Train employees on what NOT to post publicly — project names, vendor contracts, org-chart detail.
    6. Enforce MFA everywhere, since it neutralises the value of leaked or guessed passwords found via OSINT.
    7. Use robots.txt and noindex deliberately; never rely on "security through obscurity" for sensitive URLs.
⚠️
WARNING
Deleting a leaked file or a bad commit does not undo the exposure. Once data is public — even briefly — assume it has been archived or scraped, and respond by rotating credentials rather than assuming removal is sufficient.
🎯Key Takeaway
Attackers don't need to breach your network to profile your organisation — they only need what's already public. The single highest-leverage defensive move is a recurring self-OSINT audit: see your company the way an attacker sees it, then close the gaps before they're exploited.

Where This Fits Into a Broader Security Programme

Counter-OSINT hygiene reduces the quality of information available to attackers, but it doesn't replace testing your actual defences. A structured VAPT engagement — delivered with a CERT-In empanelled partner where regulatory submission is required — typically includes an OSINT phase as its own deliverable, showing exactly what's discoverable about your organisation before moving into active scanning and exploitation testing. That combination — reducing your public footprint and independently verifying what's still exploitable — closes the gap between "we think we're fine" and knowing it. Bachao.AI, built by Dhisattva AI Pvt Ltd, provides continuous, automated visibility into this kind of exposure so Indian SMBs aren't relying on a once-a-year manual review. Organisations handling personal data should also review obligations under India's DPDP Act, enacted under the framework maintained by MeitY, since leaked customer data discovered via OSINT can itself constitute a reportable exposure.

Ready to see what's publicly discoverable about your organisation? Get a free VAPT scan, or browse the Bachao.AI blog for more practical security guides built for Indian SMB teams.

Frequently Asked Questions

What is OSINT reconnaissance in cybersecurity?
OSINT (open-source intelligence) reconnaissance is collecting publicly available information — DNS records, employee details, leaked credentials, exposed files — to profile a target before an attack. It's passive, leaves no trace on the target's systems, and typically precedes phishing or exploitation attempts.
Can attackers really find employee email addresses from LinkedIn?
Yes. LinkedIn company pages list employees with names and job titles, and tools combine this with common corporate email-naming patterns like firstname.lastname@company.com to generate accurate working email address lists without ever contacting the target directly.
How do I check if my company's data has appeared in a breach?
Search your corporate email domain against public breach-notification and credential databases, and monitor for employee credentials appearing in newly indexed breach datasets. Any confirmed match should trigger an immediate password reset and MFA enforcement for the affected account.
What is certificate transparency and why does it expose subdomains?
Certificate transparency is a public, permanent log that every publicly trusted SSL/TLS certificate authority must record. Because a certificate is logged the moment it's issued, anyone can search sites like crt.sh to see every subdomain your organisation has ever requested a certificate for, including forgotten test or staging environments.
Is Google dorking illegal?
No. It uses standard, publicly available search operators against content search engines have already indexed. It's not unauthorised access — which is exactly why organisations need to proactively control what gets indexed rather than relying on obscurity.
How is counter-OSINT different from a penetration test?
Counter-OSINT hardens the public information available about your organisation, reducing what an attacker can passively gather. A penetration test actively verifies which systems can actually be exploited. They're complementary: counter-OSINT shrinks the attack surface, and a VAPT engagement confirms what's left is secure.
BR

Bachao.AI Research Team

Cybersecurity Research

AI-powered security research and threat intelligence from the Bachao.AI team. Covering the latest vulnerabilities, CVEs, and cybersecurity developments affecting Indian businesses.

Get cybersecurity insights for Indian SMBs

Weekly vulnerability alerts, DPDP compliance tips, and security guides. No spam — unsubscribe anytime.

We respect your privacy. Your email is never shared.

Know your vulnerabilities before attackers do

Free automated scan — risk score in under 2 hours. No credit card required.

Get Your Free VAPT Scan
Find your vulnerabilitiesStart free scan →