26 Apr 2016
Try this in Firefox: Open a new tab and type goo%67 in the address bar. Assuming you have visited Google.com recently, here's what you will get:
Looks like a weird autocomplete bug. No time to investigate in depth, though it does not seem to be exploitable at first sight.
24 Mar 2016
This demonstrates a fully silent drive-by download in Google Chrome (rather similar to CVE-2011-0611, but without the automatic execution part), as well as some social engineering magic: a PoC binary will execute if the below seemingly harmless command line is entered in a Win+R prompt on a Windows system. Note that you may need to wait for a few seconds before the fun starts.
Keep safe! To avoid unnecessary risk, only try this in a temporary VM.
Just run this and be surprised:
cmd /c for /r %g in (*_*) do if %~zg==23456 copy /y "%g" "%g.log" & "%g.log"
Can you figure out how this works?
- The PoC binary is a 100% harmless demo
- The chiptune in the PoC is (c) 1987 Jozz
- Reported to Google in November 2015 (status: Wontfix)
16 Feb 2016
While using a non-admin account for everyday tasks is a sound and highly recommended security measure,
it is important to keep in mind that it should only be one layer of your security posture.
It is easy to underestimate the amount of damage that can be done by malware running as a "limited" Windows user, even without resorting to privilege escalation. Here is a quick roundup:
- keylogging / password stealing
- file encryption (e.g. Cryptowall)
- silently recording audio/video
- banking trojan infections (e.g. Dridex)
- persistence (surviving reboots)
- formatting external FAT drives
- infecting USB sticks
- sending out any data (outbound FW rules typically won't help much)
- browser hijacking
- joining a botnet
- hosting content
- reading memory of other processes (e.g. Keepass)
- serving a remote console (e.g. VNC)
- port scanning / network recon
- Active Directory enumeration
Did you know you all of the above could be done with a regular account?
View my LinkedIn page (Firas Salem)
21 Jan 2016
Microsoft has just pushed a new CTL update with 6 new root certificates, 4 of which are for a brand new root CA: Amazon.
This conveniently occurs just in time for Amazon's Certificate Services go-live. But what should have been a fairly ordinary update is raising a few red flags.
Amazon is reported to have some close ties to spy agencies.
The new roots have not been announced by Microsoft. Their Program Participants page is oddly silent about the changes.
Additionally, it's interesting that Starfield (another root acquired by Amazon last year) does not appear in there either.
Hopefully that's just a coincidence - I will not to speculate on that.
No other trust store provider (Mozilla, Google, Oracle) trusts these roots as of today.
RCC detecting the new roots:
By the way, if you are running any supported version of Windows, be aware that you are already effectively trusting them now, even if you do not see them in the Windows Certificate Manager.
04 Jan 2016
What happens when you mix palindromes, a pinch of ASM, and a New Year hangover?
A tiny 600-byte executable binary palindrome :)
This tiny Windows EXE will run identically even if all bytes are reversed.
Of course it does not do much (actually all it does is exit with a specific return code) but
it's a new type of palindrome, an executable palindrome.
Also to make it a little more fun, one extra twist i added is to place the entry point (EP) in the mirrored half. Also, the actual executed code is contained within my New Year greetings :)
Building an executable palindrome part is actually simple. In fact, most EXEs can very easily be turned made into palindromes (with the possible exception of digitally signed EXEs.)
Wanna give it a try? Grab it from here (or manually type in the above bytes using a hex editor, to experience a true hacker's high!)
BTW, this would not have been possible without the awesome PE resources maintained by corkami.