We present an efficient approach to discriminate between typical and atypical brains from macroscopic neural dynamics recorded as magnetoencephalograms (MEG). Our approach is based on the fact that spontaneous brain activity can be accurately described with stochastic dynamics, as a multivariate Ornstein-Uhlenbeck process (mOUP). By fitting the data to a mOUP we obtain: 1) the functional connectivity matrix, corresponding to the drift operator, and 2) the traces of background stochastic activity (noise) driving the brain. We applied this method to investigate functional connectivity and background noise in juvenile patients (n = 9) with Asperger's syndrome, a form of autism spectrum disorder (ASD), and compared them to age-matched juvenile control subjects (n = 10). Our analysis reveals significant alterations in both functional brain connectivity and background noise in ASD patients. The dominant connectivity change in ASD relative to control shows enhanced functional excitation from occipital to frontal areas along a parasagittal axis. Background noise in ASD patients is spatially correlated over wide areas, as opposed to control, where areas driven by correlated noise form smaller patches. An analysis of the spatial complexity reveals that it is significantly lower in ASD subjects. Although the detailed physiological mechanisms underlying these alterations cannot be determined from macroscopic brain recordings, we speculate that enhanced occipital-frontal excitation may result from changes in white matter density in ASD, as suggested in previous studies. We also venture that long-range spatial correlations in the background noise may result from less specificity (or more promiscuity) of thalamo-cortical projections. All the calculations involved in our analysis are highly efficient and outperform other algorithms to discriminate typical and atypical brains with a comparable level of accuracy. Altogether our results demonstrate a promising potential of our approach as an efficient biomarker for altered brain dynamics associated with a cognitive phenotype.