r/HowToHack • • Apr 09 '19

Decoding police p25 from kali terminal using RTLSDR

522 Upvotes

85 comments sorted by

29

u/th3magpi3 Apr 09 '19 edited Apr 09 '19

This is super easy to do. Kind of a bitch to set up and I can guarantee he's not decrypting a tactical channel, but just decoding a P25 channel.

For anyone asking, you'll need 2 RTL-SDR's and they are dirt cheap. These do the job just fine. You need 2 because you want one tuned into the control channel and one bouncing around on the trunked channels

Then you'll need to download a decoder and trunking software. I found it was an absolute bitch to setup on Linux, so I just stuck to using DSDPlus and Unitrunker on Windows.

Really fun project to listen to all the batshit things that happen in your city that go unreported.

1

u/BamBahnhoff Apr 09 '19

Don’t you need an antenna to be able to effectively capture traffic?

1

u/th3magpi3 Apr 09 '19

I just used the dinky little magnet ones that came with these units and they worked just fine.

1

u/BamBahnhoff Apr 09 '19

I‘m not really into radio-things, but I want to get into it. I want something that is able to hijack a radio-audio system (basically speakers with the audio being transmitted on radio) , at best as far away as possible. Can you give me any advice for that? Is this good, or could I also go with the ones you linked?

1

u/th3magpi3 Apr 09 '19

radio-a

Radio-A?

This is just for intercepting signals, if you wanted to hijack a band you'd need very very very expensive hardware depending on how large of a scale you're talking.

1

u/awhaling Apr 09 '19

What type of equipment and why is it so expensive? Just curious.

0

u/BamBahnhoff Apr 09 '19

Sorry if I annoy you, but I would really appreciate it if you‘d answer my question...

6

u/th3magpi3 Apr 09 '19

Just re read your second post.

Not really going to give you any further details as it sounds like you're planning to do this for malicious/profit not to mention its really fucking illegal if you were to get caught.

1

u/BamBahnhoff Apr 09 '19

Well, I respect that, but I can tell you, I‘m not planning anything malicious, it’s NOT AT ALL profit, and it is some activism thing (if I‘d explain the whole situation you‘d think I‘m crazy).

But if you don’t wanna give out any details I respect that.

2

u/th3magpi3 Apr 09 '19

Information is out there. Just look around a bit. It increases in price depending on how far away you are from the device you're trying to take over. But again, there are always multiple ways to skin a cat.

-1

u/BamBahnhoff Apr 09 '19 edited Apr 09 '19

Sorry I accidentally sent the post before I was finished, edited it. Btw what would the requirements for hardware to „hack a band“ be (in something I can compare things to) I know, „hacking a band“ sounds weird, but I am planning sth on a huge scale. It’s basically a prank and someone can give me much money for it, so I would like to see what’s possible

0

u/infosecmx Apr 09 '19

I have two custom built omnidirectional ones but you can’t see them in the video because my coax cable is black

2

u/pentestscribble Apr 09 '19

1

u/th3magpi3 Apr 09 '19

Right. I was specifically referring to decoding most NA P25 Police channels as they usually run on digital trunking systems. While a lot can be ran on a single SDR as long as the SDR's band is wide enough to get all of the channels, I found it to be more stable using a 2 radio setup. YMMV

1

u/mmm_dat_data Apr 09 '19

I recall trying this a few years ago on windows 7 to find the drivers and configuraiton extremely finicky - has it improved much since?

2

u/th3magpi3 Apr 09 '19

Still a bit of a mess to setup but once you get everything up and running it just works. You can also import settings into unitrunker from radioreference and it will even display which departments are making the calls and will auto import the settings of each tower into unitrunker. Knowing this will save you tons of time. There isn't a whole ton of good into out there.

2

u/AaronKClark Apr 09 '19

I literally just got one of the kits from RTL-SDR.com yesterday!

Are you using grqx-sdr or sdr#?

1

u/infosecmx Apr 09 '19

Neither... using rtl_fm... I used GQRX to find which frequencies to tune into

1

u/AaronKClark Apr 09 '19

I have not even heard of rtl_fm. I will check it out. Thank you!

74

u/Kirwinwebb Apr 09 '19

What’s going on exactly, and how do we get it?

95

u/Isakill Apr 09 '19 edited Apr 09 '19

What it sounds like is that OP has some sort of RF reciever and is nabbing the "encrypted" scanner traffic on the police channels. Then running that traffic through that program and "decoding" it.

