Detection Playbook: Business Relationships (T1591.002)

T1591.002 · 2026-11-10

Business Relationships

Reconnaissance
PRE
MITRE ATT&CK →
Technique Business Relationships (T1591.002)
Tactic Reconnaissance
Platforms PRE

Overview

Business Relationships reconnaissance (T1591.002) is a pre-compromise technique where adversaries systematically research an organization's external partnerships — managed service providers (MSPs), contractors, cloud vendors, law firms, logistics partners, and supply chain dependencies — to identify weak links that can serve as stepping stones into the primary target. The goal is not to attack directly, but to map the trust relationships that grant third parties privileged or persistent access to the victim's environment.

Because this reconnaissance happens almost entirely outside the defender's network perimeter — across public websites, social media, leaked datasets, and direct social engineering — it is among the hardest pre-attack phases to detect. Despite this, detection is critical: organizations that catch early-stage reconnaissance activity can disrupt the attacker's planning cycle before any intrusion attempt is made, and evidence of targeted third-party research is often the earliest warning signal that a supply-chain or trusted-relationship attack is being prepared against them.

Attacker Perspective

Adversaries treat business relationship mapping as low-risk, high-yield intelligence gathering that directly enables more impactful follow-on attacks against both the primary victim and their partners.

  • LinkedIn and social media scraping: Attackers use tools like linkedin2username, CrossLinked, or manual enumeration to harvest employee job titles, vendor announcements, and partnership disclosures that reveal which MSPs, integrators, or outsourced IT providers have access to the target environment.
  • Website and document harvesting: Tools like theHarvester, httrack, or wget --mirror are used to scrape the victim's public-facing websites for press releases, partner pages, annual reports, and investor relations documents that name specific third-party relationships and contract details.
  • Passive DNS and certificate transparency mining: Using Shodan, Censys, or certificate transparency logs via crt.sh, adversaries identify subdomains and SSL certificates that expose the names of SaaS platforms, cloud providers, and integration partners used by the organization.
  • Phishing for direct elicitation: Targeted spearphishing emails impersonating auditors, regulators, or journalists — crafted with tools like GoPhish — are sent to employees in procurement, vendor management, or IT operations to directly elicit vendor names, contract structures, and remote access methods.

This technique is attractive to adversaries precisely because it requires no malware, generates no network alerts inside the victim's environment, and produces a detailed map of trusted access paths that can be exploited through supply chain compromise, trusted relationship abuse, or vendor-impersonation phishing.

Detection Strategy

Required Telemetry

  • Web proxy / Secure Web Gateway logs: Every outbound HTTP/HTTPS request from internal hosts must be logged with full URL, user-agent, source IP, destination domain, referrer, and response code. Enable SSL/TLS inspection where policy permits so HTTPS destinations are visible. Tools: Zscaler, Palo Alto URL Filtering, Squid, Bluecoat — ensure logs are forwarded to your SIEM.
  • DNS query logs: Enable full recursive DNS query logging on internal resolvers (Windows DNS debug logging: enable via dnscmd /config /logLevel 0x8100 or DNS Server audit logging in Event ID 3008 under Microsoft-Windows-DNS-Server/Audit). On Linux/bind, enable querylog in named.conf. Forward to SIEM. This captures lookups to reconnaissance infrastructure like crt.sh, shodan.io, hunter.io, and similar OSINT platforms.
  • Email gateway logs: Inbound and outbound email metadata including sender, recipient, subject, attachment hashes, and X-headers must be logged. For Microsoft 365 environments, enable Unified Audit Log (UAL) and Message Trace. For on-premises Exchange, enable Message Tracking logs. These catch inbound elicitation phishing and outbound data disclosures.
  • Microsoft 365 / Azure AD Unified Audit Log: Enable via Security & Compliance Center. Captures user activity including searches, file access in SharePoint/OneDrive, and external sharing events that may expose vendor or partner documentation to unauthorized parties. Relevant operations: SearchQueryInitiated, FileAccessed, SharingInvitationCreated.
  • Endpoint process and network telemetry (EDR): For Windows endpoints, enable Sysmon (Event IDs 1 process creation, 3 network connection, 22 DNS query). Deploy via GPO with a community Sysmon config (SwiftOnSecurity or Olaf Hartong). On Linux, use auditd with rules: -a always,exit -F arch=b64 -S execve -k process_exec. This captures local OSINT tooling run from inside the network.
  • Firewall / NGFW flow logs: Enable connection logging for all outbound flows, including destination IP, destination port, bytes transferred, and application identification. Required to detect bulk data exfiltration from scraped content or large outbound transfers to reconnaissance platforms.
  • Cloud access logs (AWS CloudTrail, Azure Activity Log, GCP Audit Logs): Enable all management and data plane logs. Adversaries may enumerate cloud resource tags, IAM policies, or S3/Blob storage contents that expose partner integration details, API keys, and service account names.

