I came across an interesting NTFS behavior where adding a trailing space in a Windows directory path creates a “ghost” folder that Explorer and most tools can’t display or access normally.
Attackers can abuse this to drop files inside what appears to be the real System32 directory, making the content extremely hard to notice.
I wrote a short breakdown with examples and behavior analysis.
Borg3•2mo ago
At least, my Cygwin quickly complain there is sth wrong:
% mkdir '//?/c:/test123 '
% ls
ls: test123 : No such file or directory
CriticalLY•2mo ago
Attackers can abuse this to drop files inside what appears to be the real System32 directory, making the content extremely hard to notice.
I wrote a short breakdown with examples and behavior analysis.
Borg3•2mo ago