• Effective immediately we will be deleting, without notice, any negative threads or posts that deal with the use of encryption and streaming of scanner audio.

    We've noticed a huge increase in rants and negative posts that revolve around agencies going to encryption due to the broadcasting of scanner audio on the internet. It's now worn out and continues to be the same recycled rants. These rants hijack the threads and derail the conversation. They no longer have a place anywhere on this forum other than in the designated threads in the Rants forum in the Tavern.

    If you violate these guidelines your post will be deleted without notice and an infraction will be issued. We are not against discussion of this issue. You just need to do it in the right place. For example:
    https://forums.radioreference.com/rants/224104-official-thread-live-audio-feeds-scanners-wait-encryption.html

Hidden DSDPlus switches??

Status
Not open for further replies.

Boatanchor

Member
Joined
Jul 17, 2011
Messages
990
Not sure if there are any, but the function of some of the existing switches are not well defined anywhere.

For example, adding -v4 on a P25 network produces Key ID (KID#), Encryption Algorithm (AES/DES) and other information..

Makes me wonder if there are other 'hidden' switches or functions :)
 

mtindor

OH/WV DB Admin
Database Admin
Joined
Dec 5, 2006
Messages
7,369
Location
Carroll Co OH / EN90LN
I have no idea if there are any hidden switches in DSD+. Wouldn't surprise me if there was though. What I am sure of is that the author of DSD+ would become giddy if he knew that people were going through thousands of permutations of possible commandline switches trying to find something obscure.

M
 

br0adband

Member
Joined
Apr 8, 2005
Messages
1,568
Location
Springfield MO
-v4 really isn't 'hidden' since the info is right there in the DSD+ user guide:

Code:
Display/Logging options:
      --          Don't show command line options in window title
      -v<num>     Frame information verbosity (0-4) [-v2]
It's true there's no actual info about what each one particularly adds so, -v2 is the default, -v3 was what I did use for a while, now I just default to -v4 on everything. ;)
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
5,860
Location
N.E. Kansas
Is there a way to view what flavor of encryption is being used on conventional frequencies? I thought there was a code that corresponded to the various algos but when I run -v4 I get a series of binary strings after LSD. How can I see the KID and algo?
 
Last edited:

br0adband

Member
Joined
Apr 8, 2005
Messages
1,568
Location
Springfield MO
Are you talking about P25 encrypted comms? I was attempting to monitor Nellis AFB earlier and noticed some traffic that muted DSD+ but I did get a second or two of that garbled speech before it went silent, when I switched to the DSD+ window I noticed AES 256 at the end of the line (I use -v4 always) so that's only the second time I've captured some encrypted traffic - well, technically I didn't since I wasn't recording at the time but at least I did notice the AES 256 info on the window before it scrolled on by. ;)

Not sure about other modes like DMR/MOTOTRBO or NXDN in that respect, but at least for me and my severely limited P25 monitoring experience, I've seen AES 256 at least twice now using -v4 with DSD+.

YMMV as always.
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
5,860
Location
N.E. Kansas
I'm talking about P25 non trunked. I have an FBI freq active now ENC and it's not showing any sort of ENC ID using -V4.
 

jhampton2000

Member
Joined
Dec 19, 2005
Messages
765
>I've seen AES 256 at least twice now using -v4 with DSD+.
The only P25 I can occasionally monitor is at a USAF base...it too decodes as AES256 with the KID or CLEAR (with KID:0).

Jim
 

Boatanchor

Member
Joined
Jul 17, 2011
Messages
990
Is there a way to view what flavor of encryption is being used on conventional frequencies? I thought there was a code that corresponded to the various algos but when I run -v4 I get a series of binary strings after LSD. How can I see the KID and algo?
Courtesy of the Daniels Electronics 'P25 Training Guide':

Algorithm ID (ALGID)
The Header Code Word and Encryption Synchronization (LDU2)
contain the 8 bit ALGID field. The ALGID identifies the encryption
algorithm used in the P25 system. The ALGID is entered through
a Key Management Facility or Key Loader when entering encryption
keys.

The ALGID’s that have been defined for Type 1 algorithms are:

