GoGoogle - A strange Firefox address bar behavior

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.

Follow @hexatomium

Don't run commands you don't understand

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)

Follow @hexatomium

Cheatsheet - The powers of "limited" Windows accounts

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:

  1. keylogging / password stealing
  2. file encryption (e.g. Cryptowall)
  3. silently recording audio/video
  4. banking trojan infections (e.g. Dridex)
  5. persistence (surviving reboots)
  6. formatting external FAT drives
  7. infecting USB sticks
  8. sending out any data (outbound FW rules typically won't help much)
  9. browser hijacking
  10. joining a botnet
  11. hosting content
  12. reading memory of other processes (e.g. Keepass)
  13. serving a remote console (e.g. VNC)
  14. port scanning / network recon
  15. Active Directory enumeration

Did you know you all of the above could be done with a regular account?

Follow @hexatomium

View my LinkedIn page (Firas Salem)

Microsoft silenty adds Amazon root certificates to its CTL

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.

  1. Amazon is reported to have some close ties to spy agencies.

  2. 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.

  3. 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.

Follow @hexatomium

The Executable Palindrome

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.

Follow @hexatomium