Staphylococcus aureus is a highly resistant pathogen. It has multiple virulence factors, which makes it one of the most pathogenic bacteria for humankind. The vast increase in antibiotic resistance in these bacteria is a warning of existing healthcare policies. Most of the available antibiotics are ineffective due to resistance; this situation requires the development of drugs that target specific proteins and are not susceptible to resistance. In this study, we identified a compound that acts as an antagonist of ClfA and ClfB by inhibiting their binding to host cells. The shortlisted compound's binding activity was tested by docking and molecular dynamics during its interaction with proteins. The identified compound has excellent binding energy with both ClfA (-10.11 kcal/mol) and ClfB (-11.11 kcal/mol). The molecular dynamics of the protein and compound were stable and promising for further in vitro and in vivo tests. The performance of our compound was tested and compared with that of the control molecule allantodapsone, which was reported in a previous study as a pan inhibitor of the clumping factor. An ADMET study of our selected compound revealed its reliable drug likeliness. This compound is an ideal candidate for in vitro studies.