← All articlesSegurança

    Red Team Ops in Healthcare and Financial Systems: How to Safely Test Critical Applications

    Learn how to conduct safe offensive security testing on healthcare and financial applications, with appropriate scope, controls, metrics, and vendor selection criteria.

    September 17, 2026 · 8 min read

    Red Team Ops in healthcare and financial systems must simulate realistic attacks without compromising patients, transactions, personal data, or operational continuity. To achieve this, the work must combine formal authorization, threat modeling, controlled environments, rules of engagement, and reproducible evidence that enables risks to be remediated—not merely generate a list of vulnerabilities.

    Why healthcare and financial applications require specific testing

    Healthcare and financial systems concentrate sensitive data, complex integrations, and processes in which downtime can have immediate consequences. A failure in an e-commerce platform may prevent a purchase; in a hospital, it may delay access to clinical information. At a financial institution, it may enable fraud, unauthorized transfers, or the exposure of banking data.

    Both industries share significant risks:

    • APIs consumed by applications, partners, and legacy systems;
    • incompletely implemented multifactor authentication;
    • excessive privileges in service and administrative accounts;
    • integrations without adequate validation of origin, content, or authorization;
    • personal data stored in logs, queues, backups, and staging environments;
    • third-party dependencies and outdated software components;
    • misconfigured cloud environments;
    • lack of monitoring for privileged actions.

    The difference lies in the impact. In healthcare, integrity and availability can affect clinical decisions. In finance, minor logic flaws may enable fraud at scale, bypass limits, or manipulate an operation’s approval workflow.

    Red team, pentesting, and vulnerability assessments are not the same thing

    An automated assessment searches for known vulnerabilities in predefined assets. A pentest attempts to confirm whether those vulnerabilities are exploitable and what their impact would be. A red team operation assesses whether an adversarial objective can be achieved by combining technical flaws, inadequate processes, and detection deficiencies.

    A scope may, for example, establish the objective of determining whether an authorized attacker could:

    1. access another patient’s clinical records;
    2. obtain administrative privileges on a hospital platform;
    3. initiate or modify a transaction without going through all controls;
    4. extract financial data without generating a useful alert;
    5. move from an exposed application to a critical internal resource.

    Red teaming does not replace periodic pentesting. Pentesting provides more structured technical coverage, while red teaming measures attack paths and response capabilities. In critical applications, the two are complementary.

    Attack surfaces in healthcare systems

    FHIR APIs and HL7 v2 integrations

    FHIR typically uses HTTP APIs and structured clinical resources. Testing should verify authentication, resource-level authorization, consent, segregation between patients and organizations, rate limiting, and excessive exposure of fields.

    A valid token should not automatically grant access to all resources. Controls must be tested at the object, function, and context levels. This approach helps identify recurring categories from the OWASP API Security Top 10, such as broken object-level and function-level authorization.

    In HL7 v2 integrations, risk may arise in interfaces that place excessive trust in the internal network or received content. Testing must assess message origin, segmentation, field validation, traceability, duplicate handling, and behavior when unexpected content is received—preferably in a lab or staging environment using synthetic data.

    Portals, applications, and connected devices

    Patient portals, applications, clinical dashboards, and wearable integrations expand the attack surface. The main scenarios include:

    • horizontal access to another user’s medical record;
    • password recovery that enables patient enumeration;
    • exposure of information in notifications and logs;
    • sessions that remain valid after a password change or revocation;
    • tampering with data sent by devices;
    • administrative dashboards accessible with inadequate privileges.

    Protecting the user interface is not enough. Authorization must be enforced on the server for every sensitive operation.

    Attack surfaces in financial systems

    Business logic flaws

    Scanners generally do not understand rules involving limits, balances, multi-step approvals, reconciliation, or chargebacks. Financial applications therefore require manual testing of the complete workflow.

    Relevant scenarios include:

    • reusing an authorization or request;
    • using concurrent execution to exceed a limit;
    • changing the beneficiary between validation and confirmation;
    • inconsistencies among the application, API, and settlement system;
    • applying a chargeback or cashback more than once;
    • bypassing approval by changing the operation’s state.

    These tests must use controlled accounts and amounts. Whenever there is any possibility of reaching real payment systems, the rules of engagement must establish limits, testing windows, and reversal mechanisms.

    APIs, credentials, and the vendor supply chain

    Financial platforms integrate acquirers, banks, identity providers, antifraud services, and customer service systems. Each connection introduces credentials, webhooks, certificates, and trust rules.

    The red team must verify whether webhooks are authenticated, whether messages can be replayed, whether secrets appear in repositories or pipelines, and whether service accounts have only the necessary privileges. Environments related to payment cards must also consider applicable PCI DSS controls, without treating an isolated offensive security test as proof of compliance.

    How to structure a safe operation

    A responsible operation can be organized into seven stages.

    1. Define the objective

    The objective must describe a verifiable outcome, such as “assess whether a standard account can access third-party clinical data.” Vague objectives, such as “hack the system,” create risk and provide little useful information.

    2. Authorization and rules of engagement

    The document must identify responsible parties, authorized assets, prohibited techniques, the testing period, and the emergency communication channel. It must also clarify how personal data will be handled under the LGPD and applicable industry obligations.

    3. Threat modeling

    Critical assets, trust boundaries, adversary profiles, and likely attack paths are mapped. MITRE ATT&CK can support technique classification, while OWASP ASVS, the Web Security Testing Guide, and the API Security Top 10 help structure the application assessment.

    4. Prepare security controls

    Before execution, the following must be in place:

    • identifiable test accounts;
    • synthetic or anonymized data;
    • verified backups;
    • available technical contacts;
    • immediate blocking through a kill switch or credential revocation;
    • request and transaction limits;
    • time synchronization to correlate logs.

    5. Progressive execution

    Intensity should increase gradually. Non-destructive validations are performed first, followed by minimal proofs of impact. Availability testing, social engineering, persistence, or physical access should only be included in the scope when there is explicit authorization and additional controls.

    6. Communicate critical findings

    A vulnerability posing immediate risk should not wait until the final report. The process must define a deadline and channel for communicating findings that may cause significant exposure, fraud, or operational disruption.

    7. Remediation and retesting

    The work ends when the relevant remediations have been verified. Retesting must confirm the original flaw, search for equivalent bypass methods, and document evidence that the residual risk has been accepted or reduced.

    Essential controls when testing in production

    Testing in production may be necessary because staging environments rarely reproduce every integration and policy. However, doing so requires stricter safeguards.

    Minimum checklist:

    • authorization signed by the environment owner;
    • a list of IP addresses, users, and devices used by the team;
    • prohibition against altering real clinical or financial data, unless formally excepted;
    • limits on volume, concurrency, and duration;
    • automatic suspension in the event of degradation;
    • prohibition against exfiltrating real data when partial proof is sufficient;
    • encryption of evidence and a defined disposal period;
    • a contact channel available throughout the testing window;
    • a rollback plan for every action with a persistent effect.

    In healthcare, systems directly connected to clinical operations should be excluded when an appropriate environment, testing window, and supervision are unavailable. In finance, irreversible operations should be replaced with simulations or previously controlled transactions.

    How to prioritize findings

    CVSS is useful, but it should not be the only criterion. Prioritization should combine at least five factors:

    1. Exploitability: complexity, prerequisites, and required access.
    2. Technical impact: confidentiality, integrity, and availability.
    3. Business impact: patients, fraud, operations, and regulatory obligations.
    4. Scope: number of affected users, facilities, accounts, or integrations.
    5. Detection capability: likelihood that the attack will be detected and contained.

    A flaw with moderate technical severity may be critical if it enables the modification of clinical information used in medical decision-making. Similarly, an apparently simple concurrency error may become severe when it can be repeatedly exploited in financial transactions.

    The report must include minimum evidence, the affected asset, preconditions, impact, technical recommendations, a suggested owner, and retesting criteria. Useful metrics include time to detection, time to containment, percentage of adversarial objectives achieved, and percentage of remediations approved during retesting.

    How to choose a company for offensive security testing

    Before hiring a provider, ask these questions:

    • Does the scope distinguish among applications, infrastructure, APIs, and business logic?
    • Is the team familiar with HL7 v2, FHIR, or financial workflows, depending on the project?
    • Are there rules of engagement and a termination procedure?
    • Does the report demonstrate impact without storing more data than necessary?
    • Do the recommendations include architectural remediation rather than only dependency updates?
    • Is retesting included?
    • Is technical evidence separated from the executive summary?
    • Does the provider explain testing limitations and residual risks?

    Be cautious of proposals based solely on the number of IP addresses or automated scans presented as red teaming. In critical applications, business context and operational security are as important as the tool being used.

    How Predictor Solutions addresses this

    Predictor Solutions works with offensive security, custom software, artificial intelligence, data engineering, and cloud/DevOps. In healthcare systems, it works with HL7 v2 and FHIR integrations and maintains products such as Predictor Health and Predictor AI Hospitals. This enables the company to approach security with clinical workflows, interoperability, and availability in mind—not merely isolated vulnerabilities.

    In offensive security projects, the approach combines objective definition, threat modeling, application and API testing, business logic validation, privilege analysis, controlled evidence, and retesting. The rules of engagement are adapted to the potential impact on patients, transactions, and personal data.

    The company is headquartered in Lavras, Minas Gerais, and has served 9 medium-sized and large companies. Across its technology projects, it has recorded average savings of R$ 1.32 million per client per year, an average productivity increase of 70%, and 43% profit growth within six months. These indicators must be evaluated in the context of each project and do not represent an automatic promise of security outcomes.

    Contact: contato@predictorsolutions.com / WhatsApp +55 31 98835-3246.

    Frequently asked questions

    Can I conduct red team testing directly on a hospital’s production system?

    Yes, but only with formal authorization, a restricted scope, supervision, technical limits, and a termination plan. Tests capable of altering clinical data, degrading services, or affecting equipment must be performed in a lab or staging environment unless there is a specific justification and appropriate controls.

    What is the difference between a pentest and a red team operation in a financial application?

    A pentest searches for technical vulnerabilities within a defined scope; a red team operation attempts to achieve adversarial objectives by combining technical flaws, business logic issues, and detection deficiencies. Financial applications generally need both because scanners and traditional pentests may not identify fraud based on concurrency, states, or approvals.

    Which risks should be tested in FHIR APIs?

    The main risks involve patient- and resource-level authorization, excessive field exposure, consent, segregation between organizations, token revocation, and rate limiting. Tests should use synthetic data and confirm that an authenticated user cannot view or modify resources outside their context.

    Does an automated vulnerability report qualify as red teaming?

    No. An automated scan mainly identifies patterns and vulnerable versions, but it does not demonstrate attack paths, business logic flaws, or the organization’s detection capability. Red teaming requires objectives, controlled human execution, evidence of impact, and defensive analysis.

    How can I determine whether an offensive security test was properly conducted?

    The engagement must include authorization, rules of engagement, reproducible evidence, communication of critical risks, and retesting of remediations. It should also measure outcomes such as adversarial objectives achieved, time to detection, time to containment, and residual risk without causing undue impact on the environment.

    Keep reading