Key Indicators

  • DNS queries to known OSINT and reconnaissance platforms: Log source: DNS query logs. Field: query_name. Values: hunter.io, shodan.io, censys.io, crt.sh, whois.domaintools.com, intelx.io, spyse.com, dnsdumpster.com, recon.dev. These are legitimate for security researchers but anomalous from general-purpose workstations or servers.
  • Web proxy hits to LinkedIn, Crunchbase, and business intelligence platforms at abnormal volume: Log source: Web proxy. Fields: dest_domain, bytes_out, http_method. Pattern: single source IP generating >500 requests to linkedin.com, crunchbase.com, zoominfo.com, or dnb.com within a 1-hour window, particularly to /company/ or /people/ URL paths.
  • Execution of OSINT reconnaissance tools on internal endpoints: Log source: Sysmon Event ID 1 or EDR process telemetry. Fields: process_name, command_line. Values: theharvester, recon-ng, maltego, crosslinked.py, linkedin2username.py, amass, subfinder. Command-line patterns: theHarvester -d targetcorp.com -b all, amass enum -d targetcorp.com.
  • Certificate transparency and passive DNS lookups from internal hosts: Log source: Sysmon Event ID 22 (DNS query) or DNS server logs. Field: query_name. Patterns: queries to crt.sh, api.certspotter.com, api.shodan.io originating from non-security-team hosts. This is a strong indicator of an insider or compromised host conducting partner mapping.
  • Inbound phishing emails with elicitation content patterns: Log source: Email gateway. Fields: subject, sender_domain, body_keywords. Patterns: subjects containing terms like vendor assessment, third-party audit, supply chain questionnaire, partnership verification combined with sender domains registered within the last 30 days (check domain age via threat intel enrichment).
  • Anomalous SharePoint/OneDrive searches for vendor or partner terms: Log source: Microsoft 365 Unified Audit Log. Fields: Operation, QueryText, UserId. Pattern: Operation = SearchQueryInitiated AND QueryText contains vendor, contractor, MSP, partner agreement, third party from accounts that do not normally perform such searches, or from accounts flagged as recently compromised.
  • Bulk external sharing of vendor or contract documents: Log source: Microsoft 365 UAL or Google Workspace Admin logs. Fields: Operation, TargetUserOrGroupType, ObjectId. Pattern: Operation = SharingInvitationCreated AND TargetUserOrGroupType = Guest for files with names matching vendor, contract, MSP, supply chain, partner.

Detection Logic

Rule 1 (Broad — High Sensitivity): Internal Host Querying Known OSINT Reconnaissance Domains
IF dns_query_name IN ["hunter.io", "shodan.io", "censys.io", "crt.sh", "intelx.io", "dnsdumpster.com", "recon.dev", "spyse.com"] AND source_ip NOT IN [approved_security_team_ip_range] THEN alert

