Twenty Year Anniversary

Microsoft Windows SCF File Feature Bypass

Microsoft Windows SCF File Feature Bypass
Posted Aug 6, 2018
Authored by Eduardo Braun Prado

Microsoft Windows suffers from an SCF open file security warning feature bypass vulnerability.

tags | exploit, bypass
systems | windows
MD5 | 6040e3240487f072def3a3791d8f65ff

Microsoft Windows SCF File Feature Bypass

Change Mirror Download
# Exploit Title:  Microsoft Windows 'SCF' File 'Open File Security Warning' Feature Bypass Vulnerability

# Google Dork: N/A

# Date: August 3, 2018

# Exploit Author: Eduardo Braun Prado

# Vendor Homepage: http://www.microsoft.com/

# Software Link: http://www.microsoft.com/

# Version: Windows 7 SP1, 8.1 with full patches up to July, 2018. both x86 and x64 architectures, all available OS specific versions like eg. Enterprise, Ultimate, Starter etc..

# Tested on: Windows 7 SP1, 8.1 with full patches up to July, 2018.

# CVE : n/a


Vendor contacted on: July 28, 2018. Full details of vulnerability were given with a PoC.

Vendor replied on July 31, 2018 asking for specific OS versions and a PoC.

Again I sent the already sent PoC and told them the already witten versions, which as enlightened on the vulnerability title, doesn't affect latest Windows 10 release.

On August, 2, 2018 they replied: "We have concluded our investigation and determined the issue does not meet the bar for a security update."

Then I replied back asking as to why not release a patch since this could be abused with other exploits to potentially compromise affected OS versions. They replied, at the same day:

"The severity rating for this would normally warrant vnext consideration but testing this with MOTW tagging in RS4 shows correct behavior of a security warning."

So, to summarize, they are not patching it basicly because it doesn't affect latest build of Windows 10. This is strategic: "To get people to upgrade to Windows 10 ASAP" even though they are commited to release security related updates for all Windows versions in their extended life support, which is the case for 7 and 8.1.


PoC: To reproduce the issue, get a valid ".SCF" file and host on a web server. Then using an affected Windows version, download the file to disk using any web browser or E-mail Client software that appends the "Mark Of The Web" (MOTW) to downloaded files.

Upon trying to open the file, a security warning should be displayed because '.SCF' is considered a "high risk file type", for several ages, however the library responsible for checking the file type and the 'Security Zone' it comes from, fails to display it, and the file is executed automatically.

Below is the link for some valid SCF files. Microsoft gives no documentation whatsoever on this particular file type, but given the few examples, it's likely that it can cause damage to the system:

https : // social . technet . microsoft . com/Forums/office/en-US/74b0e6f5-f90f-42b5-9658-3fe26f9db2d9/scf-files-windows-explorer-command-file-quotscriptingquot-documentation ? forum=ITCG

PS: Remove the spaces...this was done on purpose so some AVs and other security related software doesnt flag this article as "malicious".

For those who are curious about what this file type can do...so far we can do some neat stuff:

- Extension hiding (even when Windows is setup to show extensions) -> good on spoofing attacks
- Remote Icon retrieval -> good to force the OS and libraries responsible for displaying folders on Windows OSes to automatically attempt connection to SMB shares.
- Arbitrary icon set -> this can be used along the extension hiding issue to trick users into thinking this file is actually of another type like picture or text.

Researchers world wide: Feel free to dig this deeper; You may find even more obscure stuff "hiding" with this file type.

- Eduardo.



Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

August 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    19 Files
  • 2
    Aug 2nd
    17 Files
  • 3
    Aug 3rd
    16 Files
  • 4
    Aug 4th
    1 Files
  • 5
    Aug 5th
    1 Files
  • 6
    Aug 6th
    19 Files
  • 7
    Aug 7th
    15 Files
  • 8
    Aug 8th
    9 Files
  • 9
    Aug 9th
    7 Files
  • 10
    Aug 10th
    10 Files
  • 11
    Aug 11th
    1 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    14 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close