Return Flow Guard

Discussion in 'other security issues & news' started by 142395, Nov 4, 2016.

  1. 142395

    142395 Guest

    I'm not sure if it is correct place, so move it if it's incorrect.
    It seems there's not many info about this new exploit mitigation started from Windows 10 RS2. I could only find this Tencent review.

    [EDIT] Fogot to capitarize g on title, can mod correct that?
     
  2. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
    Some good details here as well: http://redplait.blogspot.ca/2016/10/rfg-patches-in-windows-10-build-14942.html

    Also some detailed tweets from Alex Ionescu (https://twitter.com/aionescu/with_replies) regarding RFG on Nov 1 and Oct 28.

    So my understanding here is that return flow guard steps in where control flow guard limitations end, therefore targeting more for ROP. But thee are still many more details that we don't know. I am looking forward to whenever Trend Micro decides to break it down because they had great breakdowns on control flow guard previously.

    I did some brief testing with return flow guard last night in a virtual machine with the latest Insider build.

    EDIT: Also, see the following link that I posted in the Windows 10 forum:

    Windows 10 Mitigation Improvements (.PDF / Blackhat US 2016)
    Link: https://www.blackhat.com/docs/us-16/materials/us-16-Weston-Windows-10-Mitigation-Improvements.pdf

    That document does not cover RFG (unless I missed it), but it does document and show the evolution and timeline of certain mitigations including some details for Control Flow Guard. That shows the limitations of CFG and therefore hence we have the need for RFG now. It is actually quite interesting to see with each upgrade to Windows 10 OS comes along new security improvements.
     
    Last edited: Nov 4, 2016
  3. Enabled Return Flow Guard on my Windows 10 Pro through registry setting and the good news is . . . . . . . :D

    HPMA Alert test tool fails to open calculator for all exploits tests when targeting explorer.exe :thumb:
     
  4. guest

    guest Guest

    this one?

    Code:
    \Registry\Machine\SYSTEM\CurrentControlSet\Control\Session Manager\kernel EnableRfg : REG_DWORD
     
  5. CHECK :thumb:
     
  6. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
    My understanding is that the combination of CFG + RFG is what will stop EMET from functioning correctly on Windows 10 Creators Update. Or at the very least it would kill EAF/EAF+, along with who knows what other security software. CFG + RFG on their own, built in kernel checks, will be fundamental against ROP because that is where CFG alone had some limitations. The beauty of CFG + RFG is very minimal (if any) performance implications.

    It seems that with each iteration of Windows 10 (major) updates, Microsoft has implemented more and more security mitigation mechanisms for proactive security. Fonts parsed within AppContainer sandbox. Windows Defender running as a Protected Process-Light. SmartScreen, for what it's worth. Microsoft has implemented multiple layers of proactive security in all of the right places. Yet some people who are still paranoid about all of the privacy related news for Windows 10 fail to see many of these security improvements occurring under the hood.

    Anyway, I am most definitely looking forward to more technical analysis regarding Return Flow Guard. Particularly which flags would be used to compile with visual studio and so on. Certainly Chromium developers will take advantage of this when the time comes.
     
  7. guest

    guest Guest

    Exactly and they weakens those built-in protections by using flawed security softs...
     
  8. I've trialed Device Guard and Credential Guard and it does lock down the Windows environment.

    But it's a bit of a pain to get working. You have to white list certain apps you want to be able to run. It locks down Windows pretty tight.

    I assume Return Flow Guard is more of the same? Do you have to white list apps?
     
  9. guest

    guest Guest

    where do you get it? (im lazy to check all the thread for it ^^ )
     
  10. HPMA testtool is not available for download anymore.
     
  11. guest

    guest Guest

    That is sad...
     
  12. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,883
    Location:
    Slovenia, EU
    Is there much difference between being paranoid about privacy or being paranoid about security? ;)
     
  13. guest

    guest Guest

    only one, privacy paranoids cant enjoy life :p
     
  14. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    :argh: True. Despite I am kind of new to security and privacy affairs, I agree with guest on this. Have perceived a lot of distress in people with lots of privacy concerns.
     
  15. Azure Phoenix

    Azure Phoenix Registered Member

    Joined:
    Nov 22, 2014
    Posts:
    1,560
    So, it's gonna be enable by default in the next update?

    It does seem like they're stressing themselves by arguing which update is bad or good. Not to mention having to constantly block telemetry data/connections because Microsoft is "evil".
     
  16. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,883
    Location:
    Slovenia, EU
    hehe, I guess you're right :)
    Though being paranoid about security can also give you stress this days.
     
  17. safeguy

    safeguy Registered Member

    Joined:
    Jun 14, 2010
    Posts:
    1,797
    They can. They just can't share it on Facebook and Instagram. :p
     
  18. safeguy

    safeguy Registered Member

    Joined:
    Jun 14, 2010
    Posts:
    1,797
    Being paranoid about anything gives you stress. One needs to stay away from Wilders from time to time...too much influence here. VERY easy to look at things from a dismal point of view.
     
  19. BoerenkoolMetWorst

    BoerenkoolMetWorst Registered Member

    Joined:
    Dec 22, 2009
    Posts:
    4,872
    Location:
    Outer space
    Hmm interesting :)

    No stress there. Just install only security updates and ditch Windows in the long term :D
     
  20. jdd58

    jdd58 Registered Member

    Joined:
    Jan 30, 2008
    Posts:
    556
    Location:
    Sonoran Desert
    http://dl.surfright.nl/hmpalert-test.exe
    http://dl.surfright.nl/hmpalert64-test.exe
    http://www.surfright.nl/en/downloads

    When adding the registry key does the dword have a value of 0 or 1?
    \Registry\Machine\SYSTEM\CurrentControlSet\Control\Session Manager\kernel EnableRfg : REG_DWORD
     
  21. guest

    guest Guest

    1 enable 0 disable

    btw, thanks for the links ;)
     
  22. Link Tencent to article again
     
  23. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    In the long run we are all dead (John Maynard Keynes). So you better hurry up :D
     
  24. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
    Finally got some confirmation for this question from a Chromium developer:
    Source: https://bugs.chromium.org/p/chromium/issues/detail?id=659765#c5
     
  25. mike83

    mike83 Registered Member

    Joined:
    Mar 9, 2016
    Posts:
    35
    Did you happen to try HMPA Test Tool before setting RFG? On my fresh Windows 10 Enterprise installation I was not able to open calculator when targeting explorer.exe even without RFG...
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.