Some soil microbes, with their diverse inhabitance, biologically active metabolites, and endospore formation, gave them characteristic predominance and recognition among other microbial communities. The present study collected ten soil samples from green land, agricultural and marshy soil sites of Khyber Pakhtunkhwa, Pakistan. After culturing on described media, the bacterial isolates were identified through phenotypic, biochemical and phylogenetic analysis. Our phylogenetic analysis revealed three bacterial isolates, A6S7, A1S6, and A1S10, showing 99% nucleotides sequence similarity with Brevibacillus formosus, Bacillus Subtilis and Paenibacillus dendritiformis. The crude extract was prepared from bacterial isolates to assess the anti-bacterial potential against various targeted multidrug-resistant strains (MDRS), including Acinetobacter baumannii (ATCC 19606), Methicillin-resistant Staphylococcus aureus (MRSA) (BAA-1683), Klebsiella pneumoniae (ATCC 13883), Pseudomonas aeruginosa (BAA-2108), Staphylococcus aureus (ATCC 292013), Escherichia coli (ATCC25922) and Salmonella typhi (ATCC 14028). Our analysis revealed that all bacterial extracts possess activity against Gram-negative and Gram-positive bacteria at a concentration of 5 mg/mL, efficiently restricting the growth of E. coli compared with positive control ciprofloxacin. The study concluded that the identified species have the potential to produce antimicrobial compounds which can be used to control different microbial infections, especially MDRS. Moreover, the analysis of the bacterial extracts through GC-MS indicated the presence of different antimicrobial compounds such as propanoic acid, oxalic acid, phenol and hexadecanoic acid.