Who am I? Asking for my file friend: whoami.exe…

There is a lot talk about whoami.exe recently, so here’s one more post about it…

When we talk about whoami.exe we often think of it in ‘atomic’ terms. You run it, and you get the results. But by doing so we assume a lot i.e. we kinda indirectly know that we are talking about the executable located in this place:

  • c:\windows\system32\whoami.exe

Of course, some of us know that there is also a 32-bit version on the 64-bit OS:

  • c:\windows\SysWOW64\whoami.exe

and then a bunch of copies in WinSxS directory (file names are versioned):

  • c:\Windows\WinSxS\amd64_microsoft-windows-whoami_31bf3856ad364e35_10.0.19041.1_none_846d8bda2133af3c\whoami.exe
  • c:\Windows\WinSxS\wow64_microsoft-windows-whoami_31bf3856ad364e35_10.0.19041.1_none_8ec2362c55947137\whoami.exe
  • c:\Windows\WinSxS\amd64_microsoft-windows-whoami_31bf3856ad364e35_10.0.22621.1_none_30124a0a75945900\whoami.exe
  • c:\Windows\WinSxS\wow64_microsoft-windows-whoami_31bf3856ad364e35_10.0.22621.1_none_3a66f45ca9f51afb\whoami.exe

And of course, we can reveal the hard links for each of these tools using fsutil:

  • fsutil.exe hardlink list c:\windows\System32\whoami.exe
  • fsutil.exe hardlink list c:\windows\SysWOW64\whoami.exe

Plus, on Windows Arm, we have:

  • c:\Windows\SysArm32\whoami.exe

and respective WinSxS directory (file names are versioned):

  • c:\Windows\WinSxS\arm64.arm_microsoft-windows-whoami_31bf3856ad364e35_10.0.22598.1_none_d3774312fcf7fb69\whoami.exe
  • c:\Windows\WinSxS\arm64.x86_microsoft-windows-whoami_31bf3856ad364e35_10.0.22598.1_none_d37c245afcf28323\whoami.exe
  • c:\Windows\WinSxS\arm64_microsoft-windows-whoami_31bf3856ad364e35_10.0.22598.1_none_2de72d3c78a075fb\whoami.exe

But there is more…

If you ever installed cygwin, you probably know of:

  • c:\Cygwin\bin\whoami.exe
  • c:\Cygwin64\bin\whoami.exe

There is also GIT for Windows that installs a lot of windows-friendly Unix tools including, yes, you guessed right, whoami.exe:

  • c:\Program Files\Git\usr\bin\whoami.exe

At this stage, you probably are aware that Program Files is a nightmare as it occurs in many architecture-specific forms, and many localized versions.

You must be thinking now – this thing is multiplying quickly and spreading faster than covid!

But this is not THE END. There really is more.

A Pro version of software called System Scheduler installs the following whoami.exe file:

  • c:\Program Files (x86)\SystemScheduler\WhoAmI.exe

It is probably the first ever whoami.exe I have ever seen that shows the user info on GUI – as a message box 🙂

Then comes another contender, a tool called MacroCommanderPro:

  • c:\Program Files (x86)\MacroCommander\Bin\WhoAmI.exe

Yes, it is also GUI-based whoami 🙂

And this is just a tip of an iceberg…

The reason I write about all this is because some people like to say ‘the moment someone runs whoami.exe on one of your systems, this is an indication of early stages of compromise!’. Their confidence is built on ignorance. And yes, they may be right… yeah…but they are often very wrong…

Telemetry we deal with today is rich and useful, but threat hunting – as a discipline – is still in its early, naive stages. It’s healthy to assume that for every rule written, for every assumption, there is an exception that can be found and not only that — you will very often find it by combing telemetry generated by non-malicious sources…

Email domains AD 2023

Back in a day (90s/2000s), if you wanted an email, there were lots of (free) email providers available. With a minimum of effort one could sign up to as many free email services available at that time as possible. No mobile phone number required, no alternative email required, no geofencing/geoguarding. You just had to put your details in hoping the account name you chose has not been used before by someone else, and then you were set. I think my oldest ‘free’ surviving email account is around 20 years old now. I rarely use it, but it’s nice to have it.

Today, email ecosystem is very centralized: the market is basically shared by Google, Microsoft, and Apple (GMA), and then waaaay further is some legacy mail infra from the likes of Yahoo, AOL, plus, there is the more modern email infra available and ‘sponsored’ by some mobile network providers.

I decided to comb email data dumps to see if there is more to see. As a result, I came up with this long list of email domains (sometimes even pointing to providers) that still operate today, and the list is sorted by a kinda … popularity score. Don’t ask how I did that — the ugly truth is that there is no real science behind it and it’s probably sorted the wrong way. Please assume so while reviewing the list below.

