Attackers typically use social engineering tactics to create convincing posts that appear to be from a trusted source, such as a friend, family member, or popular brand. These posts might contain:

<?php // Facebook Phishing Post Script - Educational Analysis Only

The post.php file remains a reliable indicator of Facebook phishing activity. Its simplicity—reading POST data, saving to a flat file, and redirecting—makes it both easy for attackers to deploy and straightforward for defenders to detect. By combining filesystem monitoring, ModSecurity rules, and YARA signatures, organizations can automate the discovery and takedown of such kits within minutes of deployment.

Once the data is captured, the script needs to send it to the attacker. There are three common methods found in these kits:

Open the Facebook app and tap the menu icon. Tap Settings & privacy. Tap Code Generator. Use the code to log into Facebook.

We analyzed 150 unique Facebook phishing kits collected between Jan–Dec 2024 from URLScan.io and abuse.ch.

To protect against Facebook phishing attacks: