For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setup

Sync your employees, then let Stoïk Protect send the simulation emails through your email provider.

Prerequisites

  • A Global Administrator account (Microsoft 365) or a Google Workspace administrator account.

  • For Google Workspace or Microsoft 365 only. For another email solution, see Manual employee import.

Set up the simulation

1

Sync your employees

  1. Go to Simulations in Stoïk Protect.

  2. Click Activate phishing simulation.

  3. Choose Google Workspace or Microsoft 365.

  4. Sign in with an account that has mailbox administrator rights.

2

Enable email sending via API

Phishing simulations mimic real attacks, so spam filters may block them. Stoïk Protect sends them through your provider's API (Gmail API or Microsoft API) so they reach the inbox.

  1. When prompted in Stoïk Protect, sign in with a Microsoft 365 Global Administrator account.

  2. Review the requested permissions.

  3. Click Accept.

Microsoft 365 permissions

You are redirected to a Microsoft page requesting read and write access to your employees' Outlook mailboxes. These permissions will allow to configure phishing campaign with templates that are actually relevant down the line. Here are the details of the requested permissions:

Read all audit log data

Enables you to read all of the organisation's audit logs for investigation and monitoring purposes.

Read audit logs data from all services

Allows the application to read audit logs from all Microsoft 365 services for threat detection and compliance.

Read and write mail in all mailboxes

Provides full read/write access to all messages in mailboxes (used for analysis, remediation, or actions on malicious emails).

Read and write all user mailbox settings

Allows you to modify mailbox settings (rules, signatures, forwarding, etc.) for all users.

Read your organization's conditional access policies

Allows the application to read the conditional access policy configuration for auditing or security posture analysis.

Read all usage reports

Provides access to usage and activity reports across the organisation (Microsoft 365 analytics).

Read metadata and detection details for all emails in your organization

Allows access to email metadata (headers, detections, threat indicators) without accessing the content of the messages.

Read all users' full profiles

Provides full read access to user profiles (name, position, attributes, etc.).

Read and write all users' authentication methods

Allows you to modify user authentication methods (MFA, telephone, email, etc.).

Sign in and read user profiles

Allows the application to log in as a user and access basic profile data.

Read and write all password profiles and reset user passwords

Allows you to reset or update passwords for all users, necessary for incident remediation.

Revoke all sign in sessions for a user

Allows you to immediately revoke all active sessions for a user, used for immediate containment.

Read activity data for your organization

Enables Stoïk to read events from the Microsoft 365 activity feed to detect suspicious actions or anomalies related to user activity.

Read all applications

Allows the application to read all applications and core service objects in the tenant, used to analyse the configuration and identify anomalies.

  1. Sign in to the Google Admin Console

  2. Go to Domain-wide Delegation (Security > Access and data control > API controls > Domain-wide delegation)

  3. Click Add new

  1. In the Add a new client ID window, enter the following:

    Client ID

    OAuth scopes

  1. Click Authorize

  2. Return to Stoïk Protect and click Confirm

If an error appears, see Common setup errors.

Your phishing simulation is ready. Check that your tenant shows the Active status.

Automatic campaign

Once the setup is complete, Stoïk Protect creates a campaign named "Continuous campaign" so your employees are trained from day one:

  • Start date: tomorrow

  • Email distribution: spread over 14 days

  • Recurrence: continuous (the campaign repeats automatically)

  • Audience: all active employees

  • Content: all available templates and scenarios

It shows a specific icon with the tooltip Automatic campaign. Some of its settings are fixed:

  • It cannot be deleted, only paused.

  • Its recurrence is locked to continuous.

  • It must always include at least one employee and one phishing scenario.

Last updated