Selective oxidation of sulfides 7 or 8 to sulfoxides 9 or 10 is achieved by mCPBA. The structures of the compounds 9 or 10 are confirmed by elemental analysis, IR, and (1)H NMR. The bioassay results showed that title compound 10a possess high antifungal activities with EC(50) values ranging from 19.91 to 63.97 microg/mL. The mechanism of action of 10a against Sclerotinia sclerotiorum was studied. After treating with compound 10a at 100 microg/mL for 12 h, the mycelial reducing sugar, D-GlcNAc, soluble protein and pyruvate content, chitinase activity showed declining tendency.