This catches any internal host performing lookups to platforms primarily used for external reconnaissance. Expected volume is low to medium — security teams will generate legitimate hits, so the approved security team IP exclusion is essential. Tune aggressively after baselining.

Rule 2 (Medium — Balanced): High-Volume Web Requests to Business Intelligence Platforms from Single Source
IF dest_domain IN ["linkedin.com", "crunchbase.com", "zoominfo.com", "dnb.com"] AND request_count > 300 WITHIN 60_minutes AND source_ip = same_source THEN alert

This detects automated or semi-automated scraping behavior targeting platforms that expose business relationship data. Normal employee browsing generates tens of requests per session, not hundreds. Expect occasional false positives from HR or sales teams running bulk searches — baseline those users and add exclusions.

Rule 3 (Narrow — High Precision): Execution of Known OSINT Tooling on Endpoint
IF process_name IN ["theHarvester", "recon-ng", "amass", "subfinder", "crosslinked.py", "linkedin2username.py"] AND parent_process NOT IN ["legitimate_pentest_scheduler", "approved_security_tools"] AND host NOT IN [authorized_pentest_hosts] THEN alert

This is a high-fidelity rule targeting direct execution of OSINT enumeration tools on endpoints. Outside of authorized red team or penetration testing activity, this should almost never fire in production. Any alert from a non-pentest host warrants immediate investigation as a potential insider threat or compromised endpoint.

Rule 4 (Correlated — Behavioral Chain): Inbound Elicitation Email Followed by Internal Partner Document Search
IF email_received WHERE sender_domain_age < 30_days AND subject CONTAINS ANY ["vendor audit", "third party questionnaire", "supply chain review", "partner verification"] AND WITHIN 24_hours same user_id performs SharePoint_search WHERE query_text CONTAINS ANY ["vendor", "MSP", "contractor", "partner agreement"] THEN alert WITH priority HIGH

This correlated rule links an inbound social engineering attempt to a downstream behavioral change in the targeted user — specifically, searching for the very information the phishing email requested. This chain is a strong indicator of a successful elicitation attempt. Expected volume is very low; every alert should be investigated.

Tuning Guidance

  • Security team and threat intelligence analysts: These users legitimately query OSINT platforms, run reconnaissance tools, and access business intelligence sites as part of their daily work. Maintain an IP allowlist and user group (user IN [security_team_group], source_ip IN [soc_analyst_subnets]) and exclude from Rules 1 and 3. Review membership of this group quarterly.
  • HR, sales, and business development teams: These departments regularly use LinkedIn, ZoomInfo, Crunchbase, and Dun & Bradstreet for legitimate prospecting and due diligence. Exclude known accounts (user IN [sales_bd_hr_accounts]) from Rule 2 volume thresholds, or raise the threshold to >1000 requests for these groups and baseline their normal activity over 30 days first.
  • Authorized red team and penetration testing engagements: During scheduled assessments, pentesters will run tools like amass, theHarvester, and recon-ng from internal hosts. Maintain a pentest schedule integration: exclude host IN [pentest_hosts] and user IN [pentest_accounts] for the duration of approved engagement windows only. Require change tickets for all suppression.
  • Procurement and vendor management teams: These users routinely search SharePoint and OneDrive for vendor contracts, partner agreements, and third-party assessments. Exclude user IN [procurement_vendor_mgmt_group] from Rule 4's document search component, but retain the email correlation leg — a phishing email to a procurement user that triggers document searches is still suspicious even if the search itself is normal.
  • Certificate transparency monitoring services: If your organization runs internal certificate lifecycle monitoring tools (e.g., CertWatch, cert-manager webhooks), these may generate DNS lookups to crt.sh or api.certspotter.com from infrastructure hosts. Exclude these by source_ip IN [cert_monitoring_hosts] and process_name = cert_monitor_service from Rule 1.