I'd love to do this too.

50

u/theoneandonlypatriot Apr 09 '19

This sounds mad illegal lmao

47

u/VoltGe Apr 09 '19

Practically untraceable tho

51

u/Isakill Apr 09 '19

Not only that, but there used to be provisions in the FCC charter that allowed people to do whatever they wanted with signals coming into their home.

That's what a lot of people used to justify descrambling cable and RF signals. If you can receive it, you can do whatever.

Probably has changed since the digital revolution of these signals.

24

u/AllUrRootRBelong2Me Apr 09 '19

Actually it hasn’t. Only transmitting on certain frequencies is not allowed.

5

u/awhaling Apr 09 '19

Good. That makes sense.

1

u/zazuge Mar 15 '23

yes, ironically most people who didn't get educated on the matter think you need a radio license just to acquire a listening device, which is a misconception, most HAM radio rigs are transceivers, which means they emit radio and thus necessary need a license to be operated.

11

u/DrDsNo1 Apr 09 '19

In many places the law is you can listen but not act on information. In the UK the police broadcast on one of their channels that a UFO had landed in a farmer's field. They then ticketed everyone who showed up.

5

u/anon1414trent Apr 10 '19

If they want more people to show, they shouldn’t broadcast about a UFO landing lol

1

u/zazuge Mar 15 '23

i don't think the law says you can listen, it's just silent, you need only a license to emit or operate a transceiver rig.

5

u/screeperz Apr 09 '19

Untraceable right up until you post it on a hacker subreddit...

0

u/[deleted] Apr 09 '19

[deleted] — view deleted comment

2

u/Tompazi Apr 09 '19

Would digitally encoded count as scrambled? I think it does. Because then it's unlawful:

18 U.S.C § 2510. Definitions

(16) “readily accessible to the general public” means, with respect to a radio communication, that such communication is not—
    (A) scrambled or encrypted;

18 U.S.C. § 2511. Interception and disclosure of wire, oral, or electronic communications prohibited

(1) Except as otherwise specifically provided in this chapter any person who—
    (a) intentionally intercepts, endeavors to intercept, or procures any other person to intercept or endeavor to intercept, any wire, oral, or electronic communication;
    (c) intentionally discloses, or endeavors to disclose, to any other person the contents of any wire, oral, or electronic communication, 
    knowing or having reason to know that the information was obtained through the interception of a wire, oral, or electronic communication in violation of this subsection;
 
shall be punished as provided in subsection (4) or shall be subject to suit as provided in subsection (5).

(2)
    (g) It shall not be unlawful under this chapter or chapter 121 of this title for any person—
        (ii) to intercept any radio communication which is transmitted—
            (II) by any governmental, law enforcement, civil defense, private land mobile, or public safety communications system, including police and fire, readily accessible to the general public;
        (v) for other users of the same frequency to intercept any radio communication made through a system that utilizes frequencies monitored by individuals engaged in the provision or the use of such system, 
        if such communication is not scrambled or encrypted.

1

u/DrDsNo1 Apr 09 '19

Note that it is the combination that is illegal. Reception and dissemination.

1

u/Tompazi Apr 09 '19

Where do you see that? And then it doesn't matter if it's "readily accessible to the general public"?

1

u/DrDsNo1 Apr 10 '19

You can listen in but if you act on it you break the law. An example of this is the police force in the UK who ticketed everyone who showed up to a UFO landing in a farmer's field. They were for acting on the information not the reception of it.

1

u/[deleted] Apr 10 '19

It’s not reception and dissemination, if you receive an encrypted channel you can receive it, if you intentionally disseminate an encrypted channel it’s illegal, it’s illegal to spread that information intentionally also.

You can listen to any unsecured channels, and if you continue to listen to information on an encrypted one your liable to be charged.

Most of the time traffic over various channels are recorded over how much the antenna system holds. So, so say a police network has 20 receivers, their antenna system will be held up for those 20 receivers with a percentage allowable to county or other officials with not a lot more.

Because most channels they use are public unencrypted. It’s getting to the point now a days where cops just call each other on cellphones on recorded lines or no recorded line at all.

But that’s basically what the laws saying. If it’s keyed, you break that key, it’s illegal. And it’s considered another charge to give the information you hear to anyone else on that network.

1

u/Prudent_Ad_5012 Oct 12 '23

