by gorgoiler · 5y ago · 0 comments
”We’ve got a problem; someone’s misusing the crap out of the free wifi”
”Lets narrow it down by hardware: what kind of device are they using?”
”How should I know!?”
”Check the first three bytes of their MAC address; it’ll tell you the mfr”
”OK... checking now... yeah I see them... looking up their MAC... bingo... hey, what is ‘Cray Inc’?”
—
Better versions of this joke are available here:
#
# 00-20-91 (hex) J125, NATIONAL SECURITY AGENCY
# 002091 (base 16) J125, NATIONAL SECURITY AGENCY
#
$> NSA_MAC=$(echo "00:20:91:"`openssl rand -hex 3 \
| sed 's/\(..\)/\1:/g; s/.$//'`)
$> sudo ifconfig eth0 hw ether $NSA_MAC
But actually do people still bother with mac-spoofing in 2020? It's from a security/nw-admin pov next to useless (whitelist/filtering nor does it boost privacy of end-users). IMHO it gives people false sense of security and as a "practice" seems like a relic from the 90ies.It does indeed boost privacy as wireless networks in public places have been trying to track phones this way for a while now.
I did politely ask for an IP before doing that, but they said it was a security risk.
Though I’m not sure I ever bothered to lookup someone’s MAC address.
Their wifi solution tracked you by MAC -- I think it was Sonicwalls? -- so when you hit the 30-min limit you'd spoof the MAC, re-connect, then back to business as usual.
I'd usually comply when the place was bumping -- hard to work when it's loud and crazy -- but most of the time it was empty in the mornings and the 30-min-limit was pointless.
Just using a random value might give you "interesting" effects and lot of fun debugging those.
[Motorola Surfboard]->[4p 1GbE Switch]->[Linksys E3000 (08:00:69::)]
Depending on the mood of the ISP, I can have several other networks running from the 4-port switch. If I spoof those MACs repeatedly, I can get an arbitrary (within range) block of public IPs, and there's some seriously weird behavior in allocating those IPs (change my MAC 48 times in a row, end up on the same IP I had just lost from a power outage?)
https://en.m.wikipedia.org/wiki/Cray-1
The idea of someone wheeling one of these into a cafe (because they are stealing the free wifi) causes me non zero amusement.
The NSA example from someone else is better.
Interestingly the only time I’ve ever had the pleasure of reclining on a Cray banquette was at the NSA’s cryptology museum at Ft Mead.