start	end	text
4060	6700	Well, hello everybody.
6700	15580	My name is Manuel Rabade and I am going to present a small pocket of bits that can save or destabilize a city.
16400	18860	Thank you very much for coming in.
19800	23400	I'm very happy to present this.
23940	34820	So what we are going to see, we are going to talk about the systems that send alerts before danger using wireless methods.
35000	46000	So we are going to explore how they work, their limitations, and why everybody can generate these signals.
48780	61700	This talk is not only technical, it's also about my journey into this kind of project and what I consider to be the core of hacking.
61700	69860	The curiosity to understand how things work, explore their boundaries, and share that information.
71140	78800	So what we are going to talk about first, we are going to talk about the Mexican seismic alert system.
81960	88680	Radio frequency plays a key role here, not only for sending the alerts, but for the core of the system.
88680	91540	It's something like pretty interesting.
92440	97660	We are going to talk then about the EAS same system.
98520	104580	This is the system that works here in the US to transmit alerts.
104920	110740	We are going to see how it works, how the messages are sent, how they are encoded.
111860	120600	Then I'm going to show you how you can receive, how can you decode, and how can you generate these signals, these alert messages.
121020	128780	And then we will wrap up with some final thoughts about the performance of these systems.
131740	134700	First of all, a little bit about me.
134700	138720	I started learning computers and electronics in the 90s.
138720	143000	I was very heavily involved in the post-community in the 2000s.
143000	151240	At the same time I studied computer engineering at the Autonomous National University of Mexico.
152100	160940	I have been working 20 years in software engineering, in marketing, start-ups, government, fintech, doing software, hardware, infrastructure, you name it.
161460	165780	Recently I have been collaborating with RF Villaje Mexico.
165880	177480	It's a new project we have in Mexico City, but also in other cities of Mexico that we are doing on the security events like these ones, or smaller ones.
177480	182880	We are doing something like CTF, talks, and well.
182880	200000	What I am telling you this because, well, I just want to mention I am not an expert on seismic science, on alert messages, and all that stuff.
200000	211940	I am just an enthusiast like many of you that, well, I have found this subject to be very interesting and I have learned and now I am sharing about it.
211940	217420	So this story begins in 1985.
217560	222620	We had like a very big earthquake in Mexico City.
223600	228940	At that time there were 10 million people in Mexico City.
228940	239060	And, well, there were about 40,000 casualties.
239060	251340	So this was big, like about 400 buildings collapsed, 100,000 homes were affected.
251340	260960	So yeah, this mark, like from my generation to older ones, like everybody talks about the 1985 earthquake.
261540	269400	So, as you can see, well, for me personally in this picture, you see there used to be like three buildings there.
269400	273640	My grandparents used to live in the one that's still standing.
273680	275200	So yeah, it was pretty scary.
275560	283060	Their home was not demolished, but it was demolished later because the building was not any more usable.
283060	287540	So earthquakes are a big thing in Mexico City.
287980	294140	So why is Mexico City so affected by earthquakes?
294200	296460	There are two reasons.
296460	304320	The first reason is the city is built in a lake bed.
304840	318620	You see the picture, well, the painting on the left is a painting of what it used to be in Mexico City at the time when the Spanish reached.
319400	324300	So on the right of that, it's a picture of almost the same perspective.
324300	327620	You see there is no lake anymore.
327680	333680	So the problem with this is that the soil amplifies the earthquake.
334240	337180	The earthquake is very soft.
337340	344220	So that's the first reason why Mexico City is very heavy affected by earthquakes.
344220	355520	And the second reason is on the right, you see that Mexico is between the tectonic plate of North America and the Cocos Plate.
355520	368500	So the Cocos Plate is pushing the North American plate and it generates in that sector, you see the many points, it generates a lot of seismic activity that becomes earthquakes.
368540	377380	So that's the two reasons like Mexico and Mexico City, it's very prone to have big earthquakes.
378960	385240	Yeah, like, we have like, each year we have between 10 and 20 earthquakes.
385440	387760	Small ones and medium ones.
387760	388720	Well, not small.
388720	390320	Medium and strong.
390320	394420	And each year we have between one and three strong ones.
394640	400200	And one time each, in 10 years, we have a very strong one.
400220	402380	Like the 1985 one.
402620	407740	So the last big one was in 2017.
407940	410100	Some buildings collapsed.
410100	412960	It was not as hard as 1985.
413220	415280	But yeah, we have casualties.
415980	418560	And well, it was hard.
418980	423060	So after 1985, what happened?
423060	426700	Some scientists, engineers, came.
426700	440820	I don't know the details of the story, but I imagine that some scientists come to the government and say, OK, we have a very big earthquake, so we have some very cool science like we want to talk to you about.
440820	450500	So the earthquake was, 1985, was originated in, you see the little star there.
450520	455820	So it was generated 390 kilometers away from Mexico City.
455820	465820	And Mexico City is, you can see like the yellow spot and orange in the middle of the country.
465820	479900	So the earthquake is 390 kilometers away, but seismic waves travel at about 4.5 kilometers per second.
480120	489000	So when the seismic wave, when the earthquake is generated, it takes almost one and a half minutes to reach Mexico City.
489120	498960	So what happens, because well, and they see, OK, the radio frequency, what the speed is about 300 kilometers per second.
499060	511620	So if we send a signal from where the, when the earthquake happens, it will reach one minute, 24 seconds before the earthquake hits Mexico City.
511720	522020	So this is the science, well, this is all science, like I think in the 19th or 18th century, somebody discovered this, the speed of seismic waves.
522180	526600	But when they see we have this big earthquake, we can do this.
527260	539560	So in 86, Mexico City government, federal government, all the governments, founded the Center for Seismic Implementation and Recording.
539560	541480	The CIRES.
541540	553220	The first thing they did was to install a network of accelerometers in Mexico City to measure how the earthquakes feel in Mexico City.
553220	559980	And they proposed this system we see on the right of the screen.
559980	578200	They installed a network of sensors to sense the earthquakes on the coast, where the tectonic plates are hitting, and to send the signals to Mexico City and to process it very fast.
578520	588540	And if the seismic activity was worth enough, to send an alert to all the population in Mexico City.
589020	594920	So they developed this system that was activated in 91.
596480	614160	And well, they developed a sound, a very distinctive sound, like... I will not play it, because people from Mexico City, when you hear that sound, the skin, yeah, you feel it.
614940	619340	Like... Yeah, something like that.
619340	627240	They invented this sound, and well, this... What happened?
627240	634620	In 93, I think it was the first seismic event that was alerted.
634620	652400	Yeah, they... And they do the science, like... You can see the publications, like, okay, we got this signal on the coast, and we got this signal in Mexico City, so they verified the science was working.
653060	658180	And well, CIRES is an academic engineering organization.
658180	661660	It has a lot of scientific and outreach publications.
661660	662640	Very interesting.
662640	677440	If you want to know more about it, like, they have papers about also the social part of this kind of system, like how they perform, comparing to other systems in the world.
677900	678840	Okay?
679300	684580	So this is the Mexican Seismic Alert, how it works.
684580	688220	You have the sensor stations on the coast.
688220	701100	You have a network of concentrators and repeaters, like everything is also sent by RF to these concentrators, and then came to a central station that even the location in the city is secret.
701340	702860	Well, it's not published.
703520	726260	And well, this central station that runs very interesting software, there are papers about it, like how do you do this prediction of the seismic event, and if it's worth to send the alert, because, well, if you have an alert popping, like, every week or every month,
726260	729880	you will lose the fear of this alert.
730000	730340	Yeah?
730340	733780	So they take it, like, very seriously.
733880	736040	So this central station is connected.
736040	744160	I don't know how, that's the question I'm asking, to several systems to broadcast this alert.
744160	757260	Like the first system was direct links to the Mexican city government, to the subway system, to these organizations of the government.
757260	765360	Also, it was sent to radio stations, to television at the beginning.
765920	774720	So to schools, I remember my school, when I was a boy, it had a very big radio, like, receive these alerts.
775100	783740	So in 2008, they start installing the EAS, same transmitter network.
784760	789260	This was 2008, like, not so long ago, we will see.
789260	794180	And they start to install receivers for this in government buildings.
794180	798820	They started with government buildings, and then commercial buildings.
798860	806840	And well, that's why the red square is there, because that's what we will be talking about, right?
806840	812860	We will be talking about all the other systems, like, I talk about it because I think it's cool.
813320	819620	I'm really happy that we have this, but now we are going to talk about these networks.
820100	823280	They are also testing the self-broadcast.
824340	836920	I think here it's a little bit more widely used, like, you get the AMBER alerts on your cell phone, but yeah, in Mexico City, they are still testing it.
837620	849220	It's not working very well, so like, yeah, yeah, it's not... they have to work with the mobile operators and I haven't received a signal yet.
849220	859140	Because, well, in Mexico City, there are two times a year they send a signal, like, to simulacros, I don't know how to say it in English, it's like drills.
859480	862380	There are drills two times a year about this.
862380	864040	So yeah, it's a pretty big deal.
865860	878300	And well, for example, the direct links that are sent to the government, the government of Mexico City has a network of speakers in the city.
878300	888020	They don't cover the whole city, but in several parts of the city, you hear this sound, like, wah, wah, wah, wah.
888020	890920	So yeah, like, people, it's pretty aware.
890920	899320	So if you're in Mexico City and hear this sound, do what the other people do and you will be safe.
900180	904480	And you will know how it will hit in a couple of minutes.
904840	906520	Not so long.
907220	907840	Okay?
908720	918400	So yeah, just to wrap up, you can see on the left, it's the current state of the sensors.
918580	922060	We start with 12 sensors in Mexico.
922060	923440	There are a lot of more.
923440	925620	They are expanding this system.
925960	931600	And on the right, it's the network of transmitters we have in Mexico.
931600	943240	We have about 20, 15, something like that, that covers, doesn't cover all of Mexico, but covers the central part that is the more populated.
943240	952980	So like, 30 million of people depends on this system to get alerts about this kind of danger.
952980	963320	So even if, as we are going to see, it's an old system, it's pretty relevant still.
963320	973420	Like I just see a sticker in another village that says that legacy technology doesn't die, it just becomes critical infrastructure.
973800	976900	Something like that we have with these systems.
976900	978700	Yeah, they don't die.
978700	984960	Yeah, so where was the aha moment for me?
985040	993680	You can see on the left, this is the transmitters that were being installed first on government buildings.
993680	1014200	So in about 2010s, in the early 2010s, I saw one of these receivers and I see that they have this public alert logo and I see like a NOAA logo and then I see on the Spark phone, I don't remember what was first.
1014500	1032660	Like if I see the radio of the Spark phone, but I see like, okay, this breakout board from Spark phone, they talk about NOAA and maybe it's not, because well, you see the radios, here it's open, but normally they are closed.
1032680	1040860	So you think maybe it's some custom technology, I don't know, because they were not announcing how they were building this.
1041300	1049120	So I bought some breakout boards and well, I built my receiver.
1049280	1059100	So yeah, in 2010s, what you do when you start receiving something cool, you build a Twitter box.
1059100	1072980	So yeah, it was popular to get on Twitter the alerts, so I published a project, SeismoAlerta, like seismic alert.
1073180	1085300	So you can see the receiver on the right, I built, and well, some Twitter and some SeismoAlerta on the 20th of March of 2015.
1085960	1098680	So yeah, that triggered... well, some people were very interested, I made a workshop to build these receivers on a makerspace in Mexico City, Acedores Makerspace.
1098760	1124920	So there were like eight people, we built some receivers, so yeah, the government published some like, oh, you remember, the internet channels are not official channels for this kind of alert, because they can have delays, and you know, I didn't take it very seriously,
1124920	1137600	but yeah, like, okay, well, I added a disclaimer, it's not official, you build it at your own risk, this is not official.
1138080	1163200	But at the same time, there were other people that were very critical of the government, because the government funded this, but there was a company, a private company, for profit, selling the receivers, and these receivers were the only ones authorized by the government,
1163200	1172980	so there was no way to make one receiver, or to make it comply with the law.
1172980	1192840	So there were some people, I don't know them, but they started to be very vocal about this, until the government made a standard, and they said, okay, we will receive applications, so you can build a receiver, or sell a receiver.
1192860	1210400	But at the same time, I don't know if it was good or bad, I have mixed feelings about it, they modified the standard, and well, the receivers from the US market no longer work for their quick alerts.
1210720	1214620	We are going to see what they changed later.
1214960	1229360	So well, you see the logos of the companies, Alertandote and Sina, they built receivers that comply with the law, they send them to review, and to be authorized.
1230140	1236800	And well, I'm very happy, because I know at least one of these companies is using the software I published.
1236880	1238660	Yeah, I know for the developers.
1239600	1252200	It's cool to have help to build this small ecosystem of entrepreneurs around this in Mexico City.
1253860	1270280	And well, then I studied engineering, so I needed a project to finish my studies, so I built a receiver, like a formal one, I built the documentation, testing, following the rules.
1271100	1278880	I also published it, as you know, any dissertation about a degree in Mexico has to be published.
1279720	1288220	So yeah, this was the receiver I built, the PCB on the center is the one I designed, I programmed, and I talked about.
1288400	1321100	And then when I was doing the research for this, you know, for the document you have to deliver, is when I started learning the details of how the EAS systems, the alerts are transmitted, are encoded, and that's the second aha moment, like, okay, so this is not so complex or even secure as you would think about it,
1321100	1322100	right?
1322460	1327340	So yeah, that's where this idea, this talk, it was born.
1330020	1336320	So, we are going to jump to talk about the EAS, same system.
1336320	1341100	I don't know how many of you know what it is, can you raise your hand?
1342360	1352620	Yeah, I think it's popular here, but as you just saw, it's very relevant to Mexico City, like the people living there.
1353160	1361140	I know it's useful here, but for certain areas that are prone to certain dangers.
1362160	1365760	So what is the EAS?
1365760	1371260	The EAS is short for Emergency Alert System, and it's a system nationwide here in the U.S.
1371260	1376160	to notify the public about natural disasters, security threats, or civilian emergencies.
1376400	1389860	And the same protocol is short for Specific Area Missation Coding, and it's a digital format used to transmit information about the type and location of hazards, such as severe weather or other dangers.
1389860	1392800	So that's the EAS, same system.
1393140	1404680	So the origin, I think this is very cool, like the origin is from the Chicago area, when they started broadcasting this marine weather broadcast.
1404680	1412820	So they were transmitting it in 162.55 megacycles, not megahertz, megacycles.
1412820	1414680	It's cool to know that.
1415000	1423440	So yeah, this was a frequency VHF that they were transmitting like just a weather report.
1423980	1430420	It's not FM radio, it's a little bit different, a little bit higher, but it's the same.
1430420	1434120	They were transmitting voice messages about the forecast.
1436820	1440020	So yeah, so this system started evolving.
1440300	1444620	Like I say, in the 60s, the weather information broadcast in the U.S.
1444620	1450780	In the 70s, in 71, they introduced the warning alarm tone.
1450780	1458100	It was a tone that was made for... you didn't have to have your receiver on all the time.
1458120	1469960	If your receiver could be like the speaker off, and if they get this tone, the goal was to turn on the speaker, and you would hear the alert.
1469960	1472700	So that's the warning alarm tone.
1472880	1490500	But it was on the same frequency, so then they designed this network transmitter, the NOAA weather radio, and well, in 88, after 10 years of development, the NWBS, the National Weather Relay, the same protocol.
1490500	1497880	So what I'm trying to clarify here is things move slow with this kind of systems.
1497880	1500120	It's not very fast.
1500600	1515280	And then in the 97, 10 years after it was released, it was adopted in the U.S., and then almost 10 years after that, it was adopted in Mexico.
1515280	1526420	So if we see at this timeline, maybe this is a legacy system, but it will be in use I think for at least another 10 years.
1530580	1536340	NOAA weather radio, it covers 90% of the 50 U.S.
1536340	1538240	states, as you can see.
1538240	1544520	In Mexico, it covers just the center part, but we have only like 15.
1544740	1552480	You have over 750 transmitters.
1552640	1555060	It's a pretty big network.
1555940	1561000	So yeah, this is where the fun begins.
1561600	1564600	So how it works, NOAA weather radio.
1564600	1568900	So on the right, there is the table of the channels, the frequencies.
1568920	1573260	As you can see, the first frequency on the table is the same from the 60s player.
1573540	1575740	So yeah, they continue to use it.
1575740	1577800	They haven't changed it.
1577800	1579260	Well, I understand it.
1579260	1580660	Why did you change it?
1582380	1589520	Because, well, after you see they are using the same frequency, you just added the warning alarm tone, then the summit protocol.
1589520	1594180	So in theory, if you have a 60s radio, it should still work.
1595820	1604680	So yeah, the range of this transmitter is up to 40 miles on flat terrain.
1604680	1607360	And well, the modulation is wide FM.
1607540	1611560	It's wide FM modulation like any radio modulation.
1612000	1617440	So yeah, and well, what about the same protocol?
1617440	1628680	The same protocol, these are like digital broadcasts that you hear on these channels.
1628680	1633860	On AF-SK modulation, audio frequency shift key.
1634020	1639660	So yeah, they have a bit period of 1.92 milliseconds.
1639660	1650020	That will be like about 50, yes, it's 520 bytes per second you can send.
1650080	1653840	Yeah, there you see the logical 0, logical 1.
1653840	1667520	There is a preamble of 16 bytes of A, B, C, 1, 0, 1, 0, 1, 0, 1, 1 that are sent before each broadcast, so the receivers can sync with this protocol.
1668140	1677320	And well, the characters are encoded in ASCII, so the less significant bit is sent first.
1678920	1680820	And well, that's all.
1680820	1690980	So when I saw this, when I was writing my designation, this is something you can write, you can decode even, you can see it and you can count it.
1692340	1698440	So on the right is the structure of one message.
1698440	1700780	It's composed of four sections.
1700960	1710480	There is a header , an alert tone, the ones from the 70s, then a voice message that's optional, and then an end of message.
1710580	1715420	So the header is where all the information about the alert is sent.
1716880	1732240	They send the same protocol, send the message three times, so the receiver must choose each bit, like two of three, if it's the same, they build the message.
1732240	1741500	So as you can see, there is no error correction, so the receiver has to do it from the repetitions.
1741580	1751740	And well, each header, it sends a preamble, then the header, a pause, and then another two.
1752820	1756700	So let's see, well, this is the header.
1756700	1769100	The header starts with the start of the header, then the organization, then the type of event, then the geographic area code, that's the
1773040	1776320	area message encoding, that's the area part.
1776320	1779560	They can send several of these codes.
1779560	1793500	This is made so if you get the alert, for example, if one transmitter is on top of a hill, you see this in each side of the hill will receive the message.
1793620	1800520	But why do I care if the alert is from the city on the other side of the hill?
1800520	1809040	So you can configure your code area to your receiver and ignore alerts that don't match your receiver.
1809320	1814960	So they also send expiration time and the issue date and time, and the transmitter ID.
1815120	1819880	So this is the information they are sending in one of these headers.
1820040	1835540	So the event type, EQWB, it's for equipment warning, ERDWT, it's a regular weekly test, TOR, it's for a tornado, and so on.
1835660	1839620	So yeah, it's very simple.
1840880	1845240	So, well, and how they implement it in Mexico.
1845240	1853160	That's the interesting part for the ones that know how it works here in the US, so how we did it for Mexico.
1853380	1866760	So yeah, first we have a law that says that in the workplace and in commercial buildings, you have to have a receiver for this kind of alerts.
1867080	1871380	And then we have a technical standard, which is the standard about this.
1871420	1885040	So in technical standard, they state a lot of things, but the most important part is ERDWT, the regular weekly test, is not sent weekly, it's sent daily, and each three hours.
1885740	1900600	So yeah, this says a little bit about how this is important for us, like you have your receiver and it should have an alert on the receiver if after three hours it didn't get the weekly test.
1900780	1905940	So you must check your antenna installation and so on.
1906160	1914080	And then, their quick warning, the EQWB, it's sent three times.
1914300	1930200	So three messages, like the ones we saw, without a voice message, without a warning tone, and if your receiver gets one of these messages, it must play the official audio within five seconds or 60 seconds.
1930200	1933100	So they take out the voice message.
1933100	1936260	So now, if you bought a U.S.
1936260	1940440	receiver, it doesn't work in Mexico for this alert.
1940440	1955780	So yeah, they say it's to make it more robust, but well, I disagree a little bit because a lot of people were buying receivers for the U.S.
1955780	1965960	market because the price of an official receiver, they are 20% the price of an official receiver.
1965960	1973940	So they were very cheap, and people were buying these and there was a market, but they were not officially recognized.
1974020	1979460	So yeah, we can gossip about that.
1980000	1984380	There is a lot to say about it.
1985280	1990380	So let's see how can you receive the code and encode these messages.
1990440	1993560	So that's the fun part, the theory.
1993860	1997100	In practice, how can you receive these messages?
1997720	2010460	As I say, you can use a commercial radio, like the Midland, or the ones that sell the government in Mexico City, and I think there are a lot of weather radios here in the U.S.
2010460	2030540	You can use dedicated ICs, like the SI4707, that was the IC that was sold in the Sparkphone breakout that I showed you at the beginning that I used in my receiver and then used for my degree.
2030540	2032120	I used the same one.
2032120	2037580	It's a solution in one chip that tunes the code and does everything.
2038000	2052020	But you can also use an SDR dongle, and that's what we are going to use to see how this is transmitted and we're going to decode it.
2052620	2055560	So this is with SDR++.
2055880	2059160	How do you see it in Mexico City?
2059640	2070440	At least in my apartment, I get like three or four very strong signals about the weather radio.
2070440	2073580	You can see it on the right.
2073580	2089760	I even get the signal from another state, because there are a lot of transmitters in Mexico City because it's a city and they want to cover it because there are a lot of buildings and they want to have coverage.
2090020	2096420	So I'm going to play what you hear on this audio channel.
2097280	2112230	I don't think the audio is enabled for the presentation, but what you hear is the weather report for Mexico City.
2112990	2116730	If you tune to one of these frequencies.
2116930	2118710	So yeah, it's very easy.
2121450	2127230	And then here we see the moment that they send these text messages.
2127230	2141370	You can see like the three digital brushes of the message of the header that has all the information and then you have the three end of messages, like the small ones, messages.
2141590	2156290	So now if you record this... yeah, you will not hear, but I don't know if... ah, you can hear it on my laptop.
2160590	2162770	This is how it sounds.
2184800	2187920	So yeah, that's how it sounds.
2187920	2194700	Okay, so if you record this, you can decode it.
2195380	2203260	So there are already built tools, like Multimon, that can decode a lot of AFSK protocols.
2203260	2208480	So if you record this, you can decode it and you can see the message we saw at the beginning.
2208480	2221360	So I am marking in red, because I told you, the standard says that you have to have two equal bits, so you can take this bit as valid.
2221680	2230020	So the message with the first two headers, because it receives and they are equal, this is the end of...
2230560	2236480	like the final message, the third message, it helps, but it doesn't matter.
2236480	2238160	You already got the message.
2238640	2246940	So yeah, you can use it in Multimon to decode this, but yeah, just for the fun, I built my decoder in Python.
2247060	2250920	So yeah, it's not very difficult, as I was saying.
2250920	2253220	I use SciPy and NumPy.
2253220	2256060	It processes the recordings in web format.
2256220	2260060	I use a band-fan filter and the Groetzel algorithm to detect the tones.
2260060	2271520	Groetzel algorithm is a type of fast Fourier transformation that you send a little part of the message and it tells you the dominant frequency.
2272080	2277640	It's synchronized using the preamble detection and applies a sliding window to detect the bit transitions.
2278140	2283300	And well, it detects the audio attention signal and extracts the message stream.
2283300	2290840	So yeah, you can see the code there and there is a recording of the same message.
2291820	2296740	So yeah, a real recording, in fact, the one we heard.
2298120	2302080	And then, how can you encode this?
2302080	2312360	I was going to build it, but I decided not to because there was a Python library to do it.
2312360	2317780	You just input your header and it generates you a web file.
2317780	2321020	So yeah, it was pretty easy.
2321020	2327820	So yeah, I decided to build the decoder because decoding is much harder than encoding.
2327820	2330660	So I decided not to build it.
2331280	2339100	But well, how can you test if this web file turns on the receiver?
2339100	2340220	So you can.
2340220	2344980	Well, you can, but you should not because this is pretty legal in Mexico.
2345440	2347140	And also here in the U.S.
2347140	2348240	I think so.
2348900	2364240	So yeah, in Mexico the law says that it's... I don't know how to say it in English, but the point is that you can... they can send you to jail and ask questions later.
2365300	2370280	Basically, that's what the law says.
2370280	2381020	So yeah, it's pretty hard if you transmit on the weather band because it's reserved.
2381380	2387420	But you can validate if this web, you send it to the decoder and the decoder says the same.
2387420	2390140	So yeah, you can do it.
2390140	2401140	If you want to transmit, you know there are SDRs that can transmit on these frequencies or maybe a radio can do it.
2401160	2407800	You modify it because but yeah, it's pretty easy.
2407820	2409560	So this is how it looks.
2409740	2412600	On the top you can see the recording.
2412840	2417760	You know, there is noise, there is a lot of things, and in the bottom part is the one you generate.
2417760	2421060	So obviously because you are generating it, it's clean.
2421440	2425760	But now that you know how it's done, don't do it.
2426640	2440300	Yeah, yeah, because well, it's punishable by law, but also it's like you play with, you can play with people and it can have implications.
2441580	2443800	So some final thoughts.
2444940	2471360	First of all, I think it's very cool that we have like in Mexico the series, even with the bad parts that they have, like it's, I think it's, we must be proud in Mexico that they build this technology, that it works, and yeah, it's something that only applies to Mexico.
2471360	2477440	It's one of, because the seismics came from far away from the city, they can do this.
2477660	2483360	And well, the NOAA weather radio, I think it's also a cool system here for the U.S.
2484220	2494380	I'm glad we have this kind of organization that build this kind of technology to help save lives of people.
2495720	2499320	So there are advantages and improvement areas about this.
2499660	2502780	So first, advantages, the simplicity.
2502800	2512040	As you saw, you need only a receiver that can decode some AFSK signals, so it's simple.
2512180	2515100	Interoperability, so it's an open standard.
2515120	2520220	You can build receivers, you can do it with your own.
2520220	2525600	It's efficient, you saw the message is small, and it goes to the point.
2527070	2542920	Resilience, so yeah, it works fine in rural areas, remote areas, so you have like, you saw like 15 receivers and you cover like 30 million people in Mexico.
2543280	2545060	So yeah, it's resilient.
2545060	2555080	And well, it's a standard, so yeah, you can save on training, and all that kind of stuff.
2555080	2560100	But improvement areas, so the first one is lack of origin verification, right?
2560760	2566640	Anybody can transmit these signals and nobody can verify its origin.
2566880	2577820	Message tampering, it's almost the same, like anybody can alter the signal, like you can or change something.
2577940	2579340	Interference or jamming.
2579340	2594400	So yeah, I think with any wireless system, you can do some interference, some jamming, but there is no channel jump or something like that, no.
2594400	2596820	It's just a fixed channel.
2597340	2599220	Dependence on specialized hardware.
2599220	2606560	Obviously you need a receiver that can synchronize these frequencies and interpret it.
2606740	2608960	And well, language limitations, obviously.
2608960	2618240	You can only transmit a voice message in one language, so you have to choose one, like here in the U.S.
2618240	2620280	there are people that speak a lot of languages.
2620280	2629040	So I think that what you do here is you have frequencies for one language and another ones for another language, but it's not ideal.
2630040	2633300	So, what's beyond these systems?
2633300	2642240	First is the Common Alerting Protocol, that is a system that is designed to have signatures.
2642520	2651480	It's an XML protocol, so it has overcome a lot of the improvement areas we saw.
2651480	2654780	And well, I already mentioned this, Cell Broadcast.
2656200	2679700	It's part of the GSM protocol, so it lives in lower layers, so it doesn't matter if there is network congestion or whatever, or even if you don't have the data on your SIM card, you should receive the message.
2680660	2685900	But yeah, in Mexico there is a tough time making this work.
2686380	2695220	And in fact, I think today or yesterday, they were just going to send another alert to see if it worked this time.
2696720	2700840	So yeah, that's all.
2700840	2704140	I'm very grateful for you for being here.
2704300	2708840	So please, if you want to connect, I am Manuel Rabade on social networks.
2708840	2710480	You can drop me an email.
2710660	2716320	You can visit my webpage when I write about technology and other stuff.
2717240	2727100	I also invite you to follow the RF Village, the Mexican version, that was inspired by things like this.
2727420	2746820	So yeah, if you come to Mexico City to a security event, maybe we will be there, or if you want to go and do some tourism in Mexico City, we can hang out a little bit and let you know what you have to do in case of an earthquake.
2749060	2753700	And I really want to finish this with a question.
2753700	2757860	How do we balance accessibility, interoperability and security?
2757900	2764920	Because, well, doing software or doing whatever, at the end it's a balance of these.
2765820	2768500	So yeah, it's a very interesting question.
2768500	2770880	How can you secure these systems?
2770880	2777500	Because if you add a security layer, you also are adding a part that can fail.
2777500	2781740	And if it fails, it can stop alerting people.
2781740	2786540	So yeah, it's like... there is a balance.
2786560	2789160	There's no right answer how to tackle this.
2789160	2790680	So yeah.
2790760	2795300	So thank you very much for everybody and have a great day.
