Is it possible for malware to bypass UAC?

Discussion in 'other anti-malware software' started by Hungry Man, May 18, 2011.

Thread Status:
Not open for further replies.
  1. AlexC

    AlexC Registered Member

    Joined:
    Apr 4, 2009
    Posts:
    1,288
  2. m00nbl00d

    m00nbl00d Registered Member

    Joined:
    Jan 4, 2009
    Posts:
    6,623
    I don't know if this is the answer you were looking for, but it's possible to bypass an UAC restriction.

    Using Group Policy Editor you can disable the elevation of unsigned applications. Unfortunately, for what it seems, such will only happen if we start those applications in a direct way, that is, you right-click the app and choose Run as administrator.

    But, if you run Windows cmd line with administrator privileges, then you can execute those unsigned applications with administrator rights as well, even though you have explicitely chose to disable their elevation.

    -http://www.wilderssecurity.com/showpost.php?&p=1883962&postcount=316

    Does that count as a bypass/circumvent? ;)
     
  3. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    They inject themselves into a legal process tip toe past UAC. Like with the run32dll issue some time back. But UAC is better than nothing. Its better than surfing the net giving everything you click on admin rights.
     
  4. AlexC

    AlexC Registered Member

    Joined:
    Apr 4, 2009
    Posts:
    1,288
    :D
    I think so!:D
     
  5. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    Subst x: C:\Windows\System32\schtasks.exe

    X:\System32\schtasks.exe /run /tn "malware.exe"
     
  6. raven211

    raven211 Registered Member

    Joined:
    May 4, 2005
    Posts:
    2,567
    I'd believe that, as with anything else, it is very good, but not 100% - that's just the way it is. The difference compared to effective, modern malware protection is that it's very user-dependent, whereas most AM products can function automatic and still with great success today.
     
  7. bogdan564

    bogdan564 Registered Member

    Joined:
    Feb 20, 2011
    Posts:
    2
    The way I see it UAC is not a security feature on its own but rather a tools that allows users to move away from the insecure administrator account and helps developers build applications that do not require admin rights unless it is absolutely needed. In my opinion a limited user account should be more secure than the default admin account running in admin approval mode. Nevertheless exploits will always be an issue (keep your Windows updated) and if the user knows the admin password he/she is responsible for the software he/she allows to run with administrator rights.
     
  8. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    Uninstall Java and Adobe flash. That will elevate browser security by 95 percent
     
  9. moontan

    moontan Registered Member

    Joined:
    Sep 11, 2010
    Posts:
    3,931
    Location:
    Québec
    I understand what you say but Flash, even more than Java, is a necessity.

    for better security, one could use Chrome, Flashblock, NoScript etc...
     
  10. Brocke

    Brocke Registered Member

    Joined:
    Mar 16, 2008
    Posts:
    2,306
    Location:
    USA,IA
    or even just sandboxie free.
     
  11. Martijn2

    Martijn2 Registered Member

    Joined:
    Jul 24, 2006
    Posts:
    321
    Location:
    The Netherlands
    And will decrease web experience by the same percentage. Both programs are insecure (although Flash is a lot safer since it's in a sandbox), but they are necessary for a lot of popular websites.
     
  12. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    No their not. Yes some sites you need them otherwise they can't throw a lot of adds in your face. I mean a shiny looking web page vs a boring one but your privacy still in tact.
    Java was fun its time to move on
     
  13. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    see people update Adobe reader but still sits with older version of the writer. There's basically 3 or 4 packages for flash. People update just one. Adobe needs to look at their packages and combine them so that users can easily update and patch up the fixes. Updating one doesn't do anything if the others ain't updated as well.
     
  14. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    @Martijn2: Java is in a sandbox as well, way before Flash had one.
     
  15. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    see the avg user dont know about updating anything they don't know about Sandboxie they don't know even what UAC is. That is the problem. Other problem is stuff like HIPS. Its a bandaid to try and fix others mistakes. Rather than the people fix their mistakes in the software. If your software is the sole reason of exploitation and you release something like 21 fixes with one update that means you have to go redress the problems. Why can't they just create a java uninstaller with their java program that uninstalls the older java version and install the new one. Or place a warning there right above the nice pic of open office when you install it. That isn't so hard to do for them. Older version of java on your pc the exploits still there there's no use you installed the security update. And that's not common knowledge. That's why rogue malware is having a party in the stats.
     
  16. x942

    x942 Guest

    Bypassing UAC is very easy. Metasploit has been able to do this forever. One way is to run a UAC bypass payload which basically tries different methods of disabling or tricking The system into thinking it is allowed to run. The other is to start a high level process and than migrate into it.

    Both are stopped cold by comodo D+, avast, SRP and EMET. So with extra security apps you are safe:thumb:
     
  17. jmonge

    jmonge Registered Member

    Joined:
    Mar 20, 2008
    Posts:
    13,744
    Location:
    Canada
    x942 i agree with you
     
  18. BoerenkoolMetWorst

    BoerenkoolMetWorst Registered Member

    Joined:
    Dec 22, 2009
    Posts:
    4,873
    Location:
    Outer space
    Java is not necessary, in the past years only found one site that needed it :)
     
  19. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    Just using SRP is enough. Extra apps aren't needed.
     
  20. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    Toms adware I mean Hardware?

    UAC. Drop a trojan through email or a juicy download. Replace a shortcut that does not lead to a execute file malware compile a new exe replacing the start menu entry of a legit program. When you click to run the legit program UAC pops up you say yes and the program and the malware executes
     
    Last edited: Jun 15, 2011
  21. jmonge

    jmonge Registered Member

    Joined:
    Mar 20, 2008
    Posts:
    13,744
    Location:
    Canada
    it makes sense
     
  22. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    That's not a bypass, since an UAC prompt was made. It's simply user stupidity.
     
  23. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    No you are clicking to run a legit program. The legit program will run but the malware as well. The user has no idea and it looks like he's running one of his ligit programs. First thing malware do is check if the user has admin rights. Then it will disguise itself as another program. It just needs that one opportunity to get by it then its all over

    Anyone good in VB? Can you show you another way with A VB script
     
    Last edited: Jun 15, 2011
  24. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    Still doesn't fit the definition of bypassing UAC. In your case, UAC allowed it.
     
  25. Spooony

    Spooony Registered Member

    Joined:
    Apr 30, 2011
    Posts:
    514
    how's your VB?

    I'm not posting the whole script here but this is just a tad of it

    Shell( "C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f" , AppWinStyle.Hide)
     
    Last edited: Jun 15, 2011
Thread Status:
Not open for further replies.
  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.