Sunday 27 August 2017

Moving Average Gnuradio


Tutorial RTL-SDR: Analisando GSM com AirprobeGR-GSM e Wireshark O rádio definido pelo software RTL-SDR pode ser usado para analisar sinais GSM de celular, usando ferramentas baseadas em Linux GR-GSM (ou Airprobe) e Wireshark. Este tutorial mostra como configurar essas ferramentas para uso com o RTL-SDR. Exemplo 8211 Analisando GSM com RTL-SDR Software Defined Radio Aqui está uma captura de tela e um vídeo que mostram um exemplo do tipo de dados que você pode receber. Você pode ver as informações de pacotes GSM não criptografadas. Você não poderá ver nenhuma informação sensível, como dados de voz ou mensagem de texto, uma vez que essa parte está criptografada. O decodificação de mensagens que não são suas é muito difícil, ilegal e não está coberto neste tutorial. YoutubewatchvBfCoiZRHTbk Video can8217t seja carregado: Analisando GSM celular com RTL-SDR (RTL2832), Airprobe e Wireshark (youtubewatchvBfCoiZRHTbk) Primeiro, você precisará descobrir quais freqüências você possui sinais GSM na sua área. Para a maior parte do mundo, a banda GSM primária é de 900 MHz, nos EUA, a partir de 850 MHz. Se você tiver um E4000 RTL-SDR, você também pode encontrar sinais GSM na faixa de 1800 MHz para a maioria do mundo e faixa de 1900 MHz para os EUA. Abra SDRSharp e explore em torno da faixa de 900 MHz (ou 850 MHz) para um sinal que se parece com a imagem de cachoeira abaixo. Este é um sinal de downlink GSM que não é saliente. Usando o NFM, isso parecerá algo como o exemplo de áudio fornecido abaixo. Observe as freqüências GSM mais fortes que você pode encontrar. O resto do tutorial é executado no Linux e assumimos que você possui habilidades básicas do Linux no uso do terminal. Para este tutorial usamos o Ubuntu 14.04 em uma sessão do VMWare. Você pode baixar as várias imagens Ready to go Ubuntu VMWare a partir daqui. E o player VMWare gratuito daqui. Observe que a caixa virtual é relatada para não funcionar bem com o RTL-SDR, pois suas capacidades de largura de banda USB são ruins, então o VMWare player deve ser usado. Instalar GR-GSM Este tutorial baseia-se fortemente nas instruções do leo G-Meh GitHub gr-gsm em githubptrkrysikgr-gsm. A maneira mais fácil de instalar o gr-gsm é usar Pybombs. Pybombs instalará automaticamente gr-gsm e todas as dependências necessárias, incluindo o GNU Radio. Depois de executar a configuração, você será solicitado acima de várias opções. Deixe tudo como o padrão, exceto para o prefixo de instalação que deve ser configurado para usrlocal. Você pode selecionar as opções padrão simplesmente pressionando enter em cada linha. Verifique se a sua distribuição no Linux possui um pacote GNU Radio 3.7.3 ou superior em seu repositório com o seguinte. O Ubuntu 14.10 deve ter o GNU Radio 3.7.3 em seus repositórios, mas as versões antigas não. Se ele usa o GNU Radio 3.7.3, use o seguinte código para instalar o GNU Radio através do pacote do repositório, e não da fonte, o que economizará quantidades significativas de tempo de instalação. Não instale dos repositórios se a versão do Rádio GNU for mais antiga. Agora, instale o gr-gsm executando Uma vez instalado, você pode iniciar o gr-gsm de qualquer lugar simplesmente executando o seguinte. Na janela que aparece, você pode definir a freqüência de um sinal GSM. Por exemplo, para sintonizar um sinal GSM a 945.402 MHz, entraríamos no centro da frequência o valor 9.45402e08. Certifique-se também de ajustar as configurações de ganho e PPM, se necessário. Agora, execute Wireshark digitando em um terminal Uma vez que gr-gsm despeja dados em uma porta UDP, devemos configurar o Wireshark para ouvir isso. Sob o botão Iniciar no Wireshark, primeiro configure a interface de captura para Loopback: lo e depois pressione Iniciar. Em seguida, na caixa do filtro perto da parte superior da janela do Wireshark, digite o Gmpm ampp do icmp. Isso garantirá que apenas os dados do Airprobe GSM sejam exibidos. Observe que você também pode iniciar o wireshark usando sudo wireshark - k - Y 8216icmp ampamp gsmtap8217-i lo que iniciará automaticamente o wireshark no modo loopback com o filtro gsmtap ativado. Se você tiver problemas para instalar o gr-gsm via Pybombs, pode instalar o GNU Radio primeiro através do script de instalação Marcus Leech e, em seguida, instalar o gr-gsm da seguinte maneira. Método antigo usando Airprobe (clique para expandir) Instalar o GNU Radio Você precisará instalar o GNU Radio primeiro para que o RTL-SDR funcione. Um excelente tutorial de vídeo que mostra como instalar o GNU Radio no Kali Linux pode ser encontrado neste vídeo mostrado abaixo. Note que eu tive que executar a atualização do apt-get no terminal primeiro, antes de executar o script de compilação, pois obtive 404 que não encontraram erros de outra forma. Você também pode usar o script de instalação do March Leech8217 para instalar a versão mais recente do GNU Radio em qualquer sistema operacional Linux. As instruções de instalação podem ser encontradas aqui. Eu recomendo a instalação da fonte para obter a versão mais recente. Actualização youtubewatchvB8Acp63DA0: A nova versão 3.7 GNU Radio não é compatível com a AirProbe. Você precisará instalar o GNU Radio 3.6. No entanto, o neeo da seção de comentários desta publicação criou um patch que faz o AirProbe compatível com o GNU Radio 3.7. Para executá-lo, coloque o arquivo de patch em sua pasta Airprobe e execute o patch - p1 lt zmiana3.patch. Instale Airprobe Airprobe é a ferramenta que irá decodificar o sinal GSM. Eu usei vários tutoriais para obter o Airprobe para instalar. Primeiro deste tutorial da Universidade de Freiberg. Usei suas instruções para garantir que as dependências necessárias que a Airprobe requerem foram instaladas. Instalar a atualização básica de dependências: Obrigado a shyam jos na seção de comentários que nos informou que algumas dependências extras são necessárias ao usar o novo Kali Linux (1.0.5) para a Airprobe para compilar. Se you8217ve ignorou a instalação do GNURadio porque you8217re usando o novo Kali 1.0.5 com ferramentas SDR pré-instaladas, use o seguinte comando para instalar as dependências adicionais necessárias. Instale o libosmocore Clone Airprobe Agora, descobri que o repositório Airprobe Git usado no tutorial da Universidade (berlin. ccc. de) estava desatualizado e não compilaria. A partir desse tópico reddit, descobri um repositório de gits Airprobe mais atualizado que compila. Clone airprobe usando o seguinte comando git. Agora instale gsmdecode e gsm-receiver. Instale gsmdecode Instale gsm-receiver Testando o Airprobe Agora, entre no diretório airprobegsm-receiversrcpython. Primeiro vamos testar a Airprobe em uma amostra de GSM cfile. Obtenha o exemplo cfile que encontrei a partir deste tutorial digitando no terminal. Nota: O link tutorial e cfile às vezes está morto. Eu espiei o cfile no megaupload neste link. Coloque o cfile na pasta airprobegsm-receiversrcpython. Agora abra o wireshark, digitando o wireshark em uma segunda janela do terminal. O Wireshark já está instalado no Kali Linux, mas pode não estar em outras distribuições Linux. Uma vez que a Airprobe descarrega dados para uma porta UDP, devemos configurar o Wireshark para ouvir isso. Em Iniciar no Wireshark, primeiro configure a interface de captura para lo (loopback) e, em seguida, pressione Iniciar. Em seguida, na caixa do filtro, digite gsmtap. Isso garantirá que apenas os dados do Airprobe GSM sejam exibidos. De volta ao primeiro terminal que está no diretório python, digite Se tudo está instalado corretamente, agora você poderá ver os dados GSM da amostra no wireshark. Receber um canal ao vivo Para decodificar um canal ao vivo usando o tipo RTL-SDR no terminal Uma nova janela será exibida. Sintonize um canal GSM não extraído conhecido que você encontrou anteriormente usando o SDRSharp ao inserir a Freqüência do Centro. Em seguida, clique no meio do canal GSM na janela Wideband Spectrum. Dentro de alguns segundos, alguns dados GSM devem começar a mostrar constantemente no wireshark. Digite. gsmrecextt. p.p. - h para informações sobre mais opções. O sinalizador - s é usado aqui para definir a taxa de amostragem para 1.0 MSPS, o que parece funcionar muito melhor que o padrão de 1.8 MSPS, pois parece que deve haver apenas um pico GSM na janela de espectro de banda larga. Capturando um cfile com o RTL-SDR (Adicionado: 130613) Não consegui encontrar uma maneira de usar a Airprobe para capturar meu próprio cfile. Eu encontrei uma maneira de capturar um usando. rtlsdr e GNU Radio no entanto. Primeiro, salve um arquivo de dados. bb de rtlsdr onde - s é a taxa de amostragem, - f é a freqüência do sinal GSM e - g é a configuração de ganho. (Rtlsdr está armazenado em 8216gnuradio-srcrtl-sdrsrc8217) Em seguida, baixe este gráfico de fluxo GNU Radio Companion (GRC) (deslize todo o caminho para baixo para o link), o qual converterá o arquivo. bin rtlsdr em um. cfile. Defina a origem do arquivo para o arquivo capture. bin e defina a saída do arquivo para um arquivo chamado capture. cfile que deve estar localizado na pasta 8216airprobegsm-receiversrcpython8217. Além disso, certifique-se de que 8216Repeat8217 no bloco Origem do Arquivo esteja definido como 8216No8217. Agora, execute o gráfico de fluxo GRC clicando no ícone que se parece a engrenagens cinzentas. Isso criará o arquivo capture. c. O diagrama de fluxo não vai parar por si mesmo quando it8217s feito, então, uma vez que o arquivo foi gravado, pressione o ícone vermelho X no GRC para interromper o fluxo de gráficos em execução. O arquivo capture. c pode agora ser usado na Airprobe. No entanto, para usar este cfile, descobri que eu tinha que usar. gsmreceive. py, em vez de. go. sh como uma taxa de decimação personalizada é necessária. I8217m não tenho certeza por que, mas uma taxa de dezml de 64 trabalhou para mim, que é definido com a bandeira - d. Mais adiante Não conseguimos decodificar dados criptografados GSM, mas se você estiver interessado em pesquisar isso ainda, aqui estão alguns links úteis. Isenção de responsabilidade: apenas descifrar os sinais que você está legalmente autorizado (como, por exemplo, do seu próprio celular) para evitar violações da privacidade. Um Guia por Security Research Labs Tutorial de Decodificação GSM pela Universidade de Ciência e Tecnologia da Noruega A5 Wiki Uma boa palestra sobre este tópico é mostrada abaixo. Um leitor escreveu para nos informar algumas informações sobre a obtenção dos números TMSI e Kc, que são úteis se você deseja ir mais longe e, de fato, decodificar mensagens provenientes do seu próprio telefone. Ele escreve: por algum motivo, a maioria das postagens na Internet sobre o cheiro de GSM fornece muito poucos exemplos de como obter nossos próprios números TMSI e Kc. Estes dependem da tela de engenharia do BlackBerry ou do uso de um leitor de cartão SIM (veja, por exemplo, domonkos. tomcsanyi. netp369). Eu sei que existem outros métodos como o que você descreve no rtl-sdrrtl-sdr-cell-phone-imsi-tmsi-key-sniffer. No entanto, raramente vi algo relacionado ao aplicativo Android IMSI-Catcher Detector. Isso pode ser facilmente instalado através dos repositórios padrão e nos permite enviar comandos AT para o modem desde que nós criamos o MS. Este procedimento funciona em muitos dispositivos (eu chequei no Motorola Moto E). Apenas uma rápida lembrança das ATcommands básicas: 1. Extração de IMSI - gt ATCRSM176,28423,0,0,3. 2. Extração da chave de codificação Kc - gt ATCRSM176,28448,0,0,9 (para SIM), ATCRSM176,20256,0,0,9 (para USIM). Primeiras 16 entradas. 3. Extração de TMSI - gt ATCRSM176,28542,0,0,11. Primeiras 8 entradas. O Detector Android IMSI-Catcher fornece alguns dados interessantes adicionais, como a ID da célula ao qual o dispositivo está conectado, o LAI, etc. youtubewatchv4jfpeQcOmHI Video can8217t carregado: Deepsec 8211 Debugging GSM (youtubewatchv4jfpeQcOmHI) 128 comentários Existe alguma possibilidade de fazer o projeto De Digital beacon receiver usando o sdr em windows7 ou windows10 usando o MATLAB em vez de GNU RADIO Oi, estou procurando uma maneira de contar apenas o número de celulares ao redor. Nenhuma outra informação. Existe alguma maneira Olá, escrevi uma carta ao endereço github (githubptrkrysikgr-gsmissues198), mas ainda não encontrei a resposta. Você poderia me ajudar, por favor, a entender com os canais decodificadores? Obrigado8230. Qual o melhor rádio e antena do orçamento para usar o meu orçamento não é mais do que 75 vezes mais barato. Eu estava pensando em usar um chip E400 com Antena Telescópica ANT500. Qual o uso que você usou Apenas obtenha um dos nossos dongles com o conjunto de antenas rtl-sdrstore. O R820T2 é melhor do que o E4000 na maioria dos casos, a menos que você precise de freqüências mais altas que ele possa fornecer. Certifique-se de obter uma caixa de alumínio extrueded, como você vai encontrar-se com muito ruído de outra forma. Além disso, don8217t use uma antena de merda. Certifique-se de que sua linha de alimentação está impedida, bem apertada e sem conexões soltas. Mantenha sua antena longe de outros dispositivos metálicos que possam interferir nos padrões de recepção e considere aprender a construir suas próprias antenas. Você pode fazer coisas de rádio de forma barata, mas você tem que entender o que você está fazendo. Fonte: operador de rádio de presunto há anos. KF5EGM. Dê ao seu rádio um terreno adequado além do seu computador também. Seu computador é ruidoso. Sim, é todo o trabalho extra, mas você aprecia isso no final. Oh8230 e compre um filtro de passagem alta. Melhor ainda obter um filtro de passagem de banda. It8217s tudo muito barato e você ainda pode ficar com menos de 75 dólares, especialmente se você fizer algumas coisas sozinho ou comprar. As questões em torno do Kali Linux foram resolvidas a partir da divulgação do lançamento 2016.1, nosso tutorial está no Kali. org ou diretamente vinculado e descartável em. pdf a partir de nossos documentos do google aqui. Fique à vontade para contatar-nos com quaisquer perguntas. Quando eu tento instalar o gr-gsm através de pybombs, o seguinte problema aparece: 8220PyBombs. sysutils 8211 AVISO 8211 devexists: não foi possível encontrar uma versão para download do libboost1.53-dev Instalando da fonte: boost8221 A instalação é interrompida e falha. I8217m muito novo no Linux e espero que alguém possa me ajudar com isso. Oi I8217m tentando capturar pacotes gsm pelo meu dongle rtlsdr. Mas eu só consegui capturar o canal ccch e o I8217m não conseguiu capturar outros pacotes. Qualquer corpo pode me dizer por que isso é? É por causa do salto de frequência. Ou I8217m faltando alguma coisa, obrigado e desculpa pelo inglês fraco. Tentando executar o programa. Tenho essa massagem: email160protegido: airprobertlsdr. py bash: airprobertlsdr. py: comando não encontrado gr-gsm instalado com sucesso, o que significa que eu encontrei o motivo do Erro, o Kali Linux possui problemas de instalação não resolvidos e atualmente não é suportado. Infelizmente 8230 É possível identificar IP8217s públicos sendo usados ​​na área cheirando esses pacotes git clone githubksnieckairprobe. git é um link alternativo que pode ser usado para baixar airprobe como o link fornecido doesn8217t funciona. É necessária uma dependência para o Kali Linux 1.1.0. Olá, alguém pode me informar onde posso obter um dispositivo de rádio gnu que funcionará com isso. Mais alguém conseguirá esse erro: eu não posso instalar o Airprobegsm-Receiver. Quando eu tento 8220make8221 me dá esse erro: g: erro. Gsm. cc: Nenhum arquivo ou diretório g: erro fatal: nenhuma compilação de arquivos de entrada foi encerrada. Make4: gsmla-gsm. lo Erro 1 make4: Deixando o diretório rootairprobegsm-receiversrclib8217 make3: todo-recursivo Erro 1 make3: Deixando o diretório rootairprobegsm-receiversrclib8217 make2: todo recursivo Erro 1 make2: Deixando o diretório rootairprobegsm-receiversrc8217 make1: todo recursivo Erro 1 make1: deixando o diretório rootairprobegsm-receiver8217 make: all Error 2 I can8217t encontre este arquivo gsm. cc em qualquer lugar eu recebi o mesmo erro. Você já conseguiu compilá-lo? Eu gosto de outro Airprobe src, compilando o fine8230. Mas há alguns outros problemas. Eu tive esse problema e o módulo 8220no chamado GSM8221 Acontece que o erro foi causado pelo uso de uma versão fora da data do Airprobe, que não estava compilando corretamente. Uma vez que os gnumonks se foram, tive que encontrar outro que compilasse corretamente. Eu consegui trabalhar com este: Clonei o mesmo valor no github, mas ainda estou obtendo o mesmo erro 8220ImportError: Nenhum módulo chamado gsm8221. Por favor, deixe-me saber se algo mais precisa ser feito. Oi, me ajude, obrigado. Airprobegsm-receiversrcpython. gsmreceivertl. py - s 1e6 Traceback (último último último recurso): Arquivo 8220.gsmreceivertl. py8221, linha 22, na importação osmosdr ImportError: Nenhum módulo chamado osmosdr Oi, eu segui todas as etapas e funcionou bem até que eu Clique na janela do espectro de banda larga. Simplesmente não faz nada, não mostra nada no wirehsark. I8217m usando um HackRF, qual poderia ser o problema Também tentou em Kali 1.0.8 vm e obteve: linux GNU C versão 4.7.2 Boost104900 UHD003.005.003-0-desconhecido Traceback (a última chamada mais recente): Arquivo 8220.gsmreceivertl. py8221 , Linha 27, na importação gsm Arquivo 8220..libgsm. py8221, linha 26, em gsm swigimporthelper () Arquivo 8220..libgsm. py8221, linha 18, em swigimporthelper importação gsm ImportError: libosmocore. so.5: não é possível abrir o objeto compartilhado Arquivo: Nenhum arquivo ou diretório. Alguma idéia sobre como fazer isso funcionar no Kali 1.0.8 Atendeu meu próprio problema. Execute o seguinte se estiver usando o Kali 1.0.8 antes do download e configuração do Airproble: sudo ln - s usrlocalincludegruelswiggruelcommon. i usrlocalincludegnuradioswig ampamp ldconfig parece estar funcionando na minha VM agora oi ao dia eu instalei o kali linux 1.0.8 com o gnuradio pré-instalado. Eu sigo o Como instalar a airprobe e aplicar o patch zmiana. patch, tudo funciona bem, mas quando eu aplicar o teste de airprobe, eu vou esta mensagem: Traceback (último último último contato): Arquivo 8220.gsmreceive. py8221, linha 11, na importação gsm Arquivo 8220..libgsm. py8221, linha 26, em gsm swigimporthelper () Arquivo 8220..libgsm. py8221, linha 18, em swigimporthelper importação gsm ImportError: Nenhum módulo chamado gsm por favor me ajude, eu tenho 5 dias, tentei, meu nome é Hans e ive obteve uma pergunta simples (eu sou um novato nesta seção): É possível detectar a contagem de smartphones perto de mim com gsm analyzazion e, se não, você poderia imaginar alguma maneira de fazer isso eu sei que não é tão fácil, mas Há vários meses para fazer isso, eu preciso apenas saber É possível oi Hans, em que área você está no oi, i8217m fez o cfile com um cartão terratec e4000 usb, mas infelizmente eu não consigo encontrar uma maneira de decodificar isso. Quando eu escrevo 8220.go. sh tmpcapture-rtl-sdr. cfile 64 1S8221 tudo parece bem no console, mas no wireshark não tem nada. Em vez de quando escreve 8220.go. sh tmpcapture-rtl-sdr. cfile 64 0C8221, então o wireshark mostra o tráfego, mas não as informações do sistema 5 ou 6 mega. co. nz8UtxEAwDGbUW8vkhPspAUtRuI3RaCuhJR3aWOpmbnj0NnLq8cIM, então eu carreguei meu cfile, e se alguém pode tentar e, finalmente, encontrar onde eu estou No errado, eu apreciarei oi. Eu estava usando gsmreceivertl. py com a versão 1 do patch zmiana, e funcionou bem. No entanto, eu couln8217t fazer o go. sh trabalhar com qualquer arquivo de captura, como capture941.8M112.cfile ou vfcall6a725d174g5Kc1EF00BAB3BAC7002.cfile. Agora eu li comentários neeo sobre uma nova versão de patch e apliquei, mas obtive os mesmos rersults: gsmreceivertl. py funcionando OK, mas a decodificação de arquivos não está funcionando. Neeo, quais as opções que devo usar para tentar com o vfcall6a725d174g5Kc1EF00BAB3BAC7002.cfile, que é o arquivo deve funcionar, isn8217t it. Obrigado, você precisa alterar o clockrate no código Python para 100e6 e usar o decim 174 para vfcall6a725d174g5Kc1EF00BAB3BAC7002.cfile. Então eu removi a configuração 8220-I8221.ac: 16: arquivo requerido. config. guess8217 não encontrado configure. ac:16: automake 8211add-missing8217 pode instalar config. guess8217 configure. ac:16: arquivo requerido. config. sub8217 não encontrado configure. ac:16: automake 8211add - missing8217 pode instalar config. sub8217 configure. ac:5: arquivo requerido. install-sh8217 não encontrado configure. ac:5: automake 8211add-missing8217 pode instalar install-sh8217 configure. ac:16: arquivo requerido. ltmain. sh8217 não encontrado Configure. ac:5: arquivo requerido. missing8217 não encontrado configure. ac:5: automake 8211add-missing8217 pode instalar missing8217 srcMakefile. am: arquivo requerido. depcomp8217 não encontrado srcMakefile. am: automake 8211add-missing8217 pode instalar depcomp8217 autoreconf: automake faile D com o status de saída: 1 Eu obtenho isso: autoreconf: 8216configure. ac8217 ou 8216configure. in8217 é necessário após 8220autoreconf i8221 ei tudo, desculpe-me por reapitatar esta pergunta quando eu executar o. gsmrecetlt. p.p. eu tomo esse erro: inux GNU C Versão 4.7.2 Boost104900 UHD003.005.003-0-desconhecido gr-osmosdr v0.0.x-xxx-xunknown (0.0.3git) gnuradio 3.6.5.1 tipos de fonte incorporados: arquivo fcd rtl rtltcp uhd hackrf FATAL: Falha ao abrir Dispositivo HackRF (-5) HACKRFERRORNOTFOUND Tentando preencher 1 canal (s) faltando com ruído gaussiano. Isso está sendo feito para evitar que o aplicativo falhe devido a um bug gnuradio. Os mantenedores foram informados. Taxa de amostragem: Traceback (último último último recurso): Arquivo 8220.gsmreceivertl. py8221, linha 230, no topo do bloco () File 8220.gsmreceivertl. py8221, linha 85, nas torneiras init gr. firdes. lowpass (1.0, samplerate, 145e3, 10e3, gr. firdes. WINHANN) Arquivo 8220usrlibpython2.7dist-packagesgnuradiogrgnuradiocoregeneral. py8221, linha 9493, no retorno de retorno baixo gnuradiocoregeneral. firdeslowpass (args, kwargs) IndexError: verificação de grfirdes falhou: samplingfreq gt 0 por favor, me diga exatamente como poderia Eu resolvo esse problema 8212821282128212821282128212821282128211 e. Outra pergunta é que quando eu executar parcelas. Isso me pede um nome de arquivo e eu dou o nome do arquivo, mas ele pede ignorá-los, 82128212821282128212821282128212821282128212821282128212821282128212- por favor, me diga como fazer remendos soooo sooorryy e tnxxxx muito para ans. 821282128212821282128212821282128212821282128212821282128212 Eu instalei isso no Kali 1.0.6 no VirtualBox, no entanto, quando eu executo. gsmreceivertl. py - s 1e6 depois de detectar o RTLSDR eu começo um erro traçado Traceback (último último último recurso): Arquivo 8220usrlibpython2.7dist-packagesgnuradiowxguiplotterplotterbase. py8221, Linha 203, em onpaint para fcn em self. drawfcns: fcn1 () Arquivo 8220usrlibpython2.7dist-packagesgnuradiowxguiplotterplotterbase. py8221, linha 63, em desenho GL. glCallList (self. gridcompiledlistid) Arquivo 8220usrlibpython2.7dist-packagesOpenGLerror. py8221, linha 208, em GlCheckError baseOperation baseOperation, OpenGL. error. GLError: GLError (err 1280, descrição 8216invalid enumerant8217, baseOperation glCallList, cArguments (1L,)) Agradecemos antecipadamente por qualquer ajuda. Oi, i8217ve atualizado o patch para 3.7 um pouco 8211 link speedy. shA7aP7zmiana2.patch 8211 agora gsmreceivertl. py também funciona (pode ser usado para capturar em tempo real), como observado por Storyman, o go. sh doesn8217t funciona, por exemplo, arquivo de captura mencionado No artigo 8211 talvez o arquivo precise de algum outro relógio (não foi o meu alvo de teste em primeiro lugar). Eu ainda consegui decodificar o arquivo srlabs corretamente (com clockrate 100e6) e com 64e6 (padrão) I8217m capaz de decodificar arquivos capturados com o meu rtl-sdr. Obrigado pela atualização, e as informações extras. Eu consegui replicar seu resultado. No processo de mexer com ele, descobri também um problema. Notei que, quando acendi a janela grosseira, estava se comportando estranhamente. Eu rastreei o bug para isso: quando gr mudou de 3.6 para 3.7, gr :: filter :: freqxlatingfirfilterXXX mudou para exigir o negativo do valor antigo. Ou seja, um deslocamento de -200000 em gr3.6 deve ser 200000 em gr3.7. A correção 8212 muda essa linha: self. offset - x para self. offset x No entanto, isso me fez pensar sobre o que mais essa mudança de sinal poderia estar estragando. Com certeza, há uma função de correção do sintonizador incorporada, onde a função do receptor gsm envia uma correção de freqüência para o bloco superior. Então executei a seguinte cirurgia menor para gsmreceive. py: class tuner (gr. fevaldd): def init (self, topblock): gr. fevaldd. init (self) self. topblock topblock def eval: self. Topblock. setcenterfrequency (freqoffset) return freqoffset torna-se: class tuner (gr. fevaldd): def init (self, topblock): gr. fevaldd. init (auto) self. topblock topblock def eval (self, freqoffset): self. topblock. Setcenterfrequency (0 - freqoffset) retorna 0 - freqoffset Aaaaand exatamente como esse 8212 capture941.8M112.cfile decodifica corretamente sob gr3.7 agora Oh, só queria dizer, there8217s provavelmente uma abordagem mais limpa para corrigir esses erros. Pode haver um ponto central onde podemos simplesmente fazer uma mudança de sinal e consertar tudo ou algo assim. Eu realmente não investiguei ainda mais. Eu estava tão feliz por ter o exemplo de cfile para ler, finalmente, que eu acabei de me apresar aqui para dizer como você está absolutamente certo Storyman 8211 o gnuradio. orgredmineprojectsgnuradiowikiMove3-6to3-7 afirma claramente que a mudança do sinal é necessária (mas eu fiz Abs () 8211 para que o meu erro seja 8217). Nova versão: speedy. shNBRYBzmiana3.patch (eu fiz a mudança em um local diferente, mas também funciona). Bem, eu passei por todos os comentários nesta página. Parece dos comentários que a Airprobe só funciona no kali-linux. É assim que eu estou tentando instalar o Airprobe na versão relativamente antiga do ubuntu, ou seja, o ubuntu 10.04. Então, isso vale a pena fazer isso, não, ele deveria funcionar em qualquer Linux, não apenas Kali. As pessoas simplesmente usam o Kali porque a Airprobe pode ser muito difícil de instalar e o Kali o simplificou um pouco ao pré-requisitar o pré-requisito do rádio GNU. Também esqueceu de mencionar, de acordo com o SopaXorzTaker, que se deve fazer em srcpythonlib e copiar gsm. py para srcpython. Vale ressaltar que esses patches para o gnuradio 3.7: Esqueceu de mencionar que nem os patches são meus, o primeiro é por scateu e o segundo é (c) 2014 SopaXorzTaker I8217ve aplicou ambos os patches e os programas são executados, mas eles não produzem saída válida como eles fazem para mim no gr3.6. Você (ou qualquer um, realmente) realmente chegou a um estado 100 utilizável com gr3.7 Mesmo o teste contra o arquivo capture941.8M112.cfile produz um fluxo de 8220sch. c: 260 ERR: convdecode 118243 sob gr3.7, fazendo o mesmo Teste da mesma maneira que no gr3.6 (que funcionou perfeitamente). Alguém já superou este problema? E se assim for, você pode compartilhar quaisquer dicas sobre como tentei instalar o Kali 1.0.6 e depois o GNURadio 3.7. Eu li sobre a incompatibilidade com airprobe e também apliquei um patch e tudo funcionou ok. Quando eu executar o arquivo caputer. cfile, ele falha assim: airprobegsm-receiversrcpython. go. sh capture941.8M112.cfile 112 0b Usando a máquina Volk: avx64mmxorc Chave: 821600000000000000008217 Configuração: 82160B8217 Configuração TS: 0 configurereceiver gr :: buffer :: allocatebuffer : Aviso: tentou alocar 115 itens de tamanho 568. Devido ao alinhamento, os requisitos 512 foram alocados. Se isso não for ok, considere preencher sua estrutura para um bytes de potência de dois. Nesta plataforma, nossa granularidade de alocação é de 4096 bytes. Sch. c: 260 ERR: convdecode 11 sch. c: 260 ERR: convdecode 11 sch. c: 260 ERR: convdecode 10 sch. c: 260 ERR: convdecode 11 sch. c: 260 ERR: convdecode 12 sch. c: 260 ERR: convdecode 11 sch. c: 260 ERR: convdecode 11 sch. c: 260 ERR: convdecode 10 8230. E nada aparece em Wireshark. Pior, se eu tentar executar: airprobegsm-receiversrcpython. gsmreceivertl. py - f 939.363M - c 0B Traceback (última chamada mais recente): Arquivo 8220.gsmreceivertl. py8221, linha 16, a partir de gnuradio import gr, gru, engnotation, blks2 , Optfir ImportError: não é possível importar nome blks2 Eu recebo este erro python. Parece que não existe nenhum patch aplicado à função IMPORT de python relacionado ao GNURadio 3.7 Problema com o Python também (OFFTOPIC: vá embora scriptkiddies resolvi o problema instalando o Kali 1.0.6 onde o GNURadio 3.6.5 está pré-instalado. Em seguida, baixado e Compilou a Airprobe. Eu também instale as bibliotecas RTLSDR osmocombb para que o Kalibrate funcione. Ao executar a captura ao vivo usando o gsm-receive, levantei o ganho para 52 e evolei 8230 20 segundos depois, o fluxo de dados GSM aparece no Wireshark. Meu conselho não é instalar GNURadio 3.7 e continue trabalhando com a versão pré instalada no GNURadio no Kali Linux 1.0.6 Agora corrigido e trabalhando no Ubuntu para o passo 1, ou seja, identificando a freqüência GSM exata, pode-se usar o kal para determinar a freqüência GSM (em vez de via SDR ou gqrx), desde que você conheça a banda GSM (bastante fácil), por exemplo, a saída de GSM kal-900 (faixa GSM 900 para todos os sinais GSM) será algo ao longo das linhas de potência chan: 1 (908.3MHz 8211 21.3243kHz) : Xxxxx. xx chan: 2 (909.5MHz 8211 22.1231kHz): xxxxx. xx chan: 3 (907.2MHz 8211 20.3223kHz) potência: xxxxx. xx escolha um canal que mostre um alto valor de potência (i. e. Boa recepção) traduz a frequência correspondente para hz, e. Supondo que o canal 3 tenha o maior valor de potência dos canais recebidos, 907,2Mhz traduzem para 907 200 000hz, modifique sua freqüência na gsmreceivertl. py para a freqüência correspondente, e. Gsmreceivertl. py - s 1e6 - f 907200000 Não tenho certeza se alguém teve problemas ao executar os comandos de instalação apt-get, mas eu fiz. Acabei instalando o centro de software Ubuntu8217s e conseguiu pesquisar os vários pacotes por lá. Quando tentei instalar pacotes através da linha de comando, mais de metade disse que eles não existiam () Apenas pensei que I8217d compartilhava essa dica caso alguém tivesse o mesmo problema. Eu usei o Kali Linux. Como executar. patch arquivo cd thedirectorycontainingtheource patch - p1 lt mypatch. patch Se isso doesn039t funcionar, tente com - p0 em vez de - p1. Olá quando eu tento compilar a Airprobe para decodificar sinais GSM com o rádio gnuradio, eu sigo as etapas, meu problema é quando eu compilei o gsm-receptor com o comando make, comeu o erro que recebo é o próximo: compilação encerrada. Make5: cch. lo Error 1 make5: se sale do diretório homeusuariDocumentosSDRairprobeairprobegsm-receiversrclibdecoder make4: all-recursive Error 1 make4: se sale do diretório homeusuariDocumentosSDRairprobeairprobegsm-receiversrclibdecoder make3: all-recursive Erro 1 make3: se sale do diretório homeusuariDocumentosSDRairprobeairprobegsm-receiversrclib make2: All-recursive Erro 1 make2: se sale do diretório homeusuariDocumentosSDRairprobeairprobegsm-receiversrc make1: all-recursive Erro 1 make1: se sale do diretório homeusuariDocumentosSDRairprobeairprobegsm-receiver make: all Error 2 E então, quando tento testar o aplicativo, recebo outro erro: Traceback (A última chamada mais recente): arquivo. gsmreceivertl. py, linha 16, a partir de gnuradio import gr, gru, engnotation, blks2, optfir Arquivo usrlocallibpython2.7dist-packagesgnuradioblks2init. py, linha 37, no exec de gnuradio. blks2impl. s import (F,) Arquivo, linha 1, no arquivo usrlocallibpython2.7dist-packagesgnuradioblks2implpfbinterpolato R. py, linha 23, a partir de gnuradio import gr, optfir Arquivo usrlocallibpython2.7dist-packagesgnuradiooptfir. py, linha 33, em remez gr. remez AttributeError: o objeto do módulo não tem atributo remez Eu instalei o Kali Linux 1.06 novo mas não funciona airprobe Por que alguém pode me ajudar, por favor, o erro para comiling Airprobe eu encontrei o problema o caminho rt-sdr thre deve ser compilado com. bootstrap e 8230. make e airprobe gsm decode estão indo Olá quando eu estou tentando usar 1e6 na taxa de amostragem , Eu posso modificar a frequência ou a hora da música para a frequência certa. As ondas de espectro de banda larga estão se movendo muito lentamente também as ondas do canal apectrum. Como posso corrigi-lo? Obrigado. Você precisa de mais energia da CPU. Eu tive o mesmo problema quando usei uma máquina virtual Vmware, adicionando um núcleo de CPU mais na configuração resolveu esse problema para mim. A amostragem em tempo real leva muita energia da CPU. Oh. I8217m tentando executá-lo no processador de átomos. Isso é ruim. Eu acho que não posso usar outra taxa de saple. Porque eu posso sintonizar quando uso a taxa de amostragem padrão. Obrigado Tutorial muito interessante É possível ver quando um dispositivo final do usuário está abrindo e fechando PDP-sessões para o GPRS Olá. Eu instalei o gnuradio-3.6.5.1 e a airprobe. Okey é bom trabalho, eu vejo dados do meu terminal e decodificar dados na minha janela wireshark, mas eu não ouço nenhum som. Eu não sei. O que devo fazer para ouvir o som. Eu devo instalar o VMWare player ou não. Por favor, ajude-me, obrigado e cumprimentos. Não, deve agir assim. also, how old are you Well, despite I could install airprobe with gnuradio 3.7 using the patch, I still couldn8217t decode any example file (tried with capture941.8M112.cfile and vfcall6a725d174g5Kc1EF00BAB3BAC7002). I get this: go. sh capture941.8M112.cfile 64 0b Using Volk machine: ssse332orc Key: 0000000000000000 Configuration: 0B Configuration TS: 0 configurereceiver gr::buffer::allocatebuffer: warning: tried to allocate 115 items of size 568. Due to alignment requirements 512 were allocated. If this isnt OK, consider padding your structure to a power-of-two bytes. On this platform, our allocation granularity is 4096 bytes. And nothing appears in wireshark. If I use other decimation ratios, for example 112: go. sh capture941.8M112.cfile 112 0b Using Volk machine: ssse332orc Key: 821600000000000000008217 Configuration: 82160B8217 Configuration TS: 0 configurereceiver gr::buffer::allocatebuffer: warning: tried to allocate 115 items of size 568. Due to alignment requirements 512 were allocated. If this isn8217t OK, consider padding your structure to a power-of-two bytes. On this platform, our allocation granularity is 4096 bytes. sch. c:260 ERR: convdecode 11 sch. c:260 ERR: convdecode 11 sch. c:260 ERR: convdecode 11 8230 Any ideas Thanks Hi, I8217m having a problem very similar to OI. When I run:.go. sh capture941.8M112.cfile I get: Traceback (most recent call last): File 8220.gsmreceive. py8221, line 15, in import gsm File 8220..libgsm. py8221, line 26, in gsm swigimporthelper() File 8220..libgsm. py8221, line 18, in swigimporthelper import gsm ImportError. lib. libsgsm. so: undefined symbol: Z14grfastatan2fff I8217ve seen the comment from Andy, but my libfftw3-dev package is in its most recent version. Any ideas Thanks Sorry, I hadn8217t noticed that my problem could be related with the gnuradio version. I tryed with the neeo patch, and now it seems to work. Thanks I8217ve made a patch to make gsm-receiver (from gnumonks airprobe) compatible with gnuradio gt 3.7. it is a little bit hacky im some places, but it works for me you can get it here: i8217ve also created a new version of grc file, that can be loaded in gnuradio-companion (grc) 3.7 Could you please provide the patch in a way that does not require an EXE file to download You could create a fork of the code on github for example (or e-mail the patch to me so I can host it, my email is linked from my homepage). No need to use their executable downloader8230 just click the filename at the top of the page and it will download normally with the browser. Nice one neeo, but how did you get past the error concerning gnuradio-core, since it was removed in 3.7 you must have solved this problem as well This happens when you try to run the. configure script. Errors like this: checking for GNURADIOCORE. configure: error: Package requirements (gnuradio-core gt 3) were not met: No package gnuradio-core found Consider adjusting the PKGCONFIGPATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNURADIOCORECFLAGS and GNURADIOCORELIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. And suddenly it worked, after running bootstrap again When I install gsm-receiver of airprobe, the error occurred. How to fix this: In file included from GSMCommon. h:34:0, from GSMCommon. cpp:23:.Timeval. h: In function 8216void msleep(long int):.Timeval. h:32:49: error: 8216usleep8217 was not declared in this scope In file included from GSMCommon. cpp:23:0: GSMCommon. h: In function 8216void GSM::sleepFrames(unsigned int): GSMCommon. h:62:36: error: 8216usleep8217 was not declared in this scope GSMCommon. h: In function 8216void GSM::sleepFrame(): GSMCommon. h:66:29: error: 8216usleep8217 was not declared in this scope make5: GSMCommon. lo error 1 make5: Leaving directory rootairprobegsm-receiversrclibdecoderopenbtsstuff8217 make4: all-recursive error 1 make4: Leaving directory rootairprobegsm-receiversrclibdecoder8217 make3: all-recursive error 1 make3: Leaving directory rootairprobegsm-receiversrclib8217 make2: all-recursive error 1 make2: Leaving directory rootairprobegsm-receiversrc82 17 make1: all-recursive error 1 make1: Leaving directory rootairprobegsm-receiver8217 make: all error 2 Has anyone used Kraken I have it installed on my machine with tables and I8217m not sure how to point or configure Kraken or findkc toward the tables on the HD. I8217m a rather new Linux user. I get an error i don. t understand. im using latest version of debian : gsmreceivertl. py linux GNU C version 4.7.2 Boost104900 UHD003.006.002-1-g8f0f045c gr-osmosdr v0.0.2-42-g86ecf305 (0.0.3git) gnuradio 3.6.5.1 built-in source types: file fcd rtl rtltcp uhd hackrf bladerf netsdr Using device 0 Realtek RTL2838UHIDIR SN: 00000001 Found Rafael Micro R820T tuner sample rate: 1800000 gtgtgt grfirccc: using SSE gtgtgt grfirccf: using SSE Key: 8216ad6a3ec2b442e4008242 Configuration: 82160B8217 Configuration TS: 0 configurereceiver Using Volk machine: sse4264orc The program 8216python8217 received an X Window System error. This probably reflects a bug in the program. The error was 8216BadWindow (invalid Window parameter)8217. (Details: serial 629 errorcode 3 requestcode 137 minorcode 4) (Note to programmers: normally, X errors are reported asynchronously that is, you will receive the error a while after causing it. To debug your program, run it with the 8211sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdkxerror() function.) For those of you in the states, have any of you guys had any luck with this Our possible ranges leave only 1 of the 4 bands usable if using the RTL SDR seeing as the max range is 1700 (GSM for the states for ATampT and T-Mobile are within 850, 1700, 1900, and 2100 I believe). Therefore, I have only been able to attempt 850mhz band, but with no such luck. I am currently using a simple TV Antenna. Given the comments for this article, even the stock antenna that comes with the RTL SDR can pick this up. Any thoughts as to what I may be doing wrong I think that once I find a non-hopping signal, I will be set. In the meantime, I can only find MOTORBO signals within this range. Thank you so much for the tutorial As soon as I finished reading it, I went out and bought the Terratec E4000. Unfortunately, I am having the same troubles as some of the others. After I installed Airprobe, I got this error message: sdrairprobegsm-receiversrcpython. go. sh capture941.8M112.cfile Traceback (most recent call last): File 8220.gsmreceive. py8221, line 3, in from gnuradio import gr, gru, blks2 ImportError: cannot import name blks2 I even tried removing the GNURadio that comes with Kali, and instead installed it in the fashion described in the video-tutorial in your post. But nothing seems to work. I tried googling the problem, and have now spent several days trying to figure it out 8211 unfortunately without any luck. I hope someone can help me with this problem. Hi, I have installed the gnuradio 3.7. But when I tried to install gsm-receiver after step 8220.configure8221, I got a error like this 8220Package requirements (gnuradio-core gt 3) were not met8221. I googled the problem. It seems the new version gnuradio is not compatible with the airprobe. Do you have any ideal to fix it Many Thanks Great tutorial8230the clearest yet I did have to download many dependencies on my fresh install of Kali in order to install gsm-receiver but now it installed correctly. When I try to run gsmreceivertl. py I get the following errors: linux GNU C version 4.7.2 Boost104900 UHD003.005.003-0-unknown gr-osmosdr v0.0.x-xxx-xunknown (0.0.3git) gnuradio 3.6.5.1 built-in source types: file fcd rtl rtltcp uhd hackrf FATAL: Failed to open HackRF device (-5) HACKRFERRORNOTFOUND Trying to fill up 1 missing channel(s) with gaussian noise. This is being done to prevent the application from crashing due to a gnuradio bug. The maintainers have been informed. sample rate: 0 Traceback (most recent call last): File 8220.gsmreceivertl. py8221, line 230, in tb topblock() File 8220.gsmreceivertl. py8221, line 85, in init taps gr. firdes. lowpass(1.0, samplerate, 145e3, 10e3, gr. firdes. WINHANN) File 8220usrlibpython2.7dist-packagesgnuradiogrgnuradiocoregeneral. py8221, line 9493, in lowpass return gnuradiocoregeneral. firdeslowpass(args, kwargs) IndexError: grfirdes check failed: samplingfreq gt 0 any idea what this is Attached rtl2832-cfile. grc does not work in modern version of gnuradio. Trying in v3.7 gives a lot of errors. I know that asking for a port maybe asking too much. Could at least a picture of the schematic be posted This is Ajay here, When I use. go. sh with the downloaded cfile, everything is fine. When I make my own cfile using usrpgnuradioairprobe. gsmscan. py - pe - re - d174 - c643 I get the cfile but the decode does not happen using. go. sh. Can anyone help me with how to capture a valid cfile using USRPGNURADIO. I have been trying for a long time, pls help. Install Kali and simple run a script as root from root folder: apt-get - y install git-core autoconf automake libtool g python-dev swig libpcap0.8-dev apt-get install gnuradio gnuradio-dev cmake git libboost-all-dev libusb-1.0-0 libusb-1.0-0-dev libfftw3-dev swig python-numpy git clone git:git. osmocom. orglibosmocore. git cd libosmocore autoreconf - i. configure make sudo make install sudo ldconfig git clone git:git. gnumonks. orgairprobe. git cd airprobegsmdecode. bootstrap. configure make cd airprobegsm-receiver. bootstrap. configure make how change ip in wireshark to 10.0.0.016 Hi, I8217m a Noob here. Running. go. sh capture941.8M112.cfile 112 1S on the cfile mentioned in the tutorial shows SI 5 amp 6 frames. However, I8217ve been unsuccessful in getting similar data off a live transmission and was hoping someone here could point me in the right direction. My beacon is on ARFCN 22 and here8217s what I8217ve done so far: 1).gsmreceivertl. py - f 939.363M - c 0B I see BCCH data with 2 different kinds of Immediate Assignments in Wireshark. Here8217s a brief excerpt 821282128211 SDCCH8 SACCHC8 or CBCH (SDCCH8), Subchannel 4 Timeslot: 2 Hopping channel: No Single channel. ARFCN 22 821282128211 Spare bits (ignored by receiver) Timeslot: 4 Hopping channel: Yes Hopping channel: MAIO 6 Hopping channel: HSN 38 821282128211 2) Since the Immediate Assignments to TS2 were frequent, I was hoping that monitoring TS2 on ARFCN 22 would show pre-encryption SI 5 and SI 6 frames. I ran the following command:.gsmreceivertl. py - f 939.363M - c 2S I do not see any output at all in Wireshark while I do see encrypted frames on the gsmreceive window. I tried config 2C and setting the sampling rate to 1MHz but I still cannot see anything in Wireshark. What am I missing Needed to force the key to 0 to get it to work. gsmreceivertl. py - f 939.363M - c 2S - k 822000 00 00 00 00 00 00 008243 Hi there, Just posted about decrypting the data captured on my blog, thought it might be interesting for you too t. coatlCy8ykqg finaly i am able to run it in new Kali linux (version 1.0.5), For those who getting error when compilingmake 8220gsm-receiver8221,this is beacuse of the missing dependencies with gnuradio installed in kali run this command to fix it. sudo apt-get install gnuradio gnuradio-dev cmake git libboost-all-dev libusb-1.0-0 libusb-1.0-0-dev libfftw3-dev swig python-numpy then try compile airprobe FYI: tried this tutorial in ubuntu 13.04 but failed, worked fine in Kali linux (version 1.0.5) Thanks for this, I havn8217t had a chance to try airprobe on the new Kali yet, so this will save some time. correction, airprobe is not pre-installed in kali Thanks for the correction, not sure why I thought that. I am trying to compile airprobe to decode GSM signals with gnuradio radio and wireshark following the steps, the problem is when I compile the gsm-receiver with the command make, the error I get is the next one: compilation terminated. make5: cch. lo Error 1 make5: se sale del directorio homeusuariDocumentosSDRairprobeairprobegsm-receiversrclibdecoder make4: all-recursive Error 1 make4: se sale del directorio homeusuariDocumentosSDRairprobeairprobegsm-receiversrclibdecoder make3: all-recursive Error 1 make3: se sale del directorio homeusuariDocumentosSDRairprobeairprobegsm-receiversrclib make2: all-recursive Error 1 make2: se sale del directorio homeusuariDocumentosSDRairprobeairprobegsm-receiversrc make1: all-recursive Error 1 make1: se sale del directorio homeusuariDocumentosSDRairprobeairprobegsm-receiver make: all Error 2 And then when I try to test the application i get another error: Traceback (most recent call last): File 8220.gsmreceivertl. py8221, line 16, in from gnuradio import gr, gru, engnotation, blks2, optfir File 8220usrlocallibpython2.7dist-packagesgnuradioblks2init. py8221, line 37, in exec 8220from gnuradio. blks2impl. s import 8221 (f,) File 82208221, line 1, in File 8220usrlocallibpython2.7dist-pac kagesgnuradioblks2implpfbinterpolator. py8221, line 23, in from gnuradio import gr, optfir File 8220usrlocallibpython2.7dist-packagesgnuradiooptfir. py8221, line 33, in remez gr. remez AttributeError: 8216module8217 object has no attribute 8216remez8217 I think that the problem comes from some kind of version incompatibility of python but I8217m not sure, can someone help me please Hi I8217m newby at this. Please, help. After execute a gsmreceive. py I have error: airprobegsm-receiversrcpython. gsmreceive. py Traceback (most recent call last): File 8220.gsmreceive. py8221, line 12, in import gsm File 8220..libgsm. py8221, line 26, in gsm swigimporthelper() File 8220..libgsm. py8221, line 18, in swigimporthelper import gsm ImportError. lib. libsgsm. so: undefined symbol: ZTI8grblock Sorry I don8217t know what could be wrong here, maybe someone else can help I encountered the same error on Kali Linux. The reason is, that the shared object (gsm. o) doesn8217t get correctly linked against gnuradio-core. so, because pkg-config fails during the build. It fails, because gnuradio-core depends on the package 8220fftw3f8221 which is installed in binary form, because otherwise gnuradio woulndn8217t work, but the - dev package is mising. Long story short: Install the missing package (apt-get install libfftw3-dev) and rebuild the gsm-receiver. Then it works. It doesn8217t work8230 (I use kali 1.0.5) Hey, thanks for the excellent article. So I8217ve gotten up to the point of actually trying to do a live capture with wireshark, but for some reason, when I run gsmreceivertl. py, I get an error where each parse of a packet should be. It looks like this: sch. c:260 ERR: convdecode 12 The number seems to vary between 9 and 12. Any idea how to fix this Did you set the - s flag to make the bandwidth 1MHz I get this error too sometimes, usually it8217s because the GSM peak isn8217t perfectly centered, or I haven8217t clicked on the peak center perfectly. Also poor reception might cause it. In one of Domi8217s comments below he says that he used kalibrate to get a clock offset figure which allowed him to tune to the signal much more accurately to get around that error, you might want to try that too. Great tutorial, I have several questions though: 1) By using kalibrate I can correctly get 90 of all gsm downlink traffic for 20 seconds or so in wireshark, then I get a parity bit error for 10 seconds followed by around 15 seconds of ERR: convdecode 11 and lastly a bunch of 08217s, any idea what can cause this I am guessing either my antennae gets offset or I get offset on my packages. 2) I can see uplink traffic with SDR but when I try to sniff it with airprobe I get absolutely nothing in wireshark, not even any error messages. Any ideas Thanks for any help you can give. I plan on trying to run uplink and downlink sniffing at the same time and will let you know my results. (using 2 dongles) I think I can answer you since I have been down the same road. 1. I think you need to wait for the dongle to warm up (as admin said), and keep re-kalibrating it. It is actually quite random, sometimes I get the full traffic even when I use the exact value coming from arfcncalc, sometimes I need to calibrate. I think this is because my error (28-30kHz) is still in the width of a GSM channel (200 kHz). The parity errors could be ignored it means the traffic you tried to de-modulate and decode is encrypted. The ERRCONV messages mean that you are not well calibrated, sometimes if you wait they disappear as the dongle gets in tact. The 0s mean that you are so off from the frequency that airprobe couldn8217t even find anything that looks like GSM so it just prints it the bits it finds. 2. There is no uplink support at all in airprobe. There was a little demonstration at one of the conferences but the code was never released. You can find some gitHUB repos claiming their airprobe is down and uplink compatible, but they don8217t work. According to a comment in the code 8220uplink can8217t be decoded the way currently gsm-receive works8221. Everybidy switched to osmocomBB therefore no more code is written for SDRs. I asked Dieter Spaar who presented uplink sniffing but he said the code is private and dirty so he will never release it. I was also thinking about doing uplink and downlink simultaniously but it appears that for some reason you need to sync the two dongles for good results, so I decided to put this aside as it is a lot more complicated than I thought. Thanks for the info Domi, I hope it will save some people some time. Does airprobe work on ubuntu or it is only for kali linux Which version of ubuntu will be most suitable for airprobe As i m using ubuntu 10.04.4 Did you try it for uplink traffic as well. As far as I know, it isn8217t possible to monitor uplink traffic at the moment. Someone correct me if i8217m wrong. EDIT: In this video at 32 minutes in they show a demo of uplink traffic monitoring, but I think you need to monitor down downlink and uplink at the same time, which only the USRP can do. Maybe it is possible with two RTLs though8230 I haven8217t tried it yet, but it should be possible 8211 uplink is just a different frequency, but uses the same kind of data-structure as far as I know, so it shuld be possible to demodulate and analyze it using the same tools. It is totally possible, just need some computing power to be able to work with both sticks. The program arfncalc can give you the uplink frequency as well as the downlink. I will look into this stuff in the coming days and will post some results to my blog. Nice blog, you seem knowledgeable about GSM. I8217ll keep an eye on your work. Hi, I have one issue that kind of bothers me: I tune my rtl-sdr to the right frequency 8211 I use arfcn-calc and an old Nokia 3310 in network monitor mode so I know what is the the phone8217s tower8217s ARFCN so I know the frequency 8211 but I don8217t always get data, most of the time I get sch. c:260 ERR: convdecode 11 and similar messages. After that I decided to do a little calibration with kalibrate-rtl. It showed me an average of 24 kHz offset, so I subtracted around 24 000 from the frequency arfcncalc told me and now I am tresting this setup. It seems that it still starts with the ERR-messages, but after some seconds it actually starts to output GSM-data as expected. Now my question is: since I am very new to radios and SDR especially is what I did with calibrating and changing the frequency manually correct (at least in theory) Should I try to move closer to the tower My phone shows around -59 dBi signal. Thank you Hi, yes what you did is correct, usually you8217d use the PPM offset value, but gsmreceivertl. py doesn8217t seem to have that option. Remember the dongle takes time to warm up and stabilize, and during that time the frequency offset can change, so make sure you run Kalibrate after the dongle has been running for a few minutes. Also, if the signal isn8217t perfectly centered you can tune around with the mouse by clicking on the GSM peak middle. I get those errors sometimes too and i8217m not sure why, but it could be signal strength related. Hi, great article, thank you for posting it. What kind of antenna did you use for this Hi, thanks. I used a roof mounted J-Pole. But GSM signals are usually quite strong so even the stock rtl-sdr antenna should pick up GSM decently assuming you have a GSM cell tower near you. Oh, great I already ordered an RTL-SDR from eBay, so I am just waiting for the mailman to bring it. I am really interested about decrypting actual data, found this video which I think could be applied to RTL-SDR, what do you think youtubewatchv0hjn-BP8nro Hi, yes the video is applicable, the USRP and RTL-SDR should be pretty much interchangeable. Nice tutorial. I could capture control data without any problem. But how to capture encrypted content. It should be possible to capture encrypted data even without decrypting. Cant find much info except USRP. I don8217t know much about the encryption stuff, but are you talking about capturing a cfile I wasn8217t able to find a way to get airprobe to do it with the rtl-sdr. But it should be possible using GNURadio. sdr. osmocom. orgtracwikirtl-sdrUsingthedata Great instruction Thanks But I have a question. I trying to get burst data for kraken (magic 114 bits). I use osmocombb motorola C123. I8217m able to see receiving data in wireshark. But how to convert this captured data into necessary format Thanks in advance To be honest I haven8217t looked into the encryption side of things yet. Your best bet for help is probably on the srlabs A51 mailing list lists. srlabs. decgi-binmailmanlistinfoa51. Some people on IRC might also be able to help. Ask around on the freenode server, channel rtlsdr. I8217ve been trying to hunt down a GSM frequency to try this out. I can8217t seem to find one though. I browsed 900Mhz-1000Mhz, nothing that looked like data. Any tips in using the FCC website for looking it up I imagine there is a better way than me browsing around randomly. Keep up these great tutorials Sorry, I almost forgot that the USA uses slightly different frequencies. Try searching from 850 MHz. Theres a good worldwide list of the bands used here. worldtimezonegsm. html This is also useful for finding exact frequencies. cellmapper. netarfcn. If you dont know your own cells ARFCN number, look here in the table for the range of valid values for your GSM band. en. wikipedia. orgwikiAbsoluteradio-frequencychannelnumber Thanks, I8217ll check those out. I also found this while I was searching: githubEvrytaniaLTE-Cell-Scanner It allows you to locate and track LTE basestations. May be cool for your next article. Nice LTE scanner link. I can8217t really use it yet as there are no LTE signals in my country until next year. There is a test signal around, but I have no idea what part of the spectrum it is in EDIT: Just realized there are LTE signals around, but they8217re all in the 1.8 GHz region. hey. i have gnuradio 3.6.5 installed on ubuntu 12.04..i m trying to install airprobe. everything works fine according to this tutorial till the point i try to make gsm receiver8230 i got the following error usrbinld: i386 architecture of input file decoder. libslibdecoder. a(GSM660Tables. o)8217 is incompatible with i386:x86-64 output collect2: ld returned 1 exit status make4: gsm. la Error 1 make4: Leaving directory homeaairprobegsm-receiversrclib8217 make3: all-recursive Error 1 make3: Leaving directory homeaairprobegsm-receiversrclib8217 make2: all-recursive Error 1 make2: Leaving directory homeaairprobegsm-receiversrc8217 make1: all-recursive Error 1 make1: Leaving directory homeaairprobegsm-receiver8217 make: all Error 2 i m not sure about what this error is. when i try to run gsmreceive. py file it again give an error which is probably due to the incomplete installation Traceback (most recent call last): File 8220.gsmreceive. py8221, line 12, in import gsm File 8220..libgsm. py8221, line 26, in gsm swigimporthelper() File 8220..libgsm. py8221, line 18, in swigimporthelper import gsm ImportError: No module named gsm is there anybody who can help me with this problem. thanx in advance, regards ali Post a comment Cancel replyRtlfm is a little utility I wrote for the rtl-sdr project. The program was made to fill a gap in software defined radio: all the computers weaker than a Pentium 4. Basically, an Atom processor processor does not have enough oomph to demodulate something as simple as narrow band FM using the standard tools. (Recently a high performance FM demodulator was released, Simple FM but it works only passably on newer Atoms.) So rtlfm was written with one goal, efficiency, in mind. Atom processor processor The very first version ran with plenty of cycles to space. As an unexpected bonus, it ended up being efficient enough to easily run on small ARM boards such as the Raspberry Pi. GnuRadio is a really great program easily worth a thousand bucks. But it was designed to run on 500 computers with 500 SDR hardware. Where as this is made for 20 SDRs plugged into 20 computers. More powerful windows and OSX machines can easily handle several instances of rtlfm at once. cycles to space should be cycles to spare. Rtlfm is a general purpose analog demodulator. It can handle FM, AM and SSB. It can scan more than a hundred frequencies a second. For digital modes, piping the audio into multimon-ng works very well. On a Raspberry Pi, rtlfm multimon uses just over half of the CPU. If you are interested in ADS-B decoding, check out the rtladsb utility. It uses only 6 CPU on a Raspberry Pi and can run on targets as small and adorable as a 16MB TL-R703N. If you are using Arch Linux, Ive already packaged these tools for you and you can install them with pacman - S rtl-sdr. If you need something more specific, feel free to send me an email. Throughout this guide, Ill be using Sox s play command to play the audio. This is because Sox works on Linux, OSX, Windows and pretty much anything else you can run a compiler on. (If you are using Windows, rename the sox binary to play first.) Sox will automatically resample the audio to keep your soundcard happy and can apply denoising filters to keep your ears happy. If you want to run closer to the metal, feel free to use the utilities provided by Alsa or OSS or Pulse. But I wont be talking about them in this guide. Before starting, make sure your dongle works. rtltest should return a list of supported gain values and not produce error messages. Make sure you are using a USB 2.0 port as well, otherwise you get really weird errors. Issues using this on a Pi under Arch. Doing rtltest does nothing.

No comments:

Post a Comment