When the Alert Fires: Investigation Steps

  1. Verify the alert is real and pull the raw event. Navigate directly to the originating log source (DNS server logs, web proxy logs, EDR console, or email gateway) and confirm the raw event exists with the exact field values that triggered the alert — do not rely solely on the SIEM parsed event, as field extraction errors can create false positives.
  2. Identify the affected host and user, and assess privilege level. Resolve the source IP to a hostname via your CMDB or DHCP logs, then identify the logged-in user at the time of the event from your identity provider (Active Directory event logs, Azure AD Sign-In logs, or EDR session context); flag immediately if the account holds admin, vendor management, procurement, or IT operations privileges.
  3. Pull the full process execution chain and command-line arguments. In your EDR console (CrowdStrike, Defender for Endpoint, SentinelOne), retrieve the full parent-child process tree for any process-based alerts — look specifically for python.exe, powershell.exe, or cmd.exe spawning OSINT tools, and capture the complete command line including target domain arguments which may reveal what organization is being researched.
  4. Check for associated network connections and files written to disk. Using Sysmon Event ID 3 (network connections) and Event ID 11 (file creation), or your EDR's network telemetry, determine whether the host made outbound connections to reconnaissance platforms and whether any output files (e.g., harvester results, scraped HTML archives, contact lists) were written to local disk or removable media.
  5. Search for lateral movement indicators from the affected host. Query your SIEM for Windows Event ID 4624 (logon) and 4648 (explicit credential logon) originating from the suspect host within a 24-hour window before and after the alert, and check Sysmon Event ID 3 for SMB or RDP connections to other internal hosts — lateral movement at this stage may indicate the host was compromised and the reconnaissance activity is adversary-controlled.
  6. Check for new persistence mechanisms on the affected host. Review Sysmon Event IDs 12, 13, 14 (registry modifications), Event ID 7045 (new service installed), and scheduled task creation (Windows Security Event 4698) from the host in the same timeframe; also check the user's email client for forwarding rules (Microsoft 365 UAL operation Set-InboxRule) that could be siphoning elicited responses to an external address.
  7. Make the escalation decision based on corroborating evidence. Escalate to a confirmed incident if you observe any two or more of the following: OSINT tooling executed on a non-pentest host, inbound elicitation email followed by internal searches for vendor data, outbound bulk transfer to a reconnaissance platform, or new persistence mechanisms on the host — a single DNS lookup to shodan.io from an analyst laptop is likely benign, but any corroborated chain of behavior warrants incident declaration and engagement of your incident response team.

Response Playbook

Containment

  • Isolate the affected endpoint from the network while preserving it for forensics: Use your EDR console (CrowdStrike Network Containment, Defender for Endpoint Isolate Device, or SentinelOne Network Quarantine) to cut the host's network access while keeping it powered on. Do not reimage until memory acquisition is complete — volatile evidence including running processes, network connections, and in-memory credentials will be lost on shutdown.
  • Disable the affected user account without deleting it: In Active Directory, use Disable-ADAccount -Identity [username] or the Azure AD admin portal to disable the account. Preserve the account and all associated logs — do not delete, as this may be needed for forensics and legal purposes. Notify the user's manager through an out-of-band channel (phone, not email) if the compromise appears unintentional.
  • Revoke all active sessions and tokens for the affected account: In Azure AD, use the "Revoke Sessions" function in the user's profile or run Revoke-AzureADUserAllRefreshToken -ObjectId [user_object_id] via PowerShell. For on-premises environments, force a Kerberos ticket purge by resetting the account password twice in quick succession (this invalidates existing TGTs).
  • Block identified external reconnaissance infrastructure at DNS and firewall: If outbound connections to specific OSINT platforms or attacker-controlled domains were identified during investigation, add those domains and IPs to your DNS RPZ (Response Policy Zone) blocklist and create deny rules in your NGFW or web proxy. Document each block with the ticket number for change management.
  • Preserve all relevant email evidence: If inbound elicitation phishing was identified, use your email gateway (Microsoft 365 Content Search or Proofpoint Threat Response) to perform a soft-delete purge of the phishing message from all mailboxes while retaining a copy in the compliance archive. Document the sender domain, sending IP, and message-id for threat intelligence sharing.