What’s the purpose of generating such list today?

Curiosity, for one. We are so used to so many people using one of the GMA emails that sometimes it’s funny and refreshing to see someone still running their email BAU from AOL or Lycos (or even Hotmail, even if it is within the GMA space). Also, the GMA bubble is very limiting. Yes, come on. There are still many other email providers out there today and you don’t have to limit yourself to using infra and choices offered by one of these three amigos only…

History, is the second reason. Combing through these domains one can see how many of the ‘oldies’ survived to this date. I mentioned AOL, Lycos, but there is also Rambler, Libero, Rocketmail, 163, Tiscali, USA, Docomo, GMX, ONET, Netvigator, Telus, Sina, Wanadoo, Eircom, and so on and so forth. Whoaw… It’s actually impressive. They are still on, and many of them are not only on, but very alive and kicking ! There really is a strong need for more providers operating in every single space that GMA operate in to simply offer an alternative. Kudos to the brands that are fighting this monopoly, even if for selfish purposes!

Thirdly, the set includes typos, and I love these — many people incorrectly spelling ‘gmail’ as ‘gmai’ or ‘gamil’, ‘yahoo’ as ‘yaho’, ‘hotmail’ as ‘hotmai’- you can’t make this stuff up.

Here’s the list of domains I have collected:

  • gmail.com
  • yahoo.com
  • hotmail.com
  • aol.com
  • t-online.de
  • hotmail.fr
  • mail.ru
  • hotmail.co.uk
  • orange.fr
  • outlook.com
  • web.de
  • yahoo.fr
  • wanadoo.fr
  • live.com
  • gmx.de
  • yahoo.co.uk
  • comcast.net
  • yandex.ru
  • icloud.com
  • msn.com
  • att.net
  • alice.it
  • interia.pl
  • rediffmail.com
  • seznam.cz
  • live.fr
  • free.fr
  • arcor.de
  • ymail.com
  • qq.com
  • freenet.de
  • yahoo.com.br
  • wp.pl
  • sbcglobal.net
  • rambler.ru
  • hotmail.it
  • naver.com
  • libero.it
  • yahoo.in
  • live.co.uk
  • qatar.net.qa
  • hotmail.de
  • yahoo.co.jp
  • yahoo.de
  • onet.pl
  • terra.com.br
  • me.com
  • abv.bg
  • cox.net
  • rocketmail.com
  • 163.com
  • hotmail.es
  • googlemail.com
  • interia.eu
  • sfr.fr
  • o2.pl
  • yahoo.co.id
  • yahoo.com.tw
  • ezweb.ne.jp
  • GMAIL.COM
  • verizon.net
  • aim.com
  • ig.com.br
  • eyou.com
  • yahoo.ca
  • bk.ru
  • yahoo.co.in
  • tiscali.it
  • usa.com
  • mail.com
  • op.pl
  • yahoo.it
  • btinternet.com
  • yahoo.es
  • bellsouth.net
  • outlook.fr
  • online.fr
  • bol.com.br
  • hanmail.net
  • list.ru
  • docomo.ne.jp
  • gmx.net
  • neuf.fr
  • charter.net
  • ziggo.nl
  • mac.com
  • live.it
  • inbox.ru
  • tiscali.co.uk
  • onet.eu
  • laposte.net
  • windowslive.com
  • live.ca
  • 126.com
  • live.de
  • sina.com
  • aon.at
  • yahoo.com.ar
  • ntlworld.com
  • otenet.gr
  • freemail.hu
  • yahoo.com.mx
  • ticsali.it
  • uol.com.br
  • live.com.mx
  • 21cn.com
  • email.cz
  • optonline.net
  • gmx.at
  • live.nl
  • nate.com
  • numericable.fr
  • shaw.ca
  • poczta.fm
  • tiscali.cz
  • hot.ee
  • outlook.es
  • yahoo.com.au
  • talktalk.net
  • yahoo.com.ph
  • aliceadsl.fr
  • Gmail.com
  • qip.ru
  • virgilio.it
  • sky.com
  • tin.it
  • earthlink.net
  • home.nl
  • juno.com
  • gazeta.pl
  • HOTMAIL.COM
  • gmx.com
  • yahoo.com.vn
  • softbank.ne.jp
  • suddenlink.net
  • tele2.nl
  • vp.pl
  • i.ua
  • hotmail.ca
  • ukr.net
  • blueyonder.co.uk
  • YAHOO.COM
  • live.com.au
  • bigpond.com
  • ya.com
  • hj.com
  • yahoo.com.hk
  • online.de
  • telefonica.net
  • email.com
  • yahoo.gr
  • hotmail.co
  • haijiao.com
  • netzero.com
  • bbox.fr
  • centrum.cz
  • telenet.be
  • citromail.hu
  • netzero.net
  • windstream.net
  • voila.fr
  • mail.dk
  • poczta.onet.pl
  • netvigator.com
  • taalim.ma
  • tlen.pl
  • yopmail.com
  • sympatico.ca
  • yeah.net
  • rogers.com
  • inbox.lv
  • bezeqint.net
  • noos.fr
  • daum.net
  • ya.ru
  • hotmail.co.jp
  • club-internet.fr
  • tim.it
  • hotmail.com.br
  • protonmail.com
  • mynet.com
  • gamil.com
  • outlook.de
  • yahoo.com.sg
  • km.ru
  • live.com.ar
  • hotmail.com.ar
  • homechoice.co.uk
  • temporary-mail.net
  • yandex.com
  • besttempmail.com
  • live.se
  • bigmir.net
  • sapo.pt
  • optusnet.com.au
  • videotron.ca
  • ig.com
  • upcmail.nl
  • yahoo.com.my
  • email.it
  • gmx.ch
  • email.ua
  • bluewin.ch
  • outlook.it
  • gmai.com
  • hotmail.ru
  • gmx.fr
  • pec.it
  • uol.com
  • yahoo.com.cn
  • post.cz
  • embarqmail.com
  • aliyun.com
  • outlook.com.br
  • ibest.com.br
  • mail.bg
  • virginmedia.com
  • cebridge.net
  • live.com.pt
  • yandex.ua
  • live.dk
  • Hotmail.com
  • roadrunner.com
  • facebook.com
  • walla.com
  • chasefreedomactivate.com
  • a1.net
  • gmail.com.br
  • sion.com
  • nexgo.de
  • avtoto.ru
  • wp.eu
  • hawaiiantel.net
  • mail.ua
  • azet.sk
  • tut.by
  • meta.ua
  • netscape.net
  • lycos.de
  • camperu.com.pe
  • skynet.be
  • telus.net
  • live.be
  • homecall.co.uk
  • tom.com
  • globo.com
  • live.cl
  • Yahoo.com
  • chello.nl
  • mannbdinfo.org
  • netvision.net.il
  • centrum.sk
  • ewetel.net
  • cogeco.ca
  • cdtm.de
  • mchsi.com
  • epost.de
  • hotmail.nl
  • hotmail.co.th
  • outlook.sa
  • gmail.co
  • hotmail.com.tr
  • nifty.com
  • dsl.pipex.com
  • buziaczek.pl
  • kakao.com
  • nifty.ne.jp
  • oi.com.br
  • portugalmail.pt
  • kaiqiu.cc
  • hotmail.se
  • guruku.id
  • hotmail.be
  • bigpond.net.au
  • AOL.COM
  • ua.fm
  • osnanet.de
  • frontier.com
  • intermedic.org
  • aol.co.uk
  • sina.cn
  • aruba.it
  • casema.nl
  • sina.com.cn
  • wanadoo.es
  • t-online.hu
  • telia.com
  • e-mail.ua
  • prodigy.net.mx
  • eircom.net
  • online.no
  • dodo.com.au
  • yahoo.ie
  • centurylink.net
  • int.pl
  • live.no
  • fastwebnet.it
  • atlas.cz
  • sunrise.ch
  • tampabay.rr.com
  • dr.com
  • xtra.co.nz
  • spoko.pl
  • cfl.rr.com
  • excite.com
  • ultimails.com
  • fibertel.com.ar
  • gcdetectivefree.com
  • montevideo.com.uy
  • volny.cz
  • inwind.it
  • lycos.com
  • ro.ru
  • webmail.co.za
  • kabelmail.de
  • q.com
  • mailinator.com
  • gmail.ru
  • virgin.net
  • gmil.com
  • live.jp
  • freemail.ru
  • btopenworld.com
  • popmailset.org
  • worldonline.cz
  • orange.es
  • insightbb.com
  • quicknet.nl
  • msa.hinet.net
  • yaho.de
  • rooseveltmail.com
  • autograf.pl
  • hotmail.cl
  • gmail.co.uk
  • gci.net
  • aol.de
  • iinet.net.au
  • hughes.net
  • mindspring.com
  • fkksol.com
  • lenta.ru
  • frontiernet.net
  • onlinehome.de
  • hotmail.gr
  • zoominternet.net
  • azmailz.com
  • poste.it
  • telkomsa.net
  • gmail.con
  • outlook.pt
  • sify.com
  • teletu.it
  • libertysurf.fr
  • kefgames.net
  • topnet.tn
  • autorambler.ru
  • pacbell.net
  • poczta.onet.eu
  • emailn.de
  • myfairpoint.net
  • sasktel.net
  • progiftstore.org
  • iol.ie
  • yahoo.ro
  • arnet.com.ar
  • modulonet.fr
  • btconnect.com
  • 2980.com
  • planet.nl
  • y7mail.com
  • adelphia.net
  • singnet.com.sg
  • ybb.ne.jp
  • cs.com
  • hotmail.co.nz
  • cegetel.net
  • r7.com
  • e1.ru
  • nc.rr.com
  • yahoo.se
  • peoplepc.com
  • meantinc.com
  • neostrada.pl
  • uralweb.ru
  • lineone.net
  • gfgfgf.org
  • onetel.com
  • glaube.de
  • bex.net
  • quipo.it
  • websitebod.com
  • ptd.net
  • tpg.com.au
  • vodafone.de
  • sohu.com
  • cableone.net
  • outlook.co.uk
  • kpnmail.nl
  • hotmail.no
  • gmail.Com
  • admin.com
  • myrambler.ru
  • zoznam.sk
  • deped.gov.ph
  • fuse.net
  • gmial.com
  • protonmail.co.uk
  • gmal.com
  • centurytel.net
  • mybluelight.com
  • rochester.rr.com
  • ovi.com
  • twc.com
  • jazzfree.com
  • amorki.pl
  • theparryscope.com
  • fsmail.net
  • westmailer.com
  • hi-ho.ne.jp
  • wowway.com
  • myspace.com
  • hotmail.com.au
  • go2.pl
  • yahoo.co.nz
  • konto.pl
  • ewe.net
  • 1337.no
  • net.hr
  • ameritech.net
  • xmailxz.com
  • hotil.it
  • tds.net
  • rcn.com
  • oranga.fr
  • swbell.net
  • yahoo.dk
  • co.uk
  • live.ie
  • varsat.net
  • talk21.com
  • mail.de
  • gmail.fr
  • example.com
  • carolina.rr.com
  • iCloud.com
  • bredband.net
  • hetnet.nl
  • mweb.co.za
  • pep4teens.de
  • bnr.ca
  • gmail.hu
  • yahoo.com.tr
  • 9online.fr
  • aol.it
  • aol.fr
  • eresmas.com
  • mailref.net
  • andreagilardi.me
  • yahoo.co.kr
  • iprimus.com.au
  • optimum.net
  • gmx.co.uk
  • ono.com
  • websitebooty.com
  • pandora.be
  • walla.co.il
  • inbox.com
  • luukku.com
  • tiscali.fr
  • vetorial.net
  • ertemaik.com
  • movistar.es
  • usa.net
  • nycap.rr.com
  • www.facebook.com
  • skole.hr
  • yahoo.no
  • powerencry.com
  • brtph7ee.bnr.ca
  • nayobok.net
  • outlook.co.th
  • proton.me
  • internode.on.net
  • pchome.com.tw
  • eastlink.ca
  • pochta.ru
  • triad.rr.com
  • ligcorp.com
  • hotmail.dk
  • hotmail.ch
  • foxmail.com
  • localnet.com
  • bell.net
  • gamail.com
  • seed.net.tw
  • woh.rr.com
  • suiyoutalkblog.com
  • xs4all.nl
  • westnet.com.au
  • gmx.es
  • vip.qq.com
  • wo.cz
  • hotmai.com
  • blic.net
  • gmail.ca
  • mega.privacy.android.app
  • twcny.rr.com
  • ramireschat.com
  • indiatimes.com
  • gmail.net
  • o2.co.uk
  • asdfmailk.com
  • yahoo.net
  • Outlook.com
  • fteenet.de
  • chello.at
  • redinbox.org
  • onvol.net
  • austin.rr.com
  • vodafone.it
  • alice.de
  • google.com
  • OUTLOOK.COM
  • columbus.rr.com
  • live.at
  • atlanticbb.net
  • outlook.jp
  • tele2.fr
  • neo.rr.com
  • gmaill.com
  • rediff.com
  • emirates.net.ae
  • outlook.com.ar
  • myway.com
  • www.roblox.com
  • cinci.rr.com
  • m.dogspot.in
  • jtbank.ch
  • hotmails.com
  • ok.de
  • adinet.com.uy
  • QQ.com
  • cometoclmall.com
  • outlook.be
  • paran.com
  • upn.pe
  • wo.com.cn
  • zonnet.nl
  • sc.rr.com
  • o2online.de
  • hotmail.net
  • alice-dsl.net
  • bmersb17.bnr.ca
  • MAIL.RU
  • yahoo.pl
  • globomail.com
  • raj.freeuk.com
  • kc.rr.com
  • lantic.net
  • terra.es
  • zoho.com
  • supanet.com
  • mail.goo.ne.jp
  • cheapnet.it
  • vfemail.net
  • narod.ru
  • senati.pe
  • caiway.nl
  • vipmail.hu
  • hotmail.jp
  • netcabo.pt
  • mnet-online.de
  • snet.net
  • live.cn
  • vodamail.co.za