$00 ACCORDION 1.3
$01 BATON (Auto Even)
$02 FIREFLY Type 1
$03 MAYFLY Type 1
$04 SAVILLE
$41 BATON (Auto Odd)
$80 Unencrypted message (no encryption algorithm)
$81 DES-OFB encryption algorithm
$82 2-key triple DES encryption algorithm
$83 3-key triple DES encryption algorithm
$84 AES encryption algorithm

Key ID (KID)

The Header Code Word and Encryption Synchronization (LDU2)
contain the 16 bit KID field. The KID identifies the specific encryption
key for use when multiple encryption keys have been loaded into the
encryption modules. The KID is also used for single encryption key
systems. The typical default KID for clear or secure systems is $0000.
The KID is entered through a Key Management Facility or Key Loader
when entering encryption keys.
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
5,537
Location
Ontario, Canada
A more complete list, from P25.ca:

$00 Accordion 1.3
$01 Baton (auto even)
$02 Firefly
$03 Mayfly
$04 Saville
$41 Baton (auto odd)
$80 Unencrypted (clear)
$81 DES-OFB
$83 Triple DES (168-bit, ECB)
$84 AES-256
$85 AES-128 (GCM)
$88 AES-CBC
$9F DES-XL
$A0 DVI-XL
$A1 DVP-XL
$AA ADP
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
5,860
Location
N.E. Kansas
I wish I had a screen shot. Basically what I'm saying is I'm not seeing any indicator of the ENC type at all. I did when monitoring channels from a trunking system on 800 MHz but not the Vhf Fed frequency. I get a string of 00010001 0011000010 something like that after each packet.
 

wildbillx

Member
Premium Subscriber
Joined
Feb 25, 2006
Messages
407
Location
Cape May, NJ
Forgive my ignorance but how do you have the v4 option added on dsdplus to wear it opens every time? I am looking to see the encryption identifier. Also is there any way to see any info on what kind of trbo privacy? Thanks
 

mancow

Member
Database Admin
Joined
Feb 19, 2003
Messages
5,860
Location
N.E. Kansas
It must have been poor quality of signal because it's working now and showing the Key ID and algo.

 

RonnieUSA

Member
Joined
Aug 8, 2005
Messages
2,143
Location
Rowan County,KY (Morehead)
It must have been poor quality of signal because it's working now and showing the Key ID and algo.

The way I copy from DSDPlus is with this switch; >LogFile.txt
If You leave it to default, ( >LogFile ) You can't open it till You close DSDPlus, but with the .txt extension You can open, and read to the point when You opened it.


[E] Channel Group & User: tg=65535 src=800002
Sync:+P25p1 NAC:181 LDU2
LSD: 00000000 00000000

LDU2 ES: MI: 00 00 00 00 00 00 00 00 00 KID: 0 AlgID: 80 - CLEAR

Sync:+P25p1 NAC:181 LDU1
LSD: 00000000 00000000

[E] Channel Group & User: tg=65535 src=800002
Sync:+P25p1 NAC:181 LDU2
LSD: 00000000 00000000

LDU2 ES: MI: 00 00 00 00 00 00 00 00 00 KID: 0 AlgID: 80 - CLEAR

Sync:+P25p1 NAC:181 LDU1
LSD: 00000000 00000000

[E] Channel Group & User: tg=65535 src=800002
Sync:+P25p1 NAC:181 LDU2
LSD: 00000000 00000000

LDU2 ES: MI: 00 00 00 00 00 00 00 00 00 KID: 0 AlgID: 80 - CLEAR

Sync:+P25p1 NAC:181 LDU1
LSD: 00000000 00000000

[E] Channel Group & User: tg=65535 src=800002
Sync:+P25p1 NAC:181 LDU2
LSD: 00000000 00000000

LDU2 ES: MI: 00 00 00 00 00 00 00 00 00 KID: 0 AlgID: 80 - CLEAR

Sync:+P25p1 NAC:181 LDU1
 
Last edited:

brandon

Member
Database Admin
Joined
Dec 19, 2002
Messages
3,461
Location
SoCal
Guess I should read this forum more often :) I just stumbled across this thread.

Totally awesome using that -v4 switch on conventional federal stuff & having it show the radio ID and enc type.
 

Attachments

Status
Not open for further replies.
Top