Eradication

  • Remove any OSINT tooling or dropped payloads identified on the endpoint: Using your EDR's remote remediation capability or via a live forensic session, delete any identified OSINT tools, scripts, or output files. Record full file paths, hashes (SHA-256), and timestamps before deletion. Submit hashes to your threat intel platform (VirusTotal, MISP) to check for known malware overlap.
  • Audit and remove any persistence mechanisms discovered: Remove unauthorized scheduled tasks (schtasks /delete /tn [taskname] /f), registry run keys (HKCU\Software\Microsoft\Windows\CurrentVersion\Run), new services, and startup folder entries identified during investigation. Use Autoruns (Sysinternals) on the isolated host to enumerate all persistence points comprehensively.
  • Remove any malicious email forwarding rules or OAuth application grants: Check the affected user's mailbox for forwarding rules via Microsoft 365 UAL (Get-InboxRule -Mailbox [user]) and remove any that forward to external addresses. Review OAuth app grants in Azure AD Enterprise Applications and revoke any applications the user did not explicitly authorize that have Mail.Read or Files.Read permissions.
  • Reset credentials for the affected account and any shared credentials on the host: Reset the user's Active Directory password and force MFA re-registration. Rotate any service account passwords or API keys that were accessible from the compromised host — check for credential files, browser-saved passwords, and Windows Credential Manager entries during forensic review.
  • Search for lateral movement targets and assess each for compromise: For every host the affected user or endpoint connected to in the 48 hours prior to alert, run the same persistence and process review — a compromised account used for OSINT reconnaissance may have also been used to access file servers containing vendor contracts, requiring the same eradication steps on those targets.

Recovery

  • Verify the host is clean before reconnecting to the network: Conduct a full EDR scan and manual Autoruns review on the isolated host before lifting network quarantine. If confidence in the host's integrity is below 100% — particularly if the host was compromised by an external actor rather than an insider — reimage from a known-good baseline rather than attempting cleanup; the risk of a missed implant outweighs the inconvenience of reimaging.
  • Re-enable the user account only after confirming no residual persistence exists: Before re-enabling the account, complete the credential reset, MFA re-registration, and OAuth grant review. Brief the user on the specific phishing or social engineering vector used against them so they can recognize future attempts, and require completion of a targeted security awareness module before account restoration.
  • Notify affected third parties if their relationship data was exposed or targeted: If investigation confirms that specific vendor or partner information was successfully exfiltrated, notify those third-party organizations through your established vendor communication channels so they can assess whether they are themselves being targeted — this is both a legal obligation in many jurisdictions and a defensive necessity given the supply chain implications of this technique.
  • Monitor the affected host, user account, and related vendor accounts for 72 hours post-remediation: Create a temporary watchlist in your SIEM containing the affected host's IP, the user's account name, and the account names of any third-party vendors identified as research targets during the investigation. Set enhanced logging and lower alert thresholds for this watchlist for a minimum of 72 hours, extending to 7 days if the incident was confirmed as targeted adversary activity.
  • Document the full incident timeline and update detections with new IOCs: Produce a formal incident timeline from first evidence of reconnaissance activity through containment and recovery. Extract all new IOCs (domains, IPs, tool hashes, email sender infrastructure) and add them to your threat intelligence platform and detection rules. Conduct a brief lessons-learned review with the SOC team to identify any gaps in telemetry or detection logic this incident exposed, and prioritize closing those gaps within the next sprint cycle.

Stay Ahead

Get daily threat intelligence and weekly detection playbooks.

Free. No account. No email. Follow in Feedly, Inoreader, or any RSS reader.