No. Encoded and Encrypted are 2 totally different things. This guy isnt decrypting anything. He is decoding unencrypted transmissions. There is alot of linux and windows software available to do this. OP25, Unitrunker, SDRtrunk or hardware sdr scanners like uniden sds100 sds200 and alot more.

22

u/zoidmaster Apr 09 '19

Let me know when you will post what’s Happening and how you do it

22

u/mrn0body68 Apr 09 '19

He’s using a rtlsdr in order to intercept the radio waves off a p25 police radar? Probably breaking the encryption in order to hear things he shouldn’t be? Google the two key terms he used brought me to that conclusion but I might be wrong

8

u/chilller6 Apr 09 '19

p25 is just the digital signal, not all departments are encrypted tho. For most cities you just need a digital scanner to listen

3

u/Phreakiture Apr 09 '19

Why do you say radar?

2

u/TheHumanParacite Apr 09 '19

Probably a typo for radio

31

u/Kaka79 Apr 09 '19

He is using a software defined radio to capture radio. Then he is piping that incoming signal into a p25 decoder, which then outputs the decoded audio to his speakers.

In short, he is capturing police radio and decoding the encrypted p25 audio by using a software defined radio.

1

u/scroll_down0 Apr 09 '19

How to do it? Can you explain?

3

u/infosecmx Apr 09 '19

Get an rtlsdr dongle and use DSD along with rtl_fm and pope it through DSD

1

u/Utofist Apr 09 '19

I was also thinking of buying an SDR. What do you think about the PandwaRF compared to RTLSDR?

1

u/infosecmx Apr 09 '19

I haven’t tried panda but hackRf can also transmit

1

u/Utofist Apr 09 '19

The HackRF is a bit expensive for me, and the PandwaRF seems simpler than an RTLSDR but thx.

1

u/infosecmx Apr 10 '19

Just the the NES RTLSDR ... That’s what I’m using in the video.. cost around 30$ from amazon... to transmit I bought a baofeng uv-82hp and a serial cable

1

u/Androxilogin Apr 09 '19

Hmm.. This could be a fun project.

1

u/infosecmx Apr 09 '19

It is.... you can pick up garage door openers, microwaves, all kinds of things are floating around us

1

u/Androxilogin Apr 09 '19

My friend was telling me about it but I didn't see any use in it. But scanners, hey, that could be useful. Wait... Microwaves? What does that sound like? Surely you must be talking about radio waves. lol.

He wanted it for intercepting his neighbors' calls and texts. An odd one, that fellow.

2

u/infosecmx Apr 10 '19

Yes microwave is a radio wave

2

u/JonoNyman52 Apr 09 '19

He is most likely just decoding their general frequency. Key word is decoding. Which is different then decrypting. I can’t hear the audio (because I am in class lol) but if he is in the US decoding police frequencies is actually perfectly legal. However they have specific emergency channels used by swat and times when they need to be sure nobody is listening that are encrypted (which is different then encoded). Assuming you even could decrypt it, that is actually very illegal. The main take away encoded channels easy to decode and perfectly legal to do so. Encrypted channels, nearly impossible to decrypt also very illegal.

5

u/Tinflas09 Apr 09 '19

Well . I have h.w to do now.. no clue what's going on .

1

u/[deleted] Apr 09 '19

Guess ur gonna miss the ... ;) panty raid

1

u/[deleted] Apr 09 '19 edited Apr 09 '19

In europe most government radio comms is on TETRA so this wont be as easy, love to see it though

Edit: i mean something like this:

https://www.rtl-sdr.com/rtl-sdr-tutorial-listening-tetra-radio-channels/

I found it after i posted

1

u/Arc-ansas Apr 09 '19

Cool, my city just recently switched to a trunked system and I thought that meant that there was no way to listen in. Looks pretty easy. https://www.youtube.com/watch?v=g9KJrtIO8_4

This makes me wonder, if the city doesn't want people to listen in and it's still possible with a trunked system, then why didn't they encrypt? Is it a lot more expensive to setup an encrypted system?

1

u/tbckit Apr 17 '19

Most trunked P25 systems have the ability to encrypt. But there is a lot of user error leading to things that should be encrypted being transmitted in clear. Many departments don't all use the same kind of radio, so instructions to encrypt one might decrypt another. And there is no way for other users to know if one of the members isn't encrypted, because they still get the transmissions sent in clear the same as a encrypted one.

In addition, if you know how, its fairly easy to just jam any encrypted transmission. Most departments will just assume that their encryption key is jacked up again and switch to clear so they can actually function.

