• Stars
    star
    784
  • Rank 57,639 (Top 2 %)
  • Language
    Python
  • Created almost 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Salamandra is a tool to find spy microphones that use radio freq to transmit. It uses SDR.

Salamandra Spy Microphone Detection Tool

Salamandra is a tool to detect and locate spy microphones in closed environments. It find microphones based on the strength of the signal sent by the microphone and the amount of noise and overlapped frequencies. Based on the generated noise it can estimate how close or far away you are from the microphone.

Installation

USB SDR Device

To use Salamandra you nee to have a SDR (Software Define Radio) device. It can be any from the cheap USB devices, such as this.

rtl_power software

Salamandra needs the rtl_power software installed in your computer. To install it you can do:

  • On MacOS:

    sudo port install rtl-sdr

If you don't have ports in your MAC, see port installation

If rtl_power was installed correctly, you should be able to run this command in any console:

rtl_test

And you should see one device detected.

Usage

Basic usage for detecting microphones

./salamandra.py 

This command will use a default threshold of 10.8, a min freq of 100Mhz, a max freq of 400Mhz and sound. You can change the default values with parameters.

Location Mode to find Hidden Microphones

  • Run Salamandra with a threshold of 0, starting in the frequency 100MHz and ending in the frequency 200MHz. Search is activated with (-s). And make sounds (-S)

    ./salamandra.py -t 0 -a 100 -b 200 -s -S

Location Mode from a stored rtl_power file

./salamandra.py -t 0 -a 111 -b 113 -s -f stored.csv

To actually create the file with rtl_power, from 111MHz to 114MHz, with 4000Khz step, gain of 25, integration of 1s and capturing for 5min, you can do:

rtl_power -f 111M:114M:4000Khz -g 25 -i 1 -e 300 stored.csv

Detection Mode (deprecated now). To detect microphones in one pass.

  • Run Salamandra with a threshold of 0, starting in the frequency 100MHz and ending in the frequency 200MHz. Search is activated with (-s). And make sounds (-S)

    ./salamandra.py -t 10.3 -a 100 -b 200 -F 2

Tips

  • The wider the range of frequencies selected, the longer the analysis takes.
  • The wider the range, the more probabilities to find microphones.
  • Once you know the prob freq you can narrow it down with the parameters.

TODO

  1. Make more clear if there is a detection or not
  2. Separate the FP by
    • Sound generation based on the length of the histogram
    • Discard the frequencies that do not look like analog audio (Equidistant freqs)
  3. Logs in file
  4. Make the execution of rtl_power in another process in the background
  5. Use silent sounds: https://blog.acolyer.org/2018/05/11/inaudible-voice-commands-the-long-range-attack-and-defense/

More Repositories

1

domain_analyzer

Analyze the security of any domain by finding all the information possible. Made in python.
Python
1,842
star
2

Sapito

A mDNS sniffer and interpreter.
Python
80
star
3

unanomaly

A generic data anomaly finder. You can use a beautiful web page, drag-and-drop your csv dataset and easily find the top N anomalies in the data. No need to understand your dataset.
JavaScript
32
star
4

darm

darm - intelligent network sniffer for the masses darm is an attempt to create a very easy to use app that will sniff and report information about the activities happening on a live network. The main goal is to educate the public so that it becomes aware of the security of their communications. darm is being developed by leandrinux as a project for fun. Current features: - Sniffs live network interfaces or capture files and analyzes them, getting important protocol-specific information such as IP addresses and port numbers. - Supports Ethernet, 802.11, IP, ARP, UDP, TCP and DNS protocols - Reassembles tcp threads, and dumps them to files when they are closed (FIN or RST), or when darm is forced to close.
Python
29
star
5

theinfinitewebpage

This is a quick hack of a honeypot web server that serves an infinite web page. It is meant to fill the hard disk of the attacker when it automatically tries to download it.
Python
15
star
6

oip

An update of the OIP project from https://it.wiki.usu.edu/OIP. It was modified to run under Debian 7.0 on May 2013. OIP is a visualization in which individual machine IPs are placed randomly on a display, and packets are visualized as different sized dots flowing from one machine to another.
C++
6
star
7

Coordinated-deception-Game-Theory

Improving the security of the community by optimizing honeypot ports: A coordinated deception Game Theory
Python
4
star
8

smartdecoder

A python script to convert a string containing ascii, hexa and unicode all mixed to ascii.
Python
4
star
9

pcapsummarizer

A bash script to quicky generate some useful files from a pcap. Designed for the https://stratosphereips.org project
Shell
3
star
10

twitter-stats

Python tool to get stats about twitter accounts. How stop following you, etc.
Python
3
star
11

ditas-number-generator

A generator for a puzzle given by dita. I hope a cellular automata type of thing
Python
2
star
12

Suricata-Extractor

An extractor and summarizer of suricata alerts per time window. For the Ludus project in CTU University
Python
2
star
13

pi-robocamera

A program to control a usb camera with movement
Python
2
star
14

XorDecryptor

A xor decryptor to automatically find the 1-byte hexa key and test if the result is English text.
Python
2
star
15

video-diary

A shell script to create a video diary entry using videosnap and Obsidian
Shell
2
star
16

clustertwit

A python program to cluster twits based on a similarity measure
Python
2
star
17

TR19-wifibluechat

Wifi and Bluetooth chat program for the Troopers 19 badge using micropython
Python
2
star
18

website-texts

Texts for the new website
1
star
19

stegfuse

1
star
20

pi-plant

A raspberry pi with sensors for plants
Python
1
star
21

webpage

My webpage
1
star
22

cc-reader

CC reader
Python
1
star
23

Botmarine

An attack interactive visualization tool
HTML
1
star
24

estenopeica-autoopenning

Program to control an esp32 device to open automatically an estenopeica pinhole camera
Python
1
star
25

robotgames-robots

Our robots for the python robotgame http://robotgame.net/!
Python
1
star
26

pidgeon-detector

Pidgeon Detector
1
star