Detection and identification of pathogens in environmental samples for biosecurity applications are challenging due to the strict requirements on specificity, sensitivity and time. We have developed a concept for quick, specific and sensitive pathogen identification in environmental samples. Target identification is realized by padlock- and proximity probing, and reacted probes are amplified by RCA (rolling-circle amplification). The individual RCA products are labeled by fluorescence and enumerated by an instrument, developed for sensitive and rapid digital analysis. The concept is demonstrated by identification of simili biowarfare agents for bacteria (Escherichia coli and Pantoea agglomerans) and spores (Bacillus atrophaeus) released in field.