News for hackers. Stuff that matters.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by xen2xen1 on Friday August 24, 2018 @03:45PM (#17837373)
Umm, Hayes commands are still used? That's a blast from the past. I thought those went out in the 80s or 90s?
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by askvictor on Friday August 24, 2018 @06:37PM (#17838320)
The popular esp8266 wifi microcontroller was initially sold as a wifi interface to other microcontrollers, communicating over a serial interface, using AT commands. Indeed this was the first esp8266 I came across (ESP-01) - a cheap wifi interface for an arduino. Later folks discovered that the esp is more powerful itself than an arduino, but I think the stock firmware that comes on the chip is the serial-wifi interface using AT commands.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by wenc on Friday August 24, 2018 @07:38PM (#17838636)
Yes, I was wondering if I read that right, but it seems that AT commands are still in use.

Us BBS nerds used to know AT commands by heart. We would send instructions to our 2400 baud Hayes modems using QModem:

   ATZ = reset

   ATDT1234 = dial 1234 on a touch tone phone (DP for pulse dial)
Those of us who later moved to US Robotics modems started learning proprietary USR ampersand codes.

   ATH0.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by bri3d on Friday August 24, 2018 @08:41PM (#17838897)
Many peripherals with serial interfaces still use AT commands - Bluetooth <-> Serial adapters, the original ESP2866 firmwares where it was a Wifi-to-Serial adapter, most Serial <-> CANBus/OBD adapters like ELM327, basebands all spring to mind.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by puzzle on Friday August 24, 2018 @04:06PM (#17837528)
Dialup was still a thing in this century, even if it feels like a long, long time ago. You could still reset people's connections by having them echo ATH0 back to you, if they were on a bad setup.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by gnachman on Friday August 24, 2018 @06:27PM (#17838251)
Only if you could get the other party to type +++ first to enter command mode, though. I'm not aware of any modem that would accept commands, including ATH0, outside of command mode. Then again, there were a lot of bad modems in the world…
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by puzzle on Friday August 24, 2018 @08:32PM (#17838836)
Well, yeah, my "ATH0" was shorthand for "+++ATH0". All it would take was a hand crafted ping packet and a bad modem on the receiving end. The better modems implemented the Hayes safeguard of checking that no data was sent for an entire second after the third plus. Then, and only then, they would enter command mode.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by acheron on Friday August 24, 2018 @05:19PM (#17837945)
NO CARRIER
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by jhayward on Friday August 24, 2018 @04:10PM (#17837549)
As recently as 2001 the majority of americans used dialup to connect to the internet. AOL was the worlds biggest ISP, and carried more than 50% of all US web traffic.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by count on Friday August 24, 2018 @04:05PM (#17837519)
Anything talking to a modem is using them still...
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by userbinator on Friday August 24, 2018 @11:41PM (#17839394)
From what I understand, this is because GSM is based around the model of a voice/data modem.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by mcbridematt on Saturday August 25, 2018 @04:19AM (#17840086)
The phone OS itself would actually use something like the QMI (Qualcomm management interface) protocol or MBIM for modem cards.

The Hayes/AT commands are still used either for debug purposes, or for non-smartphone use cases like IoT.

Re:ATtention Spanned: Comprehensive Android Vulnerability An... by berti on Friday August 24, 2018 @07:32PM (#17838608)
They're used by a variety of communication devices. I recently worked with some Phoenix Contact industrial bluetooth devices that used Hayes commands for configuration.
Re:ATtention Spanned: Comprehensive Android Vulnerability An... by gsich on Friday August 24, 2018 @09:15PM (#17839007)
Of course.