Moodle-plagiarism_crot is a project mainly written in PHP, it's free.
Crot plugin for 2.0 (in development)
Crot Plagiarism plugin for Moodle 2.0