Attack simulator training payloads CSS not applying for an ethical phishing campaign

Albert Garangou 0 Reputation points
2025-01-10T10:56:54.2133333+00:00

Dears,

I'm having an issue with DefenderATP cloud security platform (security.microsoft.com) and attack simulation payload creation. When creating email or login pages, CSS is not being applied to the html.

On offline index.html file the content shows like:

User's image

Tried with different browsers (Edge, Chrome, Firefox), and screen sizes (laptops, all Windows 10/11)

But launching the campaign or as a test preview is seen as:

User's image

User's image

User's image

And the real login page accessed by the phishing link also shows the same no-css page.

There is no @media that controls the screen size. No

Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,468 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Albert Garangou 0 Reputation points
    2025-01-13T13:14:42.09+00:00

    Well, solved.

    No <main> tags allowed.

    Also MS deleted the file I attached and some lines... Sorry for that.

    0 comments No comments

  2. Raja Pothuraju 11,170 Reputation points Microsoft Vendor
    2025-01-13T18:28:03.5666667+00:00

    Hello @Albert Garangou,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue: Attack simulator training payloads CSS not applying for an ethical phishing campaign

    Solution: Resolved by @Albert Garangou by following below steps.

    No <main> tags allowed.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    Thanks,
    Raja Pothuraju.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.