← All Challenges
Challenge 24: Double Extension Deception
Difficulty: Easy
Category: Extension Heuristic Bypass
Objective
Files can contain multiple dots in their name. The scanner only examines the last extension (everything after the final dot). Your goal is to create a socially-engineered filename that:
- Appears harmless to a human user viewing it in Windows Explorer.
- Is actually executable by Windows.
- Triggers only a warning (never a block) from the scanner.
Scanner Behavior
- The scanner uses
rfind('.')to find the last dot in the filename. - Only the substring after that final dot is checked against the suspicious list.
- The scanner issues a warning if the last extension matches, but never blocks the file.
- No analysis is performed on any earlier extensions in the filename.
- The filename’s visual appearance to the user is not considered.
Hints
- Windows Explorer hides “known file extensions” by default in most configurations.
- When extensions are hidden,
report.pdf.exeappears to the user as simplyreport.pdf. - The scanner will still warn on
.exe, but remember: warnings don’t block anything. - Consider combining this with long filenames or excessive spaces to push the real extension off-screen.
AMSI Raccoon Lab