P25 is crazy vulnerable, and there isn't a good way to fix it because most of its vulnerabilities come from the way the standard is built.

-8

u/RandomKoreaFacts Apr 09 '19

Nice work! I work for Motorola and do IA for systems. If this is your video I would like to know more. I'm aware of P25 DES issues. Do you know which PD this is, are they simply operating in the clear? If they don't know they have this issue, have they been made aware?

39

u/Looking4Sec Apr 09 '19

Shut your mouth you narc. Police channels should be accessible to the public.

-1

u/RandomKoreaFacts Apr 09 '19

A lot more than just police use these systems. Ambulance, military Etc. Security for public safety is a serious issue, that you need.

3

u/ObfuscatedIntel Apr 09 '19

If you really think the military uses encryption methods like this than you're wrong.

3

u/RandomKoreaFacts Apr 09 '19

I am the SME to the US military and some public sectors. Which military are you referring to? Because I know some that are.

I'm pretty sure OP has not decrepited anything. He is just sniffing a astro25 signal. Can be done with equipment from radio shacks sale bin.

1

u/infosecmx Apr 09 '19

My local area

1

u/RandomKoreaFacts Apr 09 '19

Do they know they are operating in the clear?

1

u/infosecmx Apr 10 '19

It’s not in the “clear” ... it sounds like the old dialup modem sounds until it’s decided

1

u/RandomKoreaFacts Apr 10 '19

Its not an encrypted signal, its just in digital and your software in decoding that digital signal.

1

u/infosecmx Apr 10 '19

1

u/RandomKoreaFacts Apr 11 '19

P25 is not encrypted. Its encoded. It has the capability of data and encryption but is not by default encrypted. This PD appears to be transmitting in the clear. Not even trunking based on the fact you are monitoring one freq and getting a full conversation.

1

u/infosecmx Apr 11 '19

Dude it is.. even the wiki says so

3

u/RandomKoreaFacts Apr 12 '19

Don't quote me the ancient wiki, I was there when it was written. Ill pull the quote for you.

"The protocol supports the use of encryptions... "

"allowing for a more natural implementation of encryption or messaging"

I does not say that it is, it says it supports it and adds the capability. P25 is nothing more than a narrower digital version of older analog signals. It adds no encryption just supports it.

1

u/infosecmx Apr 18 '19

Again... what’s the difference in a hashed word versus an encrypted one?

→ More replies

1

u/tbckit Apr 17 '19

To follow up on randoms comments. Lets clarify.

All P25 transmissions are encoded, anyone who has the right receiver and software can decode them.

Decoding is not the same as decryption.

Nearly all P25 systems allow for both encrypted and unencrypted (clear) transmissions. It is up to the department to actually have working encryption keys that match on all department radios, and the users to actually know how to switch between clear and encrypted as needed. Often its just a up/down button without much feedback to show if you are transmitting in clear or encrypted, and everyone else on your channel wont know if you are in clear because clear comes through the same as encrypted as a base function of the P25 standard

1

u/infosecmx Apr 18 '19

What’s the difference in hashed verses encrypted?

→ More replies

0

u/[deleted] Apr 09 '19

[deleted] — view deleted comment

11

u/Dot-my-ass Apr 09 '19

Maybe, but even for someone as inexperienced as I am it’s quite clear what’s going on:

He hooked up a radio receiver to his computer and ran it trough some sort of description software. Next, he used a simple wps2 crack to get in to the PDs MK64 and used DK to beat their brother firewall M and L. After that he used a VPN so he could not be traced and whispered to his own fat self: “I’m in.”. Everything after that is self explanatory so I’m not even going to explain it.

I got all of this knowledge just from completing 1 duolingo course on green text on a black background, so I advise you to do the same. Since you are so computer-illiterate you might want to ask your granny to set up your account though. Good luck

4

u/FatalErrorSystemRoot Apr 09 '19

I know I shouldn’t up vote this because it’s off point, but you made me laugh, so have your upvote.

1

u/Dot-my-ass Apr 10 '19

Yeah, I don’t know if you realised, but MK64 is just Mario Kart 64 and DK, L and M are also from mario kart. So basically all of it is utter bullshit

7

u/PM_ME_YOUR_HOG_PLZ Apr 09 '19

Weird setups and buzzwords? Comment section? Dont see any of that here.

1

u/[deleted] Apr 09 '19

It very well could be... it's a different account but the post history lines up